Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/bpf/preload/
Dbpf_preload_kern.c22 strlcpy(obj[0].link_name, "maps.debug", sizeof(obj[0].link_name)); in preload()
24 strlcpy(obj[1].link_name, "progs.debug", sizeof(obj[1].link_name)); in preload()
Dbpf_preload.h6 char link_name[16]; member
/linux-6.1.9/drivers/usb/misc/
Donboard_usb_hub.c136 char link_name[64]; in onboard_hub_add_usbdev() local
158 get_udev_link_name(udev, link_name, sizeof(link_name)); in onboard_hub_add_usbdev()
159 WARN_ON(sysfs_create_link(&hub->dev->kobj, &udev->dev.kobj, link_name)); in onboard_hub_add_usbdev()
172 char link_name[64]; in onboard_hub_remove_usbdev() local
174 get_udev_link_name(udev, link_name, sizeof(link_name)); in onboard_hub_remove_usbdev()
175 sysfs_remove_link(&hub->dev->kobj, link_name); in onboard_hub_remove_usbdev()
/linux-6.1.9/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.1.9/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.1.9/fs/sysfs/
Dgroup.c382 struct kobject *target, const char *link_name) in sysfs_add_link_to_group() argument
391 error = sysfs_create_link_sd(parent, target, link_name); in sysfs_add_link_to_group()
405 const char *link_name) in sysfs_remove_link_from_group() argument
411 kernfs_remove_by_name(parent, link_name); in sysfs_remove_link_from_group()
/linux-6.1.9/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.1.9/sound/soc/sof/
Dipc4-pcm.c146 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
155 if (!strcmp(slink->link->name, link_name)) { in ipc4_ssp_dai_config_pcm_params_match()
Dipc3-pcm.c183 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
195 if (!dai->name || strcmp(link_name, dai->name)) in ssp_dai_config_pcm_params_match()
/linux-6.1.9/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.1.9/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.1.9/drivers/cxl/core/
Dport.c867 char link_name[CXL_TARGET_STRLEN]; in cxl_dport_unlink() local
869 sprintf(link_name, "dport%d", dport->port_id); in cxl_dport_unlink()
870 sysfs_remove_link(&port->dev.kobj, link_name); in cxl_dport_unlink()
888 char link_name[CXL_TARGET_STRLEN]; in devm_cxl_add_dport() local
904 if (snprintf(link_name, CXL_TARGET_STRLEN, "dport%d", port_id) >= in devm_cxl_add_dport()
928 rc = sysfs_create_link(&port->dev.kobj, &dport_dev->kobj, link_name); in devm_cxl_add_dport()
/linux-6.1.9/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()
4162 char *link_name; in snd_soc_dapm_new_dai() local
4165 link_name = devm_kasprintf(card->dev, GFP_KERNEL, "%s-%s", in snd_soc_dapm_new_dai()
4167 if (!link_name) in snd_soc_dapm_new_dai()
4173 template.name = link_name; in snd_soc_dapm_new_dai()
4192 link_name, in snd_soc_dapm_new_dai()
4203 dev_dbg(card->dev, "ASoC: adding %s widget\n", link_name); in snd_soc_dapm_new_dai()
[all …]
/linux-6.1.9/fs/proc/
Dproc_sysctl.c1172 char *link_name; in new_links() local
1193 link_name = (char *)&link_table[nr_entries + 1]; in new_links()
1198 memcpy(link_name, entry->procname, len); in new_links()
1199 link->procname = link_name; in new_links()
1202 link_name += len; in new_links()
/linux-6.1.9/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.1.9/sound/soc/mediatek/mt8192/
Dmt8192-mt6359-rt1015-rt5682.c1126 char *link_name) in mt8192_mt6359_card_set_be_link() argument
1130 if (node && strcmp(link->name, link_name) == 0) { in mt8192_mt6359_card_set_be_link()
/linux-6.1.9/kernel/bpf/
Dinode.c730 objs[i].link_name, objs[i].link); in populate_bpffs()
/linux-6.1.9/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.1.9/fs/ksmbd/
Dsmb2pdu.c5545 char *link_name = NULL, *target_name = NULL, *pathname = NULL; in smb2_create_link() local
5559 link_name = smb2_get_name(file_info->FileName, in smb2_create_link()
5562 if (IS_ERR(link_name) || S_ISDIR(file_inode(filp)->i_mode)) { in smb2_create_link()
5567 ksmbd_debug(SMB, "link name is %s\n", link_name); in smb2_create_link()
5575 rc = ksmbd_vfs_kern_path(work, link_name, LOOKUP_NO_SYMLINKS, &path, 0); in smb2_create_link()
5586 rc = ksmbd_vfs_remove_file(work, link_name); in smb2_create_link()
5590 link_name); in smb2_create_link()
5602 rc = ksmbd_vfs_link(work, target_name, link_name); in smb2_create_link()
5606 if (!IS_ERR(link_name)) in smb2_create_link()
5607 kfree(link_name); in smb2_create_link()