Home
last modified time | relevance | path

Searched refs:parent_sd (Results 1 – 3 of 3) sorted by relevance

/fs/configfs/
Ddir.c93 static void configfs_set_dir_dirent_depth(struct configfs_dirent *parent_sd, in configfs_set_dir_dirent_depth() argument
96 int parent_depth = parent_sd->s_depth; in configfs_set_dir_dirent_depth()
136 static void configfs_set_dir_dirent_depth(struct configfs_dirent *parent_sd, in configfs_set_dir_dirent_depth() argument
182 static struct configfs_dirent *configfs_new_dirent(struct configfs_dirent *parent_sd, in configfs_new_dirent() argument
198 if (parent_sd->s_type & CONFIGFS_USET_DROPPING) { in configfs_new_dirent()
204 list_add(&sd->s_sibling, &parent_sd->s_children); in configfs_new_dirent()
217 static int configfs_dirent_exists(struct configfs_dirent *parent_sd, in configfs_dirent_exists() argument
222 list_for_each_entry(sd, &parent_sd->s_children, s_sibling) { in configfs_dirent_exists()
236 int configfs_make_dirent(struct configfs_dirent * parent_sd, in configfs_make_dirent() argument
242 sd = configfs_new_dirent(parent_sd, element, type, frag); in configfs_make_dirent()
[all …]
Dfile.c524 struct configfs_dirent *parent_sd = dir->d_fsdata; in configfs_create_file() local
529 error = configfs_make_dirent(parent_sd, NULL, (void *) attr, mode, in configfs_create_file()
530 CONFIGFS_ITEM_ATTR, parent_sd->s_frag); in configfs_create_file()
546 struct configfs_dirent *parent_sd = dir->d_fsdata; in configfs_create_bin_file() local
551 error = configfs_make_dirent(parent_sd, NULL, (void *) bin_attr, mode, in configfs_create_bin_file()
552 CONFIGFS_ITEM_BIN_ATTR, parent_sd->s_frag); in configfs_create_bin_file()
Dinode.c234 struct configfs_dirent * parent_sd = dir->d_fsdata; in configfs_hash_and_remove() local
241 list_for_each_entry(sd, &parent_sd->s_children, s_sibling) { in configfs_hash_and_remove()