Lines Matching defs: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) {
81 if (root) {
95 if (!root) {
261 * Dirs in the dynamic root don't need revalidation.
282 struct dentry *root, *subdir;
289 root = sb->s_root;
290 inode_lock(root->d_inode);
291 subdir = lookup_one_len(cell->name, root, cell->name_len);
301 inode_unlock(root->d_inode);
312 struct dentry *root, *subdir;
317 root = sb->s_root;
318 inode_lock(root->d_inode);
321 subdir = try_lookup_one_len(cell->name, root, cell->name_len);
336 inode_unlock(root->d_inode);
341 * Populate a newly created dynamic root with cell names.
369 * When a dynamic root that's in the process of being destroyed, depopulate it
375 struct dentry *root = sb->s_root, *subdir, *tmp;
383 if (root) {
384 inode_lock(root->d_inode);
387 list_for_each_entry_safe(subdir, tmp, &root->d_subdirs, d_child) {
394 inode_unlock(root->d_inode);