Home
last modified time | relevance | path

Searched refs:labels (Results 1 – 25 of 180) sorted by relevance

12345678

/openbmc/linux/samples/seccomp/
H A Dbpf-helper.c37 if (labels->labels[instr->k].location == 0xffffffff) { in bpf_resolve_jumps()
39 labels->labels[instr->k].label); in bpf_resolve_jumps()
42 instr->k = labels->labels[instr->k].location - in bpf_resolve_jumps()
48 if (labels->labels[instr->k].location != 0xffffffff) { in bpf_resolve_jumps()
50 labels->labels[instr->k].label); in bpf_resolve_jumps()
53 labels->labels[instr->k].location = offset; in bpf_resolve_jumps()
66 struct __bpf_label *begin = labels->labels, *end; in seccomp_bpf_label()
73 if (labels->count == 0) { in seccomp_bpf_label()
76 labels->count++; in seccomp_bpf_label()
79 end = begin + labels->count; in seccomp_bpf_label()
[all …]
H A Dbpf-helper.h32 } labels[BPF_LABELS_MAX]; member
35 int bpf_resolve_jumps(struct bpf_labels *labels,
37 __u32 seccomp_bpf_label(struct bpf_labels *labels, const char *label);
49 #define JUMP(labels, label) \ argument
50 BPF_JUMP(BPF_JMP+BPF_JA, FIND_LABEL((labels), (label)), \
52 #define LABEL(labels, label) \ argument
53 BPF_JUMP(BPF_JMP+BPF_JA, FIND_LABEL((labels), (label)), \
60 #define FIND_LABEL(labels, label) seccomp_bpf_label((labels), #label) argument
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_labels.c34 struct nf_conn_labels *labels; in nf_connlabels_replace() local
39 labels = nf_ct_labels_find(ct); in nf_connlabels_replace()
40 if (!labels) in nf_connlabels_replace()
43 size = sizeof(labels->bits); in nf_connlabels_replace()
47 dst = (u32 *) labels->bits; in nf_connlabels_replace()
H A Dxt_connlabel.c24 struct nf_conn_labels *labels; in connlabel_mt() local
32 labels = nf_ct_labels_find(ct); in connlabel_mt()
33 if (!labels) in connlabel_mt()
36 if (test_bit(info->bit, labels->bits)) in connlabel_mt()
40 if (!test_and_set_bit(info->bit, labels->bits)) in connlabel_mt()
/openbmc/linux/arch/mips/kvm/
H A Dentry.c290 struct uasm_label labels[2]; in kvm_mips_build_enter_guest() local
295 memset(labels, 0, sizeof(labels)); in kvm_mips_build_enter_guest()
436 struct uasm_label labels[2]; in kvm_mips_build_tlb_refill_exception() local
439 struct uasm_label *l = labels; in kvm_mips_build_tlb_refill_exception()
443 memset(labels, 0, sizeof(labels)); in kvm_mips_build_tlb_refill_exception()
524 struct uasm_label labels[2]; in kvm_mips_build_exception() local
529 memset(labels, 0, sizeof(labels)); in kvm_mips_build_exception()
567 struct uasm_label labels[3]; in kvm_mips_build_exit() local
572 memset(labels, 0, sizeof(labels)); in kvm_mips_build_exit()
793 struct uasm_label labels[2]; in kvm_mips_build_ret_from_exit() local
[all …]
/openbmc/linux/drivers/misc/lkdtm/
H A Dcfi.c107 void *labels[] = { NULL, &&normal, &&redirected, &&check_normal, &&check_redirected }; in lkdtm_CFI_BACKWARD() local
120 goto *labels[1]; in lkdtm_CFI_BACKWARD()
122 goto *labels[2]; in lkdtm_CFI_BACKWARD()
124 goto *labels[3]; in lkdtm_CFI_BACKWARD()
126 goto *labels[4]; in lkdtm_CFI_BACKWARD()
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dsystemd-boot-cfg.bbclass19 labels = d.getVar('LABELS')
20 if not labels:
24 if labels == []:
25 bb.debug(1, "No labels, nothing to do")
38 cfgfile.write('default %s.conf\n' % (labels.split()[0]))
46 for label in labels.split():
H A Duboot-extlinux-config.bbclass31 # created. If you want to use more than one labels, e.g linux and alternate,
84 labels = d.getVar('UBOOT_EXTLINUX_LABELS')
85 if not labels:
88 if not labels.strip():
89 bb.fatal("No labels, nothing to do")
102 if len(labels.split()) > 1 and menu_title:
109 if len(labels.split()) > 1:
114 # Need to deconflict the labels with existing overrides
115 label_overrides = labels.split()
121 for label in labels.split():
H A Dgrub-efi-cfg.bbclass44 labels = d.getVar('LABELS')
45 if not labels:
49 if labels == []:
50 bb.debug(1, "No labels, nothing to do")
69 cfgfile.write('default=%s\n' % (labels.split()[0]))
87 for label in labels.split():
H A Dsyslinux.bbclass87 labels = d.getVar('LABELS')
88 if not labels:
92 if labels == []:
93 bb.debug(1, "No labels, nothing to do")
128 cfgfile.write('DEFAULT Graphics console %s\n' % (labels.split()[0]))
130 cfgfile.write('DEFAULT %s\n' % (labels.split()[0]))
153 for label in labels.split():
/openbmc/openbmc-tools/dbus-vis/
H A Dtimeline_view.js1726 let labels = [];
1761 for (let i = 0; i < labels.length; i++) {
1792 let labels = [];
1805 labels.push('Serial : ' + serial);
1806 labels.push('Sender : ' + sender);
1808 labels.push('Path : ' + path);
1809 labels.push('Interface : ' + iface);
1810 labels.push('Member : ' + member);
1824 labels.push("(no args)");
1865 let labels = [];
[all …]
/openbmc/linux/net/mpls/
H A Dmpls_iptunnel.c33 return en->labels * sizeof(struct mpls_shim_hdr); in mpls_encap_size()
127 for (i = tun_encap_info->labels - 1; i >= 0; i--) { in mpls_xmit()
198 &tun_encap_info->labels, tun_encap_info->label, in mpls_build_state()
235 if (nla_put_labels(skb, MPLS_IPTUNNEL_DST, tun_encap_info->labels, in mpls_fill_encap_info()
256 nlsize = nla_total_size(tun_encap_info->labels * 4); in mpls_encap_nlsize()
270 if (a_hdr->labels != b_hdr->labels || in mpls_encap_cmp()
275 for (l = 0; l < a_hdr->labels; l++) in mpls_encap_cmp()
/openbmc/linux/sound/firewire/fireface/
H A Dff-proc.c12 static const char *const labels[] = { in snd_ff_proc_get_clk_label() local
21 if (src >= ARRAY_SIZE(labels)) in snd_ff_proc_get_clk_label()
24 return labels[src]; in snd_ff_proc_get_clk_label()
/openbmc/linux/arch/mips/mm/
H A Dtlbex.c1274 memset(labels, 0, sizeof(labels)); in build_r4000_tlb_refill_handler()
1380 for (i = 0; i < ARRAY_SIZE(labels) && labels[i].lab != ls; i++) in build_r4000_tlb_refill_handler()
1383 split = labels[i].addr; in build_r4000_tlb_refill_handler()
1498 memset(labels, 0, sizeof(labels)); in build_loongson3_tlb_refill_handler()
1562 memset(labels, 0, sizeof(labels)); in build_setup_pgd()
1903 memset(labels, 0, sizeof(labels)); in build_r3000_tlb_load_handler()
1933 memset(labels, 0, sizeof(labels)); in build_r3000_tlb_store_handler()
1963 memset(labels, 0, sizeof(labels)); in build_r3000_tlb_modify_handler()
2080 memset(labels, 0, sizeof(labels)); in build_r4000_tlb_load_handler()
2262 memset(labels, 0, sizeof(labels)); in build_r4000_tlb_store_handler()
[all …]
/openbmc/u-boot/scripts/dtc/
H A Dlivetree.c32 for_each_label_withdel(*labels, new) in add_label()
41 new->next = *labels; in add_label()
42 *labels = new; in add_label()
49 for_each_label(*labels, label) in delete_labels()
279 delete_labels(&prop->labels); in delete_property()
319 delete_labels(&node->labels); in delete_node()
439 for_each_label(prop->labels, l) in get_property_by_label()
527 for_each_label(tree->labels, l) in get_node_by_label()
795 if (node->labels) in any_label_tree()
815 if (node->labels) { in generate_label_tree_internal()
[all …]
H A Dflattree.c55 void (*beginnode)(void *, struct label *labels);
56 void (*endnode)(void *, struct label *labels);
57 void (*property)(void *, struct label *labels);
97 static void bin_emit_endnode(void *e, struct label *labels) in bin_emit_endnode() argument
191 for_each_label(labels, l) { in asm_emit_beginnode()
206 for_each_label(labels, l) { in asm_emit_endnode()
217 for_each_label(labels, l) { in asm_emit_property()
261 emit->beginnode(etarget, tree->labels); in flatten_tree()
278 emit->property(etarget, prop->labels); in flatten_tree()
305 emit->endnode(etarget, tree->labels); in flatten_tree()
[all …]
/openbmc/qemu/tests/migration/guestperf/
H A Dplot.py121 labels = []
135 labels.append(self._get_progress_label(progress))
148 text=labels)
197 labels = []
201 labels.append(self._get_progress_label(progress))
206 text=labels,
218 labels = []
249 labels.append(self._get_progress_label(progress))
263 text=labels)
/openbmc/linux/scripts/dtc/
H A Dflattree.c40 void (*beginnode)(void *, struct label *labels);
41 void (*endnode)(void *, struct label *labels);
42 void (*property)(void *, struct label *labels);
82 static void bin_emit_endnode(void *e, struct label *labels) in bin_emit_endnode() argument
177 for_each_label(labels, l) { in asm_emit_beginnode()
192 for_each_label(labels, l) { in asm_emit_endnode()
203 for_each_label(labels, l) { in asm_emit_property()
247 emit->beginnode(etarget, tree->labels); in flatten_tree()
264 emit->property(etarget, prop->labels); in flatten_tree()
291 emit->endnode(etarget, tree->labels); in flatten_tree()
[all …]
H A Dlivetree.c18 for_each_label_withdel(*labels, new) in add_label()
27 new->next = *labels; in add_label()
28 *labels = new; in add_label()
31 void delete_labels(struct label **labels) in delete_labels() argument
35 for_each_label(*labels, label) in delete_labels()
295 delete_labels(&prop->labels); in delete_property()
335 delete_labels(&node->labels); in delete_node()
458 for_each_label(prop->labels, l) in get_property_by_label()
545 for_each_label(tree->labels, l) in get_node_by_label()
840 if (node->labels) in any_label_tree()
[all …]
/openbmc/linux/net/openvswitch/
H A Dconntrack.c72 struct md_labels labels; member
169 struct ovs_key_ct_labels *labels) in ovs_ct_get_labels() argument
181 memset(labels, 0, OVS_CT_LABELS_LEN); in ovs_ct_get_labels()
205 ovs_ct_get_labels(ct, &key->ct.labels); in __ovs_ct_update_key()
306 &output->ct.labels)) in ovs_ct_put_key()
408 (labels->ct_labels_32[i] in ovs_ct_init_labels()
841 if (labels->ct_labels_32[i]) in labels_nonzero()
989 &info->labels.mask); in ovs_ct_commit()
997 &info->labels.mask); in ovs_ct_commit()
1270 info->labels = *labels; in parse_ct()
[all …]
/openbmc/linux/drivers/iio/multiplexer/
H A Diio-mux.c334 const char **labels; in mux_probe() local
358 labels = devm_kmalloc_array(dev, all_children, sizeof(*labels), GFP_KERNEL); in mux_probe()
359 if (!labels) in mux_probe()
362 ret = device_property_read_string_array(dev, "channels", labels, all_children); in mux_probe()
368 if (*labels[state]) in mux_probe()
425 if (!*labels[state]) in mux_probe()
428 ret = mux_configure_channel(dev, mux, state, labels[state], i++); in mux_probe()
/openbmc/linux/fs/ext2/
H A DKconfig38 Security labels support alternative access control models
41 labels in the ext2 filesystem.
44 extended attributes for file security labels, say N.
/openbmc/linux/fs/9p/
H A DKconfig39 Security labels support alternative access control models
42 labels in the 9P filesystem.
45 extended attributes for file security labels, say N.
/openbmc/linux/fs/ceph/
H A DKconfig46 Security labels support alternative access control models
49 labels in the Ceph filesystem.
52 extended attributes for file security labels, say N.
/openbmc/linux/Documentation/networking/
H A Dmpls-sysctl.rst13 greater than the number of platform labels.
16 is possible and expected as the platform labels are locally
32 the MPLS header on imposing labels and propagated from the

12345678