Lines Matching refs:name
22 const char *name, int warn) in sysfs_do_create_link_sd() argument
26 if (WARN_ON(!name || !parent)) in sysfs_do_create_link_sd()
44 kn = kernfs_create_link(parent, name, target); in sysfs_do_create_link_sd()
51 sysfs_warn_dup(parent, name); in sysfs_do_create_link_sd()
62 const char *name) in sysfs_create_link_sd() argument
64 return sysfs_do_create_link_sd(kn, target, name, 1); in sysfs_create_link_sd()
68 const char *name, int warn) in sysfs_do_create_link() argument
80 return sysfs_do_create_link_sd(parent, target, name, warn); in sysfs_do_create_link()
90 const char *name) in sysfs_create_link() argument
92 return sysfs_do_create_link(kobj, target, name, 1); in sysfs_create_link()
106 const char *name) in sysfs_create_link_nowarn() argument
108 return sysfs_do_create_link(kobj, target, name, 0); in sysfs_create_link_nowarn()
122 const char *name) in sysfs_delete_link() argument
135 kernfs_remove_by_name_ns(kobj->sd, name, ns); in sysfs_delete_link()
143 void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link() argument
152 kernfs_remove_by_name(parent, name); in sysfs_remove_link()