Lines Matching refs:offsetof
61 #define REG_OFFSET_NAME(r) {.name = #r, .offset = offsetof(struct pt_regs, r)}
63 {.name = STR(gpr##num), .offset = offsetof(struct pt_regs, gpr[num])}
281 0, offsetof(struct pt_regs, msr)); in gpr_get()
285 offsetof(struct pt_regs, msr), in gpr_get()
286 offsetof(struct pt_regs, msr) + in gpr_get()
290 BUILD_BUG_ON(offsetof(struct pt_regs, orig_gpr3) != in gpr_get()
291 offsetof(struct pt_regs, msr) + sizeof(long)); in gpr_get()
296 offsetof(struct pt_regs, orig_gpr3), in gpr_get()
329 BUILD_BUG_ON(offsetof(struct pt_regs, orig_gpr3) != in gpr_set()
330 offsetof(struct pt_regs, msr) + sizeof(long)); in gpr_set()
378 BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != in fpr_get()
379 offsetof(struct thread_fp_state, fpr[32][0])); in fpr_get()
406 BUILD_BUG_ON(offsetof(struct thread_fp_state, fpscr) != in fpr_set()
407 offsetof(struct thread_fp_state, fpr[32][0])); in fpr_set()
443 BUILD_BUG_ON(offsetof(struct thread_vr_state, vscr) != in vr_get()
444 offsetof(struct thread_vr_state, vr[32])); in vr_get()
474 BUILD_BUG_ON(offsetof(struct thread_vr_state, vscr) != in vr_set()
475 offsetof(struct thread_vr_state, vr[32])); in vr_set()
581 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_get()
582 offsetof(struct thread_struct, spefscr)); in evr_get()
604 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_set()
605 offsetof(struct thread_struct, spefscr)); in evr_set()