Lines Matching refs:root
2 /* AFS dynamic root handling
42 * Create an inode for a dynamic root directory or an autocell dynamic
45 struct inode *afs_iget_pseudo_dir(struct super_block *sb, bool root)
56 if (root) {
82 if (root) {
96 if (!root) {
274 struct dentry *root, *subdir;
281 root = sb->s_root;
282 inode_lock(root->d_inode);
283 subdir = lookup_one_len(cell->name, root, cell->name_len);
293 inode_unlock(root->d_inode);
304 struct dentry *root, *subdir;
309 root = sb->s_root;
310 inode_lock(root->d_inode);
313 subdir = try_lookup_one_len(cell->name, root, cell->name_len);
328 inode_unlock(root->d_inode);
333 * Populate a newly created dynamic root with cell names.
361 * When a dynamic root that's in the process of being destroyed, depopulate it
367 struct dentry *root = sb->s_root, *subdir;
375 if (root) {
377 inode_lock(root->d_inode);
380 hlist_for_each_entry_safe(subdir, n, &root->d_children, d_sib) {
387 inode_unlock(root->d_inode);