Searched refs:label (Results 1 - 25 of 798) sorted by relevance

1234567891011>>

/linux-master/include/linux/platform_data/
H A Dsyscon.h6 const char *label; member in struct:syscon_platform_data
/linux-master/security/apparmor/include/
H A Dcred.h18 #include "label.h"
31 struct aa_label *label)
36 *blob = 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); local
51 AA_BUG(!label);
52 return label;
56 * aa_get_newest_cred_label - obtain the newest label o
30 set_cred_label(const struct cred *cred, struct aa_label *label) argument
107 end_current_label_crit_section(struct aa_label *label) argument
127 struct aa_label *label = aa_current_raw_label(); local
149 struct aa_label *label = aa_current_raw_label(); local
165 struct aa_label *label; local
[all...]
H A Dprocattr.h14 int aa_getprocattr(struct aa_label *label, char **string, bool newline);
H A Dmount.h29 struct aa_label *label, const struct path *path,
33 struct aa_label *label, const struct path *path,
38 struct aa_label *label, const struct path *path,
42 struct aa_label *label, const struct path *path,
45 struct aa_label *label, const struct path *from_path,
49 struct aa_label *label, const char *dev_name,
54 struct aa_label *label, struct vfsmount *mnt, int flags);
57 struct aa_label *label, const struct path *old_path,
/linux-master/arch/powerpc/include/asm/
H A Dfeature-fixups.h31 #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...]
H A Dcode-patching-asm.h9 .macro patch_site label name
14 .4byte \label - .
/linux-master/tools/testing/selftests/powerpc/primitives/asm/
H A Dfeature-fixups.h31 #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...]
/linux-master/arch/riscv/include/asm/
H A Djump_label.h29 " .long 1b - ., %l[label] - . \n\t"
32 : : "i"(&((char *)key)[branch]) : : label);
35 label:
47 "1: jal zero, %l[label] \n\t"
51 " .long 1b - ., %l[label] - . \n\t"
54 : : "i"(&((char *)key)[branch]) : : label);
57 label:
/linux-master/block/partitions/
H A Dultrix.c24 } *label; local
29 data = read_part_sector(state, (16384 - sizeof(*label))/512, &sect);
33 label = (struct ultrix_disklabel *)(data + 512 - sizeof(*label));
35 if (label->pt_magic == PT_MAGIC && label->pt_valid == PT_VALID) {
37 if (label->pt_part[i].pi_nblocks)
39 label->pt_part[i].pi_blkoff,
40 label->pt_part[i].pi_nblocks);
H A Dsun.c65 } * label; local
71 label = read_part_sector(state, 0, &sect);
72 if (!label)
75 p = label->partitions;
76 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) {
78 state->disk->disk_name, be16_to_cpu(label->magic)); */
83 ush = ((__be16 *) (label+1)) - 1;
84 for (csum = 0; ush >= ((__be16 *) label);)
87 printk("Dev %s Sun disklabel: Csum bad, label corrupted\n",
94 use_vtoc = ((be32_to_cpu(label
[all...]
H A Dsgi.c32 __be32 csum; /* Disk label checksum */
44 struct sgi_disklabel *label; local
47 label = read_part_sector(state, 0, &sect);
48 if (!label)
50 p = &label->partitions[0];
51 magic = label->magic_mushroom;
58 ui = ((__be32 *) (label + 1)) - 1;
59 for(csum = 0; ui >= ((__be32 *) label);) {
64 printk(KERN_WARNING "Dev %s SGI disklabel: csum bad, label corrupted\n",
/linux-master/security/apparmor/
H A Dsecid.c9 * 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) argument
67 struct aa_label *label = aa_secid_to_label(secid); local
95 struct aa_label *label; local
119 aa_alloc_secid(struct aa_label *label, gfp_t gfp) argument
[all...]
H A Dlabel.c5 * 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 */
46 aa_put_label(rcu_dereference_protected(proxy->label, true));
48 RCU_INIT_POINTER(proxy->label, (struc
60 aa_alloc_proxy(struct aa_label *label, gfp_t gfp) argument
317 aa_label_destroy(struct aa_label *label) argument
344 aa_label_free(struct aa_label *label) argument
353 label_free_switch(struct aa_label *label) argument
365 struct aa_label *label = container_of(head, struct aa_label, rcu); local
374 struct aa_label *label = container_of(kref, struct aa_label, count); local
392 label_free_or_put_new(struct aa_label *label, struct aa_label *new) argument
401 aa_label_init(struct aa_label *label, int size, gfp_t gfp) argument
479 aa_label_next_confined(struct aa_label *label, int i) argument
595 __label_remove(struct aa_label *label, struct aa_label *new) argument
667 __label_insert(struct aa_labelset *ls, struct aa_label *label, bool replace) argument
759 __label_find(struct aa_label *label) argument
774 aa_label_remove(struct aa_label *label) argument
841 struct aa_label *label; local
860 struct aa_label *label = NULL; local
894 struct aa_label *label = vec_find(vec, len); local
912 aa_label_find(struct aa_label *label) argument
930 aa_label_insert(struct aa_labelset *ls, struct aa_label *label) argument
1055 struct aa_label *label; local
1187 struct aa_label *label, *ar = NULL, *br = NULL; local
1223 struct aa_label *label = NULL; local
1299 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) argument
1359 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) argument
1420 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) argument
1446 aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp) argument
1478 use_label_hname(struct aa_ns *ns, struct aa_label *label, int flags) argument
1555 label_modename(struct aa_ns *ns, struct aa_label *label, int flags) argument
1588 display_mode(struct aa_ns *ns, struct aa_label *label, int flags) argument
1625 aa_label_snxprint(char *str, size_t size, struct aa_ns *ns, struct aa_label *label, int flags) argument
1689 aa_label_asxprint(char **strp, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) argument
1718 aa_label_acntsxprint(char __counted **strp, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) argument
1737 aa_label_xaudit(struct audit_buffer *ab, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) argument
1767 aa_label_seq_xprint(struct seq_file *f, struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) argument
1791 aa_label_xprintk(struct aa_ns *ns, struct aa_label *label, int flags, gfp_t gfp) argument
1814 aa_label_audit(struct audit_buffer *ab, struct aa_label *label, gfp_t gfp) argument
1822 aa_label_seq_print(struct seq_file *f, struct aa_label *label, gfp_t gfp) argument
1830 aa_label_printk(struct aa_label *label, gfp_t gfp) argument
1892 struct aa_label *label, *currbase = base; local
2016 struct aa_label *label; local
2052 __label_update(struct aa_label *label) argument
2126 struct aa_label *label; local
[all...]
/linux-master/arch/csky/include/asm/
H A Djump_label.h19 " .long 1b - ., %l[label] - . \n"
22 : : "i"(&((char *)key)[branch]) : : label);
25 label:
33 "1: bsr32 %l[label] \n"
36 " .long 1b - ., %l[label] - . \n"
39 : : "i"(&((char *)key)[branch]) : : label);
42 label:
/linux-master/arch/s390/include/asm/
H A Djump_label.h28 asm goto("0: brcl 0,%l[label]\n"
31 ".long 0b-.,%l[label]-.\n"
34 : : JUMP_LABEL_STATIC_KEY_CONSTRAINT (key), "i" (branch) : : label);
36 label:
42 asm goto("0: brcl 15,%l[label]\n"
45 ".long 0b-.,%l[label]-.\n"
48 : : JUMP_LABEL_STATIC_KEY_CONSTRAINT (key), "i" (branch) : : label);
50 label:
/linux-master/tools/testing/selftests/rseq/
H A Drseq-x86.h58 #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 Drseq-s390.h41 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, \
45 __rseq_str(label) ":\n\t" \
50 ".quad " __rseq_str(label) "b\n\t" \
68 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, \
72 __rseq_str(label) ":\n\t" \
77 ".long 0x0, " __rseq_str(label) "b\n\t" \
103 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \
104 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \
107 #define RSEQ_ASM_STORE_RSEQ_CS(label, cs_label, rseq_cs) \
111 __rseq_str(label) "
[all...]
H A Drseq-arm.h82 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, start_ip, \
86 __rseq_str(label) ":\n\t" \
91 ".word " __rseq_str(label) "b, 0x0\n\t" \
94 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \
95 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \
111 #define RSEQ_ASM_STORE_RSEQ_CS(label, cs_label, rseq_cs) \
115 __rseq_str(label) ":\n\t"
117 #define RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, label) \
121 "bne " __rseq_str(label) "\n\t"
123 #define __RSEQ_ASM_DEFINE_ABORT(table_label, label, teardow
[all...]
H A Drseq-ppc.h54 #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...]
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.h74 #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...]
/linux-master/arch/arm64/include/asm/
H A Djump_label.h18 #define JUMP_TABLE_ENTRY(key, label) \
21 ".long 1b - ., %l["#label"] - .\n\t" \
24 : : "i"(key) : : label
/linux-master/include/uapi/linux/netfilter/
H A Dxt_IDLETIMER.h25 char label[MAX_IDLETIMER_LABEL_SIZE]; member in struct:idletimer_tg_info
34 char label[MAX_IDLETIMER_LABEL_SIZE]; member in struct:idletimer_tg_info_v1
/linux-master/arch/powerpc/kernel/
H A Dsignal.h25 #define unsafe_get_user_sigset(dst, src, label) do { \
31 unsafe_get_user(__dst->sig[i], &__src->sig[i], label); \
48 #define unsafe_copy_fpr_to_user(to, task, label) do { \
54 unsafe_put_user(__t->thread.TS_FPR(i), &buf[i], label); \
55 unsafe_put_user(__t->thread.fp_state.fpscr, &buf[i], label); \
58 #define unsafe_copy_vsx_to_user(to, task, label) do { \
65 &buf[i], label);\
68 #define unsafe_copy_fpr_from_user(task, from, label) do { \
74 unsafe_get_user(__t->thread.TS_FPR(i), &buf[i], label); \
75 unsafe_get_user(__t->thread.fp_state.fpscr, &buf[i], label); \
[all...]
/linux-master/samples/seccomp/
H A Dbpf-helper.c27 * Walk it once, backwards, to build the label table and do fixups.
38 fprintf(stderr, "Unresolved label: '%s'\n",
39 labels->labels[instr->k].label);
49 fprintf(stderr, "Duplicate label use: '%s'\n",
50 labels->labels[instr->k].label);
64 __u32 seccomp_bpf_label(struct bpf_labels *labels, const char *label) argument
74 begin->label = label;
81 if (!strcmp(label, begin->label))
[all...]
/linux-master/include/linux/
H A Dgpio.h39 * @label: a literal description string of this GPIO
44 const char *label; member in struct:gpio
87 int gpio_request(unsigned gpio, const char *label);
122 int gpio_request_one(unsigned gpio, unsigned long flags, const char *label);
126 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label);
128 unsigned long flags, const char *label);
142 static inline int gpio_request(unsigned gpio, const char *label) argument
148 unsigned long flags, const char *label)
205 const char *label)
212 unsigned long flags, const char *label)
147 gpio_request_one(unsigned gpio, unsigned long flags, const char *label) argument
204 devm_gpio_request(struct device *dev, unsigned gpio, const char *label) argument
211 devm_gpio_request_one(struct device *dev, unsigned gpio, unsigned long flags, const char *label) argument
[all...]

Completed in 261 milliseconds

1234567891011>>