Lines Matching defs:subdir
282 struct dentry *root, *subdir;
291 subdir = lookup_one_len(cell->name, root, cell->name_len);
292 if (IS_ERR(subdir)) {
293 ret = PTR_ERR(subdir);
298 subdir->d_fsdata = (void *)1UL;
312 struct dentry *root, *subdir;
321 subdir = try_lookup_one_len(cell->name, root, cell->name_len);
322 if (IS_ERR_OR_NULL(subdir)) {
323 _debug("lookup %ld", PTR_ERR(subdir));
327 _debug("rmdir %pd %u", subdir, d_count(subdir));
329 if (subdir->d_fsdata) {
330 _debug("unpin %u", d_count(subdir));
331 subdir->d_fsdata = NULL;
332 dput(subdir);
334 dput(subdir);
375 struct dentry *root = sb->s_root, *subdir, *tmp;
387 list_for_each_entry_safe(subdir, tmp, &root->d_subdirs, d_child) {
388 if (subdir->d_fsdata) {
389 subdir->d_fsdata = NULL;
390 dput(subdir);