Lines Matching refs:user_regs_struct
170 if (offset != offsetof(struct user_regs_struct, gs)) in get_segment_reg()
203 case offsetof(struct user_regs_struct, cs): in set_segment_reg()
204 case offsetof(struct user_regs_struct, ss): in set_segment_reg()
213 case offsetof(struct user_regs_struct, gs): in set_segment_reg()
238 case offsetof(struct user_regs_struct, fs): in get_segment_reg()
245 case offsetof(struct user_regs_struct, gs): in get_segment_reg()
251 case offsetof(struct user_regs_struct, ds): in get_segment_reg()
257 case offsetof(struct user_regs_struct, es): in get_segment_reg()
264 case offsetof(struct user_regs_struct, cs): in get_segment_reg()
265 case offsetof(struct user_regs_struct, ss): in get_segment_reg()
290 case offsetof(struct user_regs_struct,fs): in set_segment_reg()
293 case offsetof(struct user_regs_struct,gs): in set_segment_reg()
296 case offsetof(struct user_regs_struct,ds): in set_segment_reg()
299 case offsetof(struct user_regs_struct,es): in set_segment_reg()
306 case offsetof(struct user_regs_struct,cs): in set_segment_reg()
311 case offsetof(struct user_regs_struct,ss): in set_segment_reg()
359 case offsetof(struct user_regs_struct, cs): in putreg()
360 case offsetof(struct user_regs_struct, ds): in putreg()
361 case offsetof(struct user_regs_struct, es): in putreg()
362 case offsetof(struct user_regs_struct, fs): in putreg()
363 case offsetof(struct user_regs_struct, gs): in putreg()
364 case offsetof(struct user_regs_struct, ss): in putreg()
367 case offsetof(struct user_regs_struct, flags): in putreg()
371 case offsetof(struct user_regs_struct,fs_base): in putreg()
376 case offsetof(struct user_regs_struct,gs_base): in putreg()
391 case offsetof(struct user_regs_struct, cs): in getreg()
392 case offsetof(struct user_regs_struct, ds): in getreg()
393 case offsetof(struct user_regs_struct, es): in getreg()
394 case offsetof(struct user_regs_struct, fs): in getreg()
395 case offsetof(struct user_regs_struct, gs): in getreg()
396 case offsetof(struct user_regs_struct, ss): in getreg()
399 case offsetof(struct user_regs_struct, flags): in getreg()
403 case offsetof(struct user_regs_struct, fs_base): in getreg()
405 case offsetof(struct user_regs_struct, gs_base): in getreg()
735 if (addr < sizeof(struct user_regs_struct)) in arch_ptrace()
751 if (addr < sizeof(struct user_regs_struct)) in arch_ptrace()
765 0, sizeof(struct user_regs_struct), in arch_ptrace()
772 0, sizeof(struct user_regs_struct), in arch_ptrace()
850 offsetof(struct user_regs_struct, rs), \
874 offsetof(struct user_regs_struct, fs), in putreg32()
883 offsetof(struct user_regs_struct, gs), in putreg32()
949 offsetof(struct user_regs_struct, rs)); \
1130 addr < offsetof(struct user_regs_struct, cs)) in x32_arch_ptrace()
1134 if (addr < sizeof(struct user_regs_struct)) in x32_arch_ptrace()
1151 addr < offsetof(struct user_regs_struct, cs)) in x32_arch_ptrace()
1154 if (addr < sizeof(struct user_regs_struct)) in x32_arch_ptrace()
1168 0, sizeof(struct user_regs_struct), in x32_arch_ptrace()
1175 0, sizeof(struct user_regs_struct), in x32_arch_ptrace()
1221 .n = sizeof(struct user_regs_struct) / sizeof(long),
1252 #define user_regs_struct32 user_regs_struct