Lines Matching refs:sd
113 BUG_ON(!kobj || (!update && !kobj->sd)); in internal_create_group()
116 if (unlikely(update && !kobj->sd)) in internal_create_group()
124 kn = kernfs_create_dir(kobj->sd, grp->name, in internal_create_group()
128 sysfs_warn_dup(kobj->sd, grp->name); in internal_create_group()
132 kn = kobj->sd; in internal_create_group()
229 struct kernfs_node *parent = kobj->sd; in sysfs_remove_group()
290 parent = kernfs_find_and_get(kobj->sd, grp->name); in sysfs_merge_group()
317 parent = kernfs_find_and_get(kobj->sd, grp->name); in sysfs_unmerge_group()
339 parent = kernfs_find_and_get(kobj->sd, group_name); in sysfs_add_link_to_group()
361 parent = kernfs_find_and_get(kobj->sd, group_name); in sysfs_remove_link_from_group()
390 target = target_kobj->sd; in __compat_only_sysfs_link_entry_to_kobj()
397 entry = kernfs_find_and_get(target_kobj->sd, target_name); in __compat_only_sysfs_link_entry_to_kobj()
403 link = kernfs_create_link(kobj->sd, target_name, entry); in __compat_only_sysfs_link_entry_to_kobj()
405 sysfs_warn_dup(kobj->sd, target_name); in __compat_only_sysfs_link_entry_to_kobj()