/linux-master/security/apparmor/include/ |
H A D | net.h | 18 #include "label.h" 50 struct aa_label *label; member in struct:aa_sk_ctx 91 char *label; member in struct:aa_secmark 100 int aa_af_perm(const struct cred *subj_cred, struct aa_label *label, 113 int aa_sock_file_perm(const struct cred *subj_cred, struct aa_label *label, 117 int apparmor_secmark_check(struct aa_label *label, char *op, u32 request,
|
H A D | label.h | 5 * This file contains AppArmor label definitions 67 * Labels are reference counted; aa_labelset does not contribute to label 68 * reference counts. Once a label's last refcount is put it is removed from 82 FLAG_UNCONFINED = 2, /* label unconfined only if all */ 89 FLAG_IN_TREE = 0x100, /* label is in tree */ 90 FLAG_PROFILE = 0x200, /* label is a profile */ 91 FLAG_EXPLICIT = 0x400, /* explicit static label */ 93 FLAG_RENAMED = 0x1000, /* label has renaming in it */ 94 FLAG_REVOKED = 0x2000, /* label has revocation in it */ 105 struct aa_label __rcu *label; member in struct:aa_proxy [all...] |
H A D | file.h | 39 * @label: label currently cached on the ctx 44 struct aa_label __rcu *label; member in struct:aa_file_ctx 87 struct aa_label *label, const struct path *path, 90 int aa_path_link(const struct cred *subj_cred, struct aa_label *label, 95 struct aa_label *label, struct file *file,
|
H A D | perms.h | 14 #include "label.h" 87 u32 label; /* label string index, if present */ member in struct:aa_perms 125 if (!accum->label) 126 accum->label = addend->label; 152 if (!accum->label) 153 accum->label = addend->label; 169 * gah this doesn't allow for label compoun [all...] |
/linux-master/drivers/media/pci/mantis/ |
H A D | mantis_cards.c | 50 static char *label[10] = { variable 94 dprintk(MANTIS_DEBUG, 0, "<%s>", label[0]); 97 dprintk(MANTIS_DEBUG, 0, "<%s>", label[1]); 103 dprintk(MANTIS_DEBUG, 0, "<%s>", label[2]); 111 dprintk(MANTIS_DEBUG, 0, "<%s>", label[3]); 114 dprintk(MANTIS_DEBUG, 0, "<%s>", label[4]); 117 dprintk(MANTIS_DEBUG, 0, "<%s>", label[5]); 120 dprintk(MANTIS_DEBUG, 0, "<%s>", label[6]); 123 dprintk(MANTIS_DEBUG, 0, "<%s>", label[7]); 126 dprintk(MANTIS_DEBUG, 0, "<%s>", label[ [all...] |
H A D | hopper_cards.c | 39 static char *label[10] = { variable 85 dprintk(MANTIS_DEBUG, 0, "<%s>", label[0]); 88 dprintk(MANTIS_DEBUG, 0, "<%s>", label[1]); 94 dprintk(MANTIS_DEBUG, 0, "<%s>", label[2]); 102 dprintk(MANTIS_DEBUG, 0, "<%s>", label[3]); 105 dprintk(MANTIS_DEBUG, 0, "<%s>", label[4]); 108 dprintk(MANTIS_DEBUG, 0, "<%s>", label[5]); 111 dprintk(MANTIS_DEBUG, 0, "<%s>", label[6]); 114 dprintk(MANTIS_DEBUG, 0, "<%s>", label[7]); 117 dprintk(MANTIS_DEBUG, 0, "<%s>", label[ [all...] |
/linux-master/drivers/pwm/ |
H A D | pwm-twl-led.c | 102 dev_err(pwmchip_parent(chip), "%s: Failed to configure PWM\n", pwm->label); 116 dev_err(pwmchip_parent(chip), "%s: Failed to read LEDEN\n", pwm->label); 124 dev_err(pwmchip_parent(chip), "%s: Failed to enable PWM\n", pwm->label); 141 dev_err(pwmchip_parent(chip), "%s: Failed to read LEDEN\n", pwm->label); 149 dev_err(pwmchip_parent(chip), "%s: Failed to disable PWM\n", pwm->label); 205 dev_err(pwmchip_parent(chip), "%s: Failed to configure PWM\n", pwm->label); 220 pwm->label); 229 dev_err(pwmchip_parent(chip), "%s: Failed to enable PWM\n", pwm->label); 247 pwm->label); 256 dev_err(pwmchip_parent(chip), "%s: Failed to disable PWM\n", pwm->label); [all...] |
/linux-master/include/linux/gpio/ |
H A D | driver.h | 324 * @label: a functional name for the GPIO device, such as a part 420 const char *label; member in struct:gpio_chip 540 const char **label; member in struct:_gpiochip_for_each_data 546 if (*_T.label) kfree(*_T.label), 548 struct _gpiochip_for_each_data _data = { label, i }; 552 const char **label, int *i) 558 * @_label: Place to store the address of the label if the GPIO is requested. 564 (*_data.i)++, kfree(*(_data.label)), *_data.label 692 const char *label; member in struct:bgpio_pdata 847 gpio_device_find_by_label(const char *label) argument [all...] |
H A D | regmap.h | 22 * @label: (Optional) Descriptive name for GPIO controller. 68 const char *label; member in struct:gpio_regmap_config
|
/linux-master/security/apparmor/ |
H A D | mount.c | 395 struct aa_label *label, const struct path *path, 403 AA_BUG(!label); 411 error = fn_for_each_confined(label, profile, 421 struct aa_label *label, const struct path *path, 429 AA_BUG(!label); 447 error = fn_for_each_confined(label, profile, 459 struct aa_label *label, const struct path *path, 466 AA_BUG(!label); 476 error = fn_for_each_confined(label, profile, 486 struct aa_label *label, cons 394 aa_remount(const struct cred *subj_cred, struct aa_label *label, const struct path *path, unsigned long flags, void *data) argument 420 aa_bind_mount(const struct cred *subj_cred, struct aa_label *label, const struct path *path, const char *dev_name, unsigned long flags) argument 458 aa_mount_change_type(const struct cred *subj_cred, struct aa_label *label, const struct path *path, unsigned long flags) argument 485 aa_move_mount(const struct cred *subj_cred, struct aa_label *label, const struct path *from_path, const struct path *to_path) argument 517 aa_move_mount_old(const struct cred *subj_cred, struct aa_label *label, const struct path *path, const char *orig_name) argument 535 aa_new_mount(const struct cred *subj_cred, struct aa_label *label, const char *dev_name, const struct path *path, const char *type, unsigned long flags, void *data) argument 636 aa_umount(const struct cred *subj_cred, struct aa_label *label, struct vfsmount *mnt, int flags) argument 718 aa_pivotroot(const struct cred *subj_cred, struct aa_label *label, const struct path *old_path, const struct path *new_path) argument [all...] |
H A D | resource.c | 106 * @label: label confining the task (NOT NULL) 115 int aa_task_setrlimit(const struct cred *subj_cred, struct aa_label *label, argument 134 if (label != peer && 135 aa_capable(subj_cred, label, CAP_SYS_RESOURCE, CAP_OPT_NOAUDIT) != 0) 136 error = fn_for_each(label, profile, 141 error = fn_for_each_confined(label, profile, 151 * @old_l: old label on task (NOT NULL) 152 * @new_l: new label with rlimits to apply (NOT NULL)
|
H A D | apparmorfs.c | 34 #include "include/label.h" 418 struct aa_label *label; local 421 label = begin_current_label_crit_section(); 426 error = aa_may_manage_policy(current_cred(), label, ns, mask); 433 error = aa_replace_profiles(ns, label, mask, data); 437 end_current_label_crit_section(label); 481 struct aa_label *label; local 485 label = begin_current_label_crit_section(); 489 error = aa_may_manage_policy(current_cred(), label, ns, 503 error = aa_remove_profiles(ns, label, dat 669 struct aa_label *label, *curr; local 760 struct aa_label *label, *curr; local 1073 struct aa_label *label = aa_get_label_rcu(&proxy->label); local 1084 struct aa_label *label = aa_get_label_rcu(&proxy->label); local 1095 struct aa_label *label = aa_get_label_rcu(&proxy->label); local 1111 struct aa_label *label = aa_get_label_rcu(&proxy->label); local 1152 struct aa_label *label; local 1163 struct aa_label *label; local 1186 struct aa_label *label; local 1197 struct aa_label *label = begin_current_label_crit_section(); local 1624 struct aa_label *label; local 1799 struct aa_label *label; local 1849 struct aa_label *label; local [all...] |
/linux-master/scripts/dtc/ |
H A D | livetree.c | 13 void add_label(struct label **labels, char *label) argument 15 struct label *new; 17 /* Make sure the label isn't already there */ 19 if (streq(new->label, label)) { 26 new->label = label; 31 void delete_labels(struct label **labels) 33 struct label *labe local 447 get_property_by_label(struct node *tree, const char *label, struct node **node) argument 473 get_marker_label(struct node *tree, const char *label, struct node **node, struct property **prop) argument 538 get_node_by_label(struct node *tree, const char *label) argument 585 const char *label = NULL, *path = NULL; local [all...] |
/linux-master/drivers/gpio/ |
H A D | gpiolib.h | 40 * @label: a descriptive name for the GPIO device, such as the part number 67 const char *label; member in struct:gpio_device 145 * @label: Name of the consumer 148 * @srcu: SRCU struct protecting the label pointer. 179 /* Connection label */ 180 const char __rcu *label; member in struct:gpio_desc 212 int gpiod_request(struct gpio_desc *desc, const char *label); 215 static inline int gpiod_request_user(struct gpio_desc *desc, const char *label) argument 219 ret = gpiod_request(desc, label); 231 const char *label, [all...] |
H A D | gpio-loongson-64bit.c | 24 const char *label; member in struct:loongson_gpio_chip_data 167 lgpio->chip.label = lgpio->chip_data->label; 195 .label = "ls2k_gpio", 204 .label = "ls2k0500_gpio", 213 .label = "ls2k0500_gpio", 222 .label = "ls2k2000_gpio", 230 .label = "ls2k2000_gpio", 238 .label = "ls2k2000_gpio", 246 .label [all...] |
/linux-master/fs/bcachefs/ |
H A D | disk_groups.c | 18 strncmp(l->label, r->label, sizeof(l->label)); 42 prt_printf(err, "disk %u has invalid label %u (have %u)", 48 prt_printf(err, "disk %u has deleted label %u", i, group_id); 62 len = strnlen(g->label, sizeof(g->label)); 64 prt_printf(err, "label %u empty", i); 79 prt_printf(err, "duplicate label %llu.%.*s", 81 (int) sizeof(g->label), [all...] |
/linux-master/tools/perf/ui/gtk/ |
H A D | progress.c | 17 GtkWidget *label = gtk_label_new(p->title); local 22 gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, FALSE, 3); local
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | vfdi.h | 136 * @u.init_rxq.label: Label used in receive events. 144 * @u.init_txq.label: Label used in transmit completion events. 177 u32 label; member in struct:vfdi_req::__anon1650::__anon1652 187 u32 label; member in struct:vfdi_req::__anon1650::__anon1653
|
/linux-master/fs/pstore/ |
H A D | ram_internal.h | 28 * @label: unique name of this PRZ 63 char *label; member in struct:persistent_ram_zone 84 unsigned int memtype, u32 flags, char *label);
|
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-mcp23s08_spi.c | 91 mcp->chip.label = devm_kasprintf(dev, GFP_KERNEL, "mcp23s08.%d", addr); 92 if (!mcp->chip.label) 102 mcp->chip.label = devm_kasprintf(dev, GFP_KERNEL, "mcp23s17.%d", addr); 103 if (!mcp->chip.label) 113 mcp->chip.label = info->label; 132 dev_err(dev, "regmap init failed for %s\n", mcp->chip.label); 215 .label = "mcp23s18",
|
/linux-master/arch/arm/mach-s3c/ |
H A D | gpio-samsung.c | 508 BUG_ON(!gc->label); 526 gc->label); 528 pr_err("gpio: %s has no PM function\n", gc->label); 660 .label = "GPA", 666 .label = "GPB", 672 .label = "GPC", 678 .label = "GPD", 685 .label = "GPE", 692 .label = "GPG", 700 .label [all...] |
/linux-master/drivers/soc/qcom/ |
H A D | rpm_master_stats.c | 20 const char *label; member in struct:master_stats_data 48 seq_printf(s, "%s:\n", data->label); 115 &data[i].label); 126 dent = debugfs_create_file(data[i].label, 0444, root, 131 "Failed to create debugfs file %s!\n", data[i].label);
|
/linux-master/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw.c | 32 #define SYM_GEN_A(s, label) ((short) offsetof(s, label)), 33 #define SYM_GEN_B(s, label) ((short) offsetof(s, label)), 34 #define SYM_GEN_Z(s, label) ((short) offsetof(s, label)), 35 #define PADDR_A(label) SYM_GEN_PADDR_A(struct SYM_FWA_SCR, label) 36 #define PADDR_B(label) SYM_GEN_PADDR_B(struct SYM_FWB_SCR, label) [all...] |
/linux-master/drivers/watchdog/ |
H A D | mlx_wdt.c | 229 if (strnstr(data->label, "action", sizeof(data->label))) 231 else if (strnstr(data->label, "timeout", sizeof(data->label))) 233 else if (strnstr(data->label, "timeleft", sizeof(data->label))) 235 else if (strnstr(data->label, "ping", sizeof(data->label))) 237 else if (strnstr(data->label, "reset", sizeof(data->label))) [all...] |
/linux-master/drivers/hwmon/ |
H A D | da9052-hwmon.c | 322 static SENSOR_DEVICE_ATTR_RO(in0_label, label, DA9052_ADC_VDDOUT); 324 static SENSOR_DEVICE_ATTR_RO(in3_label, label, DA9052_ADC_VBAT); 326 static SENSOR_DEVICE_ATTR_RO(in4_label, label, DA9052_ADC_IN4); 328 static SENSOR_DEVICE_ATTR_RO(in5_label, label, DA9052_ADC_IN5); 330 static SENSOR_DEVICE_ATTR_RO(in6_label, label, DA9052_ADC_IN6); 332 static SENSOR_DEVICE_ATTR_RO(in9_label, label, DA9052_ADC_VBBAT); 335 static SENSOR_DEVICE_ATTR_RO(in70_label, label, DA9052_ADC_TSI_XP); 337 static SENSOR_DEVICE_ATTR_RO(in71_label, label, DA9052_ADC_TSI_XN); 339 static SENSOR_DEVICE_ATTR_RO(in72_label, label, DA9052_ADC_TSI_YP); 341 static SENSOR_DEVICE_ATTR_RO(in73_label, label, DA9052_ADC_TSI_Y [all...] |