Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 238) sorted by relevance

12345678910

/linux-4.19.296/block/partitions/
Dsun.c58 } * 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()
77 ush = ((__be16 *) (label+1)) - 1; in sun_partition()
78 for (csum = 0; ush >= ((__be16 *) label);) in sun_partition()
88 use_vtoc = ((be32_to_cpu(label->vtoc.sanity) == SUN_VTOC_SANITY) && in sun_partition()
89 (be32_to_cpu(label->vtoc.version) == 1) && in sun_partition()
90 (be16_to_cpu(label->vtoc.nparts) <= 8)); in sun_partition()
[all …]
Dibm.c71 union label_t *label) in find_label() argument
105 memcpy(label, data, sizeof(*label)); in find_label()
114 strncpy(type, label->vol.vollbl, 4); in find_label()
115 strncpy(name, label->vol.volid, 6); in find_label()
117 strncpy(type, label->lnx.vollbl, 4); in find_label()
118 strncpy(name, label->lnx.volid, 6); in find_label()
128 memset(label, 0, sizeof(*label)); in find_label()
137 union label_t *label) in find_vol1_partitions() argument
155 blk = cchhb2blk(&label->vol.vtoc, geo) + 1; in find_vol1_partitions()
199 union label_t *label, in find_lnx1_partitions() argument
[all …]
Dultrix.c25 } *label; in ultrix_partition() local
30 data = read_part_sector(state, (16384 - sizeof(*label))/512, &sect); in ultrix_partition()
34 label = (struct ultrix_disklabel *)(data + 512 - sizeof(*label)); in ultrix_partition()
36 if (label->pt_magic == PT_MAGIC && label->pt_valid == PT_VALID) { in ultrix_partition()
38 if (label->pt_part[i].pi_nblocks) in ultrix_partition()
40 label->pt_part[i].pi_blkoff, in ultrix_partition()
41 label->pt_part[i].pi_nblocks); in ultrix_partition()
Dsgi.c39 struct sgi_disklabel *label; in sgi_partition() local
43 label = read_part_sector(state, 0, &sect); in sgi_partition()
44 if (!label) in sgi_partition()
46 p = &label->partitions[0]; in sgi_partition()
47 magic = label->magic_mushroom; in sgi_partition()
54 ui = ((__be32 *) (label + 1)) - 1; in sgi_partition()
55 for(csum = 0; ui >= ((__be32 *) label);) { in sgi_partition()
Dosf.c53 } * label; in osf_partition() local
60 label = (struct disklabel *) (data+64); in osf_partition()
61 partition = label->d_partitions; in osf_partition()
62 if (le32_to_cpu(label->d_magic) != DISKLABELMAGIC) { in osf_partition()
66 if (le32_to_cpu(label->d_magic2) != DISKLABELMAGIC) { in osf_partition()
70 npartitions = le16_to_cpu(label->d_npartitions); in osf_partition()
Dkarma.c31 } __packed *label; in karma_partition() local
38 label = (struct disklabel *)data; in karma_partition()
39 if (le16_to_cpu(label->d_magic) != KARMA_LABEL_MAGIC) { in karma_partition()
44 p = label->d_partitions; in karma_partition()
/linux-4.19.296/fs/nfs/
Dexport.c67 struct nfs4_label *label = NULL; in nfs_fh_to_dentry() local
98 label = nfs4_label_alloc(NFS_SB(sb), GFP_KERNEL); in nfs_fh_to_dentry()
99 if (IS_ERR(label)) { in nfs_fh_to_dentry()
100 dentry = ERR_CAST(label); in nfs_fh_to_dentry()
105 ret = rpc_ops->getattr(NFS_SB(sb), server_fh, fattr, label, NULL); in nfs_fh_to_dentry()
112 inode = nfs_fhget(sb, server_fh, fattr, label); in nfs_fh_to_dentry()
118 nfs4_label_free(label); in nfs_fh_to_dentry()
133 struct nfs4_label *label = NULL; in nfs_get_parent() local
147 label = nfs4_label_alloc(server, GFP_KERNEL); in nfs_get_parent()
148 if (IS_ERR(label)) { in nfs_get_parent()
[all …]
/linux-4.19.296/drivers/gpio/
Dgpiolib.h61 const char *label; member
200 const char *label);
221 const char *label; member
226 int gpiod_request(struct gpio_desc *desc, const char *label);
247 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
250 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
253 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
256 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
259 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
262 pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
[all …]
Dgpiolib-legacy.c20 int gpio_request_one(unsigned gpio, unsigned long flags, const char *label) in gpio_request_one() argument
31 err = gpiod_request(desc, label); in gpio_request_one()
67 int gpio_request(unsigned gpio, const char *label) in gpio_request() argument
75 return gpiod_request(desc, label); in gpio_request()
89 err = gpio_request_one(array->gpio, array->flags, array->label); in gpio_request_array()
Ddevres.c146 const char *label) in devm_gpiod_get_from_of_node() argument
156 desc = gpiod_get_from_of_node(node, propname, index, dflags, label); in devm_gpiod_get_from_of_node()
189 const char *label) in devm_fwnode_get_index_gpiod_from_child() argument
210 label); in devm_fwnode_get_index_gpiod_from_child()
379 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label) in devm_gpio_request() argument
388 rc = gpio_request(gpio, label); in devm_gpio_request()
409 unsigned long flags, const char *label) in devm_gpio_request_one() argument
418 rc = gpio_request_one(gpio, flags, label); in devm_gpio_request_one()
Dgpiolib.c92 static inline void desc_set_label(struct gpio_desc *d, const char *label) in desc_set_label() argument
94 d->label = label; in desc_set_label()
420 const char *label; member
500 kfree(lh->label); in linehandle_release()
567 lh->label = kstrdup(handlereq.consumer_label, in linehandle_create()
569 if (!lh->label) { in linehandle_create()
586 ret = gpiod_request(desc, lh->label); in linehandle_create()
663 kfree(lh->label); in linehandle_create()
691 const char *label; member
772 kfree(le->label); in lineevent_release()
[all …]
Dgpio-wm8994.c200 const char *label; in wm8994_gpio_dbg_show() local
207 label = gpiochip_is_requested(chip, i); in wm8994_gpio_dbg_show()
208 if (!label) in wm8994_gpio_dbg_show()
209 label = "Unrequested"; in wm8994_gpio_dbg_show()
211 seq_printf(s, " gpio-%-3d (%-20.20s) ", gpio, label); in wm8994_gpio_dbg_show()
252 .label = "wm8994",
Dgpio-wm831x.c167 const char *label, *pull, *powerdomain; in wm831x_gpio_dbg_show() local
174 label = gpiochip_is_requested(chip, i); in wm831x_gpio_dbg_show()
175 if (!label) in wm831x_gpio_dbg_show()
176 label = "Unrequested"; in wm831x_gpio_dbg_show()
178 seq_printf(s, " gpio-%-3d (%-20.20s) ", gpio, label); in wm831x_gpio_dbg_show()
251 .label = "wm831x",
/linux-4.19.296/drivers/regulator/
Dtwl-regulator.c454 #define TWL4030_ADJUSTABLE_LDO(label, offset, num, turnon_delay, remap_conf) \ argument
455 static const struct twlreg_info TWL4030_INFO_##label = { \
458 .table_len = ARRAY_SIZE(label##_VSEL_table), \
459 .table = label##_VSEL_table, \
462 .name = #label, \
463 .id = TWL4030_REG_##label, \
464 .n_voltages = ARRAY_SIZE(label##_VSEL_table), \
473 #define TWL4030_ADJUSTABLE_SMPS(label, offset, num, turnon_delay, remap_conf) \ argument
474 static const struct twlreg_info TWL4030_INFO_##label = { \
479 .name = #label, \
[all …]
Dtwl6030-regulator.c524 #define TWL6030_ADJUSTABLE_SMPS(label) \ argument
525 static const struct twlreg_info TWL6030_INFO_##label = { \
527 .name = #label, \
528 .id = TWL6030_REG_##label, \
535 #define TWL6030_ADJUSTABLE_LDO(label, offset, min_mVolts) \ argument
536 static const struct twlreg_info TWL6030_INFO_##label = { \
540 .name = #label, \
541 .id = TWL6030_REG_##label, \
549 #define TWL6032_ADJUSTABLE_LDO(label, offset, min_mVolts) \ argument
550 static const struct twlreg_info TWL6032_INFO_##label = { \
[all …]
/linux-4.19.296/drivers/pwm/
Dpwm-twl-led.c98 dev_err(chip->dev, "%s: Failed to configure PWM\n", pwm->label); in twl4030_pwmled_config()
112 dev_err(chip->dev, "%s: Failed to read LEDEN\n", pwm->label); in twl4030_pwmled_enable()
120 dev_err(chip->dev, "%s: Failed to enable PWM\n", pwm->label); in twl4030_pwmled_enable()
137 dev_err(chip->dev, "%s: Failed to read LEDEN\n", pwm->label); in twl4030_pwmled_disable()
145 dev_err(chip->dev, "%s: Failed to disable PWM\n", pwm->label); in twl4030_pwmled_disable()
163 dev_err(chip->dev, "%s: Failed to configure PWM\n", pwm->label); in twl6030_pwmled_config()
178 pwm->label); in twl6030_pwmled_enable()
187 dev_err(chip->dev, "%s: Failed to enable PWM\n", pwm->label); in twl6030_pwmled_enable()
205 pwm->label); in twl6030_pwmled_disable()
214 dev_err(chip->dev, "%s: Failed to disable PWM\n", pwm->label); in twl6030_pwmled_disable()
[all …]
Dpwm-twl.c100 dev_err(chip->dev, "%s: Failed to configure PWM\n", pwm->label); in twl_pwm_config()
114 dev_err(chip->dev, "%s: Failed to read GPBR1\n", pwm->label); in twl4030_pwm_enable()
122 dev_err(chip->dev, "%s: Failed to enable PWM\n", pwm->label); in twl4030_pwm_enable()
128 dev_err(chip->dev, "%s: Failed to enable PWM\n", pwm->label); in twl4030_pwm_enable()
144 dev_err(chip->dev, "%s: Failed to read GPBR1\n", pwm->label); in twl4030_pwm_disable()
152 dev_err(chip->dev, "%s: Failed to disable PWM\n", pwm->label); in twl4030_pwm_disable()
158 dev_err(chip->dev, "%s: Failed to disable PWM\n", pwm->label); in twl4030_pwm_disable()
181 dev_err(chip->dev, "%s: Failed to read PMBR1\n", pwm->label); in twl4030_pwm_request()
195 dev_err(chip->dev, "%s: Failed to request PWM\n", pwm->label); in twl4030_pwm_request()
216 dev_err(chip->dev, "%s: Failed to read PMBR1\n", pwm->label); in twl4030_pwm_free()
[all …]
/linux-4.19.296/include/linux/
Dgpio.h53 const char *label; member
95 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label);
97 unsigned long flags, const char *label);
115 static inline int gpio_request(unsigned gpio, const char *label) in gpio_request() argument
121 unsigned long flags, const char *label) in gpio_request_one() argument
244 const char *label) in devm_gpio_request() argument
251 unsigned long flags, const char *label) in devm_gpio_request_one() argument
Dpxa2xx_ssp.h218 const char *label; member
251 struct ssp_device *pxa_ssp_request(int port, const char *label);
254 const char *label);
256 static inline struct ssp_device *pxa_ssp_request(int port, const char *label) in pxa_ssp_request() argument
/linux-4.19.296/fs/cifs/
Dsmb2transport.c233 static int generate_key(struct cifs_ses *ses, struct kvec label, in generate_key() argument
273 label.iov_base, label.iov_len); in generate_key()
314 struct kvec label; member
330 rc = generate_key(ses, ptriplet->signing.label, in generate_smb3signingkey()
336 rc = generate_key(ses, ptriplet->encryption.label, in generate_smb3signingkey()
342 rc = generate_key(ses, ptriplet->decryption.label, in generate_smb3signingkey()
377 d->label.iov_base = "SMB2AESCMAC"; in generate_smb30signingkey()
378 d->label.iov_len = 12; in generate_smb30signingkey()
383 d->label.iov_base = "SMB2AESCCM"; in generate_smb30signingkey()
384 d->label.iov_len = 11; in generate_smb30signingkey()
[all …]
/linux-4.19.296/drivers/misc/
Dsram.c74 NUMA_NO_NODE, block->label); in sram_add_pool()
176 const char *label; in sram_reserve_regions() local
229 label = NULL; in sram_reserve_regions()
230 ret = of_property_read_string(child, "label", &label); in sram_reserve_regions()
237 if (!label) in sram_reserve_regions()
238 label = child->name; in sram_reserve_regions()
240 block->label = devm_kstrdup(sram->dev, in sram_reserve_regions()
241 label, GFP_KERNEL); in sram_reserve_regions()
242 if (!block->label) { in sram_reserve_regions()
248 block->export ? "exported " : "", block->label, in sram_reserve_regions()
/linux-4.19.296/drivers/edac/
Dedac_mc.c160 edac_dbg(4, " dimm->label = '%s'\n", dimm->label); in edac_mc_dump_dimm()
448 len = sizeof(dimm->label); in edac_mc_alloc()
449 p = dimm->label; in edac_mc_alloc()
971 const char *label, in edac_ce_error() argument
989 error_count, msg, msg_aux, label, in edac_ce_error()
994 error_count, msg, msg_aux, label, in edac_ce_error()
1025 const char *label, in edac_ue_error() argument
1039 error_count, msg, msg_aux, label, in edac_ue_error()
1044 error_count, msg, msg_aux, label, in edac_ue_error()
1051 msg, msg_aux, label, location, detail, other_detail); in edac_ue_error()
[all …]
/linux-4.19.296/include/linux/gpio/
Dconsumer.h159 const char *label);
163 const char *label);
168 const char *label);
497 const char *label) in devm_gpiod_get_from_of_node() argument
506 const char *label) in fwnode_get_named_gpiod() argument
516 const char *label) in devm_fwnode_get_index_gpiod_from_child() argument
528 const char *label) in devm_fwnode_get_gpiod_from_child() argument
531 flags, label); in devm_fwnode_get_gpiod_from_child()
/linux-4.19.296/include/net/
Dinet_ecn.h67 #define IP6_ECN_flow_init(label) do { \ argument
68 (label) &= ~htonl(INET_ECN_MASK << 20); \
71 #define IP6_ECN_flow_xmit(sk, label) do { \ argument
73 (label) |= htonl(INET_ECN_ECT_0 << 20); \
/linux-4.19.296/include/ras/
Dras_event.h102 const char *label,
113 TP_ARGS(err_type, error_msg, label, error_count, mc_index,
120 __string( label, label )
135 __assign_str(label, label);
153 __get_str(label),

12345678910