Lines Matching refs:user_regs_struct
196 if (offset != offsetof(struct user_regs_struct, gs)) in get_segment_reg()
226 case offsetof(struct user_regs_struct, cs): in set_segment_reg()
227 case offsetof(struct user_regs_struct, ss): in set_segment_reg()
235 case offsetof(struct user_regs_struct, gs): in set_segment_reg()
263 case offsetof(struct user_regs_struct, fs): in get_segment_reg()
270 case offsetof(struct user_regs_struct, gs): in get_segment_reg()
276 case offsetof(struct user_regs_struct, ds): in get_segment_reg()
282 case offsetof(struct user_regs_struct, es): in get_segment_reg()
289 case offsetof(struct user_regs_struct, cs): in get_segment_reg()
290 case offsetof(struct user_regs_struct, ss): in get_segment_reg()
306 case offsetof(struct user_regs_struct,fs): in set_segment_reg()
311 case offsetof(struct user_regs_struct,gs): in set_segment_reg()
316 case offsetof(struct user_regs_struct,ds): in set_segment_reg()
321 case offsetof(struct user_regs_struct,es): in set_segment_reg()
330 case offsetof(struct user_regs_struct,cs): in set_segment_reg()
335 case offsetof(struct user_regs_struct,ss): in set_segment_reg()
383 case offsetof(struct user_regs_struct, cs): in putreg()
384 case offsetof(struct user_regs_struct, ds): in putreg()
385 case offsetof(struct user_regs_struct, es): in putreg()
386 case offsetof(struct user_regs_struct, fs): in putreg()
387 case offsetof(struct user_regs_struct, gs): in putreg()
388 case offsetof(struct user_regs_struct, ss): in putreg()
391 case offsetof(struct user_regs_struct, flags): in putreg()
395 case offsetof(struct user_regs_struct,fs_base): in putreg()
406 case offsetof(struct user_regs_struct,gs_base): in putreg()
425 case offsetof(struct user_regs_struct, cs): in getreg()
426 case offsetof(struct user_regs_struct, ds): in getreg()
427 case offsetof(struct user_regs_struct, es): in getreg()
428 case offsetof(struct user_regs_struct, fs): in getreg()
429 case offsetof(struct user_regs_struct, gs): in getreg()
430 case offsetof(struct user_regs_struct, ss): in getreg()
433 case offsetof(struct user_regs_struct, flags): in getreg()
437 case offsetof(struct user_regs_struct, fs_base): { in getreg()
444 case offsetof(struct user_regs_struct, gs_base): { in getreg()
783 if (addr < sizeof(struct user_regs_struct)) in arch_ptrace()
799 if (addr < sizeof(struct user_regs_struct)) in arch_ptrace()
813 0, sizeof(struct user_regs_struct), in arch_ptrace()
820 0, sizeof(struct user_regs_struct), in arch_ptrace()
898 offsetof(struct user_regs_struct, rs), \
972 offsetof(struct user_regs_struct, rs)); \
1166 addr < offsetof(struct user_regs_struct, cs)) in x32_arch_ptrace()
1170 if (addr < sizeof(struct user_regs_struct)) in x32_arch_ptrace()
1187 addr < offsetof(struct user_regs_struct, cs)) in x32_arch_ptrace()
1190 if (addr < sizeof(struct user_regs_struct)) in x32_arch_ptrace()
1204 0, sizeof(struct user_regs_struct), in x32_arch_ptrace()
1211 0, sizeof(struct user_regs_struct), in x32_arch_ptrace()
1257 .n = sizeof(struct user_regs_struct) / sizeof(long),
1288 #define user_regs_struct32 user_regs_struct