Home
last modified time | relevance | path

Searched refs:link_name (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/kernel/bpf/preload/
Dbpf_preload_kern.c26 strscpy(obj[0].link_name, "maps.debug", sizeof(obj[0].link_name)); in preload()
28 strscpy(obj[1].link_name, "progs.debug", sizeof(obj[1].link_name)); in preload()
Dbpf_preload.h6 char link_name[16]; member
/linux-6.6.21/drivers/usb/misc/
Donboard_usb_hub.c147 char link_name[64]; in onboard_hub_add_usbdev() local
169 get_udev_link_name(udev, link_name, sizeof(link_name)); in onboard_hub_add_usbdev()
170 WARN_ON(sysfs_create_link(&hub->dev->kobj, &udev->dev.kobj, link_name)); in onboard_hub_add_usbdev()
183 char link_name[64]; in onboard_hub_remove_usbdev() local
185 get_udev_link_name(udev, link_name, sizeof(link_name)); in onboard_hub_remove_usbdev()
186 sysfs_remove_link(&hub->dev->kobj, link_name); in onboard_hub_remove_usbdev()
/linux-6.6.21/sound/soc/mediatek/mt8186/
Dmt8186-mt6366-common.c45 char *link_name) in mt8186_mt6366_card_set_be_link() argument
49 if (node && strcmp(link->name, link_name) == 0) { in mt8186_mt6366_card_set_be_link()
Dmt8186-mt6366-common.h16 char *link_name);
/linux-6.6.21/sound/core/
Dcontrol_led.c672 char link_name[32]; in snd_ctl_led_sysfs_add() local
690 snprintf(link_name, sizeof(link_name), "led-%s", led->name); in snd_ctl_led_sysfs_add()
691 WARN(sysfs_create_link(&card->ctl_dev->kobj, &led_card->dev.kobj, link_name), in snd_ctl_led_sysfs_add()
709 char link_name[32]; in snd_ctl_led_sysfs_remove() local
716 snprintf(link_name, sizeof(link_name), "led-%s", led->name); in snd_ctl_led_sysfs_remove()
717 sysfs_remove_link(&card->ctl_dev->kobj, link_name); in snd_ctl_led_sysfs_remove()
/linux-6.6.21/fs/sysfs/
Dgroup.c386 struct kobject *target, const char *link_name) in sysfs_add_link_to_group() argument
395 error = sysfs_create_link_sd(parent, target, link_name); in sysfs_add_link_to_group()
409 const char *link_name) in sysfs_remove_link_from_group() argument
415 kernfs_remove_by_name(parent, link_name); in sysfs_remove_link_from_group()
/linux-6.6.21/fs/xfs/
Dxfs_symlink.c149 struct xfs_name *link_name, in xfs_symlink() argument
178 trace_xfs_symlink(dp, link_name); in xfs_symlink()
211 resblks = XFS_SYMLINK_SPACE_RES(mp, link_name->len, fs_blocks); in xfs_symlink()
317 error = xfs_dir_createname(tp, dp, link_name, ip->i_ino, resblks); in xfs_symlink()
Dxfs_symlink.h11 struct xfs_name *link_name, const char *target_path,
/linux-6.6.21/include/linux/
Dsysfs.h328 struct kobject *target, const char *link_name);
330 const char *link_name);
541 const char *link_name) in sysfs_add_link_to_group() argument
547 const char *group_name, const char *link_name) in sysfs_remove_link_from_group() argument
Dmost.h325 int most_add_link(char *mdev, char *mdev_ch, char *comp_name, char *link_name,
/linux-6.6.21/drivers/net/ethernet/wiznet/
Dw5300.c574 char *link_name = devm_kzalloc(&pdev->dev, 16, GFP_KERNEL); in w5300_hw_probe() local
575 if (!link_name) in w5300_hw_probe()
577 snprintf(link_name, 16, "%s-link", name); in w5300_hw_probe()
581 link_name, priv->ndev) < 0) in w5300_hw_probe()
Dw5100.c1186 char *link_name = devm_kzalloc(dev, 16, GFP_KERNEL); in w5100_probe() local
1188 if (!link_name) { in w5100_probe()
1192 snprintf(link_name, 16, "%s-link", netdev_name(ndev)); in w5100_probe()
1197 link_name, priv->ndev) < 0) in w5100_probe()
/linux-6.6.21/drivers/cxl/core/
Dport.c970 char link_name[CXL_TARGET_STRLEN]; in cxl_dport_unlink() local
972 sprintf(link_name, "dport%d", dport->port_id); in cxl_dport_unlink()
973 sysfs_remove_link(&port->dev.kobj, link_name); in cxl_dport_unlink()
981 char link_name[CXL_TARGET_STRLEN]; in __devm_cxl_add_dport() local
997 if (snprintf(link_name, CXL_TARGET_STRLEN, "dport%d", port_id) >= in __devm_cxl_add_dport()
1049 rc = sysfs_create_link(&port->dev.kobj, &dport_dev->kobj, link_name); in __devm_cxl_add_dport()
/linux-6.6.21/sound/soc/sof/
Dipc3-pcm.c182 static void ssp_dai_config_pcm_params_match(struct snd_sof_dev *sdev, const char *link_name, in ssp_dai_config_pcm_params_match() argument
194 if (!dai->name || strcmp(link_name, dai->name)) in ssp_dai_config_pcm_params_match()
Dipc4-pcm.c430 static void ipc4_ssp_dai_config_pcm_params_match(struct snd_sof_dev *sdev, const char *link_name, in ipc4_ssp_dai_config_pcm_params_match() argument
439 if (!strcmp(slink->link->name, link_name)) { in ipc4_ssp_dai_config_pcm_params_match()
/linux-6.6.21/fs/proc/
Dproc_sysctl.c1170 char *link_name; in new_links() local
1191 link_name = (char *)&link_table[nr_entries + 1]; in new_links()
1196 memcpy(link_name, entry->procname, len); in new_links()
1197 link->procname = link_name; in new_links()
1200 link_name += len; in new_links()
/linux-6.6.21/sound/soc/
Dsoc-dapm.c4086 char *link_name, in snd_soc_dapm_alloc_kcontrol() argument
4107 count, link_name); in snd_soc_dapm_alloc_kcontrol()
4132 link_name); in snd_soc_dapm_alloc_kcontrol()
4142 link_name); in snd_soc_dapm_alloc_kcontrol()
4164 char *link_name; in snd_soc_dapm_new_dai() local
4167 link_name = devm_kasprintf(card->dev, GFP_KERNEL, "%s-%s", in snd_soc_dapm_new_dai()
4169 if (!link_name) in snd_soc_dapm_new_dai()
4184 kcontrol_news = snd_soc_dapm_alloc_kcontrol(card, link_name, in snd_soc_dapm_new_dai()
4195 template.name = link_name; in snd_soc_dapm_new_dai()
4202 dev_dbg(card->dev, "ASoC: adding %s widget\n", link_name); in snd_soc_dapm_new_dai()
[all …]
/linux-6.6.21/net/tipc/
Dnode.c2387 const char *link_name, in tipc_node_find_by_name() argument
2402 if (l && !strcmp(tipc_link_name(l), link_name)) { in tipc_node_find_by_name()
2566 char *link_name; in tipc_nl_node_reset_link_stats() local
2587 link_name = nla_data(attrs[TIPC_NLA_LINK_NAME]); in tipc_nl_node_reset_link_stats()
2590 if (!strcmp(link_name, tipc_bclink_name)) { in tipc_nl_node_reset_link_stats()
2595 } else if (strstr(link_name, tipc_bclink_name)) { in tipc_nl_node_reset_link_stats()
2600 if (link && !strcmp(link_name, tipc_link_name(link))) { in tipc_nl_node_reset_link_stats()
2611 node = tipc_node_find_by_name(net, link_name, &bearer_id); in tipc_nl_node_reset_link_stats()
/linux-6.6.21/sound/soc/mediatek/mt8192/
Dmt8192-mt6359-rt1015-rt5682.c1124 char *link_name) in mt8192_mt6359_card_set_be_link() argument
1128 if (node && strcmp(link->name, link_name) == 0) { in mt8192_mt6359_card_set_be_link()
/linux-6.6.21/kernel/bpf/
Dinode.c727 objs[i].link_name, objs[i].link); in populate_bpffs()
/linux-6.6.21/drivers/most/
Dcore.c677 int most_add_link(char *mdev, char *mdev_ch, char *comp_name, char *link_name, in most_add_link() argument
686 return link_channel_to_component(c, comp, link_name, comp_param); in most_add_link()
/linux-6.6.21/fs/smb/server/
Dsmb2pdu.c5597 char *link_name = NULL, *target_name = NULL, *pathname = NULL; in smb2_create_link() local
5611 link_name = smb2_get_name(file_info->FileName, in smb2_create_link()
5614 if (IS_ERR(link_name) || S_ISDIR(file_inode(filp)->i_mode)) { in smb2_create_link()
5619 ksmbd_debug(SMB, "link name is %s\n", link_name); in smb2_create_link()
5627 rc = ksmbd_vfs_kern_path_locked(work, link_name, LOOKUP_NO_SYMLINKS, in smb2_create_link()
5641 link_name); in smb2_create_link()
5653 rc = ksmbd_vfs_link(work, target_name, link_name); in smb2_create_link()
5660 if (!IS_ERR(link_name)) in smb2_create_link()
5661 kfree(link_name); in smb2_create_link()