/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | feature-fixups.h | 31 #define START_FTR_SECTION(label) label##1: 33 #define FTR_SECTION_ELSE_NESTED(label) \ 34 label##2: \ 35 .pushsection __ftr_alt_##label,"a"; \ 37 label##3: 57 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ 58 label##4: \ 62 label##5: \ 65 FTR_ENTRY_OFFSET label## [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/primitives/asm/ |
H A D | feature-fixups.h | 31 #define START_FTR_SECTION(label) label##1: 33 #define FTR_SECTION_ELSE_NESTED(label) \ 34 label##2: \ 35 .pushsection __ftr_alt_##label,"a"; \ 37 label##3: 57 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ 58 label##4: \ 62 label##5: \ 65 FTR_ENTRY_OFFSET label## [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | feature-fixups.h | 31 #define START_FTR_SECTION(label) label##1: 33 #define FTR_SECTION_ELSE_NESTED(label) \ 34 label##2: \ 35 .pushsection __ftr_alt_##label,"a"; \ 37 label##3: 39 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ 40 label##4: \ 44 label##5: \ 47 FTR_ENTRY_OFFSET label## [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/primitives/asm/ |
H A D | feature-fixups.h | 31 #define START_FTR_SECTION(label) label##1: 33 #define FTR_SECTION_ELSE_NESTED(label) \ 34 label##2: \ 35 .pushsection __ftr_alt_##label,"a"; \ 37 label##3: 39 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ 40 label##4: \ 44 label##5: \ 47 FTR_ENTRY_OFFSET label## [all...] |
/kernel/linux/linux-5.10/security/apparmor/include/ |
H A D | cred.h | 18 #include "label.h" 31 struct aa_label *label) in set_cred_label() 36 *blob = label; in set_cred_label() 40 * aa_cred_raw_label - obtain cred's label 41 * @cred: cred to obtain label from (NOT NULL) 43 * Returns: confining label 49 struct aa_label *label = cred_label(cred); in aa_cred_raw_label() local 51 AA_BUG(!label); in aa_cred_raw_label() 52 return label; in aa_cred_raw_label() 56 * aa_get_newest_cred_label - obtain the newest label o 30 set_cred_label(const struct cred *cred, struct aa_label *label) set_cred_label() argument 120 end_current_label_crit_section(struct aa_label *label) end_current_label_crit_section() argument 140 struct aa_label *label = aa_current_raw_label(); __begin_current_label_crit_section() local 162 struct aa_label *label = aa_current_raw_label(); begin_current_label_crit_section() local 178 struct aa_label *label; aa_get_current_ns() local [all...] |
/kernel/linux/linux-6.6/security/apparmor/include/ |
H A D | cred.h | 18 #include "label.h" 31 struct aa_label *label) in set_cred_label() 36 *blob = label; in set_cred_label() 40 * aa_cred_raw_label - obtain cred's label 41 * @cred: cred to obtain label from (NOT NULL) 43 * Returns: confining label 49 struct aa_label *label = cred_label(cred); in aa_cred_raw_label() local 51 AA_BUG(!label); in aa_cred_raw_label() 52 return label; in aa_cred_raw_label() 56 * aa_get_newest_cred_label - obtain the newest label o 30 set_cred_label(const struct cred *cred, struct aa_label *label) set_cred_label() argument 107 end_current_label_crit_section(struct aa_label *label) end_current_label_crit_section() argument 127 struct aa_label *label = aa_current_raw_label(); __begin_current_label_crit_section() local 149 struct aa_label *label = aa_current_raw_label(); begin_current_label_crit_section() local 165 struct aa_label *label; aa_get_current_ns() local [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | label.c | 5 * This file contains AppArmor label definitions 16 #include "include/label.h" 27 * code - will take a ref count on a label if it needs the label 29 * profiles - each profile is a label 30 * secids - a pinned secid will keep a refcount of the label it is 34 * Labels are not ref counted by the label set, so they maybe removed and 45 /* p->label will not updated any more as p is dead */ in free_proxy() 46 aa_put_label(rcu_dereference_protected(proxy->label, true)); in free_proxy() 48 RCU_INIT_POINTER(proxy->label, (struc in free_proxy() 60 aa_alloc_proxy(struct aa_label *label, gfp_t gfp) aa_alloc_proxy() argument 312 aa_label_destroy(struct aa_label *label) aa_label_destroy() argument 339 aa_label_free(struct aa_label *label) aa_label_free() argument 348 label_free_switch(struct aa_label *label) label_free_switch() argument 360 struct aa_label *label = container_of(head, struct aa_label, rcu); label_free_rcu() local 369 struct aa_label *label = container_of(kref, struct aa_label, count); aa_label_kref() local 387 label_free_or_put_new(struct aa_label *label, struct aa_label *new) label_free_or_put_new() argument 396 aa_label_init(struct aa_label *label, int size, gfp_t gfp) aa_label_init() argument 475 aa_label_next_confined(struct aa_label *label, int i) aa_label_next_confined() argument 591 __label_remove(struct aa_label *label, struct aa_label *new) __label_remove() argument 663 __label_insert(struct aa_labelset *ls, struct aa_label *label, bool replace) __label_insert() argument 755 __label_find(struct aa_label *label) __label_find() argument 770 aa_label_remove(struct aa_label *label) aa_label_remove() argument 837 struct aa_label *label; vec_find() local 856 struct aa_label *label = NULL; vec_create_and_insert_label() local 890 struct aa_label *label = vec_find(vec, len); aa_vec_find_or_create_label() local 908 aa_label_find(struct aa_label *label) aa_label_find() argument 926 aa_label_insert(struct aa_labelset *ls, struct aa_label *label) aa_label_insert() argument 1051 struct aa_label *label; label_merge_insert() local 1184 struct aa_label *label, *ar = NULL, *br = NULL; aa_label_find_merge() local 1221 struct aa_label *label = NULL; aa_label_merge() local 1258 label_is_visible(struct aa_profile *profile, struct aa_label *label) label_is_visible() argument 1301 label_compound_match(struct aa_profile *profile, struct aa_label *label, unsigned int state, bool subns, u32 request, struct aa_perms *perms) label_compound_match() argument 1359 label_components_match(struct aa_profile *profile, struct aa_label *label, unsigned int start, bool subns, u32 request, struct aa_perms *perms) label_components_match() argument 1418 aa_label_match(struct aa_profile *profile, struct aa_label *label, unsigned int state, bool subns, u32 request, struct aa_perms *perms) aa_label_match() argument 1444 aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp) aa_update_label_name() argument 1476 use_label_hname(struct aa_ns *ns, struct aa_label *label, int flags) use_label_hname() argument 1553 label_modename(struct aa_ns *ns, struct aa_label *label, int flags) label_modename() argument 1586 display_mode(struct aa_ns *ns, struct aa_label *label, int flags) display_mode() argument 1623 aa_label_snxprint(char *str, size_t size, struct aa_ns *ns, struct aa_label *label, int flags) aa_label_snxprint() argument 1687 aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) aa_label_asxprint() argument 1716 aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) aa_label_acntsxprint() argument 1735 aa_label_xaudit(struct audit_buffer *ab, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) aa_label_xaudit() argument 1765 aa_label_seq_xprint(struct seq_file *f, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) aa_label_seq_xprint() argument 1789 aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) aa_label_xprintk() argument 1812 aa_label_audit(struct audit_buffer *ab, struct aa_label *label, gfp_t gfp) aa_label_audit() argument 1820 aa_label_seq_print(struct seq_file *f, struct aa_label *label, gfp_t gfp) aa_label_seq_print() argument 1828 aa_label_printk(struct aa_label *label, gfp_t gfp) aa_label_printk() argument 1890 struct aa_label *label, *currbase = base; aa_label_strn_parse() local 2014 struct aa_label *label; labelset_next_stale() local 2050 __label_update(struct aa_label *label) __label_update() argument 2124 struct aa_label *label; __labelset_update() local [all...] |
H A D | secid.c | 9 * AppArmor allocates a unique secid for every label used. If a label 10 * is replaced it receives the secid of the label it is replacing. 23 #include "include/label.h" 27 * secids - do not pin labels with a refcount. They rely on the label 38 * TODO: use secid_update in label replace 42 * aa_secid_update - update a secid mapping to a new label 44 * @label: label the secid will now map to 46 void aa_secid_update(u32 secid, struct aa_label *label) in aa_secid_update() argument 61 struct aa_label *label; aa_secid_to_label() local 73 struct aa_label *label = aa_secid_to_label(secid); apparmor_secid_to_secctx() local 100 struct aa_label *label; apparmor_secctx_to_secid() local 124 aa_alloc_secid(struct aa_label *label, gfp_t gfp) aa_alloc_secid() argument [all...] |
H A D | net.c | 14 #include "include/label.h" 102 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_net_cb() 134 int aa_af_perm(struct aa_label *label, const char *op, u32 request, u16 family, in aa_af_perm() argument 140 return fn_for_each_confined(label, profile, in aa_af_perm() 145 static int aa_label_sk_perm(struct aa_label *label, const char *op, u32 request, in aa_label_sk_perm() argument 150 AA_BUG(!label); in aa_label_sk_perm() 153 if (!unconfined(label)) { in aa_label_sk_perm() 157 error = fn_for_each_confined(label, profile, in aa_label_sk_perm() 166 struct aa_label *label; in aa_sk_perm() local 173 label in aa_sk_perm() 181 aa_sock_file_perm(struct aa_label *label, const char *op, u32 request, struct socket *sock) aa_sock_file_perm() argument 194 struct aa_label *label; apparmor_secmark_init() local 246 apparmor_secmark_check(struct aa_label *label, char *op, u32 request, u32 secid, struct sock *sk) apparmor_secmark_check() argument [all...] |
H A D | audit.c | 74 if (aad(sa)->label) { in audit_pre() 75 struct aa_label *label = aad(sa)->label; in audit_pre() local 77 if (label_isprofile(label)) { in audit_pre() 78 struct aa_profile *profile = labels_profile(label); in audit_pre() 88 audit_log_format(ab, " label="); in audit_pre() 89 aa_label_xaudit(ab, root_ns, label, FLAG_VIEW_SUBNS, in audit_pre() 146 aad(sa)->label = &profile->label; in aa_audit() 162 struct aa_label *label; member 226 struct aa_label *label; aa_audit_rule_match() local [all...] |
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | label.c | 5 * This file contains AppArmor label definitions 16 #include "include/label.h" 27 * code - will take a ref count on a label if it needs the label 29 * profiles - each profile is a label 30 * secids - a pinned secid will keep a refcount of the label it is 34 * Labels are not ref counted by the label set, so they maybe removed and 45 /* p->label will not updated any more as p is dead */ in free_proxy() 46 aa_put_label(rcu_dereference_protected(proxy->label, true)); in free_proxy() 48 RCU_INIT_POINTER(proxy->label, (struc in free_proxy() 60 aa_alloc_proxy(struct aa_label *label, gfp_t gfp) aa_alloc_proxy() argument 315 aa_label_destroy(struct aa_label *label) aa_label_destroy() argument 342 aa_label_free(struct aa_label *label) aa_label_free() argument 351 label_free_switch(struct aa_label *label) label_free_switch() argument 363 struct aa_label *label = container_of(head, struct aa_label, rcu); label_free_rcu() local 372 struct aa_label *label = container_of(kref, struct aa_label, count); aa_label_kref() local 390 label_free_or_put_new(struct aa_label *label, struct aa_label *new) label_free_or_put_new() argument 399 aa_label_init(struct aa_label *label, int size, gfp_t gfp) aa_label_init() argument 477 aa_label_next_confined(struct aa_label *label, int i) aa_label_next_confined() argument 593 __label_remove(struct aa_label *label, struct aa_label *new) __label_remove() argument 665 __label_insert(struct aa_labelset *ls, struct aa_label *label, bool replace) __label_insert() argument 757 __label_find(struct aa_label *label) __label_find() argument 772 aa_label_remove(struct aa_label *label) aa_label_remove() argument 839 struct aa_label *label; vec_find() local 858 struct aa_label *label = NULL; vec_create_and_insert_label() local 892 struct aa_label *label = vec_find(vec, len); aa_vec_find_or_create_label() local 910 aa_label_find(struct aa_label *label) aa_label_find() argument 928 aa_label_insert(struct aa_labelset *ls, struct aa_label *label) aa_label_insert() argument 1053 struct aa_label *label; label_merge_insert() local 1185 struct aa_label *label, *ar = NULL, *br = NULL; aa_label_find_merge() local 1222 struct aa_label *label = NULL; aa_label_merge() local 1297 label_compound_match(struct aa_profile *profile, struct aa_ruleset *rules, struct aa_label *label, aa_state_t state, bool subns, u32 request, struct aa_perms *perms) label_compound_match() argument 1357 label_components_match(struct aa_profile *profile, struct aa_ruleset *rules, struct aa_label *label, aa_state_t start, bool subns, u32 request, struct aa_perms *perms) label_components_match() argument 1418 aa_label_match(struct aa_profile *profile, struct aa_ruleset *rules, struct aa_label *label, aa_state_t state, bool subns, u32 request, struct aa_perms *perms) aa_label_match() argument 1444 aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp) aa_update_label_name() argument 1476 use_label_hname(struct aa_ns *ns, struct aa_label *label, int flags) use_label_hname() argument 1553 label_modename(struct aa_ns *ns, struct aa_label *label, int flags) label_modename() argument 1586 display_mode(struct aa_ns *ns, struct aa_label *label, int flags) display_mode() argument 1623 aa_label_snxprint(char *str, size_t size, struct aa_ns *ns, struct aa_label *label, int flags) aa_label_snxprint() argument 1687 aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) aa_label_asxprint() argument 1716 aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) aa_label_acntsxprint() argument 1735 aa_label_xaudit(struct audit_buffer *ab, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) aa_label_xaudit() argument 1765 aa_label_seq_xprint(struct seq_file *f, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) aa_label_seq_xprint() argument 1789 aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) aa_label_xprintk() argument 1812 aa_label_audit(struct audit_buffer *ab, struct aa_label *label, gfp_t gfp) aa_label_audit() argument 1820 aa_label_seq_print(struct seq_file *f, struct aa_label *label, gfp_t gfp) aa_label_seq_print() argument 1828 aa_label_printk(struct aa_label *label, gfp_t gfp) aa_label_printk() argument 1890 struct aa_label *label, *currbase = base; aa_label_strn_parse() local 2014 struct aa_label *label; labelset_next_stale() local 2050 __label_update(struct aa_label *label) __label_update() argument 2124 struct aa_label *label; __labelset_update() local [all...] |
H A D | secid.c | 9 * AppArmor allocates a unique secid for every label used. If a label 10 * is replaced it receives the secid of the label it is replacing. 23 #include "include/label.h" 27 * secids - do not pin labels with a refcount. They rely on the label 39 * TODO: use secid_update in label replace 43 * aa_secid_update - update a secid mapping to a new label 45 * @label: label the secid will now map to 47 void aa_secid_update(u32 secid, struct aa_label *label) in aa_secid_update() argument 67 struct aa_label *label = aa_secid_to_label(secid); apparmor_secid_to_secctx() local 95 struct aa_label *label; apparmor_secctx_to_secid() local 119 aa_alloc_secid(struct aa_label *label, gfp_t gfp) aa_alloc_secid() argument [all...] |
H A D | net.c | 14 #include "include/label.h" 138 int aa_af_perm(const struct cred *subj_cred, struct aa_label *label, in aa_af_perm() argument 144 return fn_for_each_confined(label, profile, in aa_af_perm() 150 struct aa_label *label, in aa_label_sk_perm() 157 AA_BUG(!label); in aa_label_sk_perm() 160 if (ctx->label != kernel_t && !unconfined(label)) { in aa_label_sk_perm() 165 error = fn_for_each_confined(label, profile, in aa_label_sk_perm() 174 struct aa_label *label; in aa_sk_perm() local 181 label in aa_sk_perm() 149 aa_label_sk_perm(const struct cred *subj_cred, struct aa_label *label, const char *op, u32 request, struct sock *sk) aa_label_sk_perm() argument 189 aa_sock_file_perm(const struct cred *subj_cred, struct aa_label *label, const char *op, u32 request, struct socket *sock) aa_sock_file_perm() argument 202 struct aa_label *label; apparmor_secmark_init() local 256 apparmor_secmark_check(struct aa_label *label, char *op, u32 request, u32 secid, const struct sock *sk) apparmor_secmark_check() argument [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | mlx-platform.c | 358 .label = "psu1", 364 .label = "psu2", 374 .label = "psu1", 380 .label = "psu2", 389 .label = "pwr1", 396 .label = "pwr2", 406 .label = "fan1", 413 .label = "fan2", 420 .label = "fan3", 427 .label [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | mlx-platform.c | 647 .label = "psu1", 653 .label = "psu2", 663 .label = "psu1", 669 .label = "psu2", 678 .label = "pwr1", 685 .label = "pwr2", 695 .label = "pwr1", 701 .label = "pwr2", 710 .label = "pwr1", 717 .label [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/rseq/ |
H A D | rseq-x86.h | 58 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, \ 62 __rseq_str(label) ":\n\t" \ 67 ".quad " __rseq_str(label) "b\n\t" \ 71 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ 72 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ 88 #define RSEQ_ASM_STORE_RSEQ_CS(label, cs_label, rseq_cs) \ 92 __rseq_str(label) ":\n\t" 94 #define RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, label) \ 97 "jnz " __rseq_str(label) "\n\t" 99 #define RSEQ_ASM_DEFINE_ABORT(label, teardow [all...] |
H A D | rseq-ppc.h | 54 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, \ 58 __rseq_str(label) ":\n\t" \ 63 ".quad " __rseq_str(label) "b\n\t" \ 66 #define RSEQ_ASM_STORE_RSEQ_CS(label, cs_label, rseq_cs) \ 74 __rseq_str(label) ":\n\t" 99 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, \ 103 __rseq_str(label) ":\n\t" \ 109 ".long 0x0, " __rseq_str(label) "b\n\t" \ 126 #define RSEQ_ASM_STORE_RSEQ_CS(label, cs_label, rseq_cs) \ 131 __rseq_str(label) " [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | plpks.c | 59 struct label { struct 198 * Label is combination of label attributes + name. 201 static struct label *construct_label(char *component, u8 varos, u8 *name, in construct_label() 204 struct label *label; in construct_label() local 213 if (slen > sizeof(label->attr.prefix)) in construct_label() 217 // The label structure must not cross a page boundary, so we align to the next power of 2 in construct_label() 218 label = kzalloc(roundup_pow_of_two(sizeof(*label)), GFP_KERNEL); in construct_label() 219 if (!label) in construct_label() 391 plpks_confirm_object_flushed(struct label *label, struct plpks_auth *auth) plpks_confirm_object_flushed() argument 433 struct label *label; plpks_signed_update_var() local 488 struct label *label; plpks_write_var() local 527 struct label *label; plpks_remove_var() local 561 struct label *label = NULL; plpks_read_var() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw.h | 74 #define SYM_GEN_A(s, label) s label; 75 #define SYM_GEN_B(s, label) s label; 76 #define SYM_GEN_Z(s, label) s label; 152 #define SCRIPTA_BA(np, label) (np->fwa_bas.label) 153 #define SCRIPTB_BA(np, label) (np->fwb_bas.label) [all...] |
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw.h | 74 #define SYM_GEN_A(s, label) s label; 75 #define SYM_GEN_B(s, label) s label; 76 #define SYM_GEN_Z(s, label) s label; 152 #define SCRIPTA_BA(np, label) (np->fwa_bas.label) 153 #define SCRIPTB_BA(np, label) (np->fwb_bas.label) [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | smpro-hwmon.c | 65 const char *label; member 71 .label = "temp1 SoC" 76 .label = "temp2 SoC VRD" 80 .label = "temp3 DIMM VRD" 84 .label = "temp4 CORE VRD" 89 .label = "temp5 CH0 DIMM" 94 .label = "temp6 CH1 DIMM" 99 .label = "temp7 CH2 DIMM" 104 .label = "temp8 CH3 DIMM" 109 .label [all...] |
/kernel/linux/linux-5.10/block/partitions/ |
H A D | sun.c | 65 } * label; in sun_partition() local 72 label = read_part_sector(state, 0, §); in sun_partition() 73 if (!label) in sun_partition() 76 p = label->partitions; in sun_partition() 77 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) { in sun_partition() 79 bdevname(bdev, b), be16_to_cpu(label->magic)); */ in sun_partition() 84 ush = ((__be16 *) (label+1)) - 1; in sun_partition() 85 for (csum = 0; ush >= ((__be16 *) label);) in sun_partition() 88 printk("Dev %s Sun disklabel: Csum bad, label corrupted\n", in sun_partition() 95 use_vtoc = ((be32_to_cpu(label in sun_partition() [all...] |
/kernel/linux/linux-6.6/block/partitions/ |
H A D | sun.c | 65 } * label; in sun_partition() local 71 label = read_part_sector(state, 0, §); in sun_partition() 72 if (!label) in sun_partition() 75 p = label->partitions; in sun_partition() 76 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) { in sun_partition() 78 state->disk->disk_name, be16_to_cpu(label->magic)); */ in sun_partition() 83 ush = ((__be16 *) (label+1)) - 1; in sun_partition() 84 for (csum = 0; ush >= ((__be16 *) label);) in sun_partition() 87 printk("Dev %s Sun disklabel: Csum bad, label corrupted\n", in sun_partition() 94 use_vtoc = ((be32_to_cpu(label in sun_partition() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | signal.h | 28 #define unsafe_get_user_sigset(dst, src, label) do { \ 34 unsafe_get_user(__dst->sig[i], &__src->sig[i], label); \ 51 #define unsafe_copy_fpr_to_user(to, task, label) do { \ 57 unsafe_put_user(__t->thread.TS_FPR(i), &buf[i], label); \ 58 unsafe_put_user(__t->thread.fp_state.fpscr, &buf[i], label); \ 61 #define unsafe_copy_vsx_to_user(to, task, label) do { \ 68 &buf[i], label);\ 71 #define unsafe_copy_fpr_from_user(task, from, label) do { \ 77 unsafe_get_user(__t->thread.TS_FPR(i), &buf[i], label); \ 78 unsafe_get_user(__t->thread.fp_state.fpscr, &buf[i], label); \ [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | uaccess.h | 135 #define __put_user_goto_u64(x, addr, label) \ 142 : : label) 145 #define __put_user_goto_u64(x, ptr, label) \ 146 __put_user_goto(x, ptr, "q", "er", label) 232 #define __put_user_size(x, ptr, size, label) \ 239 __put_user_goto(__x, __ptr, "b", "iq", label); \ 242 __put_user_goto(__x, __ptr, "w", "ir", label); \ 245 __put_user_goto(__x, __ptr, "l", "ir", label); \ 248 __put_user_goto_u64(__x, __ptr, label); \ 259 #define __get_user_asm_u64(x, ptr, label) d [all...] |