/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | feature-fixups.h | 32 #define START_FTR_SECTION(label) label##1: 34 #define FTR_SECTION_ELSE_NESTED(label) \ 35 label##2: \ 36 .pushsection __ftr_alt_##label,"a"; \ 38 label##3: 40 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ 41 label##4: \ 45 label##5: \ 48 FTR_ENTRY_OFFSET label##1b-label##5b; \ 49 FTR_ENTRY_OFFSET label##2b-label##5b; \ 50 FTR_ENTRY_OFFSET label##3b-label##5b; \ 51 FTR_ENTRY_OFFSET label##4b-label##5b; \ 52 .ifgt (label##4b- label##3b)-(label##2b- label##1b); \ 59 #define BEGIN_FTR_SECTION_NESTED(label) START_FTR_SECTION(label) 62 #define END_FTR_SECTION_NESTED(msk, val, label) \ 63 FTR_SECTION_ELSE_NESTED(label) \ 64 MAKE_FTR_SECTION_ENTRY(msk, val, label, __ftr_fixup) 74 #define ALT_FTR_SECTION_END_NESTED(msk, val, label) \ 75 MAKE_FTR_SECTION_ENTRY(msk, val, label, __ftr_fixup) 76 #define ALT_FTR_SECTION_END_NESTED_IFSET(msk, label) \ 77 ALT_FTR_SECTION_END_NESTED(msk, msk, label) 78 #define ALT_FTR_SECTION_END_NESTED_IFCLR(msk, label) \ 79 ALT_FTR_SECTION_END_NESTED(msk, 0, label) 88 #define BEGIN_MMU_FTR_SECTION_NESTED(label) START_FTR_SECTION(label) 91 #define END_MMU_FTR_SECTION_NESTED(msk, val, label) \ 92 FTR_SECTION_ELSE_NESTED(label) \ 93 MAKE_FTR_SECTION_ENTRY(msk, val, label, __mmu_ftr_fixup) 102 #define MMU_FTR_SECTION_ELSE_NESTED(label) FTR_SECTION_ELSE_NESTED(label) 104 #define ALT_MMU_FTR_SECTION_END_NESTED(msk, val, label) \ 105 MAKE_FTR_SECTION_ENTRY(msk, val, label, __mmu_ftr_fixup) 106 #define ALT_MMU_FTR_SECTION_END_NESTED_IFSET(msk, label) \ 107 ALT_MMU_FTR_SECTION_END_NESTED(msk, msk, label) 108 #define ALT_MMU_FTR_SECTION_END_NESTED_IFCLR(msk, label) \ 109 ALT_MMU_FTR_SECTION_END_NESTED(msk, 0, label) 118 #define BEGIN_FW_FTR_SECTION_NESTED(label) START_FTR_SECTION(label) 121 #define END_FW_FTR_SECTION_NESTED(msk, val, label) \ 122 FTR_SECTION_ELSE_NESTED(label) \ 123 MAKE_FTR_SECTION_ENTRY(msk, val, label, __fw_ftr_fixup) 132 #define FW_FTR_SECTION_ELSE_NESTED(label) FTR_SECTION_ELSE_NESTED(label) 134 #define ALT_FW_FTR_SECTION_END_NESTED(msk, val, label) \ 135 MAKE_FTR_SECTION_ENTRY(msk, val, label, __fw_ftr_fixup) 136 #define ALT_FW_FTR_SECTION_END_NESTED_IFSET(msk, label) \ 137 ALT_FW_FTR_SECTION_END_NESTED(msk, msk, label) 138 #define ALT_FW_FTR_SECTION_END_NESTED_IFCLR(msk, label) \ 139 ALT_FW_FTR_SECTION_END_NESTED(msk, 0, label) 178 #define START_LWSYNC_SECTION(label) label##1: 179 #define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \ 180 label##2: \ 183 label##3: \ 184 FTR_ENTRY_OFFSET label##1b-label##3b; \
|
H A D | exception-64s.h | 54 #define __EXCEPTION_RELON_PROLOG_PSERIES_1(label, h) \ 55 ld r12,PACAKBASE(r13); /* get high part of &label */ \ 57 LOAD_HANDLER(r12,label); \ 65 #define __EXCEPTION_RELON_PROLOG_PSERIES_1(label, h) \ 70 b label; 72 #define EXCEPTION_RELON_PROLOG_PSERIES_1(label, h) \ 73 __EXCEPTION_RELON_PROLOG_PSERIES_1(label, h) \ 80 #define EXCEPTION_RELON_PROLOG_PSERIES(area, label, h, extra, vec) \ 83 EXCEPTION_RELON_PROLOG_PSERIES_1(label, h) 91 #define LOAD_HANDLER(reg, label) \ 93 ori reg,reg,(label)-_stext; /* virt addr of handler ... */ 186 #define __EXCEPTION_PROLOG_PSERIES_1(label, h) \ 187 ld r12,PACAKBASE(r13); /* get high part of &label */ \ 190 LOAD_HANDLER(r12,label) \ 196 #define EXCEPTION_PROLOG_PSERIES_1(label, h) \ 197 __EXCEPTION_PROLOG_PSERIES_1(label, h) 199 #define EXCEPTION_PROLOG_PSERIES(area, label, h, extra, vec) \ 202 EXCEPTION_PROLOG_PSERIES_1(label, h); 356 #define STD_EXCEPTION_PSERIES(loc, vec, label) \ 358 .globl label##_pSeries; \ 359 label##_pSeries: \ 362 EXCEPTION_PROLOG_PSERIES(PACA_EXGEN, label##_common, \ 366 #define STD_EXCEPTION_PSERIES_OOL(vec, label) \ 367 .globl label##_pSeries; \ 368 label##_pSeries: \ 370 EXCEPTION_PROLOG_PSERIES_1(label##_common, EXC_STD) 372 #define STD_EXCEPTION_HV(loc, vec, label) \ 374 .globl label##_hv; \ 375 label##_hv: \ 378 EXCEPTION_PROLOG_PSERIES(PACA_EXGEN, label##_common, \ 382 #define STD_EXCEPTION_HV_OOL(vec, label) \ 383 .globl label##_hv; \ 384 label##_hv: \ 386 EXCEPTION_PROLOG_PSERIES_1(label##_common, EXC_HV) 388 #define STD_RELON_EXCEPTION_PSERIES(loc, vec, label) \ 390 .globl label##_relon_pSeries; \ 391 label##_relon_pSeries: \ 395 EXCEPTION_RELON_PROLOG_PSERIES(PACA_EXGEN, label##_common, \ 398 #define STD_RELON_EXCEPTION_PSERIES_OOL(vec, label) \ 399 .globl label##_relon_pSeries; \ 400 label##_relon_pSeries: \ 402 EXCEPTION_RELON_PROLOG_PSERIES_1(label##_common, EXC_STD) 404 #define STD_RELON_EXCEPTION_HV(loc, vec, label) \ 406 .globl label##_relon_hv; \ 407 label##_relon_hv: \ 411 EXCEPTION_RELON_PROLOG_PSERIES(PACA_EXGEN, label##_common, \ 414 #define STD_RELON_EXCEPTION_HV_OOL(vec, label) \ 415 .globl label##_relon_hv; \ 416 label##_relon_hv: \ 418 EXCEPTION_RELON_PROLOG_PSERIES_1(label##_common, EXC_HV) 453 #define __MASKABLE_EXCEPTION_PSERIES(vec, label, h, extra) \ 457 EXCEPTION_PROLOG_PSERIES_1(label##_common, h); 459 #define _MASKABLE_EXCEPTION_PSERIES(vec, label, h, extra) \ 460 __MASKABLE_EXCEPTION_PSERIES(vec, label, h, extra) 462 #define MASKABLE_EXCEPTION_PSERIES(loc, vec, label) \ 464 .globl label##_pSeries; \ 465 label##_pSeries: \ 467 _MASKABLE_EXCEPTION_PSERIES(vec, label, \ 470 #define MASKABLE_EXCEPTION_HV(loc, vec, label) \ 472 .globl label##_hv; \ 473 label##_hv: \ 474 _MASKABLE_EXCEPTION_PSERIES(vec, label, \ 477 #define MASKABLE_EXCEPTION_HV_OOL(vec, label) \ 478 .globl label##_hv; \ 479 label##_hv: \ 481 EXCEPTION_PROLOG_PSERIES_1(label##_common, EXC_HV); 483 #define __MASKABLE_RELON_EXCEPTION_PSERIES(vec, label, h, extra) \ 488 EXCEPTION_RELON_PROLOG_PSERIES_1(label##_common, h); 489 #define _MASKABLE_RELON_EXCEPTION_PSERIES(vec, label, h, extra) \ 490 __MASKABLE_RELON_EXCEPTION_PSERIES(vec, label, h, extra) 492 #define MASKABLE_RELON_EXCEPTION_PSERIES(loc, vec, label) \ 494 .globl label##_relon_pSeries; \ 495 label##_relon_pSeries: \ 496 _MASKABLE_RELON_EXCEPTION_PSERIES(vec, label, \ 499 #define MASKABLE_RELON_EXCEPTION_HV(loc, vec, label) \ 501 .globl label##_relon_hv; \ 502 label##_relon_hv: \ 503 _MASKABLE_RELON_EXCEPTION_PSERIES(vec, label, \ 506 #define MASKABLE_RELON_EXCEPTION_HV_OOL(vec, label) \ 507 .globl label##_relon_hv; \ 508 label##_relon_hv: \ 510 EXCEPTION_PROLOG_PSERIES_1(label##_common, EXC_HV); 535 #define EXCEPTION_COMMON(trap, label, hdlr, ret, additions) \ 537 .globl label##_common; \ 538 label##_common: \ 546 #define STD_EXCEPTION_COMMON(trap, label, hdlr) \ 547 EXCEPTION_COMMON(trap, label, hdlr, ret_from_except, \ 555 #define STD_EXCEPTION_COMMON_ASYNC(trap, label, hdlr) \ 556 EXCEPTION_COMMON(trap, label, hdlr, ret_from_except_lite, \
|
/linux-4.4.14/include/linux/platform_data/ |
H A D | syscon.h | 5 const char *label; member in struct:syscon_platform_data
|
H A D | leds-lp55xx.h | 51 * @label : Used for naming LEDs 65 const char *label; member in struct:lp55xx_platform_data
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | jump_label.h | 20 ".quad 0b, %l[label], %0\n" arch_static_branch() 22 : : "X" (&((char *)key)[branch]) : : label); arch_static_branch() 25 label: arch_static_branch() 31 asm_volatile_goto("0: brcl 15, %l[label]\n" arch_static_branch_jump() 34 ".quad 0b, %l[label], %0\n" arch_static_branch_jump() 36 : : "X" (&((char *)key)[branch]) : : label); arch_static_branch_jump() 39 label: arch_static_branch_jump()
|
/linux-4.4.14/block/partitions/ |
H A D | ultrix.c | 24 } *label; ultrix_partition() local 29 data = read_part_sector(state, (16384 - sizeof(*label))/512, §); ultrix_partition() 33 label = (struct ultrix_disklabel *)(data + 512 - sizeof(*label)); ultrix_partition() 35 if (label->pt_magic == PT_MAGIC && label->pt_valid == PT_VALID) { ultrix_partition() 37 if (label->pt_part[i].pi_nblocks) ultrix_partition() 39 label->pt_part[i].pi_blkoff, ultrix_partition() 40 label->pt_part[i].pi_nblocks); ultrix_partition()
|
H A D | sun.c | 57 } * label; sun_partition() local 64 label = read_part_sector(state, 0, §); sun_partition() 65 if (!label) sun_partition() 68 p = label->partitions; sun_partition() 69 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) { sun_partition() 71 bdevname(bdev, b), be16_to_cpu(label->magic)); */ sun_partition() 76 ush = ((__be16 *) (label+1)) - 1; sun_partition() 77 for (csum = 0; ush >= ((__be16 *) label);) sun_partition() 80 printk("Dev %s Sun disklabel: Csum bad, label corrupted\n", sun_partition() 87 use_vtoc = ((be32_to_cpu(label->vtoc.sanity) == SUN_VTOC_SANITY) && sun_partition() 88 (be32_to_cpu(label->vtoc.version) == 1) && sun_partition() 89 (be16_to_cpu(label->vtoc.nparts) <= 8)); sun_partition() 92 nparts = (use_vtoc) ? be16_to_cpu(label->vtoc.nparts) : 8; sun_partition() 98 use_vtoc = use_vtoc || !(label->vtoc.sanity || sun_partition() 99 label->vtoc.version || label->vtoc.nparts); sun_partition() 100 spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); sun_partition() 111 if (be16_to_cpu(label->vtoc.infos[i].id) == LINUX_RAID_PARTITION) sun_partition() 113 else if (be16_to_cpu(label->vtoc.infos[i].id) == SUN_WHOLE_DISK) sun_partition()
|
H A D | karma.c | 30 } __packed *label; karma_partition() local 37 label = (struct disklabel *)data; karma_partition() 38 if (le16_to_cpu(label->d_magic) != KARMA_LABEL_MAGIC) { karma_partition() 43 p = label->d_partitions; karma_partition()
|
H A D | sgi.c | 26 __be32 csum; /* Disk label checksum */ 38 struct sgi_disklabel *label; sgi_partition() local 42 label = read_part_sector(state, 0, §); sgi_partition() 43 if (!label) sgi_partition() 45 p = &label->partitions[0]; sgi_partition() 46 magic = label->magic_mushroom; sgi_partition() 53 ui = ((__be32 *) (label + 1)) - 1; sgi_partition() 54 for(csum = 0; ui >= ((__be32 *) label);) { sgi_partition() 59 printk(KERN_WARNING "Dev %s SGI disklabel: csum bad, label corrupted\n", sgi_partition()
|
H A D | ibm.c | 70 union label_t *label) find_label() 79 /* There a three places where we may find a valid label: find_label() 104 memcpy(label, data, sizeof(*label)); find_label() 113 strncpy(type, label->vol.vollbl, 4); find_label() 114 strncpy(name, label->vol.volid, 6); find_label() 116 strncpy(type, label->lnx.vollbl, 4); find_label() 117 strncpy(name, label->lnx.volid, 6); find_label() 127 memset(label, 0, sizeof(*label)); find_label() 136 union label_t *label) find_vol1_partitions() 150 * get start of VTOC from the disk label and then search for format1 find_vol1_partitions() 154 blk = cchhb2blk(&label->vol.vtoc, geo) + 1; find_vol1_partitions() 198 union label_t *label, find_lnx1_partitions() 210 if (label->lnx.ldl_version == 0xf2) { find_lnx1_partitions() 211 size = label->lnx.formatted_blocks * secperblk; find_lnx1_partitions() 234 /* first and only partition starts in the first block after the label */ find_lnx1_partitions() 245 union label_t *label, find_cms1_partitions() 255 blocksize = label->cms.block_size; find_cms1_partitions() 257 if (label->cms.disk_offset != 0) { find_cms1_partitions() 261 offset = label->cms.disk_offset * secperblk; find_cms1_partitions() 262 size = (label->cms.block_count - 1) * secperblk; find_cms1_partitions() 269 * and the DIAG discipline is used, then the CMS label is found find_cms1_partitions() 277 size = label->cms.block_count * secperblk; find_cms1_partitions() 299 union label_t *label; ibm_partition() local 314 label = kmalloc(sizeof(union label_t), GFP_KERNEL); ibm_partition() 315 if (label == NULL) ibm_partition() 325 label)) { ibm_partition() 328 label); ibm_partition() 331 label, labelsect, i_size, ibm_partition() 335 label, labelsect); ibm_partition() 342 * label. If it has the LDL format, then we simply define a ibm_partition() 343 * partition as if it had an LNX1 label. ibm_partition() 357 kfree(label); ibm_partition() 63 find_label(struct parsed_partitions *state, dasd_information2_t *info, struct hd_geometry *geo, int blocksize, sector_t *labelsect, char name[], char type[], union label_t *label) find_label() argument 132 find_vol1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label) find_vol1_partitions() argument 194 find_lnx1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label, sector_t labelsect, loff_t i_size, dasd_information2_t *info) find_lnx1_partitions() argument 241 find_cms1_partitions(struct parsed_partitions *state, struct hd_geometry *geo, int blocksize, char name[], union label_t *label, sector_t labelsect) find_cms1_partitions() argument
|
H A D | osf.c | 52 } * label; osf_partition() local 59 label = (struct disklabel *) (data+64); osf_partition() 60 partition = label->d_partitions; osf_partition() 61 if (le32_to_cpu(label->d_magic) != DISKLABELMAGIC) { osf_partition() 65 if (le32_to_cpu(label->d_magic2) != DISKLABELMAGIC) { osf_partition() 69 npartitions = le16_to_cpu(label->d_npartitions); osf_partition()
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | head_64.h | 34 #define BRANCH_IF_SUN4V(tmp1,label) \ 37 brnz,pn %tmp1, label; \ 40 #define BRANCH_IF_CHEETAH_BASE(tmp1,tmp2,label) \ 46 be,pn %icc, label; \ 49 #define BRANCH_IF_JALAPENO(tmp1,tmp2,label) \ 55 be,pn %icc, label; \ 58 #define BRANCH_IF_CHEETAH_PLUS_OR_FOLLOWON(tmp1,tmp2,label) \ 66 bgeu,pt %xcc, label; \ 69 #define BRANCH_IF_ANY_CHEETAH(tmp1,tmp2,label) \ 77 bgeu,pt %xcc, label; \
|
H A D | backoff.h | 54 #define BACKOFF_SPIN(reg, tmp, label) \ 69 bg,pn %xcc, label; \ 71 ba,pt %xcc, label; \ 81 #define BACKOFF_SPIN(reg, tmp, label)
|
H A D | head_32.h | 11 #define TRAP_ENTRY(type, label) \ 12 rd %psr, %l0; b label; rd %wim, %l3; nop;
|
/linux-4.4.14/samples/seccomp/ |
H A D | bpf-helper.c | 27 * Walk it once, backwards, to build the label table and do fixups. bpf_resolve_jumps() 37 fprintf(stderr, "Unresolved label: '%s'\n", bpf_resolve_jumps() 38 labels->labels[filter->k].label); bpf_resolve_jumps() 48 fprintf(stderr, "Duplicate label use: '%s'\n", bpf_resolve_jumps() 49 labels->labels[filter->k].label); bpf_resolve_jumps() 63 __u32 seccomp_bpf_label(struct bpf_labels *labels, const char *label) seccomp_bpf_label() argument 73 begin->label = label; seccomp_bpf_label() 80 if (!strcmp(label, begin->label)) seccomp_bpf_label() 83 begin->label = label; seccomp_bpf_label()
|
H A D | bpf-helper.h | 29 const char *label; member in struct:bpf_labels::__bpf_label 36 __u32 seccomp_bpf_label(struct bpf_labels *labels, const char *label); 48 #define JUMP(labels, label) \ 49 BPF_JUMP(BPF_JMP+BPF_JA, FIND_LABEL((labels), (label)), \ 51 #define LABEL(labels, label) \ 52 BPF_JUMP(BPF_JMP+BPF_JA, FIND_LABEL((labels), (label)), \ 59 #define FIND_LABEL(labels, label) seccomp_bpf_label((labels), #label)
|
H A D | bpf-fancy.c | 41 DENY, /* Don't passthrough into a label */ main()
|
/linux-4.4.14/tools/perf/ui/gtk/ |
H A D | browser.c | 50 GtkWidget *label; perf_gtk__setup_info_bar() local 56 label = gtk_label_new(""); perf_gtk__setup_info_bar() 57 gtk_widget_show(label); perf_gtk__setup_info_bar() 60 gtk_container_add(GTK_CONTAINER(content_area), label); perf_gtk__setup_info_bar() local 68 pgctx->message_label = label; perf_gtk__setup_info_bar()
|
H A D | progress.c | 17 GtkWidget *label = gtk_label_new(p->title); gtk_ui_progress__update() local 22 gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, FALSE, 3); gtk_ui_progress__update() local
|
/linux-4.4.14/net/mpls/ |
H A D | internal.h | 9 u32 label; member in struct:mpls_entry_decoded 42 struct mpls_nh { /* next hop label forwarding entry */ 71 struct mpls_route { /* next hop label forwarding entry */ 99 static inline struct mpls_shim_hdr mpls_entry_encode(u32 label, unsigned ttl, unsigned tc, bool bos) mpls_entry_encode() argument 103 cpu_to_be32((label << MPLS_LS_LABEL_SHIFT) | mpls_entry_encode() 115 result.label = (entry & MPLS_LS_LABEL_MASK) >> MPLS_LS_LABEL_SHIFT; mpls_entry_decode() 124 const u32 label[]); 126 u32 label[]);
|
H A D | mpls_iptunnel.c | 103 hdr[i] = mpls_entry_encode(tun_encap_info->label[i], mpls_output() 152 &tun_encap_info->labels, tun_encap_info->label); mpls_build_state() 177 tun_encap_info->label)) mpls_fill_encap_info() 205 if (a_hdr->label[l] != b_hdr->label[l]) mpls_encap_cmp()
|
H A D | af_mpls.c | 35 static void rtmsg_lfib(int event, u32 label, struct mpls_route *rt, 122 /* Read and decode the current label */ mpls_select_multipath() 129 if (likely(dec.label >= MPLS_LABEL_FIRST_UNRESERVED)) { mpls_select_multipath() 130 hash = jhash_1word(dec.label, hash); mpls_select_multipath() 132 /* The entropy label follows the entropy label mpls_select_multipath() 134 * label was just added to the hash - no need to mpls_select_multipath() 135 * go any deeper either in the label stack or in the mpls_select_multipath() 140 } else if (dec.label == MPLS_LABEL_ENTROPY) { mpls_select_multipath() 253 /* Read and decode the label */ mpls_forward() 257 /* Pop the label */ mpls_forward() 263 rt = mpls_route_input_rcu(net, dec.label); mpls_forward() 729 /* If a label was not specified during insert pick one */ mpls_route_add() 987 u8 labels, const u32 label[]) nla_put_labels() 1000 nla_label[i] = mpls_entry_encode(label[i], 0, 0, bos); nla_put_labels() 1009 u32 max_labels, u8 *labels, u32 label[]) nla_get_labels() 1017 /* len needs to be an even multiple of 4 (the label size) */ nla_get_labels() 1038 switch (dec.label) { nla_get_labels() 1040 /* RFC3032: This is a label that an LSR may nla_get_labels() 1047 label[i] = dec.label; nla_get_labels() 1221 u32 label, struct mpls_route *rt, int flags) mpls_dump_route() 1242 if (nla_put_labels(skb, RTA_DST, 1, &label)) mpls_dump_route() 1364 static void rtmsg_lfib(int event, u32 label, struct mpls_route *rt, rtmsg_lfib() argument 1376 err = mpls_dump_route(skb, portid, seq, event, label, rt, nlm_flags); rtmsg_lfib() 986 nla_put_labels(struct sk_buff *skb, int attrtype, u8 labels, const u32 label[]) nla_put_labels() argument 1008 nla_get_labels(const struct nlattr *nla, u32 max_labels, u8 *labels, u32 label[]) nla_get_labels() argument 1220 mpls_dump_route(struct sk_buff *skb, u32 portid, u32 seq, int event, u32 label, struct mpls_route *rt, int flags) mpls_dump_route() argument
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw.h | 87 #define SYM_GEN_A(s, label) s label; 88 #define SYM_GEN_B(s, label) s label; 89 #define SYM_GEN_Z(s, label) s label; 165 #define SCRIPTA_BA(np, label) (np->fwa_bas.label) 166 #define SCRIPTB_BA(np, label) (np->fwb_bas.label) 167 #define SCRIPTZ_BA(np, label) (np->fwz_bas.label) 194 #define HADDR_1(label) (RELOC_SOFTC | offsetof(struct sym_hcb, label)) 195 #define HADDR_2(label,ofs) (RELOC_SOFTC | \ 196 (offsetof(struct sym_hcb, label)+(ofs))) 197 #define RADDR_1(label) (RELOC_REGISTER | REG(label)) 198 #define RADDR_2(label,ofs) (RELOC_REGISTER | ((REG(label))+(ofs))) 200 #define SYM_GEN_PADDR_A(s, label) (RELOC_LABEL_A | offsetof(s, label)) 201 #define SYM_GEN_PADDR_B(s, label) (RELOC_LABEL_B | offsetof(s, label))
|
H A D | sym_fw.c | 45 #define SYM_GEN_A(s, label) ((short) offsetof(s, label)), 46 #define SYM_GEN_B(s, label) ((short) offsetof(s, label)), 47 #define SYM_GEN_Z(s, label) ((short) offsetof(s, label)), 48 #define PADDR_A(label) SYM_GEN_PADDR_A(struct SYM_FWA_SCR, label) 49 #define PADDR_B(label) SYM_GEN_PADDR_B(struct SYM_FWB_SCR, label)
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpiolib.h | 100 /* Connection label */ 101 const char *label; member in struct:gpio_desc 106 int gpiod_request(struct gpio_desc *desc, const char *label); 122 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\ 125 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 128 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 131 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 134 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 137 pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\ 143 pr_emerg("GPIO chip %s: " fmt, chip->label, ##__VA_ARGS__) 145 pr_crit("GPIO chip %s: " fmt, chip->label, ##__VA_ARGS__) 147 pr_err("GPIO chip %s: " fmt, chip->label, ##__VA_ARGS__) 149 pr_warn("GPIO chip %s: " fmt, chip->label, ##__VA_ARGS__) 151 pr_info("GPIO chip %s: " fmt, chip->label, ##__VA_ARGS__) 153 pr_debug("GPIO chip %s: " fmt, chip->label, ##__VA_ARGS__)
|
H A D | gpiolib-legacy.c | 18 * @label: a literal description string of this GPIO 20 int gpio_request_one(unsigned gpio, unsigned long flags, const char *label) gpio_request_one() argument 40 err = gpiod_request(desc, label); gpio_request_one() 67 int gpio_request(unsigned gpio, const char *label) gpio_request() argument 75 return gpiod_request(desc, label); gpio_request() 89 err = gpio_request_one(array->gpio, array->flags, array->label); gpio_request_array()
|
H A D | gpio-etraxfs.c | 75 const char *label; member in struct:etraxfs_gpio_port 95 .label = "A", 102 .label = "B", 109 .label = "C", 116 .label = "D", 123 .label = "E", 142 .label = "A", 149 .label = "B", 156 .label = "C", 163 .label = "D", 186 return gc->label[0] - 'A'; etraxfs_gpio_chip_to_port() 441 port->label); etraxfs_gpio_probe() 446 bgc->gc.label = port->label; etraxfs_gpio_probe() 455 bgc->gc.label); etraxfs_gpio_probe() 466 bgc->gc.label); etraxfs_gpio_probe()
|
H A D | gpio-samsung.c | 732 BUG_ON(!gc->label); samsung_gpiolib_add() 750 gc->label); samsung_gpiolib_add() 752 pr_err("gpio: %s has no PM function\n", gc->label); samsung_gpiolib_add() 906 .label = "GPIOA", 915 .label = "GPIOB", 922 .label = "GPIOC", 929 .label = "GPIOD", 935 .label = "GPIOE", 943 .label = "GPIOF", 952 .label = "GPIOG", 960 .label = "GPIOH", 970 .label = "GPIOJ", 978 .label = "GPIOK", 986 .label = "GPIOL", 994 .label = "GPIOM", 1033 .label = "GPA", 1039 .label = "GPB", 1045 .label = "GPC", 1051 .label = "GPD", 1058 .label = "GPE", 1065 .label = "GPG", 1073 .label = "GPM", 1087 .label = "GPH", 1095 .label = "GPK", 1103 .label = "GPL", 1118 .label = "GPF", 1125 .label = "GPI", 1132 .label = "GPJ", 1139 .label = "GPO", 1146 .label = "GPP", 1153 .label = "GPQ", 1162 .label = "GPN",
|
H A D | gpio-ge.c | 79 bgc->gc.label = devm_kstrdup(&pdev->dev, pdev->dev.of_node->full_name, gef_gpio_probe() 81 if (!bgc->gc.label) { gef_gpio_probe()
|
H A D | gpio-wm831x.c | 150 const char *label, *pull, *powerdomain; wm831x_gpio_dbg_show() local 157 label = gpiochip_is_requested(chip, i); wm831x_gpio_dbg_show() 158 if (!label) wm831x_gpio_dbg_show() 159 label = "Unrequested"; wm831x_gpio_dbg_show() 161 seq_printf(s, " gpio-%-3d (%-20.20s) ", gpio, label); wm831x_gpio_dbg_show() 234 .label = "wm831x",
|
H A D | gpio-wm8994.c | 184 const char *label; wm8994_gpio_dbg_show() local 191 label = gpiochip_is_requested(chip, i); wm8994_gpio_dbg_show() 192 if (!label) wm8994_gpio_dbg_show() 193 label = "Unrequested"; wm8994_gpio_dbg_show() 195 seq_printf(s, " gpio-%-3d (%-20.20s) ", gpio, label); wm8994_gpio_dbg_show() 236 .label = "wm8994",
|
H A D | gpio-tz1090.c | 52 * @label: Debug GPIO bank label, used for storage of chip->label 63 char label[16]; member in struct:tz1090_gpio_bank 425 snprintf(bank->label, sizeof(bank->label), "tz1090-gpio-%u", tz1090_gpio_bank_probe() 427 bank->chip.label = bank->label; tz1090_gpio_bank_probe() 473 bank->label, handle_bad_irq, 0, 0, tz1090_gpio_bank_probe()
|
H A D | gpio-ep93xx.c | 266 const char *label; member in struct:ep93xx_gpio_bank 275 .label = _label, \ 333 bgc->gc.label = bank->label; ep93xx_gpio_add_bank() 367 bank->label); ep93xx_gpio_probe()
|
H A D | devres.c | 313 * @label: the name of the requested GPIO 324 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label) devm_gpio_request() argument 333 rc = gpio_request(gpio, label); devm_gpio_request() 351 * @label: a literal description string of this GPIO 354 unsigned long flags, const char *label) devm_gpio_request_one() 363 rc = gpio_request_one(gpio, flags, label); devm_gpio_request_one() 353 devm_gpio_request_one(struct device *dev, unsigned gpio, unsigned long flags, const char *label) devm_gpio_request_one() argument
|
H A D | gpio-lpc32xx.c | 441 .label = "gpio_p0", 457 .label = "gpio_p1", 473 .label = "gpio_p2", 488 .label = "gpio_p3", 504 .label = "gpi_p3", 518 .label = "gpo_p3",
|
H A D | gpio-loongson.c | 101 .label = "Loongson-gpio-chip",
|
H A D | gpio-moxart.c | 58 bgc->gc.label = "moxart-gpio"; moxart_gpio_probe()
|
H A D | gpio-mvebu.c | 512 const char *label; mvebu_gpio_dbg_show() local 516 label = gpiochip_is_requested(chip, i); mvebu_gpio_dbg_show() 517 if (!label) mvebu_gpio_dbg_show() 523 seq_printf(s, " gpio-%-3d (%-20.20s)", chip->base + i, label); mvebu_gpio_dbg_show() 700 mvchip->chip.label = dev_name(&pdev->dev); mvebu_gpio_probe() 805 ct->chip.name = mvchip->chip.label; mvebu_gpio_probe() 814 ct->chip.name = mvchip->chip.label; mvebu_gpio_probe() 826 mvchip->chip.label); mvebu_gpio_probe()
|
H A D | gpio-xtensa.c | 130 .label = "impwire", 139 .label = "expstate",
|
H A D | gpio-iop.c | 99 .label = "iop3xx",
|
H A D | gpio-it87.c | 280 .label = KBUILD_MODNAME, 375 char *label = &labels[i * sizeof("it87_gpXY")]; it87_gpio_init() local 377 sprintf(label, "it87_gp%u%u", 1+(i/8), i%8); it87_gpio_init() 378 labels_table[i] = label; it87_gpio_init()
|
H A D | gpio-stmpe.c | 113 .label = "stmpe", 221 const char *label = gpiochip_is_requested(gc, offset); stmpe_dbg_show_one() local 236 gpio, label ?: "(none)", stmpe_dbg_show_one() 266 gpio, label ?: "(none)", stmpe_dbg_show_one()
|
/linux-4.4.14/arch/nios2/include/asm/ |
H A D | asm-macros.h | 102 * Tests the bit in reg2 and branches to label if the 108 .macro BTBZ reg1, reg2, bit, label 110 beq \reg1, r0, \label 114 * Tests the bit in reg2 and branches to label if the 120 .macro BTBNZ reg1, reg2, bit, label 122 bne \reg1, r0, \label 191 * original bit was zero it branches to label. 196 .macro BTCBZ reg1, reg2, bit, label 198 beq \reg1, r0, \label 204 * original bit was non-zero it branches to label. 209 .macro BTCBNZ reg1, reg2, bit, label 211 bne \reg1, r0, \label 217 * original bit was zero it branches to label. 222 .macro BTSBZ reg1, reg2, bit, label 224 beq \reg1, r0, \label 230 * original bit was non-zero it branches to label. 235 .macro BTSBNZ reg1, reg2, bit, label 237 bne \reg1, r0, \label 243 * original bit was zero it branches to label. 248 .macro BTRBZ reg1, reg2, bit, label 250 bne \reg1, r0, \label 256 * original bit was non-zero it branches to label. 261 .macro BTRBNZ reg1, reg2, bit, label 263 bne \reg1, r0, \label 268 * If the all the bits in the mask are zero it branches to label. 273 .macro TSTBZ reg1, reg2, mask, label 275 beq \reg1, r0, \label 280 * If the any of the bits in the mask are 1 it branches to label. 285 .macro TSTBNZ reg1, reg2, mask, label 287 bne \reg1, r0, \label
|
/linux-4.4.14/net/ipv6/ |
H A D | addrlabel.c | 37 u32 label; member in struct:ip6addrlbl_entry 59 * prefix addr_type label 83 u32 label; member in struct:ip6addrlbl_init_table 87 .label = 1, 91 .label = 5, 95 .label = 11, 99 .label = 2, 103 .label = 12, 107 .label = 6, 111 .label = 7, 115 .label = 4, 119 .label = 3, 123 .label = 0, 149 /* Find label */ __ip6addrlbl_match() 181 u32 label; ipv6_addr_label() local 188 label = p ? p->label : IPV6_ADDR_LABEL_DEFAULT; ipv6_addr_label() 192 __func__, addr, type, ifindex, label); ipv6_addr_label() 194 return label; ipv6_addr_label() 201 u32 label) ip6addrlbl_alloc() 206 ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d, label=%u)\n", ip6addrlbl_alloc() 207 __func__, prefix, prefixlen, ifindex, (unsigned int)label); ip6addrlbl_alloc() 236 newp->label = label; ip6addrlbl_alloc() 243 /* add a label */ __ip6addrlbl_add() 282 /* add a label */ ip6addrlbl_add() 285 int ifindex, u32 label, int replace) ip6addrlbl_add() 290 ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d, label=%u, replace=%d)\n", ip6addrlbl_add() 291 __func__, prefix, prefixlen, ifindex, (unsigned int)label, ip6addrlbl_add() 294 newp = ip6addrlbl_alloc(net, prefix, prefixlen, ifindex, label); ip6addrlbl_add() 305 /* remove a label */ __ip6addrlbl_del() 348 /* add default label */ ip6addrlbl_net_init() 361 ip6addrlbl_init_table[i].label, 0); ip6addrlbl_net_init() 413 u32 label; ip6addrlbl_newdel() local 432 label = nla_get_u32(tb[IFAL_LABEL]); ip6addrlbl_newdel() 433 if (label == IPV6_ADDR_LABEL_DEFAULT) ip6addrlbl_newdel() 443 ifal->ifal_index, label, ip6addrlbl_newdel() 481 nla_put_u32(skb, IFAL_LABEL, p->label) < 0) { ip6addrlbl_fill() 198 ip6addrlbl_alloc(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex, u32 label) ip6addrlbl_alloc() argument 283 ip6addrlbl_add(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex, u32 label, int replace) ip6addrlbl_add() argument
|
H A D | ip6_flowlabel.c | 74 static inline struct ip6_flowlabel *__fl_lookup(struct net *net, __be32 label) __fl_lookup() argument 78 for_each_fl_rcu(FL_HASH(label), fl) { __fl_lookup() 79 if (fl->label == label && net_eq(fl->fl_net, net)) __fl_lookup() 85 static struct ip6_flowlabel *fl_lookup(struct net *net, __be32 label) fl_lookup() argument 90 fl = __fl_lookup(net, label); fl_lookup() 196 struct ip6_flowlabel *fl, __be32 label) fl_intern() 200 fl->label = label & IPV6_FLOWLABEL_MASK; fl_intern() 203 if (label == 0) { fl_intern() 205 fl->label = htonl(prandom_u32())&IPV6_FLOWLABEL_MASK; fl_intern() 206 if (fl->label) { fl_intern() 207 lfl = __fl_lookup(net, fl->label); fl_intern() 219 * with the same label can only appear on another sock fl_intern() 221 lfl = __fl_lookup(net, fl->label); fl_intern() 230 fl->next = fl_ht[FL_HASH(fl->label)]; fl_intern() 231 rcu_assign_pointer(fl_ht[FL_HASH(fl->label)], fl); fl_intern() 241 struct ip6_flowlabel *fl6_sock_lookup(struct sock *sk, __be32 label) fl6_sock_lookup() argument 246 label &= IPV6_FLOWLABEL_MASK; fl6_sock_lookup() 251 if (fl->label == label) { for_each_sk_fl_rcu() 494 if (sfl->fl->label == (np->flow_label & IPV6_FLOWLABEL_MASK)) { for_each_sk_fl_rcu() 496 freq->flr_label = sfl->fl->label; for_each_sk_fl_rcu() 546 if (sfl->fl->label == freq.flr_label) { ipv6_flowlabel_opt() 562 if (sfl->fl->label == freq.flr_label) { for_each_sk_fl_rcu() 612 if (sfl->fl->label == freq.flr_label) { for_each_sk_fl_rcu() 674 &fl->label, sizeof(fl->label))) { 786 (unsigned int)ntohl(fl->label), ip6fl_seq_show() 195 fl_intern(struct net *net, struct ip6_flowlabel *fl, __be32 label) fl_intern() argument
|
/linux-4.4.14/scripts/dtc/ |
H A D | livetree.c | 27 void add_label(struct label **labels, char *label) add_label() argument 29 struct label *new; add_label() 31 /* Make sure the label isn't already there */ add_label() 33 if (streq(new->label, label)) { add_label() 40 new->label = label; add_label() 45 void delete_labels(struct label **labels) delete_labels() 47 struct label *label; delete_labels() local 49 for_each_label(*labels, label) delete_labels() 50 label->deleted = 1; delete_labels() 141 struct label *l; merge_nodes() 147 add_label(&old_node->labels, l->label); merge_nodes() 168 add_label(&old_prop->labels, l->label); for_each_property_withdel() 380 struct property *get_property_by_label(struct node *tree, const char *label, get_property_by_label() argument 389 struct label *l; for_each_property() 392 if (streq(l->label, label)) for_each_property() 397 prop = get_property_by_label(c, label, node); for_each_child() 406 struct marker *get_marker_label(struct node *tree, const char *label, get_marker_label() argument 419 if (streq(m->ref, label)) for_each_property() 424 m = get_marker_label(c, label, node, prop); for_each_child() 471 struct node *get_node_by_label(struct node *tree, const char *label) get_node_by_label() argument 474 struct label *l; get_node_by_label() 476 assert(label && (strlen(label) > 0)); get_node_by_label() 479 if (streq(l->label, label)) get_node_by_label() 483 node = get_node_by_label(child, label); for_each_child()
|
H A D | dtc.h | 129 struct label { struct 131 char *label; member in struct:label 132 struct label *next; 142 struct label *labels; 160 struct label *labels; 184 void add_label(struct label **labels, char *label); 185 void delete_labels(struct label **labels); 208 struct property *get_property_by_label(struct node *tree, const char *label, 210 struct marker *get_marker_label(struct node *tree, const char *label, 214 struct node *get_node_by_label(struct node *tree, const char *label); 228 struct label *labels;
|
H A D | flattree.c | 55 void (*beginnode)(void *, struct label *labels); 56 void (*endnode)(void *, struct label *labels); 57 void (*property)(void *, struct label *labels); 92 static void bin_emit_beginnode(void *e, struct label *labels) bin_emit_beginnode() 97 static void bin_emit_endnode(void *e, struct label *labels) bin_emit_endnode() 102 static void bin_emit_property(void *e, struct label *labels) bin_emit_property() 117 static void emit_label(FILE *f, const char *prefix, const char *label) emit_label() argument 119 fprintf(f, "\t.globl\t%s_%s\n", prefix, label); emit_label() 120 fprintf(f, "%s_%s:\n", prefix, label); emit_label() 121 fprintf(f, "_%s_%s:\n", prefix, label); emit_label() 124 static void emit_offset_label(FILE *f, const char *label, int offset) emit_offset_label() argument 126 fprintf(f, "\t.globl\t%s\n", label); emit_offset_label() 127 fprintf(f, "%s\t= . + %d\n", label, offset); emit_offset_label() 194 static void asm_emit_beginnode(void *e, struct label *labels) asm_emit_beginnode() 197 struct label *l; asm_emit_beginnode() 200 fprintf(f, "\t.globl\t%s\n", l->label); for_each_label() 201 fprintf(f, "%s:\n", l->label); for_each_label() 207 static void asm_emit_endnode(void *e, struct label *labels) asm_emit_endnode() 210 struct label *l; asm_emit_endnode() 215 fprintf(f, "\t.globl\t%s_end\n", l->label); for_each_label() 216 fprintf(f, "%s_end:\n", l->label); for_each_label() 220 static void asm_emit_property(void *e, struct label *labels) asm_emit_property() 223 struct label *l; asm_emit_property() 226 fprintf(f, "\t.globl\t%s\n", l->label); for_each_label() 227 fprintf(f, "%s:\n", l->label); for_each_label() 534 struct label *l; dt_to_asm() 537 fprintf(f, "\t.globl\t%s\n", l->label); dt_to_asm() 538 fprintf(f, "%s:\n", l->label); dt_to_asm()
|
H A D | treesource.c | 240 struct label *l; write_tree_source_node() 244 fprintf(f, "%s: ", l->label); write_tree_source_node() 253 fprintf(f, "%s: ", l->label); for_each_property() 273 struct label *l; dt_to_source() 276 fprintf(f, "%s: ", l->label); dt_to_source()
|
H A D | checks.c | 316 const char *label, struct node *node, check_duplicate_label() 323 othernode = get_node_by_label(dt, label); check_duplicate_label() 326 otherprop = get_property_by_label(dt, label, &othernode); check_duplicate_label() 328 othermark = get_marker_label(dt, label, &othernode, check_duplicate_label() 335 FAIL(c, "Duplicate label '%s' on " DESCLABEL_FMT check_duplicate_label() 337 label, DESCLABEL_ARGS(node, prop, mark), check_duplicate_label() 344 struct label *l; check_duplicate_label_node() 347 check_duplicate_label(c, dt, l->label, node, NULL, NULL); check_duplicate_label_node() 353 struct label *l; check_duplicate_label_prop() 356 check_duplicate_label(c, dt, l->label, node, prop, NULL); check_duplicate_label_prop() 469 FAIL(c, "Reference to non-existent node or label \"%s\"\n", for_each_marker_of_type() 493 FAIL(c, "Reference to non-existent node or label \"%s\"\n", for_each_marker_of_type() 315 check_duplicate_label(struct check *c, struct node *dt, const char *label, struct node *node, struct property *prop, struct marker *mark) check_duplicate_label() argument
|
/linux-4.4.14/drivers/nvdimm/ |
H A D | Makefile | 22 libnvdimm-y += label.o
|
H A D | label.h | 26 NSLABEL_FLAG_ROLABEL = 0x1, /* read-only label */ 29 NSLABEL_FLAG_UPDATING = 0x8, /* label being updated */ 43 * struct nd_namespace_index - label set superblock 47 * @myoff: offset of this index in label area 50 * @labeloff: offset of first label slot 51 * @nslot: total number of label slots 52 * @major: label area major version 53 * @minor: label area minor version 87 * @slot: slot of this label in label area
|
H A D | label.c | 19 #include "label.h" 47 * of overhead per label. Round up to a byte of overhead per sizeof_namespace_index() 48 * label and determine the size of the index region. Yes, this sizeof_namespace_index() 67 * On media label format consists of two index blocks followed nd_label_validate() 223 * @ndd: dimm container for the relevant label set 226 * @free: on return set to the free label bitmap in the index 227 * @nslot: on return set to the number of slots in the label space 292 return 0; /* no label, nothing to reserve */ nd_label_reserve_dpa() 510 /* allocate and write the label to the staging (next) index */ __pmem_label_update() 531 /* update label */ __pmem_label_update() 538 /* Garbage collect the previous label */ __pmem_label_update() 603 * 2/ Allocate and write the label to the staging (next) index 630 * bit inefficient, but we need to know that we have the label __blk_label_update() 645 /* convert old local-label-map to dimm-slot victim-map */ 667 /* don't allow updates that consume the last label */ 669 dev_info(&nsblk->common.dev, "insufficient label space\n"); 714 /* update label */ 746 l--; /* retry with the new label at this index */ 765 dev_vdbg(&nsblk->common.dev, "assign label[%d] slot: %d\n", for_each_clear_bit_le() 778 * 1/ repair the allocated label bitmap in the index 864 l--; /* retry with new label at this index */ del_labels() 870 * label del_labels()
|
H A D | dimm.c | 21 #include "label.h"
|
H A D | namespace_devs.c | 308 /* These values match after a successful label update */ 345 "namespace must be idle during label update\n"); nd_namespace_label_update() 350 * Only allow label writes that will result in a valid namespace nd_namespace_label_update() 471 * allocation delete it and find the 'new' last allocation in the label 507 /* first resource allocation for this label-id or dimm */ init_dpa_allocation() 873 * We need a uuid for the allocation-label and dimm(s) on which __size_store() 874 * to store the label. __size_store() 1067 * If we've already written a label with this uuid, then it's namespace_update_uuid() 1512 * Check that this label is compliant with the dpa select_pmem_id() 1550 * with any mapping as the reference label find_pmem_label_set() 1584 * Fix up each mapping's 'labels' to have the validated pmem label for find_pmem_label_set() 1621 dev_dbg(&nd_region->dev, "%s: invalid label(s)\n", __func__); find_pmem_label_set() 1624 dev_dbg(&nd_region->dev, "%s: label not found\n", __func__); find_pmem_label_set() 1898 struct nd_namespace_label *label; init_active_labels() local 1900 label = nd_label_active(ndd, j); init_active_labels() 1901 nd_mapping->labels[j] = label; init_active_labels()
|
/linux-4.4.14/arch/arm/mach-imx/ |
H A D | iomux-imx31.c | 98 int mxc_iomux_alloc_pin(unsigned int pin, const char *label) mxc_iomux_alloc_pin() argument 104 pad, label ? label : "?"); mxc_iomux_alloc_pin() 110 pad, label ? label : "?"); mxc_iomux_alloc_pin() 119 const char *label) mxc_iomux_setup_multiple_pins() 126 ret = mxc_iomux_alloc_pin(*p, label); mxc_iomux_setup_multiple_pins() 118 mxc_iomux_setup_multiple_pins(const unsigned int *pin_list, unsigned count, const char *label) mxc_iomux_setup_multiple_pins() argument
|
H A D | mach-imx27_visstrim_m10.c | 173 .label = "tvp5150_rstn", 178 .label = "tvp5150_pwdn", 183 .label = "usbotg_cs", 188 .label = "amp-gain-0", 193 .label = "amp-gain-1", 198 .label = "amp-mute-sdl", 203 .label = "amp-mute-sdr",
|
H A D | iomux-v1.h | 90 const char *label);
|
/linux-4.4.14/arch/powerpc/boot/ |
H A D | planetcore.c | 110 const char *label; planetcore_set_stdout_path() local 113 label = planetcore_get_key(table, PLANETCORE_KEY_SERIAL_PORT); planetcore_set_stdout_path() 114 if (!label) planetcore_set_stdout_path() 117 node = find_node_by_prop_value_str(NULL, "linux,planetcore-label", planetcore_set_stdout_path() 118 label); planetcore_set_stdout_path()
|
H A D | planetcore.h | 42 * linux,planetcore-label property in each serial node.
|
/linux-4.4.14/drivers/staging/vme/devices/ |
H A D | vme_pio2_gpio.c | 191 char *label; pio2_gpio_init() local 193 label = kasprintf(GFP_KERNEL, pio2_gpio_init() 195 if (label == NULL) pio2_gpio_init() 198 card->gc.label = label; pio2_gpio_init() 213 kfree(card->gc.label); pio2_gpio_init() 221 const char *label = card->gc.label; pio2_gpio_exit() local 224 kfree(label); pio2_gpio_exit()
|
/linux-4.4.14/drivers/pwm/ |
H A D | pwm-twl-led.c | 98 dev_err(chip->dev, "%s: Failed to configure PWM\n", pwm->label); twl4030_pwmled_config() 112 dev_err(chip->dev, "%s: Failed to read LEDEN\n", pwm->label); twl4030_pwmled_enable() 120 dev_err(chip->dev, "%s: Failed to enable PWM\n", pwm->label); twl4030_pwmled_enable() 137 dev_err(chip->dev, "%s: Failed to read LEDEN\n", pwm->label); twl4030_pwmled_disable() 145 dev_err(chip->dev, "%s: Failed to disable PWM\n", pwm->label); twl4030_pwmled_disable() 163 dev_err(chip->dev, "%s: Failed to configure PWM\n", pwm->label); twl6030_pwmled_config() 178 pwm->label); twl6030_pwmled_enable() 187 dev_err(chip->dev, "%s: Failed to enable PWM\n", pwm->label); twl6030_pwmled_enable() 205 pwm->label); twl6030_pwmled_disable() 214 dev_err(chip->dev, "%s: Failed to disable PWM\n", pwm->label); twl6030_pwmled_disable() 230 pwm->label); twl6030_pwmled_request() 239 dev_err(chip->dev, "%s: Failed to request PWM\n", pwm->label); twl6030_pwmled_request() 256 pwm->label); twl6030_pwmled_free() 265 dev_err(chip->dev, "%s: Failed to free PWM\n", pwm->label); twl6030_pwmled_free()
|
H A D | pwm-twl.c | 100 dev_err(chip->dev, "%s: Failed to configure PWM\n", pwm->label); twl_pwm_config() 114 dev_err(chip->dev, "%s: Failed to read GPBR1\n", pwm->label); twl4030_pwm_enable() 122 dev_err(chip->dev, "%s: Failed to enable PWM\n", pwm->label); twl4030_pwm_enable() 128 dev_err(chip->dev, "%s: Failed to enable PWM\n", pwm->label); twl4030_pwm_enable() 144 dev_err(chip->dev, "%s: Failed to read GPBR1\n", pwm->label); twl4030_pwm_disable() 152 dev_err(chip->dev, "%s: Failed to disable PWM\n", pwm->label); twl4030_pwm_disable() 158 dev_err(chip->dev, "%s: Failed to disable PWM\n", pwm->label); twl4030_pwm_disable() 181 dev_err(chip->dev, "%s: Failed to read PMBR1\n", pwm->label); twl4030_pwm_request() 195 dev_err(chip->dev, "%s: Failed to request PWM\n", pwm->label); twl4030_pwm_request() 216 dev_err(chip->dev, "%s: Failed to read PMBR1\n", pwm->label); twl4030_pwm_free() 226 dev_err(chip->dev, "%s: Failed to free PWM\n", pwm->label); twl4030_pwm_free() 245 dev_err(chip->dev, "%s: Failed to enable PWM\n", pwm->label); twl6030_pwm_enable() 268 dev_err(chip->dev, "%s: Failed to disable PWM\n", pwm->label); twl6030_pwm_disable()
|
H A D | core.c | 110 static int pwm_device_request(struct pwm_device *pwm, const char *label) pwm_device_request() argument 129 pwm->label = label; pwm_device_request() 353 * @label: PWM device label 360 struct pwm_device *pwm_request(int pwm, const char *label) pwm_request() argument 376 err = pwm_device_request(dev, label); pwm_request() 391 * @label: a literal description string of this PWM 399 const char *label) pwm_request_from_chip() 410 err = pwm_device_request(pwm, label); pwm_request_from_chip() 621 pwm->label = con_id; of_pwm_get() 782 pwm->label = NULL; pwm_put() 904 seq_printf(s, " pwm-%-3d (%-20.20s):", i, pwm->label); pwm_dbg_show() 397 pwm_request_from_chip(struct pwm_chip *chip, unsigned int index, const char *label) pwm_request_from_chip() argument
|
H A D | pwm-ab8500.c | 66 pwm->label, ret); ab8500_pwm_enable() 79 pwm->label, ret); ab8500_pwm_disable()
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | math-emu.h | 177 .macro fp_get_instr_data f,s,dest,label 178 getuser \f,%sp@(FPS_PC+4)@(0),\dest,\label,%sp@(FPS_PC+4) 182 .macro fp_get_instr_word dest,label,addr variable 183 fp_get_instr_data w,2,\dest,\label,\addr variable 186 .macro fp_get_instr_long dest,label,addr variable 187 fp_get_instr_data l,4,\dest,\label,\addr variable 195 .macro getuser size,src,dest,label,addr variable 202 jra \label 211 .macro putuser size,src,dest,label,addr variable 219 jra \label 236 .macro getuser.\m src,dest,label,addr variable 237 getuser .\m,\src,\dest,\label,\addr variable 239 .macro putuser.\m src,dest,label,addr variable 240 putuser .\m,\src,\dest,\label,\addr variable
|
H A D | gpio.h | 90 static inline int gpio_request_one(unsigned gpio, unsigned long flags, const char *label) gpio_request_one() argument 94 err = gpio_request(gpio, label); gpio_request_one()
|
/linux-4.4.14/net/netfilter/ |
H A D | xt_IDLETIMER.c | 67 struct idletimer_tg *__idletimer_tg_find_by_label(const char *label) __idletimer_tg_find_by_label() argument 71 BUG_ON(!label); __idletimer_tg_find_by_label() 74 if (!strcmp(label, entry->attr.attr.name)) __idletimer_tg_find_by_label() 130 info->timer->attr.attr.name = kstrdup(info->label, GFP_KERNEL); idletimer_tg_create() 174 info->label, info->timeout); idletimer_tg_target() 189 pr_debug("checkentry targinfo%s\n", info->label); idletimer_tg_checkentry() 196 if (info->label[0] == '\0' || idletimer_tg_checkentry() 197 strnlen(info->label, idletimer_tg_checkentry() 199 pr_debug("label is empty or not nul-terminated\n"); idletimer_tg_checkentry() 205 info->timer = __idletimer_tg_find_by_label(info->label); idletimer_tg_checkentry() 212 info->label, info->timer->refcnt); idletimer_tg_checkentry() 230 pr_debug("destroy targinfo %s\n", info->label); idletimer_tg_destroy() 235 pr_debug("deleting timer %s\n", info->label); idletimer_tg_destroy() 244 info->label, info->timer->refcnt); idletimer_tg_destroy()
|
/linux-4.4.14/security/smack/ |
H A D | smack.h | 51 * Labels are never modified in place. Anytime a label 63 * The cipso value associated with the label gets stored here, too. 65 * Keep the access rules for this subject label here so that 97 struct smack_known *smk_out; /* outbound label */ 98 struct smack_known *smk_in; /* inbound label */ 99 struct smack_known *smk_packet; /* TCP peer label */ 106 struct smack_known *smk_inode; /* label of the fso */ 107 struct smack_known *smk_task; /* label of the task */ 108 struct smack_known *smk_mmap; /* label of the mmap domain */ 114 struct smack_known *smk_task; /* label for access control */ 115 struct smack_known *smk_forked; /* label when forked */ 127 * A label access rule. 144 struct smack_known *smk_label; /* label */ 156 struct smack_known *smk_label; /* label */ 168 struct smack_known *smk_in; /* inbound label */ 169 struct smack_known *smk_out; /* outgoing label */ 211 * but there are certain cases, including single label hosts 212 * and potentially single label interfaces for which the 254 #define SMACK_UNCONFINED_SUBJECT 2 /* Allow unconfined label */ 255 #define SMACK_UNCONFINED_OBJECT 3 /* Allow unconfined label */ 350 * Present a pointer to the smack label entry in an inode blob. 359 * Present a pointer to the smack label entry in an task blob. 377 * Present a pointer to the forked smack label entry in an task blob. 385 * Present a pointer to the smack label in the current task blob.
|
H A D | smack_access.c | 65 * @subject_label: a pointer to the subject's Smack label 66 * @object_label: a pointer to the object's Smack label 76 * were not on the label list. This was done to allow for 79 * star label this will always result in a failure check. The 81 * hooks so there is no case where the label is not on the 82 * label list. Checking to see if the address of two labels 114 * @subject: a pointer to the subject's Smack label entry 115 * @object: a pointer to the object's Smack label entry 143 * Tasks cannot be assigned the internet label. smk_access() 155 * with the same label. smk_access() 219 * @obj_known: a pointer to the object's label entry 223 * This function checks the subject task's label/object label pair 271 * @obj_known: a pointer to the object's Smack label entry 275 * This function checks the current subject label/object label pair 340 * @subject_label : smack label of the requester 341 * @object_label : smack label of the object being accessed 407 * smk_insert_entry - insert a smack label into a hash map, 424 * smk_find_entry - find a label on the list, return the list entry 425 * @string: a text string that might be a Smack label 427 * Returns a pointer to the entry in the label list that 447 * smk_parse_smack - parse smack label from a text string 448 * @string: a text string that might contain a Smack label 451 * Returns a pointer to the clean label or an error code. 463 * this isn't a label, but an option to interfaces 523 * smk_import_entry - import a label, return the list entry 524 * @string: a text string that might be a Smack label 527 * Returns a pointer to the entry in the label list that 595 * smack_from_secid - find the Smack label associated with a secid 596 * @secid: an integer that might be associated with a Smack label 598 * Returns a pointer to the appropriate Smack label entry if there is one, 599 * otherwise a pointer to the invalid Smack label.
|
H A D | smack_lsm.c | 253 * smk_fetch - Fetch the smack label from a file. 254 * @name: type of the label (attribute) 258 * Returns a pointer to the master list entry for the Smack label, 259 * NULL if there was no label to fetch, or an error code. 290 * @skp: a pointer to the Smack label entry to use in the blob 311 * @task: a pointer to the Smack label for the running task 312 * @forked: a pointer to the Smack label for the forked task 412 * @tracee_known: label entry of the process that's about to be traced 1295 * Check label validity here so import won't fail in post_setxattr smack_inode_setxattr() 1347 * in the master label list. 1562 * label changing that SELinux does. 1574 * label list, so no allocation is done. 1594 * label list, so no memory is freed. 1737 * label verify that the SMACK64MMAP also has access smack_mmap_file() 1738 * to that rule's object label. smack_mmap_file() 2036 * smack_kernel_create_files_as - Set the file creation label in a set of creds 2115 * Sets the secid to contain a u32 version of the smack label. 2319 * This version will only be appropriate for really small sets of single label 2323 * Returns the label of the far end or NULL if it's not special. 2370 * This version will only be appropriate for really small sets of single label 2374 * Returns the label of the far end or NULL if it's not special. 2384 * It's local. Don't look for a host label. smack_ipv6host_label() 2397 * If the label is NULL the entry has smack_ipv6host_label() 2419 * @labeled: socket label scheme 2434 * packet labeling based on the label. smack_netlabel() 2435 * The case of a single label host is different, because smack_netlabel() 2436 * a single label host should never get a labeled packet smack_netlabel() 2437 * even though the label is usually associated with a packet smack_netlabel() 2438 * label. smack_netlabel() 2506 * @subject: subject Smack label 2507 * @object: object Smack label 2637 * The other end is a single label host. smk_ipv6_port_check() 2760 * Sockets created by kernel threads receive web label. smack_socket_post_create() 2783 * Records the label bound to a port. 3181 * Returns a pointer to the smack label entry 3362 * We're going to use the superblock default label smack_d_instantiate() 3363 * if there's no label on the file. smack_d_instantiate() 3430 * devpts seems content with the label of the task. smack_d_instantiate() 3471 * No xattr support means, alas, no SMACK label. smack_d_instantiate() 3473 * It would be curious if the label of the task smack_d_instantiate() 3491 * If this is a new directory and the label was smack_d_instantiate() 3517 * Don't let the exec or mmap label be "*" or "@". smack_d_instantiate() 3555 * Returns the length of the smack label or an error code 3585 * Returns the length of the smack label or an error code 3617 * No process is ever allowed the web ("@") label. smack_setprocattr() 3640 * process can change its label only once smack_setprocattr() 3737 * For IPv4 this is only a question if the destination is a single label host. 3738 * For IPv6 this is a check against the label of the port. 3783 * Returns a pointer to a Smack label entry found on the label list. 3799 * Look it up in the label table smack_from_secattr() 3848 * specifying the label, which will ensure smack_from_secattr() 3938 * If there is a secmark use it rather than the CIPSO label. smack_socket_sock_rcv_skb() 4014 * smack_socket_getpeersec_stream - pull in packet label 4050 * smack_socket_getpeersec_dgram - pull in packet label 4144 * Returns 0 if a task with the packet label could write to 4179 * If there is a secmark use it rather than the CIPSO label. smack_inet_conn_request() 4217 * Save the peer's label in the request_sock so we can later setup smack_inet_conn_request() 4223 * We need to decide if we want to label the incoming connection here smack_inet_conn_request() 4224 * if we do we only need to label the request_sock and the stack will smack_inet_conn_request() 4225 * propagate the wire-label to the sock when it is created. smack_inet_conn_request() 4246 * Transfer the connection's peer label to the newly created socket. 4347 * smack_key_getsecurity - Smack label tagging the key 4350 * resulting string (if no label or an error occurs). 4353 * May also return 0 (and a NULL buffer pointer) if there is no label. 4386 * the smack_known label address related to the given audit rule as 4388 * model where nearly everything is a label. 4396 * @rulestr: smack label to be audited 4400 * The label to be audited is created if necessay. 4476 * label. smack_audit_rule_match() 4500 * smack_ismaclabel - check if xattr @name references a smack MAC label 4510 * smack_secid_to_secctx - return the smack label for a secid 4528 * smack_secctx_to_secid - return the secid for a smack label 4529 * @secdata: smack label 4808 * Smack requires early initialization in order to label
|
H A D | smackfs.c | 40 SMK_CIPSO = 4, /* load label -> CIPSO mapping */ 42 SMK_DIRECT = 6, /* CIPSO level indicating direct label */ 43 SMK_AMBIENT = 7, /* internet ambient label */ 44 SMK_NET4ADDR = 8, /* single label hosts */ 45 SMK_ONLYCAP = 9, /* the only "capable" label */ 49 SMK_MAPPED = 13, /* CIPSO level indicating mapped label */ 53 SMK_CIPSO2 = 17, /* load long label -> CIPSO mapping */ 54 SMK_REVOKE_SUBJ = 18, /* set rules with subject label to '-' */ 56 SMK_SYSLOG = 20, /* change syslog label) */ 59 SMK_UNCONFINED = 22, /* define an unconfined label */ 62 SMK_NET6ADDR = 23, /* single label IPv6 hosts */ 78 * This is the "ambient" label for network traffic. 86 * smack label is contained directly in the category set. 100 * Allow one label to be unconfined. This is for 109 * If this value is set restrict syslog use to the label specified. 124 * Certain IP addresses may be designated as single label hosts. 126 * can write to the specified label. 135 * Rule lists are maintained for each label. 179 * Set the category bit number in a smack label sized buffer. 203 * Value for parsing single label host rules 235 * Because the object label is less likely to match smk_set_access() 236 * than the subject label check it first smk_set_access() 329 * @subject: subject label string 330 * @object: object label string 335 * @len: label length limit 446 #define SMK_FIXED24_FMT 0 /* Fixed 24byte label format */ 447 #define SMK_LONG_FMT 1 /* Variable long label format */ 597 * Don't show any rules with label names too long for smk_rule_show() 793 * label level[/cat[,cat]] 805 * Don't show a label that could not have been set using cipso_seq_show() 984 * label level[/cat[,cat]] 1067 * Print host/label pairs 1180 * "<addr/mask, as a.b.c.d/e><space><label>" smk_write_net4addr() 1181 * "<addr, as a.b.c.d><space><label>" smk_write_net4addr() 1281 * Delete the unlabeled entry, only if the previous label smk_write_net4addr() 1294 * Now tell netlabel about the single label nature of smk_write_net4addr() 1340 * Print host/label pairs 1447 * "<addr/mask, as a:b:c:d:e:f:g:h/e><space><label>" smk_write_net6addr() 1448 * "<addr, as a:b:c:d:e:f:g:h><space><label>" smk_write_net6addr() 2057 * Clear the smack_onlycap on invalid label errors. This means smk_write_onlycap() 2060 * Importing will also reject a label beginning with '-', smk_write_onlycap() 2063 * But do so only on invalid label, not on system errors. smk_write_onlycap() 2064 * The invalid label must be first to count as clearing attempt. smk_write_onlycap() 2146 * Clear the smack_unconfined on invalid label errors. This means smk_write_unconfined() 2149 * Importing will also reject a label beginning with '-', smk_write_unconfined() 2152 * But do so only on invalid label, not on system errors. smk_write_unconfined()
|
/linux-4.4.14/include/linux/ |
H A D | gpio.h | 37 * @label: a literal description string of this GPIO 42 const char *label; member in struct:gpio 84 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label); 86 unsigned long flags, const char *label); 104 static inline int gpio_request(unsigned gpio, const char *label) gpio_request() argument 110 unsigned long flags, const char *label) gpio_request_one() 257 const char *label) devm_gpio_request() 264 unsigned long flags, const char *label) devm_gpio_request_one() 109 gpio_request_one(unsigned gpio, unsigned long flags, const char *label) gpio_request_one() argument 256 devm_gpio_request(struct device *dev, unsigned gpio, const char *label) devm_gpio_request() argument 263 devm_gpio_request_one(struct device *dev, unsigned gpio, unsigned long flags, const char *label) devm_gpio_request_one() argument
|
H A D | nd.h | 65 * @alt_name: namespace name supplied in the dimm label 66 * @uuid: namespace name supplied in the dimm label 76 * @alt_name: namespace name supplied in the dimm label 77 * @uuid: namespace name supplied in the dimm label
|
H A D | pwm.h | 15 struct pwm_device *pwm_request(int pwm_id, const char *label); 37 static inline struct pwm_device *pwm_request(int pwm_id, const char *label) pwm_request() argument 85 * @label: name of the PWM device 97 const char *label; member in struct:pwm_device 211 const char *label); 254 const char *label) pwm_request_from_chip() 252 pwm_request_from_chip(struct pwm_chip *chip, unsigned int index, const char *label) pwm_request_from_chip() argument
|
H A D | pm2301_charger.h | 50 const char *label; member in struct:pm2xxx_charger_platform_data
|
H A D | pxa2xx_ssp.h | 212 const char *label; member in struct:ssp_device 247 struct ssp_device *pxa_ssp_request(int port, const char *label); 250 const char *label); 252 static inline struct ssp_device *pxa_ssp_request(int port, const char *label) pxa_ssp_request() argument
|
H A D | gpio_keys.h | 13 * @desc: label that will be attached to button's gpio
|
H A D | lru_cache.h | 37 define a helper framework to easily keep track of index:label associations, 112 with which label (index: current_label) within a certain sliding window that 124 Currently we need one activity log transaction per single label change, which 136 * region number (label) easily. To do the label -> object lookup without a 169 /* special label when on free list */ 200 /* allow to accumulate a few (index:label) changes,
|
H A D | libnvdimm.h | 22 /* when a dimm supports both PMEM and BLK access a label is required */ 37 /* mark newly adjusted resources as requiring a label update */
|
H A D | basic_mmio_gpio.h | 22 const char *label; member in struct:bgpio_pdata
|
/linux-4.4.14/drivers/hwmon/ |
H A D | ibmpowernv.c | 76 char label[MAX_LABEL_LEN]; member in struct:sensor_data 114 return sprintf(buf, "%s\n", sdata->label); show_label() 130 const char *label) make_sensor_label() 135 n = snprintf(sdata->label, sizeof(sdata->label), "%s", label); make_sensor_label() 150 n += snprintf(sdata->label + n, make_sensor_label() 151 sizeof(sdata->label) - n, " %d-%d", make_sensor_label() 154 n += snprintf(sdata->label + n, make_sensor_label() 155 sizeof(sdata->label) - n, " phy%d", id); make_sensor_label() 162 n += snprintf(sdata->label + n, sizeof(sdata->label) - n, make_sensor_label() 291 const char *label; for_each_child_of_node() local 305 if (!of_property_read_string(np, "label", &label)) for_each_child_of_node() 370 const char *label; for_each_child_of_node() local 415 if (!of_property_read_string(np, "label", &label)) { for_each_child_of_node() 417 * For the label attribute, we can reuse the for_each_child_of_node() 426 make_sensor_label(np, &sdata[count], label); for_each_child_of_node() 428 create_hwmon_attr(&sdata[count], "label", show_label); for_each_child_of_node() 128 make_sensor_label(struct device_node *np, struct sensor_data *sdata, const char *label) make_sensor_label() argument
|
H A D | ab8500.c | 122 char *label; ab8500_show_label() local 128 label = "ext_adc1"; ab8500_show_label() 131 label = "ext_adc2"; ab8500_show_label() 134 label = "bat_temp"; ab8500_show_label() 137 label = "bat_ctrl"; ab8500_show_label() 143 return sprintf(buf, "%s\n", label); ab8500_show_label()
|
H A D | vexpress.c | 35 const char *label = of_get_property(dev->of_node, "label", NULL); vexpress_hwmon_label_show() local 37 return snprintf(buffer, PAGE_SIZE, "%s\n", label); vexpress_hwmon_label_show() 83 !of_get_property(dev->of_node, "label", NULL)) vexpress_hwmon_attr_is_visible()
|
H A D | scpi-hwmon.c | 30 char label[20]; member in struct:sensor_data 160 snprintf(sensor->label, sizeof(sensor->input), scpi_hwmon_probe() 167 snprintf(sensor->label, sizeof(sensor->input), scpi_hwmon_probe() 174 snprintf(sensor->label, sizeof(sensor->input), scpi_hwmon_probe() 181 snprintf(sensor->label, sizeof(sensor->input), scpi_hwmon_probe() 195 sensor->dev_attr_label.attr.name = sensor->label; scpi_hwmon_probe()
|
H A D | s3c-hwmon.c | 40 struct sensor_device_attribute label; member in struct:s3c_hwmon_attr 185 * s3c_hwmon_label_show - show label name of the given channel. 190 * Return the label name of a given channel 242 /* if this has a name, add a label */ s3c_hwmon_create_attr() 247 attr = &attrs->label; s3c_hwmon_create_attr() 257 dev_err(dev, "failed to create label attribute\n"); s3c_hwmon_create_attr() 268 device_remove_file(dev, &attrs->label.dev_attr); s3c_hwmon_remove_attr()
|
H A D | abx500.h | 20 * @show_label: hwmon attribute label
|
/linux-4.4.14/drivers/regulator/ |
H A D | twl-regulator.c | 835 #define TWL4030_FIXED_LDO(label, offset, mVolts, num, turnon_delay, \ 837 TWL_FIXED_LDO(label, offset, mVolts, num, turnon_delay, \ 839 #define TWL6030_FIXED_LDO(label, offset, mVolts, turnon_delay) \ 840 TWL_FIXED_LDO(label, offset, mVolts, 0x0, turnon_delay, \ 843 #define TWL4030_ADJUSTABLE_LDO(label, offset, num, turnon_delay, remap_conf) \ 844 static const struct twlreg_info TWL4030_INFO_##label = { \ 847 .table_len = ARRAY_SIZE(label##_VSEL_table), \ 848 .table = label##_VSEL_table, \ 851 .name = #label, \ 852 .id = TWL4030_REG_##label, \ 853 .n_voltages = ARRAY_SIZE(label##_VSEL_table), \ 861 #define TWL4030_ADJUSTABLE_SMPS(label, offset, num, turnon_delay, remap_conf) \ 862 static const struct twlreg_info TWL4030_INFO_##label = { \ 867 .name = #label, \ 868 .id = TWL4030_REG_##label, \ 876 #define TWL6030_ADJUSTABLE_SMPS(label) \ 877 static const struct twlreg_info TWL6030_INFO_##label = { \ 879 .name = #label, \ 880 .id = TWL6030_REG_##label, \ 887 #define TWL6030_ADJUSTABLE_LDO(label, offset, min_mVolts, max_mVolts) \ 888 static const struct twlreg_info TWL6030_INFO_##label = { \ 893 .name = #label, \ 894 .id = TWL6030_REG_##label, \ 902 #define TWL6032_ADJUSTABLE_LDO(label, offset, min_mVolts, max_mVolts) \ 903 static const struct twlreg_info TWL6032_INFO_##label = { \ 908 .name = #label, \ 909 .id = TWL6032_REG_##label, \ 917 #define TWL_FIXED_LDO(label, offset, mVolts, num, turnon_delay, remap_conf, \ 919 static const struct twlreg_info TWLFIXED_INFO_##label = { \ 925 .name = #label, \ 926 .id = family##_REG_##label, \ 936 #define TWL6032_ADJUSTABLE_SMPS(label, offset) \ 937 static const struct twlreg_info TWLSMPS_INFO_##label = { \ 942 .name = #label, \ 943 .id = TWL6032_REG_##label, \ 1026 #define TWL_OF_MATCH(comp, family, label) \ 1029 .data = &family##_INFO_##label, \ 1032 #define TWL4030_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWL4030, label) 1033 #define TWL6030_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWL6030, label) 1034 #define TWL6032_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWL6032, label) 1035 #define TWLFIXED_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWLFIXED, label) 1036 #define TWLSMPS_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWLSMPS, label)
|
/linux-4.4.14/drivers/usb/host/ |
H A D | ehci-dbg.c | 27 static void dbg_hcs_params (struct ehci_hcd *ehci, char *label) dbg_hcs_params() argument 33 label, params, dbg_hcs_params() 56 label, buf); dbg_hcs_params() 61 static inline void dbg_hcs_params (struct ehci_hcd *ehci, char *label) {} dbg_hcs_params() argument 71 static void dbg_hcc_params (struct ehci_hcd *ehci, char *label) dbg_hcc_params() argument 78 label, params, dbg_hcc_params() 85 label, dbg_hcc_params() 100 static inline void dbg_hcc_params (struct ehci_hcd *ehci, char *label) {} dbg_hcc_params() argument 107 dbg_qtd (const char *label, struct ehci_hcd *ehci, struct ehci_qtd *qtd) dbg_qtd() argument 109 ehci_dbg(ehci, "%s td %p n%08x %08x t%08x p0=%08x\n", label, qtd, dbg_qtd() 123 dbg_qh (const char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) dbg_qh() argument 127 ehci_dbg (ehci, "%s qh %p n%08x info %x %x qtd %x\n", label, dbg_qh() 133 dbg_itd (const char *label, struct ehci_hcd *ehci, struct ehci_itd *itd) dbg_itd() argument 136 label, itd->frame, itd, hc32_to_cpu(ehci, itd->hw_next), dbg_itd() 164 dbg_sitd (const char *label, struct ehci_hcd *ehci, struct ehci_sitd *sitd) dbg_sitd() argument 167 label, sitd->frame, sitd, hc32_to_cpu(ehci, sitd->hw_next), dbg_sitd() 179 dbg_status_buf (char *buf, unsigned len, const char *label, u32 status) dbg_status_buf() argument 183 label, label [0] ? " " : "", status, dbg_status_buf() 199 dbg_intr_buf (char *buf, unsigned len, const char *label, u32 enable) dbg_intr_buf() argument 203 label, label [0] ? " " : "", enable, dbg_intr_buf() 218 dbg_command_buf (char *buf, unsigned len, const char *label, u32 command) dbg_command_buf() argument 223 label, label [0] ? " " : "", command, dbg_command_buf() 243 dbg_port_buf (char *buf, unsigned len, const char *label, int port, u32 status) dbg_port_buf() argument 258 label, label [0] ? " " : "", port, status, dbg_port_buf() 285 dbg_qh (char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) dbg_qh() argument 289 dbg_status_buf (char *buf, unsigned len, const char *label, u32 status) dbg_status_buf() argument 293 dbg_command_buf (char *buf, unsigned len, const char *label, u32 command) dbg_command_buf() argument 297 dbg_intr_buf (char *buf, unsigned len, const char *label, u32 enable) dbg_intr_buf() argument 301 dbg_port_buf (char *buf, unsigned len, const char *label, int port, u32 status) dbg_port_buf() argument 307 #define dbg_status(ehci, label, status) { \ 309 dbg_status_buf (_buf, sizeof _buf, label, status); \ 313 #define dbg_cmd(ehci, label, command) { \ 315 dbg_command_buf (_buf, sizeof _buf, label, command); \ 319 #define dbg_port(ehci, label, port, status) { \ 321 dbg_port_buf (_buf, sizeof _buf, label, port, status); \ 787 static char label [] = ""; fill_registers_buffer() local 871 temp = dbg_status_buf (scratch, sizeof scratch, label, fill_registers_buffer() 877 temp = dbg_command_buf (scratch, sizeof scratch, label, fill_registers_buffer() 883 temp = dbg_intr_buf (scratch, sizeof scratch, label, fill_registers_buffer() 895 temp = dbg_port_buf (scratch, sizeof scratch, label, i, fill_registers_buffer()
|
H A D | ohci-dbg.c | 43 char *label, ohci_dump_intr_mask() 49 label, ohci_dump_intr_mask() 65 char *label, maybe_print_eds() 71 ohci_dbg_sw (ohci, next, size, "%s %08x\n", label, value); maybe_print_eds() 254 static void ohci_dump_td (const struct ohci_hcd *ohci, const char *label, ohci_dump_td() argument 260 label, td, ohci_dump_td() 311 ohci_dump_ed (const struct ohci_hcd *ohci, const char *label, ohci_dump_ed() argument 318 label, ohci_dump_ed() 41 ohci_dump_intr_mask( struct ohci_hcd *ohci, char *label, u32 mask, char **next, unsigned *size) ohci_dump_intr_mask() argument 63 maybe_print_eds( struct ohci_hcd *ohci, char *label, u32 value, char **next, unsigned *size) maybe_print_eds() argument
|
H A D | ohci-sa1111.c | 45 static void dump_hci_status(struct usb_hcd *hcd, const char *label) 49 printk(KERN_DEBUG "%s USB_STATUS = { %s%s%s%s%s}\n", label,
|
/linux-4.4.14/drivers/media/pci/mantis/ |
H A D | hopper_cards.c | 51 static char *label[10] = { variable 99 dprintk(MANTIS_DEBUG, 0, "<%s>", label[0]); hopper_irq_handler() 102 dprintk(MANTIS_DEBUG, 0, "<%s>", label[1]); hopper_irq_handler() 108 dprintk(MANTIS_DEBUG, 0, "<%s>", label[2]); hopper_irq_handler() 116 dprintk(MANTIS_DEBUG, 0, "<%s>", label[3]); hopper_irq_handler() 119 dprintk(MANTIS_DEBUG, 0, "<%s>", label[4]); hopper_irq_handler() 122 dprintk(MANTIS_DEBUG, 0, "<%s>", label[5]); hopper_irq_handler() 125 dprintk(MANTIS_DEBUG, 0, "<%s>", label[6]); hopper_irq_handler() 128 dprintk(MANTIS_DEBUG, 0, "<%s>", label[7]); hopper_irq_handler() 131 dprintk(MANTIS_DEBUG, 0, "<%s>", label[8]); hopper_irq_handler() 136 dprintk(MANTIS_DEBUG, 0, "<%s>", label[9]); hopper_irq_handler()
|
H A D | mantis_cards.c | 63 static char *label[10] = { variable 109 dprintk(MANTIS_DEBUG, 0, "<%s>", label[0]); mantis_irq_handler() 112 dprintk(MANTIS_DEBUG, 0, "<%s>", label[1]); mantis_irq_handler() 118 dprintk(MANTIS_DEBUG, 0, "<%s>", label[2]); mantis_irq_handler() 126 dprintk(MANTIS_DEBUG, 0, "<%s>", label[3]); mantis_irq_handler() 129 dprintk(MANTIS_DEBUG, 0, "<%s>", label[4]); mantis_irq_handler() 132 dprintk(MANTIS_DEBUG, 0, "<%s>", label[5]); mantis_irq_handler() 135 dprintk(MANTIS_DEBUG, 0, "<%s>", label[6]); mantis_irq_handler() 138 dprintk(MANTIS_DEBUG, 0, "<%s>", label[7]); mantis_irq_handler() 141 dprintk(MANTIS_DEBUG, 0, "<%s>", label[8]); mantis_irq_handler() 146 dprintk(MANTIS_DEBUG, 0, "<%s>", label[9]); mantis_irq_handler()
|
/linux-4.4.14/arch/frv/include/asm/ |
H A D | math-emu.h | 177 .macro fp_get_instr_data f,s,dest,label 178 getuser \f,%sp@(FPS_PC+4)@(0),\dest,\label,%sp@(FPS_PC+4) 182 .macro fp_get_instr_word dest,label,addr variable 183 fp_get_instr_data w,2,\dest,\label,\addr variable 186 .macro fp_get_instr_long dest,label,addr variable 187 fp_get_instr_data l,4,\dest,\label,\addr variable 195 .macro getuser size,src,dest,label,addr variable 202 jra \label 211 .macro putuser size,src,dest,label,addr variable 219 jra \label
|
/linux-4.4.14/drivers/misc/ |
H A D | sram.c | 56 const char *label; member in struct:sram_reserve 95 NUMA_NO_NODE, block->label); sram_add_pool() 185 const char *label; sram_reserve_regions() local 234 label = NULL; for_each_available_child_of_node() 235 ret = of_property_read_string(child, "label", &label); for_each_available_child_of_node() 238 "%s has invalid label name\n", for_each_available_child_of_node() 242 if (!label) for_each_available_child_of_node() 243 label = child->name; for_each_available_child_of_node() 245 block->label = devm_kstrdup(sram->dev, for_each_available_child_of_node() 246 label, GFP_KERNEL); for_each_available_child_of_node() 247 if (!block->label) for_each_available_child_of_node() 251 block->export ? "exported " : "", block->label, for_each_available_child_of_node()
|
/linux-4.4.14/drivers/staging/fsl-mc/bus/ |
H A D | dprc.c | 124 cmd.params[2] |= mc_enc(0, 8, cfg->label[0]); dprc_create_container() 125 cmd.params[2] |= mc_enc(8, 8, cfg->label[1]); dprc_create_container() 126 cmd.params[2] |= mc_enc(16, 8, cfg->label[2]); dprc_create_container() 127 cmd.params[2] |= mc_enc(24, 8, cfg->label[3]); dprc_create_container() 128 cmd.params[2] |= mc_enc(32, 8, cfg->label[4]); dprc_create_container() 129 cmd.params[2] |= mc_enc(40, 8, cfg->label[5]); dprc_create_container() 130 cmd.params[2] |= mc_enc(48, 8, cfg->label[6]); dprc_create_container() 131 cmd.params[2] |= mc_enc(56, 8, cfg->label[7]); dprc_create_container() 132 cmd.params[3] |= mc_enc(0, 8, cfg->label[8]); dprc_create_container() 133 cmd.params[3] |= mc_enc(8, 8, cfg->label[9]); dprc_create_container() 134 cmd.params[3] |= mc_enc(16, 8, cfg->label[10]); dprc_create_container() 135 cmd.params[3] |= mc_enc(24, 8, cfg->label[11]); dprc_create_container() 136 cmd.params[3] |= mc_enc(32, 8, cfg->label[12]); dprc_create_container() 137 cmd.params[3] |= mc_enc(40, 8, cfg->label[13]); dprc_create_container() 138 cmd.params[3] |= mc_enc(48, 8, cfg->label[14]); dprc_create_container() 139 cmd.params[3] |= mc_enc(56, 8, cfg->label[15]); dprc_create_container() 967 obj_desc->label[0] = mc_dec(cmd.params[5], 0, 8); dprc_get_obj() 968 obj_desc->label[1] = mc_dec(cmd.params[5], 8, 8); dprc_get_obj() 969 obj_desc->label[2] = mc_dec(cmd.params[5], 16, 8); dprc_get_obj() 970 obj_desc->label[3] = mc_dec(cmd.params[5], 24, 8); dprc_get_obj() 971 obj_desc->label[4] = mc_dec(cmd.params[5], 32, 8); dprc_get_obj() 972 obj_desc->label[5] = mc_dec(cmd.params[5], 40, 8); dprc_get_obj() 973 obj_desc->label[6] = mc_dec(cmd.params[5], 48, 8); dprc_get_obj() 974 obj_desc->label[7] = mc_dec(cmd.params[5], 56, 8); dprc_get_obj() 975 obj_desc->label[8] = mc_dec(cmd.params[6], 0, 8); dprc_get_obj() 976 obj_desc->label[9] = mc_dec(cmd.params[6], 8, 8); dprc_get_obj() 977 obj_desc->label[10] = mc_dec(cmd.params[6], 16, 8); dprc_get_obj() 978 obj_desc->label[11] = mc_dec(cmd.params[6], 24, 8); dprc_get_obj() 979 obj_desc->label[12] = mc_dec(cmd.params[6], 32, 8); dprc_get_obj() 980 obj_desc->label[13] = mc_dec(cmd.params[6], 40, 8); dprc_get_obj() 981 obj_desc->label[14] = mc_dec(cmd.params[6], 48, 8); dprc_get_obj() 982 obj_desc->label[15] = '\0'; dprc_get_obj() 1061 obj_desc->label[0] = (char)mc_dec(cmd.params[5], 0, 8); dprc_get_obj_desc() 1062 obj_desc->label[1] = (char)mc_dec(cmd.params[5], 8, 8); dprc_get_obj_desc() 1063 obj_desc->label[2] = (char)mc_dec(cmd.params[5], 16, 8); dprc_get_obj_desc() 1064 obj_desc->label[3] = (char)mc_dec(cmd.params[5], 24, 8); dprc_get_obj_desc() 1065 obj_desc->label[4] = (char)mc_dec(cmd.params[5], 32, 8); dprc_get_obj_desc() 1066 obj_desc->label[5] = (char)mc_dec(cmd.params[5], 40, 8); dprc_get_obj_desc() 1067 obj_desc->label[6] = (char)mc_dec(cmd.params[5], 48, 8); dprc_get_obj_desc() 1068 obj_desc->label[7] = (char)mc_dec(cmd.params[5], 56, 8); dprc_get_obj_desc() 1069 obj_desc->label[8] = (char)mc_dec(cmd.params[6], 0, 8); dprc_get_obj_desc() 1070 obj_desc->label[9] = (char)mc_dec(cmd.params[6], 8, 8); dprc_get_obj_desc() 1071 obj_desc->label[10] = (char)mc_dec(cmd.params[6], 16, 8); dprc_get_obj_desc() 1072 obj_desc->label[11] = (char)mc_dec(cmd.params[6], 24, 8); dprc_get_obj_desc() 1073 obj_desc->label[12] = (char)mc_dec(cmd.params[6], 32, 8); dprc_get_obj_desc() 1074 obj_desc->label[13] = (char)mc_dec(cmd.params[6], 40, 8); dprc_get_obj_desc() 1075 obj_desc->label[14] = (char)mc_dec(cmd.params[6], 48, 8); dprc_get_obj_desc() 1076 obj_desc->label[15] = (char)mc_dec(cmd.params[6], 56, 8); dprc_get_obj_desc() 1369 * dprc_set_obj_label() - Set object label. 1375 * @label: The required label. The maximum length is 16 chars. 1384 char *label) dprc_set_obj_label() 1394 cmd.params[1] |= mc_enc(0, 8, label[0]); dprc_set_obj_label() 1395 cmd.params[1] |= mc_enc(8, 8, label[1]); dprc_set_obj_label() 1396 cmd.params[1] |= mc_enc(16, 8, label[2]); dprc_set_obj_label() 1397 cmd.params[1] |= mc_enc(24, 8, label[3]); dprc_set_obj_label() 1398 cmd.params[1] |= mc_enc(32, 8, label[4]); dprc_set_obj_label() 1399 cmd.params[1] |= mc_enc(40, 8, label[5]); dprc_set_obj_label() 1400 cmd.params[1] |= mc_enc(48, 8, label[6]); dprc_set_obj_label() 1401 cmd.params[1] |= mc_enc(56, 8, label[7]); dprc_set_obj_label() 1402 cmd.params[2] |= mc_enc(0, 8, label[8]); dprc_set_obj_label() 1403 cmd.params[2] |= mc_enc(8, 8, label[9]); dprc_set_obj_label() 1404 cmd.params[2] |= mc_enc(16, 8, label[10]); dprc_set_obj_label() 1405 cmd.params[2] |= mc_enc(24, 8, label[11]); dprc_set_obj_label() 1406 cmd.params[2] |= mc_enc(32, 8, label[12]); dprc_set_obj_label() 1407 cmd.params[2] |= mc_enc(40, 8, label[13]); dprc_set_obj_label() 1408 cmd.params[2] |= mc_enc(48, 8, label[14]); dprc_set_obj_label() 1409 cmd.params[2] |= mc_enc(56, 8, label[15]); dprc_set_obj_label() 1379 dprc_set_obj_label(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, char *label) dprc_set_obj_label() argument
|
/linux-4.4.14/drivers/mfd/ |
H A D | vexpress-sysreg.c | 73 .label = "sys_id", 77 .label = "sys_led", 83 .label = "sys_mci", 89 .label = "sys_flash", 95 .label = "sys_misc", 99 .label = "sys_procid",
|
/linux-4.4.14/arch/blackfin/mach-bf538/ |
H A D | ext-gpio.c | 71 return bfin_special_gpio_request(chip->base + gpio, chip->label); bf538_gpio_request() 82 .label = "GPIO-PC", 94 .label = "GPIO-PD", 106 .label = "GPIO-PE",
|
/linux-4.4.14/include/net/ |
H A D | mpls_iptunnel.h | 20 u32 label[MAX_NEW_LABELS]; member in struct:mpls_iptunnel_encap
|
H A D | mpls.h | 31 * label stack lies between the end of the mac header and the network 33 * is the top of the MPLS label stack.
|
H A D | inet_ecn.h | 65 #define IP6_ECN_flow_init(label) do { \ 66 (label) &= ~htonl(INET_ECN_MASK << 20); \ 69 #define IP6_ECN_flow_xmit(sk, label) do { \ 71 (label) |= htonl(INET_ECN_ECT_0 << 20); \
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | hyp-stub.S | 67 .macro invalid_vector label 68 \label: 69 b \label 70 ENDPROC(\label)
|
/linux-4.4.14/sound/firewire/tascam/ |
H A D | tascam-transaction.c | 66 u8 *label, *msg; fill_message() local 69 /* The first byte is used for label, the rest for MIDI bytes. */ fill_message() 70 label = buf; fill_message() 87 /* At the end of exclusive message, use label 0x07. */ fill_message() 90 *label = (port << 4) | 0x07; fill_message() 91 /* During exclusive message, use label 0x04. */ fill_message() 93 *label = (port << 4) | 0x04; fill_message() 138 *label = (port << 4) | (msg[0] >> 4); fill_message()
|
/linux-4.4.14/drivers/usb/gadget/legacy/ |
H A D | serial.c | 106 /* .label = f(use_acm) */ 252 serial_config_driver.label = "CDC ACM config"; init() 258 serial_config_driver.label = "CDC OBEX config"; init() 264 serial_config_driver.label = "Generic Serial config"; init() 270 strings_dev[STRING_DESCRIPTION_IDX].s = serial_config_driver.label; init()
|
H A D | ether.c | 235 .label = "RNDIS", 300 /* .label = f(hardware) */ 317 /* set up main config label and device descriptor */ eth_bind() 328 eth_config_driver.label = "CDC Ethernet (EEM)"; eth_bind() 342 eth_config_driver.label = "CDC Ethernet (ECM)"; eth_bind() 355 eth_config_driver.label = "CDC Subset/SAFE"; eth_bind()
|
H A D | ncm.c | 124 /* .label = f(hardware) */ 125 .label = "CDC Ethernet (NCM)",
|
/linux-4.4.14/include/ras/ |
H A D | ras_event.h | 101 const char *label, 112 TP_ARGS(err_type, error_msg, label, error_count, mc_index, 119 __string( label, label ) 134 __assign_str(label, label); 152 __get_str(label),
|
/linux-4.4.14/arch/arm/plat-pxa/ |
H A D | ssp.c | 42 struct ssp_device *pxa_ssp_request(int port, const char *label) pxa_ssp_request() argument 51 ssp->label = label; pxa_ssp_request() 66 const char *label) pxa_ssp_request_of() 75 ssp->label = label; pxa_ssp_request_of() 94 ssp->label = NULL; pxa_ssp_free() 65 pxa_ssp_request_of(const struct device_node *of_node, const char *label) pxa_ssp_request_of() argument
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | unwind_decoder.c | 33 * UNW_DEC_COPY_STATE(fmt,label,arg) 39 * UNW_DEC_LABEL_STATE(fmt,label,arg) 369 unw_word label = (code & 0x1f); unw_decode_b1() local 372 UNW_DEC_COPY_STATE(B1, label, arg); unw_decode_b1() 374 UNW_DEC_LABEL_STATE(B1, label, arg); unw_decode_b1() 391 unw_word t, ecount, label; unw_decode_b3_x4() local 401 label = unw_decode_uleb128 (&dp); unw_decode_b3_x4() 403 UNW_DEC_COPY_STATE(B4, label, arg); unw_decode_b3_x4() 405 UNW_DEC_LABEL_STATE(B4, label, arg); unw_decode_b3_x4()
|
H A D | unwind_i.h | 89 unsigned long label; /* label for this state */ member in struct:unw_labeled_state
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | jump_label.c | 2 * jump label x86 support 51 * Jump label is enabled for the first time. __jump_label_transform() 72 * We are disabling this jump label. If it is not what __jump_label_transform()
|
/linux-4.4.14/arch/blackfin/mach-common/ |
H A D | cache.S | 29 .macro do_flush flushins:req label 46 .ifnb \label 47 \label :
|
/linux-4.4.14/include/net/irda/ |
H A D | irda.h | 63 #define IRDA_ASSERT_LABEL(label) label 66 #define IRDA_ASSERT_LABEL(label)
|
/linux-4.4.14/include/sound/ |
H A D | ak4xxx-adda.h | 42 /* DAC label and channels */ 51 char *name; /* capture gain volume label */ 54 char *selector_name; /* capture source select label */
|
H A D | wm8996.h | 22 * ReTune Mobile configurations are specified with a label, sample
|
H A D | wm8904.h | 125 * DRC configurations are specified with a label and a set of register 140 * ReTune Mobile configurations are specified with a label, sample
|
/linux-4.4.14/drivers/hwmon/pmbus/ |
H A D | pmbus_core.c | 82 char name[PMBUS_NAME_SIZE]; /* sysfs label name */ 84 char label[PMBUS_NAME_SIZE]; /* label */ member in struct:pmbus_label 804 struct pmbus_label *label = to_pmbus_label(da); pmbus_show_label() local 806 return snprintf(buf, PAGE_SIZE, "%s\n", label->label); pmbus_show_label() 921 struct pmbus_label *label; pmbus_add_label() local 924 label = devm_kzalloc(data->dev, sizeof(*label), GFP_KERNEL); pmbus_add_label() 925 if (!label) pmbus_add_label() 928 a = &label->attribute; pmbus_add_label() 930 snprintf(label->name, sizeof(label->name), "%s%d_label", name, seq); pmbus_add_label() 932 strncpy(label->label, lstring, sizeof(label->label) - 1); pmbus_add_label() 934 snprintf(label->label, sizeof(label->label), "%s%d", lstring, pmbus_add_label() 937 pmbus_dev_attr_init(a, label->name, S_IRUGO, pmbus_show_label, NULL); pmbus_add_label() 968 const char *label; /* sensor label */ member in struct:pmbus_sensor_attr 1033 if (attr->label) { pmbus_add_sensor_attrs_one() 1034 ret = pmbus_add_label(data, name, index, attr->label, pmbus_add_sensor_attrs_one() 1203 .label = "vin", 1213 .label = "vmon", 1222 .label = "vcap", 1227 .label = "vout", 1307 .label = "iin", 1316 .label = "iout", 1391 .label = "pin", 1400 .label = "pout",
|
/linux-4.4.14/drivers/input/serio/ |
H A D | ams_delta_serio.c | 110 .label = "serio-data", 115 .label = "serio-clock", 120 .label = "serio-power", 125 .label = "serio-dataout",
|
/linux-4.4.14/drivers/phy/ |
H A D | phy-exynos4210-usb2.c | 230 .label = "device", 236 .label = "host", 242 .label = "hsic0", 248 .label = "hsic1",
|
H A D | phy-omap-usb2.c | 148 .label = "omap_usb2", 153 .label = "omap5_usb2", 158 .label = "dra7x_usb2", 163 .label = "am437x_usb2", 219 phy->phy.label = phy_data->label; omap_usb2_probe()
|
H A D | phy-samsung-usb2.c | 29 inst->cfg->label); samsung_usb2_phy_power_on() 71 inst->cfg->label); samsung_usb2_phy_power_off() 228 char *label = drv->cfg->phys[i].label; samsung_usb2_phy_probe() local 231 dev_dbg(dev, "Creating phy \"%s\"\n", label); samsung_usb2_phy_probe() 235 label); samsung_usb2_phy_probe()
|
H A D | phy-s5pv210-usb2.c | 170 .label = "device", 176 .label = "host",
|
H A D | phy-exynos4x12-usb2.c | 341 .label = "device", 347 .label = "host", 353 .label = "hsic0", 359 .label = "hsic1",
|
H A D | phy-exynos5250-usb2.c | 371 .label = "device", 377 .label = "host", 383 .label = "hsic0", 389 .label = "hsic1",
|
H A D | phy-samsung-usb2.h | 56 char *label; member in struct:samsung_usb2_common_phy
|
/linux-4.4.14/arch/sparc/net/ |
H A D | bpf_jit_asm.S | 8 #define BE_PTR(label) be,pn %xcc, label 13 #define BE_PTR(label) be label
|
/linux-4.4.14/arch/sh/boards/mach-sdk7786/ |
H A D | gpio.c | 37 .label = "sdk7786-fpga",
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | bfin_gpio.c | 117 static void set_label(unsigned short ident, const char *label) set_label() argument 119 if (label) { set_label() 120 strncpy(str_ident[ident].name, label, set_label() 131 static int cmp_label(unsigned short ident, const char *label) cmp_label() argument 133 if (label == NULL) { cmp_label() 135 printk(KERN_ERR "Please provide none-null label\n"); cmp_label() 138 if (label) cmp_label() 139 return strcmp(str_ident[ident].name, label); cmp_label() 644 * label String 653 int peripheral_request(unsigned short per, const char *label) peripheral_request() argument 698 if (cmp_label(ident, label) == 0) peripheral_request() 722 set_label(ident, label); peripheral_request() 728 int peripheral_request_list(const unsigned short per[], const char *label) peripheral_request_list() argument 735 ret = peripheral_request(per[cnt], label); peripheral_request_list() 792 * label String 801 int bfin_gpio_request(unsigned gpio, const char *label) bfin_gpio_request() argument 816 if (cmp_label(gpio, label) == 0) { bfin_gpio_request() 846 set_label(gpio, label); bfin_gpio_request() 886 int bfin_special_gpio_request(unsigned gpio, const char *label) bfin_special_gpio_request() argument 898 if (cmp_label(gpio, label) == 0) { bfin_special_gpio_request() 922 set_label(gpio, label); bfin_special_gpio_request() 953 int bfin_gpio_irq_request(unsigned gpio, const char *label) bfin_gpio_irq_request() argument 977 set_label(gpio, label); bfin_gpio_irq_request() 1172 return bfin_gpio_request(gpio, chip->label); bfin_gpiolib_gpio_request() 1186 .label = "BFIN-GPIO",
|
/linux-4.4.14/drivers/leds/ |
H A D | leds-lp8860.c | 102 * @label - LED label 114 const char *label; member in struct:lp8860_led 384 led->label = LP8860_DISP_LED_NAME; lp8860_probe() 387 ret = of_property_read_string(np, "label", &led->label); lp8860_probe() 389 dev_err(&client->dev, "Missing label in dt\n"); lp8860_probe() 407 led->led_dev.name = led->label; lp8860_probe()
|
/linux-4.4.14/fs/ocfs2/ |
H A D | ocfs1_fs_compat.h | 93 * OCFS1 volume label. Lives at sector 1. 98 /*30*/ __u8 label[OCFS1_MAX_VOL_LABEL_LEN]; member in struct:ocfs1_vol_label
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | jump_label.c | 2 * Jump label s390 support 46 pr_emerg("Jump label code mismatch at %pS [%p]\n", ipc, ipc); jump_label_bug()
|
/linux-4.4.14/arch/sh/boards/mach-x3proto/ |
H A D | gpio.c | 80 .label = "x3proto-gpio", 121 x3proto_gpio_chip.label, x3proto_gpio_chip.base, x3proto_gpio_setup()
|
/linux-4.4.14/arch/m68k/math-emu/ |
H A D | fp_decode.h | 189 .macro fp_get_test_extword label 192 jne \label 197 .macro fp_test_basereg_d16 label 199 jeq \label 203 .macro fp_test_basereg_ext label 205 jeq \label 208 .macro fp_test_suppr_index label 210 jne \label
|
/linux-4.4.14/arch/mips/vdso/ |
H A D | vdso.h | 41 * We can't use addiupc because there is no label-label get_vdso_base()
|
/linux-4.4.14/arch/avr32/include/asm/ |
H A D | asm.h | 88 .macro branch_if_kernel scratch, label 92 brcc \label
|
/linux-4.4.14/drivers/mtd/nand/ |
H A D | ams-delta.c | 143 .label = "nand_nce", 148 .label = "nand_nre", 153 .label = "nand_nwp", 158 .label = "nand_nwe", 163 .label = "nand_ale", 168 .label = "nand_cle",
|
/linux-4.4.14/include/linux/mfd/wm8994/ |
H A D | pdata.h | 41 * DRC configurations are specified with a label and a set of register 56 * ReTune Mobile configurations are specified with a label, sample 69 * Multiband compressor configurations are specified with a label and 84 * VSS HPF configurations are specified with a label and two values to 95 * VSS configurations are specified with a label and array of values 106 * Enhanced EQ configurations are specified with a label and array of
|
/linux-4.4.14/net/netlabel/ |
H A D | netlabel_unlabeled.h | 5 * NetLabel system. The NetLabel system manages static and dynamic label 39 * This message is sent from an application to add a new static label for 59 * label for incoming unlabeled connections. 98 * label for incoming unlabeled connections. 116 * static label for incoming unlabeled connections. 222 /* Static/Fallback label management functions */
|
H A D | netlabel_kapi.c | 5 * system manages static and dynamic label mappings for network protocols such 199 * netlbl_cfg_unlbl_static_add - Adds a new static label 209 * Adds a new NetLabel static label to be used when protocol provided labels 243 * netlbl_cfg_unlbl_static_del - Removes an existing static label 252 * Removes an existing NetLabel static label used when protocol provided labels 756 * @sk: the socket to label 761 * Attach the correct label to the given socket using the security attributes 765 * network address selectors (can't blindly label the socket), and negative 837 * applied to the sock, if so it parses the socket label and returns the 865 * @sk: the socket to label 870 * Attach the correct label to the given connected socket using the security 926 * @req: the request socket to label 930 * Attach the correct label to the given socket using the security attributes 1000 * Attach the correct label to the given packet using the security attributes 1059 * is present, if so it parses the packet label and returns the security 1107 * For all of the NetLabel protocols that support some form of label mapping 1124 * NetLabel protocol's label mapping cache. Returns zero on success, negative
|
H A D | netlabel_user.h | 5 * NetLabel system manages static and dynamic label mappings for network
|
/linux-4.4.14/drivers/edac/ |
H A D | edac_mc.c | 96 edac_dbg(4, " dimm->label = '%s'\n", dimm->label); edac_mc_dump_dimm() 406 len = sizeof(dimm->label); edac_mc_alloc() 407 p = dimm->label; edac_mc_alloc() 989 const char *label, edac_ce_error() 1007 error_count, msg, msg_aux, label, edac_ce_error() 1012 error_count, msg, msg_aux, label, edac_ce_error() 1043 const char *label, edac_ue_error() 1057 error_count, msg, msg_aux, label, edac_ue_error() 1062 error_count, msg, msg_aux, label, edac_ue_error() 1069 msg, msg_aux, label, location, detail, other_detail); edac_ue_error() 1072 msg, msg_aux, label, location, detail); edac_ue_error() 1103 edac_ce_error(mci, e->error_count, pos, e->msg, e->location, e->label, edac_raw_mc_handle_error() 1111 edac_ue_error(mci, e->error_count, pos, e->msg, e->location, e->label, edac_raw_mc_handle_error() 1173 * true, the DIMM(s) label info will be filled and the per-layer edac_mc_handle_error() 1196 * Get the dimm label/grain that applies to the match criteria. edac_mc_handle_error() 1206 p = e->label; edac_mc_handle_error() 1235 if (p != e->label) { edac_mc_handle_error() 1239 strcpy(p, dimm->label); edac_mc_handle_error() 1263 strcpy(e->label, "any memory"); edac_mc_handle_error() 1266 if (p == e->label) edac_mc_handle_error() 1267 strcpy(e->label, "unknown memory"); edac_mc_handle_error() 1295 trace_mc_event(type, e->msg, e->label, e->error_count, edac_mc_handle_error() 984 edac_ce_error(struct mem_ctl_info *mci, const u16 error_count, const int pos[EDAC_MAX_LAYERS], const char *msg, const char *location, const char *label, const char *detail, const char *other_detail, const bool enable_per_layer_report, const unsigned long page_frame_number, const unsigned long offset_in_page, long grain) edac_ce_error() argument 1038 edac_ue_error(struct mem_ctl_info *mci, const u16 error_count, const int pos[EDAC_MAX_LAYERS], const char *msg, const char *location, const char *label, const char *detail, const char *other_detail, const bool enable_per_layer_report) edac_ue_error() argument
|
/linux-4.4.14/lib/ |
H A D | lru_cache.c | 284 * lc_find - find element by label, if present in the hash table 289 * "label" or element number is present in the hash table, 300 * lc_is_used - find element by label 304 * Returns true, if the element with the requested "label" or element number is 455 * lc_get - get element by label, maybe change the active set 457 * @enr: the label to look up 470 * or the requested label was not in the active set 502 * @enr: the label to look up 520 * lc_try_get - get element by label, if present; do not change the active set 522 * @enr: the label to look up 530 * or the requested label was not in the active set 613 * lc_set - associate index with label 615 * @enr: the label to set 616 * @index: the element index to associate label with.
|
/linux-4.4.14/kernel/ |
H A D | jump_label.c | 2 * jump label support 77 "jump label: negative count!\n"); __static_key_slow_dec() 286 * the arch specific jump label code. 294 /* if the module doesn't have jump label entries, just return */ jump_label_apply_nops() 313 /* if the module doesn't have jump label entries, just return */ jump_label_add_module() 444 * overlaps with any of the jump label patch addresses. Code 446 * it does not overlap with any of the jump label addresses.
|
/linux-4.4.14/arch/arm/plat-samsung/ |
H A D | pm-gpio.c | 62 chip->chip.label, old_gpcon, gps_gpcon, old_gpdat, gps_gpdat); samsung_gpio_pm_1bit_resume() 189 chip->chip.label, old_gpcon, gps_gpcon, old_gpdat, gps_gpdat); samsung_gpio_pm_2bit_resume() 292 chip->chip.label, old_gpcon[0], old_gpcon[1], samsung_gpio_pm_4bit_resume() 298 chip->chip.label, old_gpcon[1], samsung_gpio_pm_4bit_resume() 318 S3C_PMDBG("%s: no pm for %s\n", __func__, ourchip->chip.label); samsung_pm_save_gpio() 344 ourchip->chip.label, samsung_pm_save_gpios() 364 S3C_PMDBG("%s: no pm for %s\n", __func__, ourchip->chip.label); samsung_pm_resume_gpio()
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
H A D | pio.c | 355 const char *label; pio_bank_show() local 357 label = gpiochip_is_requested(chip, i); pio_bank_show() 358 if (!label && (imr & mask)) pio_bank_show() 359 label = "[irq]"; pio_bank_show() 360 if (!label) pio_bank_show() 365 label, pio_bank_show() 397 pio->chip.label = pio->name; pio_probe()
|
/linux-4.4.14/arch/arm/mach-omap1/ |
H A D | board-ams-delta.c | 224 .label = "dockit1", 229 .label = "dockit2", 234 .label = "scard_rstin", 239 .label = "scard_cmdvcc", 244 .label = "modem_codec", 249 .label = "hookflash1", 254 .label = "hookflash2",
|
/linux-4.4.14/drivers/md/bcache/ |
H A D | sysfs.c | 94 rw_attribute(label); variable 179 memcpy(buf, dc->sb.label, SB_LABEL_SIZE); SHOW() 243 memcpy(dc->sb.label, buf, size); SHOW_LOCKED() 245 dc->sb.label[size] = '\0'; SHOW_LOCKED() 246 if (size && dc->sb.label[size - 1] == '\n') SHOW_LOCKED() 247 dc->sb.label[size - 1] = '\0'; SHOW_LOCKED() 250 memcpy(dc->disk.c->uuids[dc->disk.id].label, SHOW_LOCKED() 351 memcpy(buf, u->label, SB_LABEL_SIZE); SHOW() 378 memcpy(u->label, buf, SB_LABEL_SIZE); STORE()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | audit.h | 130 #define AUDIT_MAC_UNLBL_STCADD 1416 /* NetLabel: add a static label */ 131 #define AUDIT_MAC_UNLBL_STCDEL 1417 /* NetLabel: del a static label */ 242 #define AUDIT_SUBJ_USER 13 /* security label user */ 243 #define AUDIT_SUBJ_ROLE 14 /* security label role */ 244 #define AUDIT_SUBJ_TYPE 15 /* security label type */ 245 #define AUDIT_SUBJ_SEN 16 /* security label sensitivity label */ 246 #define AUDIT_SUBJ_CLR 17 /* security label clearance label */
|
H A D | blkpg.h | 56 char volname[BLKPG_VOLNAMELTH]; /* volume label */
|
H A D | keyctl.h | 54 #define KEYCTL_GET_SECURITY 17 /* get key security label */
|
/linux-4.4.14/fs/cachefiles/ |
H A D | xattr.c | 26 * check the type label on an object 45 /* attempt to install a type label directly */ cachefiles_check_object_type() 60 /* read the current type label */ cachefiles_check_object_type() 215 /* read the current type label */ cachefiles_check_object_xattr() 271 /* update the current label */ cachefiles_check_object_xattr()
|
/linux-4.4.14/arch/mips/ar7/ |
H A D | gpio.c | 141 .label = "ar7-gpio", 153 .label = "titan-gpio", 334 gpch->chip.label); ar7_gpio_init() 341 gpch->chip.label); ar7_gpio_init() 345 gpch->chip.label, gpch->chip.ngpio); ar7_gpio_init()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | storage_common.h | 37 # define dump_msg(fsg, /* const char * */ label, \ 41 DBG(fsg, "%s, length %u:\n", label, length); \ 51 # define dump_msg(fsg, /* const char * */ label, \
|
/linux-4.4.14/kernel/power/ |
H A D | suspend_test.c | 37 void suspend_test_finish(const char *label) suspend_test_finish() argument 43 pr_info("PM: %s took %d.%03d seconds\n", label, suspend_test_finish() 55 "Component: %s, time: %u\n", label, msec); suspend_test_finish()
|
/linux-4.4.14/arch/mips/alchemy/common/ |
H A D | gpiolib.c | 99 .label = "alchemy-gpio1", 109 .label = "alchemy-gpio2", 147 .label = "alchemy-gpic",
|
/linux-4.4.14/security/selinux/ |
H A D | netlabel.c | 233 * Call the NetLabel mechanism to set the label of a packet using @sid. 276 * A new incoming connection request is represented by @req, we need to label 277 * the new request_sock here and the stack will ensure the on-the-wire label 322 * @sock: the socket to label 326 * Attempt to label a socket using the NetLabel mechanism using the given 440 * on-the-wire label that is assigned via the socket's options selinux_netlbl_socket_setsockopt() 456 * @sk: the socket to label 460 * Attempt to label a connected socket with NetLabel using the given address.
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | head_booke.h | 198 #define START_EXCEPTION(label) \ 200 label: 202 #define EXCEPTION(n, intno, label, hdlr, xfer) \ 203 START_EXCEPTION(label); \ 208 #define CRITICAL_EXCEPTION(n, intno, label, hdlr) \ 209 START_EXCEPTION(label); \ 216 #define MCHECK_EXCEPTION(n, label, hdlr) \ 217 START_EXCEPTION(label); \
|
H A D | reloc_64.S | 24 0: mflr r12 /* r12 has runtime addr of label 0 */
|
/linux-4.4.14/arch/arm/plat-orion/ |
H A D | gpio.c | 463 const char *label; orion_gpio_dbg_show() local 467 label = gpiochip_is_requested(chip, i); orion_gpio_dbg_show() 468 if (!label) orion_gpio_dbg_show() 474 seq_printf(s, " gpio-%-3d (%-20.20s)", chip->base + i, label); orion_gpio_dbg_show() 548 ochip->chip.label = kstrdup(gc_label, GFP_KERNEL); orion_gpio_init() 601 ct->chip.name = ochip->chip.label; orion_gpio_init() 612 ct->chip.name = ochip->chip.label; orion_gpio_init() 626 ochip->chip.label); orion_gpio_init()
|
/linux-4.4.14/arch/arm/include/asm/ |
H A D | futex.h | 62 " ite eq @ explicit IT needed for the 2b label\n" futex_atomic_cmpxchg_inatomic() 114 " it eq @ explicit IT needed for the 2b label\n" futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/drivers/s390/block/ |
H A D | dasd_diag.c | 327 struct vtoc_cms_label *label; dasd_diag_check_device() local 371 /* Figure out position of label block */ dasd_diag_check_device() 397 label = (struct vtoc_cms_label *) get_zeroed_page(GFP_KERNEL); dasd_diag_check_device() 398 if (label == NULL) { dasd_diag_check_device() 412 bio.buffer = label; dasd_diag_check_device() 439 /* check for label block */ dasd_diag_check_device() 440 if (memcmp(label->label_id, DASD_DIAG_CMS1, dasd_diag_check_device() 442 /* get formatted blocksize from label block */ dasd_diag_check_device() 443 bsize = (unsigned int) label->block_size; dasd_diag_check_device() 444 block->blocks = (unsigned long) label->block_count; dasd_diag_check_device() 468 free_page((long) label); dasd_diag_check_device()
|
/linux-4.4.14/drivers/scsi/ |
H A D | script_asm.pl | 196 @label = (); # Array of label names 400 # Handle symbol definitions of the form label: 405 push (@label, $1); 786 expected label:, ABSOLUTE, CLEAR, DISCONNECT, EXTERNAL, MOVE, RESELECT, 792 # Fill in label references 834 "$0 : symbol $label is external, has invalid relative reference at $address, 839 "$0 : symbol $label has invalid reference at $address, size $length\n" 856 foreach $label (@label) { 857 if ($symbol_references{$label} ne undef) { 858 for $reference (split(/\s+/,$symbol_references{$label})) { 865 die "$0 : symbol $label has invalid reference at $1, size $2\n"; 869 $code[$address / 4] += $symbol_values{$label}; 880 $tmp = $symbol_values{$label} - 884 "$0 : symbol $label is too far ($tmp) from $address to reference as 958 # NCR assembler outputs label patches in the form of indices into
|
/linux-4.4.14/sound/pci/hda/ |
H A D | hda_auto_parser.c | 472 * hda_get_input_pin_label - Give a label for the given input pin 530 /* Check whether the location prefix needs to be added to the label. 532 * have to put "Front" prefix to each label. In such a case, returns false. 561 * hda_get_autocfg_input_label - Get a label for the given input 566 * Get a label for the given input pin defined by the autocfg item. 655 const char *name, char *label, int maxlen, fill_audio_out_name() 683 snprintf(label, maxlen, "%s%s%s", pfx, name, sfx); fill_audio_out_name() 691 * snd_hda_get_pin_label - Get a label for the given I/O pin 695 * @label: the string buffer to store 699 * Get a label for the given pin. This function works for both input and 701 * an optimized label using hda_get_autocfg_input_label(). 703 * This function tries to give a unique label string for the pin as much as 711 char *label, int maxlen, int *indexp) snd_hda_get_pin_label() 726 label, maxlen, indexp); snd_hda_get_pin_label() 729 label, maxlen, indexp); snd_hda_get_pin_label() 732 label, maxlen, indexp); snd_hda_get_pin_label() 764 strlcpy(label, name, maxlen); snd_hda_get_pin_label() 653 fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, const struct auto_pin_cfg *cfg, const char *name, char *label, int maxlen, int *indexp) fill_audio_out_name() argument 709 snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, const struct auto_pin_cfg *cfg, char *label, int maxlen, int *indexp) snd_hda_get_pin_label() argument
|
/linux-4.4.14/fs/nfs/ |
H A D | inode.c | 292 struct nfs4_label *label) nfs_setsecurity() 296 if (label == NULL) nfs_setsecurity() 300 error = security_inode_notifysecctx(inode, label->label, nfs_setsecurity() 301 label->len); nfs_setsecurity() 306 (char *)label->label, nfs_setsecurity() 307 label->len, error); nfs_setsecurity() 314 struct nfs4_label *label = NULL; nfs4_label_alloc() local 318 return label; nfs4_label_alloc() 321 return label; nfs4_label_alloc() 323 label = kzalloc(sizeof(struct nfs4_label), flags); nfs4_label_alloc() 324 if (label == NULL) nfs4_label_alloc() 327 label->label = kzalloc(NFS4_MAXLABELLEN, flags); nfs4_label_alloc() 328 if (label->label == NULL) { nfs4_label_alloc() 329 kfree(label); nfs4_label_alloc() 332 label->len = NFS4_MAXLABELLEN; nfs4_label_alloc() 334 return label; nfs4_label_alloc() 339 struct nfs4_label *label) nfs_setsecurity() 350 nfs_fhget(struct super_block *sb, struct nfs_fh *fh, struct nfs_fattr *fattr, struct nfs4_label *label) nfs_fhget() argument 474 nfs_setsecurity(inode, fattr, label); nfs_fhget() 947 struct nfs4_label *label = NULL; __nfs_revalidate_inode() local 968 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); __nfs_revalidate_inode() 969 if (IS_ERR(label)) { __nfs_revalidate_inode() 970 status = PTR_ERR(label); __nfs_revalidate_inode() 974 status = NFS_PROTO(inode)->getattr(server, NFS_FH(inode), fattr, label); __nfs_revalidate_inode() 998 nfs_setsecurity(inode, fattr, label); __nfs_revalidate_inode() 1005 nfs4_label_free(label); __nfs_revalidate_inode() 291 nfs_setsecurity(struct inode *inode, struct nfs_fattr *fattr, struct nfs4_label *label) nfs_setsecurity() argument 338 nfs_setsecurity(struct inode *inode, struct nfs_fattr *fattr, struct nfs4_label *label) nfs_setsecurity() argument
|
H A D | nfs4proc.c | 82 static int nfs4_proc_getattr(struct nfs_server *, struct nfs_fh *, struct nfs_fattr *, struct nfs4_label *label); 83 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label); 98 struct iattr *sattr, struct nfs4_label *label) nfs4_label_init_security() 102 if (label == NULL) nfs4_label_init_security() 109 &dentry->d_name, (void **)&label->label, &label->len); nfs4_label_init_security() 111 return label; nfs4_label_init_security() 116 nfs4_label_release_security(struct nfs4_label *label) nfs4_label_release_security() argument 118 if (label) nfs4_label_release_security() 119 security_release_secctx(label->label, label->len); nfs4_label_release_security() 121 static inline u32 *nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) nfs4_bitmask() argument 123 if (label) nfs4_bitmask() 134 nfs4_label_release_security(struct nfs4_label *label) nfs4_label_release_security() argument 137 nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) nfs4_bitmask() argument 1074 struct nfs4_label *label, nfs4_opendata_alloc() 1122 p->o_arg.bitmask = nfs4_bitmask(server, label); nfs4_opendata_alloc() 1124 p->o_arg.label = nfs4_label_copy(p->a_label, label); nfs4_opendata_alloc() 2412 struct iattr *sattr, struct nfs4_label **label) nfs4_exclusive_attrset() 2429 *label = NULL; nfs4_exclusive_attrset() 2493 struct nfs4_label *label, _nfs4_do_open() 2524 label, claim, GFP_KERNEL); _nfs4_do_open() 2528 if (label) { _nfs4_do_open() 2554 nfs4_exclusive_attrset(opendata, sattr, &label); _nfs4_do_open() 2559 state, label, olabel); _nfs4_do_open() 2594 struct nfs4_label *label, nfs4_do_open() 2603 status = _nfs4_do_open(dir, ctx, flags, sattr, label, opened); nfs4_do_open() 2660 .label = ilabel, _nfs4_do_setattr() 2664 .label = olabel, _nfs4_do_setattr() 2992 struct nfs4_label l = {0, 0, 0, NULL}, *label = NULL; nfs4_atomic_open() local 2994 label = nfs4_label_init_security(dir, ctx->dentry, attr, &l); nfs4_atomic_open() 2997 state = nfs4_do_open(dir, ctx, open_flags, attr, label, opened); nfs4_atomic_open() 2999 nfs4_label_release_security(label); nfs4_atomic_open() 3141 * Process the label in the upcoming getfattr _nfs4_lookup_root() 3284 struct nfs4_label *label = NULL; nfs4_proc_get_root() local 3292 label = nfs4_label_alloc(server, GFP_KERNEL); nfs4_proc_get_root() 3293 if (IS_ERR(label)) nfs4_proc_get_root() 3294 return PTR_ERR(label); nfs4_proc_get_root() 3296 error = nfs4_proc_getattr(server, mntfh, fattr, label); nfs4_proc_get_root() 3307 nfs4_label_free(label); nfs4_proc_get_root() 3361 struct nfs_fattr *fattr, struct nfs4_label *label) _nfs4_proc_getattr() 3369 .label = label, _nfs4_proc_getattr() 3378 args.bitmask = nfs4_bitmask(server, label); _nfs4_proc_getattr() 3385 struct nfs_fattr *fattr, struct nfs4_label *label) nfs4_proc_getattr() 3390 err = _nfs4_proc_getattr(server, fhandle, fattr, label); nfs4_proc_getattr() 3422 struct nfs4_label *label = NULL; nfs4_proc_setattr() local 3451 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); nfs4_proc_setattr() 3452 if (IS_ERR(label)) nfs4_proc_setattr() 3453 return PTR_ERR(label); nfs4_proc_setattr() 3455 status = nfs4_do_setattr(inode, cred, fattr, sattr, state, NULL, label); nfs4_proc_setattr() 3458 nfs_setsecurity(inode, fattr, label); nfs4_proc_setattr() 3460 nfs4_label_free(label); nfs4_proc_setattr() 3466 struct nfs_fattr *fattr, struct nfs4_label *label) _nfs4_proc_lookup() 3478 .label = label, _nfs4_proc_lookup() 3487 args.bitmask = nfs4_bitmask(server, label); _nfs4_proc_lookup() 3507 struct nfs_fattr *fattr, struct nfs4_label *label) nfs4_proc_lookup_common() 3513 err = _nfs4_proc_lookup(client, dir, name, fhandle, fattr, label); nfs4_proc_lookup_common() 3550 struct nfs4_label *label) nfs4_proc_lookup() 3555 status = nfs4_proc_lookup_common(&client, dir, name, fhandle, fattr, label); nfs4_proc_lookup() 3840 .label = NULL, _nfs4_proc_link() 3853 res.label = nfs4_label_alloc(server, GFP_KERNEL); _nfs4_proc_link() 3854 if (IS_ERR(res.label)) { _nfs4_proc_link() 3855 status = PTR_ERR(res.label); _nfs4_proc_link() 3858 arg.bitmask = nfs4_bitmask(server, res.label); _nfs4_proc_link() 3865 nfs_setsecurity(inode, res.fattr, res.label); _nfs4_proc_link() 3869 nfs4_label_free(res.label); _nfs4_proc_link() 3894 struct nfs4_label *label; member in struct:nfs4_createdata 3906 data->label = nfs4_label_alloc(server, GFP_KERNEL); nfs4_alloc_createdata() 3907 if (IS_ERR(data->label)) nfs4_alloc_createdata() 3918 data->arg.bitmask = nfs4_bitmask(server, data->label); nfs4_alloc_createdata() 3922 data->res.label = data->label; nfs4_alloc_createdata() 3937 status = nfs_instantiate(dentry, data->res.fh, data->res.fattr, data->res.label); nfs4_do_create() 3944 nfs4_label_free(data->label); nfs4_free_createdata() 3950 struct nfs4_label *label) _nfs4_proc_symlink() 3966 data->arg.label = label; _nfs4_proc_symlink() 3979 struct nfs4_label l, *label = NULL; nfs4_proc_symlink() local 3982 label = nfs4_label_init_security(dir, dentry, sattr, &l); nfs4_proc_symlink() 3985 err = _nfs4_proc_symlink(dir, dentry, page, len, sattr, label); nfs4_proc_symlink() 3991 nfs4_label_release_security(label); nfs4_proc_symlink() 3996 struct iattr *sattr, struct nfs4_label *label) _nfs4_proc_mkdir() 4005 data->arg.label = label; _nfs4_proc_mkdir() 4017 struct nfs4_label l, *label = NULL; nfs4_proc_mkdir() local 4020 label = nfs4_label_init_security(dir, dentry, sattr, &l); nfs4_proc_mkdir() 4024 err = _nfs4_proc_mkdir(dir, dentry, sattr, label); nfs4_proc_mkdir() 4029 nfs4_label_release_security(label); nfs4_proc_mkdir() 4088 struct iattr *sattr, struct nfs4_label *label, dev_t rdev) _nfs4_proc_mknod() 4114 data->arg.label = label; _nfs4_proc_mknod() 4126 struct nfs4_label l, *label = NULL; nfs4_proc_mknod() local 4129 label = nfs4_label_init_security(dir, dentry, sattr, &l); nfs4_proc_mknod() 4133 err = _nfs4_proc_mknod(dir, dentry, sattr, label, rdev); nfs4_proc_mknod() 4139 nfs4_label_release_security(label); nfs4_proc_mknod() 4885 struct nfs4_label label = {0, 0, buflen, buf}; _nfs4_get_security_label() local 4894 .label = &label, _nfs4_get_security_label() 4911 if (buflen < label.len) _nfs4_get_security_label() 4948 .label = ilabel, _nfs4_do_set_security_label() 4952 .label = olabel, _nfs4_do_set_security_label() 5005 ilabel.label = (char *)buf; nfs4_set_security_label() 97 nfs4_label_init_security(struct inode *dir, struct dentry *dentry, struct iattr *sattr, struct nfs4_label *label) nfs4_label_init_security() argument 1071 nfs4_opendata_alloc(struct dentry *dentry, struct nfs4_state_owner *sp, fmode_t fmode, int flags, const struct iattr *attrs, struct nfs4_label *label, enum open_claim_type4 claim, gfp_t gfp_mask) nfs4_opendata_alloc() argument 2411 nfs4_exclusive_attrset(struct nfs4_opendata *opendata, struct iattr *sattr, struct nfs4_label **label) nfs4_exclusive_attrset() argument 2489 _nfs4_do_open(struct inode *dir, struct nfs_open_context *ctx, int flags, struct iattr *sattr, struct nfs4_label *label, int *opened) _nfs4_do_open() argument 2590 nfs4_do_open(struct inode *dir, struct nfs_open_context *ctx, int flags, struct iattr *sattr, struct nfs4_label *label, int *opened) nfs4_do_open() argument 3360 _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label) _nfs4_proc_getattr() argument 3384 nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label) nfs4_proc_getattr() argument 3464 _nfs4_proc_lookup(struct rpc_clnt *clnt, struct inode *dir, const struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label) _nfs4_proc_lookup() argument 3505 nfs4_proc_lookup_common(struct rpc_clnt **clnt, struct inode *dir, struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label) nfs4_proc_lookup_common() argument 3548 nfs4_proc_lookup(struct inode *dir, struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label) nfs4_proc_lookup() argument 3948 _nfs4_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page, unsigned int len, struct iattr *sattr, struct nfs4_label *label) _nfs4_proc_symlink() argument 3995 _nfs4_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr, struct nfs4_label *label) _nfs4_proc_mkdir() argument 4087 _nfs4_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, struct nfs4_label *label, dev_t rdev) _nfs4_proc_mknod() argument
|
H A D | internal.h | 307 memcpy(dst->label, src->label, src->len); nfs4_label_copy() 311 static inline void nfs4_label_free(struct nfs4_label *label) nfs4_label_free() argument 313 if (label) { nfs4_label_free() 314 kfree(label->label); nfs4_label_free() 315 kfree(label); nfs4_label_free() 327 static inline void nfs4_label_free(void *label) {} nfs_zap_label_cache_locked() argument
|
H A D | dir.c | 501 nfs_setsecurity(d_inode(dentry), entry->fattr, entry->label); nfs_prime_dcache() 513 inode = nfs_fhget(dentry->d_sb, entry->fh, entry->fattr, entry->label); nfs_prime_dcache() 634 entry.label = nfs4_label_alloc(NFS_SERVER(inode), GFP_NOWAIT); nfs_readdir_xdr_to_array() 635 if (IS_ERR(entry.label)) { nfs_readdir_xdr_to_array() 636 status = PTR_ERR(entry.label); nfs_readdir_xdr_to_array() 670 nfs4_label_free(entry.label); nfs_readdir_xdr_to_array() 1111 struct nfs4_label *label = NULL; nfs_lookup_revalidate() local 1170 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_NOWAIT); nfs_lookup_revalidate() 1171 if (IS_ERR(label)) nfs_lookup_revalidate() 1175 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr, label); nfs_lookup_revalidate() 1184 nfs_setsecurity(inode, fattr, label); nfs_lookup_revalidate() 1188 nfs4_label_free(label); nfs_lookup_revalidate() 1210 nfs4_label_free(label); nfs_lookup_revalidate() 1232 nfs4_label_free(label); nfs_lookup_revalidate() 1357 struct nfs4_label *label = NULL; nfs_lookup() local 1383 label = nfs4_label_alloc(NFS_SERVER(dir), GFP_NOWAIT); nfs_lookup() 1384 if (IS_ERR(label)) nfs_lookup() 1391 error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr, label); nfs_lookup() 1398 inode = nfs_fhget(dentry->d_sb, fhandle, fattr, label); nfs_lookup() 1417 nfs4_label_free(label); nfs_lookup() 1635 struct nfs4_label *label) nfs_instantiate() 1659 inode = nfs_fhget(dentry->d_sb, fhandle, fattr, label); nfs_instantiate() 1633 nfs_instantiate(struct dentry *dentry, struct nfs_fh *fhandle, struct nfs_fattr *fattr, struct nfs4_label *label) nfs_instantiate() argument
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
H A D | pxa25x_udc.h | 168 dump_udccr(const char *label) dump_udccr() argument 172 label, udccr, dump_udccr() 184 dump_udccs0(const char *label) dump_udccs0() argument 189 label, state_name[the_controller->ep0state], udccs0, dump_udccs0()
|
/linux-4.4.14/drivers/media/rc/keymaps/ |
H A D | rc-asus-pc39.c | 19 * which has a label saying is "Model PC-39"
|
H A D | rc-flydvb.c | 45 { 0x15, KEY_ANGLE }, /* Swap (no label on key) */
|
H A D | rc-flyvideo.c | 45 { 0x0a, KEY_ANGLE }, /* no label, may be used as the PAUSE button */
|
H A D | rc-genius-tvgo-a11mce.c | 55 /* Four buttons without label */
|
/linux-4.4.14/arch/c6x/kernel/ |
H A D | vectors.S | 13 ; branches to the label _c_int00 which handles initialization for the C code.
|
/linux-4.4.14/security/selinux/ss/ |
H A D | mls.h | 16 * Added support to import/export the MLS label from NetLabel
|
/linux-4.4.14/fs/cifs/ |
H A D | cifs_debug.h | 25 void cifs_dump_mem(char *label, void *data, int length);
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
H A D | xt_IDLETIMER.h | 39 char label[MAX_IDLETIMER_LABEL_SIZE]; member in struct:idletimer_tg_info
|
/linux-4.4.14/include/linux/phy/ |
H A D | omap_usb.h | 46 const char *label; member in struct:usb_phy_data
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | gpio_txx9.c | 77 .label = "TXx9",
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
H A D | tape390.h | 85 char label[65]; member in struct:tape390_kekl
|
H A D | vtoc.h | 2 * This file contains volume label definitions for DASD devices. 42 char volkey[4]; /* volume key = volume label */ 43 char vollbl[4]; /* volume label */ 58 char vollbl[4]; /* volume label */
|
/linux-4.4.14/arch/sh/mm/ |
H A D | extable_64.c | 26 * many loads and stores in them to make it at all practical to label
|
/linux-4.4.14/tools/perf/util/ |
H A D | cloexec.c | 39 * Using -1 for the pid is a workaround to avoid gratuitous jump label perf_flag_probe()
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
H A D | mcdi_mon.c | 39 const char *label; member in struct:__anon7762 43 #define SENSOR(name, label, hwmon_type, port) \ 44 [MC_CMD_SENSOR_##name] = { label, EFX_HWMON_ ## hwmon_type, port } 119 name = efx_mcdi_sensor_type[type].label; efx_mcdi_sensor_event() 278 efx_mcdi_sensor_type[mon_attr->type].label); efx_mcdi_mon_show_label() 353 * value, min, max, crit, alarm and label for each sensor. efx_mcdi_mon_probe() 498 efx_mcdi_sensor_type[type].label) { efx_mcdi_mon_probe()
|
H A D | vfdi.h | 139 * @u.init_rxq.label: Label used in receive events. 147 * @u.init_txq.label: Label used in transmit completion events. 180 u32 label; member in struct:vfdi_req::__anon7773::__anon7775 190 u32 label; member in struct:vfdi_req::__anon7773::__anon7776
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | opal-prd.c | 67 const char *label; for_each_child_of_node() local 74 label = of_get_property(node, "ibm,prd-label", NULL); for_each_child_of_node() 76 /* PRD ranges need a label */ for_each_child_of_node() 77 if (!label) for_each_child_of_node()
|
/linux-4.4.14/tools/testing/nvdimm/test/ |
H A D | nfit.c | 145 void **label; member in struct:nfit_test 177 *nd_cmd, unsigned int buf_len, void *label) nfit_test_cmd_get_config_data() 191 memcpy(nd_cmd->out_buf, label + offset, len); nfit_test_cmd_get_config_data() 198 unsigned int buf_len, void *label) nfit_test_cmd_set_config_data() 214 memcpy(label + offset, nd_cmd->in_buf, len); nfit_test_cmd_set_config_data() 270 /* lookup label space for the given dimm */ nfit_test_ctl() 284 t->label[i]); nfit_test_ctl() 288 t->label[i]); nfit_test_ctl() 452 t->label[i] = test_alloc(t, LABEL_SIZE, &t->label_dma[i]); nfit_test0_alloc() 453 if (!t->label[i]) nfit_test0_alloc() 455 sprintf(t->label[i], "label%d", i); nfit_test0_alloc() 1184 nfit_test->label = devm_kcalloc(dev, num, sizeof(void *), nfit_test_probe() 1192 if (nfit_test->dimm && nfit_test->dimm_dma && nfit_test->label nfit_test_probe() 176 nfit_test_cmd_get_config_data(struct nd_cmd_get_config_data_hdr *nd_cmd, unsigned int buf_len, void *label) nfit_test_cmd_get_config_data() argument 197 nfit_test_cmd_set_config_data(struct nd_cmd_set_config_hdr *nd_cmd, unsigned int buf_len, void *label) nfit_test_cmd_set_config_data() argument
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-gpio.c | 283 static int spi_gpio_alloc(unsigned pin, const char *label, bool is_in) spi_gpio_alloc() argument 287 value = gpio_request(pin, label); spi_gpio_alloc() 298 const char *label, u16 *res_flags) spi_gpio_request() 305 value = spi_gpio_alloc(SPI_MOSI_GPIO, label, false); spi_gpio_request() 314 value = spi_gpio_alloc(SPI_MISO_GPIO, label, true); spi_gpio_request() 322 value = spi_gpio_alloc(SPI_SCK_GPIO, label, false); spi_gpio_request() 297 spi_gpio_request(struct spi_gpio_platform_data *pdata, const char *label, u16 *res_flags) spi_gpio_request() argument
|
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | uaccess.h | 81 * On success, kernel_ok branches to a label indicated by parameter 91 * <success> label to branch to on success; implies 110 * On error, user_ok branches to a label indicated by parameter 122 * <error> label to branch to on error; implies fall-through 140 * On error, access_ok branches to a label indicated by parameter 152 * <error> label to branch to on error; implies fall-through
|
/linux-4.4.14/drivers/video/fbdev/omap/ |
H A D | lcd_ams_delta.c | 106 .label = "lcd_vblen", 111 .label = "lcd_ndisp",
|
/linux-4.4.14/arch/um/kernel/ |
H A D | dyn.lds.S | 97 /* Ensure the __preinit_array_start label is properly aligned. We 98 could instead move the label definition inside the section, but
|
/linux-4.4.14/fs/btrfs/ |
H A D | sysfs.c | 364 char *label = fs_info->super_copy->label; btrfs_label_show() local 365 return snprintf(buf, PAGE_SIZE, label[0] ? "%s\n" : "%s", label); btrfs_label_show() 388 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); btrfs_label_store() 389 memcpy(fs_info->super_copy->label, buf, p_len); btrfs_label_store() 400 BTRFS_ATTR_RW(label, btrfs_label_show, btrfs_label_store); 433 BTRFS_ATTR_PTR(label),
|
/linux-4.4.14/include/asm-generic/ |
H A D | gpio.h | 62 extern int gpio_request(unsigned gpio, const char *label); 112 extern int gpio_request_one(unsigned gpio, unsigned long flags, const char *label);
|
/linux-4.4.14/arch/mips/include/asm/mach-au1x00/ |
H A D | gpio-au1300.h | 204 static inline int gpio_request(unsigned int gpio, const char *label) gpio_request() argument 210 unsigned long flags, const char *label) gpio_request_one() 209 gpio_request_one(unsigned gpio, unsigned long flags, const char *label) gpio_request_one() argument
|
/linux-4.4.14/arch/score/mm/ |
H A D | tlb-miss.S | 70 .macro pte_writable, pte, ptr, label 73 bne \label
|
/linux-4.4.14/arch/arm64/include/asm/ |
H A D | assembler.h | 112 .macro ventry label 114 b \label
|
/linux-4.4.14/arch/blackfin/include/asm/ |
H A D | gpio.h | 124 int bfin_special_gpio_request(unsigned gpio, const char *label); 178 int bfin_gpio_irq_request(unsigned gpio, const char *label);
|
/linux-4.4.14/arch/unicore32/kernel/ |
H A D | gpio.c | 89 .label = "gpio",
|
/linux-4.4.14/fs/omfs/ |
H A D | omfs_fs.h | 54 char r_name[OMFS_NAMELEN]; /* partition label */
|
/linux-4.4.14/include/linux/sunrpc/ |
H A D | gss_asn1.h | 31 * permission. Furthermore if you modify this software you must label
|
/linux-4.4.14/arch/mips/bcm63xx/ |
H A D | gpio.c | 132 .label = "bcm63xx-gpio",
|