Lines Matching refs:gs_cb
72 if (task->thread.gs_cb) in update_cr_regs()
1084 struct gs_cb *data = target->thread.gs_cb; in s390_gs_cb_get()
1092 return membuf_write(&to, data, sizeof(struct gs_cb)); in s390_gs_cb_get()
1100 struct gs_cb gs_cb = { }, *data = NULL; in s390_gs_cb_set() local
1105 if (!target->thread.gs_cb) { in s390_gs_cb_set()
1110 if (!target->thread.gs_cb) in s390_gs_cb_set()
1111 gs_cb.gsd = 25; in s390_gs_cb_set()
1113 save_gs_cb(&gs_cb); in s390_gs_cb_set()
1115 gs_cb = *target->thread.gs_cb; in s390_gs_cb_set()
1117 &gs_cb, 0, sizeof(gs_cb)); in s390_gs_cb_set()
1123 if (!target->thread.gs_cb) in s390_gs_cb_set()
1124 target->thread.gs_cb = data; in s390_gs_cb_set()
1125 *target->thread.gs_cb = gs_cb; in s390_gs_cb_set()
1128 restore_gs_cb(target->thread.gs_cb); in s390_gs_cb_set()
1138 struct gs_cb *data = target->thread.gs_bc_cb; in s390_gs_bc_get()
1144 return membuf_write(&to, data, sizeof(struct gs_cb)); in s390_gs_bc_get()
1152 struct gs_cb *data = target->thread.gs_bc_cb; in s390_gs_bc_set()
1163 data, 0, sizeof(struct gs_cb)); in s390_gs_bc_set()
1316 .n = sizeof(struct gs_cb) / sizeof(__u64),
1324 .n = sizeof(struct gs_cb) / sizeof(__u64),
1528 .n = sizeof(struct gs_cb) / sizeof(__u64),
1536 .n = sizeof(struct gs_cb) / sizeof(__u64),