Lines Matching refs:subdir
992 struct ctl_dir *subdir, *new = NULL; in get_subdir() local
996 subdir = find_subdir(dir, name, namelen); in get_subdir()
997 if (!IS_ERR(subdir)) in get_subdir()
999 if (PTR_ERR(subdir) != -ENOENT) in get_subdir()
1005 subdir = ERR_PTR(-ENOMEM); in get_subdir()
1010 subdir = find_subdir(dir, name, namelen); in get_subdir()
1011 if (!IS_ERR(subdir)) in get_subdir()
1013 if (PTR_ERR(subdir) != -ENOENT) in get_subdir()
1018 subdir = ERR_PTR(err); in get_subdir()
1021 subdir = new; in get_subdir()
1023 subdir->header.nreg++; in get_subdir()
1025 if (IS_ERR(subdir)) { in get_subdir()
1029 namelen, namelen, name, PTR_ERR(subdir)); in get_subdir()
1035 return subdir; in get_subdir()