Home
last modified time | relevance | path

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

/Linux-v6.6/fs/configfs/
Ddir.c99 static void configfs_set_dir_dirent_depth(struct configfs_dirent *parent_sd, in configfs_set_dir_dirent_depth() argument
102 int parent_depth = parent_sd->s_depth; in configfs_set_dir_dirent_depth()
142 static void configfs_set_dir_dirent_depth(struct configfs_dirent *parent_sd, in configfs_set_dir_dirent_depth() argument
188 static struct configfs_dirent *configfs_new_dirent(struct configfs_dirent *parent_sd, in configfs_new_dirent() argument
204 if (parent_sd->s_type & CONFIGFS_USET_DROPPING) { in configfs_new_dirent()
210 list_add(&sd->s_sibling, &parent_sd->s_children); in configfs_new_dirent()
223 static int configfs_dirent_exists(struct configfs_dirent *parent_sd, in configfs_dirent_exists() argument
228 list_for_each_entry(sd, &parent_sd->s_children, s_sibling) { in configfs_dirent_exists()
242 int configfs_make_dirent(struct configfs_dirent * parent_sd, in configfs_make_dirent() argument
248 sd = configfs_new_dirent(parent_sd, element, type, frag); in configfs_make_dirent()
[all …]
Dfile.c450 struct configfs_dirent *parent_sd = dir->d_fsdata; in configfs_create_file() local
455 error = configfs_make_dirent(parent_sd, NULL, (void *) attr, mode, in configfs_create_file()
456 CONFIGFS_ITEM_ATTR, parent_sd->s_frag); in configfs_create_file()
472 struct configfs_dirent *parent_sd = dir->d_fsdata; in configfs_create_bin_file() local
477 error = configfs_make_dirent(parent_sd, NULL, (void *) bin_attr, mode, in configfs_create_bin_file()
478 CONFIGFS_ITEM_BIN_ATTR, parent_sd->s_frag); in configfs_create_bin_file()
Dinode.c223 struct configfs_dirent * parent_sd = dir->d_fsdata; in configfs_hash_and_remove() local
230 list_for_each_entry(sd, &parent_sd->s_children, s_sibling) { in configfs_hash_and_remove()