Home
last modified time | relevance | path

Searched refs:s_dir (Results 1 – 9 of 9) sorted by relevance

/fs/sysfs/
Ddir.c91 struct rb_node **node = &sd->s_parent->s_dir.children.rb_node; in sysfs_link_sibling()
95 sd->s_parent->s_dir.subdirs++; in sysfs_link_sibling()
113 rb_insert_color(&sd->s_rb, &sd->s_parent->s_dir.children); in sysfs_link_sibling()
130 sd->s_parent->s_dir.subdirs--; in sysfs_unlink_sibling()
132 rb_erase(&sd->s_rb, &sd->s_parent->s_dir.children); in sysfs_unlink_sibling()
595 struct rb_node *node = parent_sd->s_dir.children.rb_node; in sysfs_find_dirent()
667 sd->s_dir.kobj = kobj; in create_dir()
825 pos = rb_first(&dir_sd->s_dir.children); in __sysfs_remove_dir()
952 struct rb_node *node = parent_sd->s_dir.children.rb_node; in sysfs_dir_pos()
Dfile.c70 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in fill_read_buffer()
194 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in flush_write_buffer()
329 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in sysfs_open_file()
535 rc = sysfs_attr_ns(dir_sd->s_dir.kobj, attr, &ns); in sysfs_add_file_mode()
Dbin.c53 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in fill_read()
123 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in flush_write()
342 struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; in mmap()
Dsysfs.h74 struct sysfs_elem_dir s_dir; member
Dsymlink.c195 if (sd->s_symlink.target_sd->s_dir.kobj != targ) in sysfs_rename_link()
Dinode.c222 set_nlink(inode, sd->s_dir.subdirs + 2); in sysfs_refresh_inode()
/fs/adfs/
Ddir.c24 struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir; in adfs_readdir()
78 struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir; in adfs_dir_update()
138 struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir; in adfs_dir_lookup_byname()
Dadfs.h47 struct adfs_dir_ops *s_dir; /* directory operations */ member
Dsuper.c471 asb->s_dir = &adfs_fplus_dir_ops; in adfs_fill_super()
474 asb->s_dir = &adfs_f_dir_ops; in adfs_fill_super()