/linux/kernel/bpf/preload/iterators/ |
A D | iterators.c | 19 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 D | bpf_preload_common.h | 9 char link_name[16]; member
|
/linux/sound/core/ |
A D | control_led.c | 678 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 D | bus.c | 260 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 D | xfs_symlink.c | 140 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 D | xfs_symlink.h | 11 struct xfs_name *link_name, const char *target_path,
|
/linux/fs/sysfs/ |
A D | group.c | 382 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 D | sysfs.h | 312 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 D | most.h | 325 int most_add_link(char *mdev, char *mdev_ch, char *comp_name, char *link_name,
|
/linux/drivers/net/ethernet/wiznet/ |
A D | w5300.c | 574 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 D | w5100.c | 1186 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 D | soc-dapm.c | 4071 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 D | proc_sysctl.c | 1155 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 D | node.c | 2373 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 D | pcm.c | 681 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 D | core.c | 677 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 D | smb2pdu.c | 5499 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 D | inode.c | 729 objs[i].link_name, links[i]); in populate_bpffs()
|