Lines Matching refs:reg_off

209 	short reg_off;
1246 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg64)
1248 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg32)
1250 { {"rip", "eip", "", ""}, reg_off(rip, eip) },
1251 { {"rax", "eax", "ax", "al"}, reg_off(rax, eax) },
1252 { {"rbx", "ebx", "bx", "bl"}, reg_off(rbx, ebx) },
1253 { {"rcx", "ecx", "cx", "cl"}, reg_off(rcx, ecx) },
1254 { {"rdx", "edx", "dx", "dl"}, reg_off(rdx, edx) },
1255 { {"rsi", "esi", "si", "sil"}, reg_off(rsi, esi) },
1256 { {"rdi", "edi", "di", "dil"}, reg_off(rdi, edi) },
1257 { {"rbp", "ebp", "bp", "bpl"}, reg_off(rbp, ebp) },
1258 { {"rsp", "esp", "sp", "spl"}, reg_off(rsp, esp) },
1259 #undef reg_off
1287 int len, reg_off;
1294 reg_off = calc_pt_regs_off(reg_name);
1295 if (reg_off < 0)
1296 return reg_off;
1297 arg->reg_off = reg_off;
1302 reg_off = calc_pt_regs_off(reg_name);
1303 if (reg_off < 0)
1304 return reg_off;
1305 arg->reg_off = reg_off;
1311 reg_off = calc_pt_regs_off(reg_name);
1312 if (reg_off < 0)
1313 return reg_off;
1314 arg->reg_off = reg_off;
1319 arg->reg_off = 0;
1346 arg->reg_off = offsetof(user_pt_regs, gprs[reg]);
1355 arg->reg_off = offsetof(user_pt_regs, gprs[reg]);
1360 arg->reg_off = 0;
1388 int len, reg_off;
1395 reg_off = calc_pt_regs_off(reg_name);
1396 if (reg_off < 0)
1397 return reg_off;
1398 arg->reg_off = reg_off;
1403 reg_off = calc_pt_regs_off(reg_name);
1404 if (reg_off < 0)
1405 return reg_off;
1406 arg->reg_off = reg_off;
1411 arg->reg_off = 0;
1416 reg_off = calc_pt_regs_off(reg_name);
1417 if (reg_off < 0)
1418 return reg_off;
1419 arg->reg_off = reg_off;
1482 int len, reg_off;
1489 reg_off = calc_pt_regs_off(reg_name);
1490 if (reg_off < 0)
1491 return reg_off;
1492 arg->reg_off = reg_off;
1497 arg->reg_off = 0;
1502 reg_off = calc_pt_regs_off(reg_name);
1503 if (reg_off < 0)
1504 return reg_off;
1505 arg->reg_off = reg_off;
1553 int len, reg_off;
1561 reg_off = calc_pt_regs_off(reg_name);
1562 if (reg_off < 0)
1563 return reg_off;
1564 arg->reg_off = reg_off;
1569 reg_off = calc_pt_regs_off(reg_name);
1570 if (reg_off < 0)
1571 return reg_off;
1572 arg->reg_off = reg_off;
1577 arg->reg_off = 0;
1582 reg_off = calc_pt_regs_off(reg_name);
1583 if (reg_off < 0)
1584 return reg_off;
1585 arg->reg_off = reg_off;