Home
last modified time | relevance | path

Searched full:label (Results 1 – 25 of 2040) sorted by relevance

12345678910>>...82

/Linux-v5.4/arch/powerpc/include/asm/
Dfeature-fixups.h31 #define START_FTR_SECTION(label) label##1: argument
33 #define FTR_SECTION_ELSE_NESTED(label) \ argument
34 label##2: \
35 .pushsection __ftr_alt_##label,"a"; \
37 label##3:
39 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument
40 label##4: \
44 label##5: \
47 FTR_ENTRY_OFFSET label##1b-label##5b; \
48 FTR_ENTRY_OFFSET label##2b-label##5b; \
[all …]
/Linux-v5.4/tools/testing/selftests/powerpc/primitives/asm/
Dfeature-fixups.h31 #define START_FTR_SECTION(label) label##1: argument
33 #define FTR_SECTION_ELSE_NESTED(label) \ argument
34 label##2: \
35 .pushsection __ftr_alt_##label,"a"; \
37 label##3:
39 #define MAKE_FTR_SECTION_ENTRY(msk, val, label, sect) \ argument
40 label##4: \
44 label##5: \
47 FTR_ENTRY_OFFSET label##1b-label##5b; \
48 FTR_ENTRY_OFFSET label##2b-label##5b; \
[all …]
/Linux-v5.4/security/apparmor/
Dlabel.c5 * This file contains AppArmor label definitions
16 #include "include/label.h"
27 * code - will take a ref count on a label if it needs the label
29 * profiles - each profile is a label
30 * secids - a pinned secid will keep a refcount of the label it is
34 * Labels are not ref counted by the label set, so they maybe removed and
45 /* p->label will not updated any more as p is dead */ in free_proxy()
46 aa_put_label(rcu_dereference_protected(proxy->label, true)); in free_proxy()
48 RCU_INIT_POINTER(proxy->label, (struct aa_label *)PROXY_POISON); in free_proxy()
60 struct aa_proxy *aa_alloc_proxy(struct aa_label *label, gfp_t gfp) in aa_alloc_proxy() argument
[all …]
Dsecid.c9 * AppArmor allocates a unique secid for every label used. If a label
10 * is replaced it receives the secid of the label it is replacing.
23 #include "include/label.h"
27 * secids - do not pin labels with a refcount. They rely on the label
38 * TODO: use secid_update in label replace
42 * aa_secid_update - update a secid mapping to a new label
44 * @label: label the secid will now map to
46 void aa_secid_update(u32 secid, struct aa_label *label) in aa_secid_update() argument
51 idr_replace(&aa_secids, label, secid); in aa_secid_update()
57 * see label for inverse aa_label_to_secid
[all …]
Dtask.c19 * aa_get_task_label - Get another task's label
22 * Returns: counted reference to @task's label
36 * aa_replace_current_label - replace the current tasks label
37 * @label: new label (NOT NULL)
41 int aa_replace_current_label(struct aa_label *label) in aa_replace_current_label() argument
47 AA_BUG(!label); in aa_replace_current_label()
49 if (old == label) in aa_replace_current_label()
65 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label()
67 * if switching to unconfined or a different label namespace in aa_replace_current_label()
73 * be careful switching cred label, when racing replacement it in aa_replace_current_label()
[all …]
Ddomain.c117 * label_compound_match - find perms for full compound label
119 * @label: label to check access permissions for
128 * For the label A//&B//&C this does the perm match for A//&B//&C
133 struct aa_label *label, bool stack, in label_compound_match() argument
142 label_for_each(i, label, tp) { in label_compound_match()
156 label_for_each_cont(i, label, tp) { in label_compound_match()
177 * label_components_match - find perms for all subcomponents of a label
179 * @label: label to check access permissions for
188 * For the label A//&B//&C this does the perm match for each of A and B and C
193 struct aa_label *label, bool stack, in label_components_match() argument
[all …]
Dnet.c14 #include "include/label.h"
100 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_net_cb()
132 int aa_af_perm(struct aa_label *label, const char *op, u32 request, u16 family, in aa_af_perm() argument
138 return fn_for_each_confined(label, profile, in aa_af_perm()
143 static int aa_label_sk_perm(struct aa_label *label, const char *op, u32 request, in aa_label_sk_perm() argument
148 AA_BUG(!label); in aa_label_sk_perm()
151 if (!unconfined(label)) { in aa_label_sk_perm()
155 error = fn_for_each_confined(label, profile, in aa_label_sk_perm()
164 struct aa_label *label; in aa_sk_perm() local
171 label = begin_current_label_crit_section(); in aa_sk_perm()
[all …]
/Linux-v5.4/security/apparmor/include/
Dcred.h18 #include "label.h"
31 struct aa_label *label) in set_cred_label() argument
36 *blob = label; in set_cred_label()
40 * aa_cred_raw_label - obtain cred's label
41 * @cred: cred to obtain label from (NOT NULL)
43 * Returns: confining label
49 struct aa_label *label = cred_label(cred); in aa_cred_raw_label() local
51 AA_BUG(!label); in aa_cred_raw_label()
52 return label; in aa_cred_raw_label()
56 * aa_get_newest_cred_label - obtain the newest label on a cred
[all …]
/Linux-v5.4/Documentation/admin-guide/blockdev/drbd/
Ddrbd-connection-state-overview.dot9 StandAlone [ style=filled,fillcolor=gray,label=StandAlone ]
13 Unconnected [ label=Unconnected ]
16 label="{communication loss|{Timeout|BrokenPipe|NetworkFailure}}" ]
21 label="try to connect, handshake"
23 WFConnection [ label=WFConnection ]
24 WFReportParams [ label=WFReportParams ]
27 TearDown [ label=TearDown ]
29 Connected [ label=Connected,style=filled,fillcolor=green,fontcolor=black ]
33 StartingSyncS [ label=StartingSyncS ]
34 StartingSyncT [ label=StartingSyncT ]
[all …]
Ddisk-states-8.dot2 Diskless -> Inconsistent [ label = "ioctl_set_disk()" ]
3 Diskless -> Consistent [ label = "ioctl_set_disk()" ]
4 Diskless -> Outdated [ label = "ioctl_set_disk()" ]
5 Consistent -> Outdated [ label = "receive_param()" ]
6 Consistent -> UpToDate [ label = "receive_param()" ]
7 Consistent -> Inconsistent [ label = "start resync" ]
8 Outdated -> Inconsistent [ label = "start resync" ]
9 UpToDate -> Inconsistent [ label = "ioctl_replicate" ]
10 Inconsistent -> UpToDate [ label = "resync completed" ]
11 Consistent -> Failed [ label = "io completion error" ]
[all …]
/Linux-v5.4/Documentation/admin-guide/LSM/
DSmack.rst53 report if a process with one label has access
86 the label given to a new filesystem object will be the label
90 The Smack label of a process that execs a program file with
95 label does not allow all of the access permitted to a process
96 with the label contained in this attribute. This is a very
104 gets the label of the directory instead of the label of the
110 Use the Smack label in this attribute for access control
115 Use the Smack label in this attribute for access control
118 There are multiple ways to set a Smack label on a file::
123 A process can see the Smack label it is running with by
[all …]
/Linux-v5.4/arch/arm/boot/dts/
Dbcm47094-linksys-panamera.dts29 label = "WPS";
35 label = "WiFi";
41 label = "Reset";
51 label = "bcm53xx:white:wps";
56 label = "bcm53xx:green:usb2";
63 label = "bcm53xx:green:usb3";
71 label = "bcm53xx:white:power";
76 label = "bcm53xx:amber:wifi-disabled";
81 label = "bcm53xx:white:wifi-enabled";
86 label = "bcm53xx:white:bluebar1";
[all …]
Darmada-385-linksys-caiman.dts19 label = "caiman:amber:wan";
24 label = "caiman:white:wan";
29 label = "caiman:white:wlan_2g";
34 label = "caiman:white:wlan_5g";
39 label = "caiman:white:usb2";
44 label = "caiman:white:usb3_1";
49 label = "caiman:white:usb3_2";
54 label = "caiman:white:wps";
59 label = "caiman:amber:wps";
66 label = "caiman:white:power";
[all …]
Darmada-385-linksys-cobra.dts19 label = "cobra:amber:wan";
24 label = "cobra:white:wan";
29 label = "cobra:white:wlan_2g";
34 label = "cobra:white:wlan_5g";
39 label = "cobra:white:usb2";
44 label = "cobra:white:usb3_1";
49 label = "cobra:white:usb3_2";
54 label = "cobra:white:wps";
59 label = "cobra:amber:wps";
66 label = "cobra:white:power";
[all …]
Darmada-385-linksys-shelby.dts19 label = "shelby:amber:wan";
24 label = "shelby:white:wan";
29 label = "shelby:white:wlan_2g";
34 label = "shelby:white:wlan_5g";
39 label = "shelby:white:usb2";
44 label = "shelby:white:usb3_1";
49 label = "shelby:white:usb3_2";
54 label = "shelby:white:wps";
59 label = "shelby:amber:wps";
66 label = "shelby:white:power";
[all …]
Darmada-385-linksys-rango.dts21 label = "rango:amber:wan";
26 label = "rango:white:wan";
31 label = "rango:white:usb2";
36 label = "rango:white:usb3_1";
41 label = "rango:white:usb3_2";
46 label = "rango:white:wps";
51 label = "rango:amber:wps";
59 label = "rango:white:power";
64 label = "rango:white:sata";
69 label = "rango:white:wlan_2g";
[all …]
Dbcm4708-smartrg-sr400ac.dts32 label = "bcm53xx:white:power";
38 label = "bcm53xx:amber:power";
43 label = "bcm53xx:white:usb2";
50 label = "bcm53xx:white:usb3";
57 label = "bcm53xx:green:usb3";
64 label = "bcm53xx:white:wps";
69 label = "bcm53xx:red:status";
74 label = "bcm53xx:green:status";
79 label = "bcm53xx:blue:status";
84 label = "bcm53xx:white:wan";
[all …]
Dam572x-idk-common.dtsi19 label = "status0:red:cpu0";
26 label = "status0:green:usr";
32 label = "status0:blue:heartbeat";
39 label = "status1:red:cpu1";
46 label = "status1:green:usr";
52 label = "status1:blue:mmc0";
63 label = "idk:red0";
69 label = "idk:green0";
75 label = "idk:blue0";
81 label = "idk:red1";
[all …]
/Linux-v5.4/drivers/platform/x86/
Dmlx-platform.c282 .label = "psu1",
289 .label = "psu2",
299 .label = "pwr1",
306 .label = "pwr2",
316 .label = "fan1",
323 .label = "fan2",
330 .label = "fan3",
337 .label = "fan4",
347 .label = "asic1",
405 .label = "pwr1",
[all …]
/Linux-v5.4/Documentation/scsi/scsi_transport_srp/
Drport_state_diagram.dot7 running_rta [ label = "running;\nreconnect\ntimer\nactive" ];
9 running [ label = "running;\nreconnect\ntimer\nstopped" ];
11 failfast [ label = "fail I/O\nfast" ];
14 …running -> running_rta [ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nsrp_start_tl_f…
15 …running_rta -> running [ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nreconnecting s…
16 …running -> blocked [ label = "fast_io_fail_tmo >= 0 or\ndev_loss_tmo >= 0;\nsrp_start_tl_fail_tim…
17 …running -> failfast [ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nreconnecting fail…
18 blocked -> failfast [ label = "fast_io_fail_tmo\nexpired or\nreconnecting\nfailed" ];
19 blocked -> lost [ label = "dev_loss_tmo\nexpired or\nsrp_stop_rport_timers()" ];
20 failfast -> lost [ label = "dev_loss_tmo\nexpired or\nsrp_stop_rport_timers()" ];
[all …]
/Linux-v5.4/tools/bpf/
Dbpf_exp.y44 static void bpf_set_curr_label(char *label);
45 static void bpf_set_jmp_label(char *label, enum jmp_type type);
50 char *label; member
63 %token extension number label
65 %type <label> label
119 : label ':' { bpf_set_curr_label($1); }
210 : OP_JMP label {
216 : OP_JEQ '#' number ',' label ',' label {
220 | OP_JEQ 'x' ',' label ',' label {
224 | OP_JEQ '%' 'x' ',' label ',' label {
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/leds/
Dleds-bcm6358.txt27 - label : see Documentation/devicetree/bindings/leds/common.txt
46 label = "white:alarm";
51 label = "white:tv";
56 label = "white:tel";
61 label = "white:adsl";
77 label = "red:power";
82 label = "green:power";
87 label = "blue:power";
92 label = "red:broadband";
96 label = "green:broadband";
[all …]
/Linux-v5.4/block/partitions/
Dsun.c50 __be16 obs3; /* bhead - Label head offset */ in sun_partition()
57 __be16 csum; /* Label xor'd checksum */ in sun_partition()
58 } * label; in sun_partition() local
65 label = read_part_sector(state, 0, &sect); in sun_partition()
66 if (!label) in sun_partition()
69 p = label->partitions; in sun_partition()
70 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) { in sun_partition()
72 bdevname(bdev, b), be16_to_cpu(label->magic)); */ in sun_partition()
77 ush = ((__be16 *) (label+1)) - 1; in sun_partition()
78 for (csum = 0; ush >= ((__be16 *) label);) in sun_partition()
[all …]
/Linux-v5.4/arch/nios2/include/asm/
Dasm-macros.h91 * Tests the bit in reg2 and branches to label if the
97 .macro BTBZ reg1, reg2, bit, label
99 beq \reg1, r0, \label
103 * Tests the bit in reg2 and branches to label if the
109 .macro BTBNZ reg1, reg2, bit, label
111 bne \reg1, r0, \label
180 * original bit was zero it branches to label.
185 .macro BTCBZ reg1, reg2, bit, label
187 beq \reg1, r0, \label
193 * original bit was non-zero it branches to label.
[all …]
/Linux-v5.4/arch/arm64/boot/dts/marvell/
Darmada-3720-turris-mox.dts36 label = "mox:red:activity";
46 label = "reset";
198 label = "secure-firmware";
203 label = "u-boot";
208 label = "u-boot-env";
213 label = "Rescue system";
218 label = "dtb";
326 label = "lan1";
332 label = "lan2";
338 label = "lan3";
[all …]

12345678910>>...82