Home
last modified time | relevance | path

Searched refs:s_depth (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/configfs/
H A Ddir.c89 * 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 Dconfigfs_internal.h44 int s_depth; member
H A Dinode.c138 int depth = sd->s_depth; in configfs_set_inode_lock_class()
/kernel/linux/linux-6.6/fs/configfs/
H A Ddir.c87 * 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 Dconfigfs_internal.h42 int s_depth; member
H A Dinode.c130 int depth = sd->s_depth; in configfs_set_inode_lock_class()

Completed in 5 milliseconds