Lines Matching defs:reg_off

208 	short reg_off;
1244 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg64)
1246 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg32)
1248 { {"rip", "eip", "", ""}, reg_off(rip, eip) },
1249 { {"rax", "eax", "ax", "al"}, reg_off(rax, eax) },
1250 { {"rbx", "ebx", "bx", "bl"}, reg_off(rbx, ebx) },
1251 { {"rcx", "ecx", "cx", "cl"}, reg_off(rcx, ecx) },
1252 { {"rdx", "edx", "dx", "dl"}, reg_off(rdx, edx) },
1253 { {"rsi", "esi", "si", "sil"}, reg_off(rsi, esi) },
1254 { {"rdi", "edi", "di", "dil"}, reg_off(rdi, edi) },
1255 { {"rbp", "ebp", "bp", "bpl"}, reg_off(rbp, ebp) },
1256 { {"rsp", "esp", "sp", "spl"}, reg_off(rsp, esp) },
1257 #undef reg_off
1285 int len, reg_off;
1292 reg_off = calc_pt_regs_off(reg_name);
1293 if (reg_off < 0)
1294 return reg_off;
1295 arg->reg_off = reg_off;
1300 reg_off = calc_pt_regs_off(reg_name);
1301 if (reg_off < 0)
1302 return reg_off;
1303 arg->reg_off = reg_off;
1309 reg_off = calc_pt_regs_off(reg_name);
1310 if (reg_off < 0)
1311 return reg_off;
1312 arg->reg_off = reg_off;
1317 arg->reg_off = 0;
1344 arg->reg_off = offsetof(user_pt_regs, gprs[reg]);
1353 arg->reg_off = offsetof(user_pt_regs, gprs[reg]);
1358 arg->reg_off = 0;
1386 int len, reg_off;
1393 reg_off = calc_pt_regs_off(reg_name);
1394 if (reg_off < 0)
1395 return reg_off;
1396 arg->reg_off = reg_off;
1401 reg_off = calc_pt_regs_off(reg_name);
1402 if (reg_off < 0)
1403 return reg_off;
1404 arg->reg_off = reg_off;
1409 arg->reg_off = 0;
1414 reg_off = calc_pt_regs_off(reg_name);
1415 if (reg_off < 0)
1416 return reg_off;
1417 arg->reg_off = reg_off;
1480 int len, reg_off;
1487 reg_off = calc_pt_regs_off(reg_name);
1488 if (reg_off < 0)
1489 return reg_off;
1490 arg->reg_off = reg_off;
1495 arg->reg_off = 0;
1500 reg_off = calc_pt_regs_off(reg_name);
1501 if (reg_off < 0)
1502 return reg_off;
1503 arg->reg_off = reg_off;
1551 int len, reg_off;
1559 reg_off = calc_pt_regs_off(reg_name);
1560 if (reg_off < 0)
1561 return reg_off;
1562 arg->reg_off = reg_off;
1567 reg_off = calc_pt_regs_off(reg_name);
1568 if (reg_off < 0)
1569 return reg_off;
1570 arg->reg_off = reg_off;
1575 arg->reg_off = 0;
1580 reg_off = calc_pt_regs_off(reg_name);
1581 if (reg_off < 0)
1582 return reg_off;
1583 arg->reg_off = reg_off;