/linux-master/security/apparmor/ |
H A D | audit.c | 56 "label", 117 struct aa_label *label = ad->subj_label; local 119 if (label_isprofile(label)) { 120 struct aa_profile *profile = labels_profile(label); 130 audit_log_format(ab, " label="); 131 aa_label_xaudit(ab, root_ns, label, FLAG_VIEW_SUBNS, 190 ad->subj_label = &profile->label; 206 struct aa_label *label; member in struct:aa_audit_rule 214 if (!IS_ERR(rule->label)) 215 aa_put_label(rule->label); 270 struct aa_label *label; local [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, argument 144 return fn_for_each_confined(label, profile, 150 struct aa_label *label, 157 AA_BUG(!label); 160 if (ctx->label != kernel_t && !unconfined(label)) { 165 error = fn_for_each_confined(label, profile, 174 struct aa_label *label; local 181 label 149 aa_label_sk_perm(const struct cred *subj_cred, struct aa_label *label, const char *op, u32 request, struct sock *sk) argument 189 aa_sock_file_perm(const struct cred *subj_cred, struct aa_label *label, const char *op, u32 request, struct socket *sock) argument 202 struct aa_label *label; local 256 apparmor_secmark_check(struct aa_label *label, char *op, u32 request, u32 secid, const struct sock *sk) argument [all...] |
H A D | lsm.c | 38 #include "include/label.h" 90 * prepare new cred label for modification by prepare_cred block 163 struct aa_label *label; local 168 label = aa_get_newest_cred_label(cred); 174 if (!unconfined(label)) { 178 label_for_each_confined(i, label, profile) { 191 aa_put_label(label); 199 struct aa_label *label; local 202 label = aa_get_newest_cred_label(cred); 203 if (!unconfined(label)) 222 struct aa_label *label; local 366 struct aa_label *label; local 385 struct aa_label *label; local 462 struct aa_label *label; local 505 struct aa_label *label = begin_current_label_crit_section(); local 524 struct aa_label *label; local 664 struct aa_label *label; local 688 struct aa_label *label; local 706 struct aa_label *label; local 742 struct aa_label *label; local 756 struct aa_label *label; local 770 struct aa_label *label; local 786 struct aa_label *label = NULL; local 828 struct aa_label *label = NULL; local 956 struct aa_label *label = aa_current_raw_label(); local 986 struct aa_label *label = __begin_current_label_crit_section(); local 993 struct aa_label *label = aa_get_task_label(p); local 1001 struct aa_label *label = __begin_current_label_crit_section(); local 1041 struct aa_label *label; local 1105 struct aa_label *label; local 1139 struct aa_label *label; local 1339 struct aa_label *label; local [all...] |
H A D | domain.c | 109 * label_compound_match - find perms for full compound label 111 * @label: label to check access permissions for 120 * For the label A//&B//&C this does the perm match for A//&B//&C 125 struct aa_label *label, bool stack, 136 label_for_each(i, label, tp) { 150 label_for_each_cont(i, label, tp) { 171 * label_components_match - find perms for all subcomponents of a label 173 * @label: label t 124 label_compound_match(struct aa_profile *profile, struct aa_label *label, bool stack, aa_state_t state, bool subns, u32 request, struct aa_perms *perms) argument 186 label_components_match(struct aa_profile *profile, struct aa_label *label, bool stack, aa_state_t start, bool subns, u32 request, struct aa_perms *perms) argument 249 label_match(struct aa_profile *profile, struct aa_label *label, bool stack, aa_state_t state, bool subns, u32 request, struct aa_perms *perms) argument 518 struct aa_label *label = NULL; local 809 handle_onexec(const struct cred *subj_cred, struct aa_label *label, struct aa_label *onexec, bool stack, const struct linux_binprm *bprm, char *buffer, struct path_cond *cond, bool *unsafe) argument 876 struct aa_label *label, *new = NULL; local 1061 change_hat(const struct cred *subj_cred, struct aa_label *label, const char *hats[], int count, int flags) argument 1181 struct aa_label *label, *previous, *new = NULL, *target = NULL; local 1331 struct aa_label *label, *new = NULL, *target = NULL; local [all...] |
H A D | task.c | 24 * aa_get_task_label - Get another task's label 27 * Returns: counted reference to @task's label 41 * aa_replace_current_label - replace the current tasks label 42 * @label: new label (NOT NULL) 46 int aa_replace_current_label(struct aa_label *label) argument 52 AA_BUG(!label); 54 if (old == label) 70 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) 97 aa_set_current_onexec(struct aa_label *label, bool stack) argument 117 aa_set_current_hat(struct aa_label *label, u64 token) argument [all...] |
H A D | file.c | 25 #include "include/label.h" 87 * @tlabel: target label (MAY BE NULL) 161 struct aa_label *label, 170 labels_profile(label)->disconnected); 172 fn_for_each_confined(label, profile, 261 error = path_name(op, subj_cred, &profile->label, path, 274 * @label: profile being enforced (NOT NULL) 283 struct aa_label *label, 297 error = fn_for_each_confined(label, profile, 341 error = path_name(OP_LINK, subj_cred, &profile->label, lin 160 path_name(const char *op, const struct cred *subj_cred, struct aa_label *label, const struct path *path, int flags, char *buffer, const char **name, struct path_cond *cond, u32 request) argument 282 aa_path_perm(const char *op, const struct cred *subj_cred, struct aa_label *label, const struct path *path, int flags, u32 request, struct path_cond *cond) argument 433 aa_path_link(const struct cred *subj_cred, struct aa_label *label, struct dentry *old_dentry, const struct path *new_dir, struct dentry *new_dentry) argument 463 update_file_ctx(struct aa_file_ctx *fctx, struct aa_label *label, u32 request) argument 484 __file_path_perm(const char *op, const struct cred *subj_cred, struct aa_label *label, struct aa_label *flabel, struct file *file, u32 request, u32 denied, bool in_atomic) argument 538 update_file_ctx(file_ctx(file), label, request); local 545 __file_sock_perm(const char *op, const struct cred *subj_cred, struct aa_label *label, struct aa_label *flabel, struct file *file, u32 request, u32 denied) argument 568 update_file_ctx(file_ctx(file), label, request); local 584 aa_file_perm(const char *op, const struct cred *subj_cred, struct aa_label *label, struct file *file, u32 request, bool in_atomic) argument 633 revalidate_tty(const struct cred *subj_cred, struct aa_label *label) argument 664 struct aa_label *label; member in struct:cred_label 681 struct aa_label *label = aa_get_newest_cred_label(cred); local [all...] |
/linux-master/drivers/hwmon/ |
H A D | smpro-hwmon.c | 65 const char *label; member in struct:smpro_sensor 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...] |
/linux-master/arch/sparc/include/asm/ |
H A D | backoff.h | 55 #define BACKOFF_SPIN(reg, tmp, label) \ 70 bg,pn %xcc, label; \ 72 ba,pt %xcc, label; \ 82 #define BACKOFF_SPIN(reg, tmp, label)
|
H A D | head_64.h | 35 #define BRANCH_IF_SUN4V(tmp1,label) \ 38 brnz,pn %tmp1, label; \ 41 #define BRANCH_IF_CHEETAH_BASE(tmp1,tmp2,label) \ 47 be,pn %icc, label; \ 50 #define BRANCH_IF_JALAPENO(tmp1,tmp2,label) \ 56 be,pn %icc, label; \ 59 #define BRANCH_IF_CHEETAH_PLUS_OR_FOLLOWON(tmp1,tmp2,label) \ 67 bgeu,pt %xcc, label; \ 70 #define BRANCH_IF_ANY_CHEETAH(tmp1,tmp2,label) \ 78 bgeu,pt %xcc, label; \ [all...] |
/linux-master/drivers/staging/media/atomisp/include/hmm/ |
H A D | hmm_common.h | 47 #define var_equal_goto(var1, var2, label, fmt, arg ...) \ 52 goto label;\ 56 #define var_not_equal_goto(var1, var2, label, fmt, arg ...) \ 61 goto label;\
|
/linux-master/fs/bcachefs/ |
H A D | disk_groups_types.h | 8 u8 label[BCH_SB_LABEL_SIZE]; member in struct:bch_disk_group_cpu
|
/linux-master/tools/bpf/ |
H A D | bpf_exp.y | 44 static void bpf_set_curr_label(char *label); 45 static void bpf_set_jmp_label(char *label, enum jmp_type type); 50 char *label; 63 %token extension number label 65 %type <label> label 119 : label ':' { bpf_set_curr_label($1); } 210 : OP_JMP label { 216 : OP_JEQ '#' number ',' label ',' label { [all...] |
/linux-master/tools/testing/selftests/rseq/ |
H A D | rseq-mips.h | 83 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, start_ip, \ 87 __rseq_str(label) ":\n\t" \ 94 LONG " " U32_U64_PAD(__rseq_str(label) "b") "\n\t" \ 97 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ 98 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ 115 #define RSEQ_ASM_STORE_RSEQ_CS(label, cs_label, rseq_cs) \ 119 __rseq_str(label) ":\n\t" 121 #define RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, label) \ 124 "bne $4, %[" __rseq_str(cpu_id) "], " __rseq_str(label) "\n\t" 126 #define __RSEQ_ASM_DEFINE_ABORT(table_label, label, teardow [all...] |
/linux-master/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...] |
/linux-master/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, 204 struct label *label; local 213 if (slen > sizeof(label->attr.prefix)) 217 // The label structure must not cross a page boundary, so we align to the next power of 2 218 label = kzalloc(roundup_pow_of_two(sizeof(*label)), GFP_KERNEL); 219 if (!label) 391 plpks_confirm_object_flushed(struct label *label, struct plpks_auth *auth) argument 433 struct label *label; local 488 struct label *label; local 527 struct label *label; local 561 struct label *label = NULL; local [all...] |
/linux-master/include/linux/ |
H A D | gpio.h | 39 * @label: a literal description string of this GPIO 44 const char *label; member in struct:gpio 81 int gpio_request(unsigned gpio, const char *label); 116 int gpio_request_one(unsigned gpio, unsigned long flags, const char *label); 122 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label); 124 unsigned long flags, const char *label); 138 static inline int gpio_request(unsigned gpio, const char *label) argument 144 unsigned long flags, const char *label) 214 const char *label) 221 unsigned long flags, const char *label) 143 gpio_request_one(unsigned gpio, unsigned long flags, const char *label) argument 213 devm_gpio_request(struct device *dev, unsigned gpio, const char *label) argument 220 devm_gpio_request_one(struct device *dev, unsigned gpio, unsigned long flags, const char *label) argument [all...] |
/linux-master/arch/nios2/include/asm/ |
H A D | asm-macros.h | 91 * Tests the bit in reg2 and branches to label if the 97 .macro BTBZ reg1, reg2, bit, label 99 beq \reg1, r0, \label 103 * Tests the bit in reg2 and branches to label if the 109 .macro BTBNZ reg1, reg2, bit, label 111 bne \reg1, r0, \label 180 * original bit was zero it branches to label. 185 .macro BTCBZ reg1, reg2, bit, label 187 beq \reg1, r0, \label 193 * original bit was non-zero it branches to label [all...] |
/linux-master/tools/perf/ui/gtk/ |
H A D | browser.c | 49 GtkWidget *label; local 55 label = gtk_label_new(""); 56 gtk_widget_show(label); 59 gtk_container_add(GTK_CONTAINER(content_area), label); local 67 pgctx->message_label = label;
|
/linux-master/drivers/gpio/ |
H A D | gpiolib-legacy.c | 22 * @label: a literal description string of this GPIO 26 int gpio_request_one(unsigned gpio, unsigned long flags, const char *label) argument 37 err = gpiod_request(desc, label); 64 int gpio_request(unsigned gpio, const char *label) argument 72 return gpiod_request(desc, label); 88 err = gpio_request_one(array->gpio, array->flags, array->label);
|
/linux-master/block/partitions/ |
H A D | osf.c | 53 } * label; local 60 label = (struct disklabel *) (data+64); 61 partition = label->d_partitions; 62 if (le32_to_cpu(label->d_magic) != DISKLABELMAGIC) { 66 if (le32_to_cpu(label->d_magic2) != DISKLABELMAGIC) { 70 npartitions = le16_to_cpu(label->d_npartitions);
|
H A D | karma.c | 32 } __packed *label; local 39 label = (struct disklabel *)data; 40 if (le16_to_cpu(label->d_magic) != KARMA_LABEL_MAGIC) { 45 p = label->d_partitions;
|
/linux-master/include/net/ |
H A D | mpls.h | 30 static inline struct mpls_shim_hdr mpls_entry_encode(u32 label, argument 38 cpu_to_be32((label << MPLS_LS_LABEL_SHIFT) |
|
/linux-master/arch/arm64/mm/ |
H A D | trans_pgd-asm.S | 12 .macro invalid_vector label 13 SYM_CODE_START_LOCAL(\label) 15 b \label 16 SYM_CODE_END(\label)
|
/linux-master/security/apparmor/include/ |
H A D | secid.h | 33 int aa_alloc_secid(struct aa_label *label, gfp_t gfp); 35 void aa_secid_update(u32 secid, struct aa_label *label);
|
/linux-master/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...] |