Lines Matching defs:subdir
283 struct dentry *root, *subdir;
292 subdir = lookup_one_len(cell->name, root, cell->name_len);
293 if (IS_ERR(subdir)) {
294 ret = PTR_ERR(subdir);
299 subdir->d_fsdata = (void *)1UL;
313 struct dentry *root, *subdir;
322 subdir = try_lookup_one_len(cell->name, root, cell->name_len);
323 if (IS_ERR_OR_NULL(subdir)) {
324 _debug("lookup %ld", PTR_ERR(subdir));
328 _debug("rmdir %pd %u", subdir, d_count(subdir));
330 if (subdir->d_fsdata) {
331 _debug("unpin %u", d_count(subdir));
332 subdir->d_fsdata = NULL;
333 dput(subdir);
335 dput(subdir);
376 struct dentry *root = sb->s_root, *subdir, *tmp;
388 list_for_each_entry_safe(subdir, tmp, &root->d_subdirs, d_child) {
389 if (subdir->d_fsdata) {
390 subdir->d_fsdata = NULL;
391 dput(subdir);