Searched refs:s_depth (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/fs/configfs/ |
H A D | dir.c | 89 * s_depth value. 90 * The s_depth value is initialized to -1, adjusted to >= 0 when attaching 92 * attachment, if configfs_create() sees s_depth > 0, the lock class of the new 93 * inode's mutex is set to default_group_class[s_depth - 1]. 98 sd->s_depth = -1; in configfs_init_dirent_depth() 104 int parent_depth = parent_sd->s_depth; in configfs_set_dir_dirent_depth() 107 sd->s_depth = parent_depth + 1; in configfs_set_dir_dirent_depth() 114 * item's i_mutex class is already setup, so s_depth is now only in configfs_adjust_dir_dirent_depth_before_populate() 115 * used to set new sub-directories s_depth, which is always done in configfs_adjust_dir_dirent_depth_before_populate() 119 * sd->s_depth in configfs_adjust_dir_dirent_depth_before_populate() [all...] |
H A D | configfs_internal.h | 44 int s_depth; member
|
H A D | inode.c | 138 int depth = sd->s_depth; in configfs_set_inode_lock_class()
|
/kernel/linux/linux-6.6/fs/configfs/ |
H A D | dir.c | 87 * s_depth value. 88 * The s_depth value is initialized to -1, adjusted to >= 0 when attaching 90 * attachment, if configfs_create() sees s_depth > 0, the lock class of the new 91 * inode's mutex is set to default_group_class[s_depth - 1]. 96 sd->s_depth = -1; in configfs_init_dirent_depth() 102 int parent_depth = parent_sd->s_depth; in configfs_set_dir_dirent_depth() 105 sd->s_depth = parent_depth + 1; in configfs_set_dir_dirent_depth() 112 * item's i_mutex class is already setup, so s_depth is now only in configfs_adjust_dir_dirent_depth_before_populate() 113 * used to set new sub-directories s_depth, which is always done in configfs_adjust_dir_dirent_depth_before_populate() 117 * sd->s_depth in configfs_adjust_dir_dirent_depth_before_populate() [all...] |
H A D | configfs_internal.h | 42 int s_depth; member
|
H A D | inode.c | 130 int depth = sd->s_depth; in configfs_set_inode_lock_class()
|
Completed in 5 milliseconds