Home
last modified time | relevance | path

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

/linux/kernel/bpf/preload/iterators/
A Diterators.c19 static int send_link_to_kernel(struct bpf_link *link, const char *link_name) in send_link_to_kernel() argument
30 if (strlen(link_name) >= sizeof(obj.link_name)) in send_link_to_kernel()
32 strcpy(obj.link_name, link_name); in send_link_to_kernel()
A Dbpf_preload_common.h9 char link_name[16]; member
/linux/sound/core/
A Dcontrol_led.c678 char link_name[32]; in snd_ctl_led_sysfs_add() local
696 snprintf(link_name, sizeof(link_name), "led-%s", led->name); in snd_ctl_led_sysfs_add()
697 WARN(sysfs_create_link(&card->ctl_dev.kobj, &led_card->dev.kobj, link_name), in snd_ctl_led_sysfs_add()
715 char link_name[32]; in snd_ctl_led_sysfs_remove() local
722 snprintf(link_name, sizeof(link_name), "led-%s", led->name); in snd_ctl_led_sysfs_remove()
723 sysfs_remove_link(&card->ctl_dev.kobj, link_name); in snd_ctl_led_sysfs_remove()
/linux/drivers/cxl/core/
A Dbus.c260 char link_name[CXL_TARGET_STRLEN]; in unregister_port() local
262 if (snprintf(link_name, CXL_TARGET_STRLEN, "dport%d", in unregister_port()
265 sysfs_remove_link(&port->dev.kobj, link_name); in unregister_port()
423 char link_name[CXL_TARGET_STRLEN]; in cxl_add_dport() local
427 if (snprintf(link_name, CXL_TARGET_STRLEN, "dport%d", port_id) >= in cxl_add_dport()
445 rc = sysfs_create_link(&port->dev.kobj, &dport_dev->kobj, link_name); in cxl_add_dport()
/linux/fs/xfs/
A Dxfs_symlink.c140 struct xfs_name *link_name, in xfs_symlink() argument
169 trace_xfs_symlink(dp, link_name); in xfs_symlink()
202 resblks = XFS_SYMLINK_SPACE_RES(mp, link_name->len, fs_blocks); in xfs_symlink()
313 error = xfs_dir_createname(tp, dp, link_name, ip->i_ino, resblks); in xfs_symlink()
A Dxfs_symlink.h11 struct xfs_name *link_name, const char *target_path,
/linux/fs/sysfs/
A 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/include/linux/
A Dsysfs.h312 struct kobject *target, const char *link_name);
314 const char *link_name);
525 const char *link_name) in sysfs_add_link_to_group() argument
531 const char *group_name, const char *link_name) in sysfs_remove_link_from_group() argument
A Dmost.h325 int most_add_link(char *mdev, char *mdev_ch, char *comp_name, char *link_name,
/linux/drivers/net/ethernet/wiznet/
A 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()
A 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/sound/soc/
A Dsoc-dapm.c4071 char *link_name, in snd_soc_dapm_alloc_kcontrol() argument
4092 count, link_name); in snd_soc_dapm_alloc_kcontrol()
4117 link_name); in snd_soc_dapm_alloc_kcontrol()
4127 link_name); in snd_soc_dapm_alloc_kcontrol()
4147 char *link_name; in snd_soc_dapm_new_dai() local
4150 link_name = devm_kasprintf(card->dev, GFP_KERNEL, "%s-%s", in snd_soc_dapm_new_dai()
4152 if (!link_name) in snd_soc_dapm_new_dai()
4158 template.name = link_name; in snd_soc_dapm_new_dai()
4177 link_name, in snd_soc_dapm_new_dai()
4194 link_name, ret); in snd_soc_dapm_new_dai()
[all …]
/linux/fs/proc/
A Dproc_sysctl.c1155 char *link_name; in new_links() local
1176 link_name = (char *)&link_table[nr_entries + 1]; in new_links()
1180 memcpy(link_name, entry->procname, len); in new_links()
1181 link->procname = link_name; in new_links()
1184 link_name += len; in new_links()
/linux/net/tipc/
A Dnode.c2373 const char *link_name, in tipc_node_find_by_name() argument
2388 if (l && !strcmp(tipc_link_name(l), link_name)) { in tipc_node_find_by_name()
2552 char *link_name; in tipc_nl_node_reset_link_stats() local
2573 link_name = nla_data(attrs[TIPC_NLA_LINK_NAME]); in tipc_nl_node_reset_link_stats()
2576 if (!strcmp(link_name, tipc_bclink_name)) { in tipc_nl_node_reset_link_stats()
2581 } else if (strstr(link_name, tipc_bclink_name)) { in tipc_nl_node_reset_link_stats()
2586 if (link && !strcmp(link_name, tipc_link_name(link))) { in tipc_nl_node_reset_link_stats()
2597 node = tipc_node_find_by_name(net, link_name, &bearer_id); in tipc_nl_node_reset_link_stats()
/linux/sound/soc/sof/
A Dpcm.c681 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
693 if (!dai->name || strcmp(link_name, dai->name)) in ssp_dai_config_pcm_params_match()
/linux/drivers/most/
A 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/fs/ksmbd/
A Dsmb2pdu.c5499 char *link_name = NULL, *target_name = NULL, *pathname = NULL; in smb2_create_link() local
5513 link_name = smb2_get_name(share, in smb2_create_link()
5517 if (IS_ERR(link_name) || S_ISDIR(file_inode(filp)->i_mode)) { in smb2_create_link()
5522 ksmbd_debug(SMB, "link name is %s\n", link_name); in smb2_create_link()
5530 rc = ksmbd_vfs_kern_path(work, link_name, LOOKUP_NO_SYMLINKS, &path, 0); in smb2_create_link()
5541 rc = ksmbd_vfs_remove_file(work, link_name); in smb2_create_link()
5545 link_name); in smb2_create_link()
5557 rc = ksmbd_vfs_link(work, target_name, link_name); in smb2_create_link()
5561 if (!IS_ERR(link_name)) in smb2_create_link()
5562 kfree(link_name); in smb2_create_link()
/linux/kernel/bpf/
A Dinode.c729 objs[i].link_name, links[i]); in populate_bpffs()

Completed in 70 milliseconds