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) {
82 if (root) {
96 if (!root) {
262 * Dirs in the dynamic root don't need revalidation.
283 struct dentry *root, *subdir;
290 root = sb->s_root;
291 inode_lock(root->d_inode);
292 subdir = lookup_one_len(cell->name, root, cell->name_len);
302 inode_unlock(root->d_inode);
313 struct dentry *root, *subdir;
318 root = sb->s_root;
319 inode_lock(root->d_inode);
322 subdir = try_lookup_one_len(cell->name, root, cell->name_len);
337 inode_unlock(root->d_inode);
342 * Populate a newly created dynamic root with cell names.
370 * When a dynamic root that's in the process of being destroyed, depopulate it
376 struct dentry *root = sb->s_root, *subdir, *tmp;
384 if (root) {
385 inode_lock(root->d_inode);
388 list_for_each_entry_safe(subdir, tmp, &root->d_subdirs, d_child) {
395 inode_unlock(root->d_inode);