Home
last modified time | relevance | path

Searched defs:dir (Results 1 – 25 of 220) sorted by relevance

123456789

/fs/adfs/
Ddir_f.c85 adfs_dir_checkbyte(const struct adfs_dir *dir) in adfs_dir_checkbyte()
144 unsigned int size, struct adfs_dir *dir) in adfs_dir_read()
210 adfs_dir2obj(struct adfs_dir *dir, struct object_info *obj, in adfs_dir2obj()
256 __adfs_dir_get(struct adfs_dir *dir, int pos, struct object_info *obj) in __adfs_dir_get()
286 __adfs_dir_put(struct adfs_dir *dir, int pos, struct object_info *obj) in __adfs_dir_put()
331 adfs_dir_find_entry(struct adfs_dir *dir, unsigned long object_id) in adfs_dir_find_entry()
353 adfs_f_read(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir) in adfs_f_read()
370 adfs_f_setpos(struct adfs_dir *dir, unsigned int fpos) in adfs_f_setpos()
380 adfs_f_getnext(struct adfs_dir *dir, struct object_info *obj) in adfs_f_getnext()
392 adfs_f_update(struct adfs_dir *dir, struct object_info *obj) in adfs_f_update()
[all …]
Ddir_fplus.c16 adfs_fplus_read(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir) in adfs_fplus_read()
123 adfs_fplus_setpos(struct adfs_dir *dir, unsigned int fpos) in adfs_fplus_setpos()
138 dir_memcpy(struct adfs_dir *dir, unsigned int offset, void *to, int len) in dir_memcpy()
166 adfs_fplus_getnext(struct adfs_dir *dir, struct object_info *obj) in adfs_fplus_getnext()
225 adfs_fplus_sync(struct adfs_dir *dir) in adfs_fplus_sync()
241 adfs_fplus_free(struct adfs_dir *dir) in adfs_fplus_free()
/fs/logfs/
Ddir.c66 static int write_dir(struct inode *dir, struct logfs_disk_dentry *dd, in write_dir()
157 static struct page *logfs_get_dd_page(struct inode *dir, struct dentry *dentry) in logfs_get_dd_page()
213 static int logfs_unlink(struct inode *dir, struct dentry *dentry) in logfs_unlink()
264 static inline int logfs_empty_dir(struct inode *dir) in logfs_empty_dir()
272 static int logfs_rmdir(struct inode *dir, struct dentry *dentry) in logfs_rmdir()
286 struct inode *dir = file_inode(file); in logfs_readdir() local
332 static struct dentry *logfs_lookup(struct inode *dir, struct dentry *dentry, in logfs_lookup()
361 static void grow_dir(struct inode *dir, loff_t index) in grow_dir()
368 static int logfs_write_dir(struct inode *dir, struct dentry *dentry, in logfs_write_dir()
407 static int __logfs_create(struct inode *dir, struct dentry *dentry, in __logfs_create()
[all …]
/fs/minix/
Dnamei.c21 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in minix_lookup()
39 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod()
57 static int minix_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in minix_tmpfile()
69 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create()
75 static int minix_symlink(struct inode * dir, struct dentry *dentry, in minix_symlink()
104 static int minix_link(struct dentry * old_dentry, struct inode * dir, in minix_link()
115 static int minix_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in minix_mkdir()
151 static int minix_unlink(struct inode * dir, struct dentry *dentry) in minix_unlink()
172 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
/fs/ext2/
Dnamei.c57 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ext2_lookup()
96 static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in ext2_create()
121 static int ext2_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext2_tmpfile()
141 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod()
163 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink()
214 static int ext2_link (struct dentry * old_dentry, struct inode * dir, in ext2_link()
238 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir()
286 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink()
314 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
/fs/ufs/
Dnamei.c51 static struct dentry *ufs_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ufs_lookup()
73 static int ufs_create (struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create()
89 static int ufs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ufs_mknod()
108 static int ufs_symlink (struct inode * dir, struct dentry * dentry, in ufs_symlink()
150 static int ufs_link (struct dentry * old_dentry, struct inode * dir, in ufs_link()
169 static int ufs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ufs_mkdir()
209 static int ufs_unlink(struct inode *dir, struct dentry *dentry) in ufs_unlink()
231 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
Ddir.c46 struct inode *dir = mapping->host; in ufs_commit_chunk() local
68 ino_t ufs_inode_by_name(struct inode *dir, const struct qstr *qstr) in ufs_inode_by_name()
84 void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de, in ufs_set_link()
110 struct inode *dir = page->mapping->host; in ufs_check_page() local
187 static struct page *ufs_get_page(struct inode *dir, unsigned long n) in ufs_get_page()
227 struct ufs_dir_entry *ufs_dotdot(struct inode *dir, struct page **p) in ufs_dotdot()
248 struct ufs_dir_entry *ufs_find_entry(struct inode *dir, const struct qstr *qstr, in ufs_find_entry()
305 struct inode *dir = d_inode(dentry->d_parent); in ufs_add_link() local
493 int ufs_delete_entry(struct inode *inode, struct ufs_dir_entry *dir, in ufs_delete_entry()
541 int ufs_make_empty(struct inode * inode, struct inode *dir) in ufs_make_empty()
/fs/omfs/
Ddir.c24 static struct buffer_head *omfs_get_bucket(struct inode *dir, in omfs_get_bucket()
34 static struct buffer_head *omfs_scan_list(struct inode *dir, u64 block, in omfs_scan_list()
67 static struct buffer_head *omfs_find_entry(struct inode *dir, in omfs_find_entry()
113 struct inode *dir = d_inode(dentry->d_parent); in omfs_add_link() local
158 struct inode *dir = d_inode(dentry->d_parent); in omfs_delete_entry() local
238 static int omfs_remove(struct inode *dir, struct dentry *dentry) in omfs_remove()
258 static int omfs_add_node(struct inode *dir, struct dentry *dentry, umode_t mode) in omfs_add_node()
282 static int omfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in omfs_mkdir()
287 static int omfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in omfs_create()
293 static struct dentry *omfs_lookup(struct inode *dir, struct dentry *dentry, in omfs_lookup()
[all …]
/fs/exofs/
Dnamei.c48 static struct dentry *exofs_lookup(struct inode *dir, struct dentry *dentry, in exofs_lookup()
62 static int exofs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in exofs_create()
77 static int exofs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in exofs_mknod()
93 static int exofs_symlink(struct inode *dir, struct dentry *dentry, in exofs_symlink()
140 static int exofs_link(struct dentry *old_dentry, struct inode *dir, in exofs_link()
152 static int exofs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in exofs_mkdir()
191 static int exofs_unlink(struct inode *dir, struct dentry *dentry) in exofs_unlink()
213 static int exofs_rmdir(struct inode *dir, struct dentry *dentry) in exofs_rmdir()
/fs/sysv/
Dnamei.c45 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) in sysv_lookup()
63 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod()
82 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in sysv_create()
87 static int sysv_symlink(struct inode * dir, struct dentry * dentry, in sysv_symlink()
118 static int sysv_link(struct dentry * old_dentry, struct inode * dir, in sysv_link()
130 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir()
167 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink()
188 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
/fs/overlayfs/
Doverlayfs.h32 static inline int ovl_do_rmdir(struct inode *dir, struct dentry *dentry) in ovl_do_rmdir()
39 static inline int ovl_do_unlink(struct inode *dir, struct dentry *dentry) in ovl_do_unlink()
46 static inline int ovl_do_link(struct dentry *old_dentry, struct inode *dir, in ovl_do_link()
57 static inline int ovl_do_create(struct inode *dir, struct dentry *dentry, in ovl_do_create()
66 static inline int ovl_do_mkdir(struct inode *dir, struct dentry *dentry, in ovl_do_mkdir()
75 static inline int ovl_do_mknod(struct inode *dir, struct dentry *dentry, in ovl_do_mknod()
86 static inline int ovl_do_symlink(struct inode *dir, struct dentry *dentry, in ovl_do_symlink()
129 static inline int ovl_do_whiteout(struct inode *dir, struct dentry *dentry) in ovl_do_whiteout()
/fs/ubifs/
Ddir.c59 static int inherit_flags(const struct inode *dir, umode_t mode) in inherit_flags()
88 struct inode *ubifs_new_inode(struct ubifs_info *c, const struct inode *dir, in ubifs_new_inode()
184 static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry, in ubifs_lookup()
245 static int ubifs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ubifs_create()
304 static int do_tmpfile(struct inode *dir, struct dentry *dentry, in do_tmpfile()
387 static int ubifs_tmpfile(struct inode *dir, struct dentry *dentry, in ubifs_tmpfile()
446 struct inode *dir = file_inode(file); in ubifs_readdir() local
561 static int ubifs_dir_release(struct inode *dir, struct file *file) in ubifs_dir_release()
594 static int ubifs_link(struct dentry *old_dentry, struct inode *dir, in ubifs_link()
657 static int ubifs_unlink(struct inode *dir, struct dentry *dentry) in ubifs_unlink()
[all …]
/fs/ocfs2/
Ddir.c88 static int ocfs2_supports_dir_trailer(struct inode *dir) in ocfs2_supports_dir_trailer()
106 static int ocfs2_new_dir_wants_trailer(struct inode *dir) in ocfs2_new_dir_wants_trailer()
136 static int ocfs2_skip_dir_trailer(struct inode *dir, in ocfs2_skip_dir_trailer()
170 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer()
270 static void ocfs2_dx_dir_name_hash(struct inode *dir, const char *name, int len, in ocfs2_dx_dir_name_hash()
316 static int ocfs2_check_dir_entry(struct inode * dir, in ocfs2_check_dir_entry()
359 struct inode *dir, in ocfs2_search_dirblock()
410 struct inode *dir, in ocfs2_find_entry_id()
476 static int ocfs2_check_dir_trailer(struct inode *dir, struct buffer_head *bh) in ocfs2_check_dir_trailer()
552 static int ocfs2_read_dir_block_direct(struct inode *dir, u64 phys, in ocfs2_read_dir_block_direct()
[all …]
/fs/f2fs/
Ddir.c150 static struct f2fs_dir_entry *find_in_level(struct inode *dir, in find_in_level()
203 struct f2fs_dir_entry *__f2fs_find_entry(struct inode *dir, in __f2fs_find_entry()
250 struct f2fs_dir_entry *f2fs_find_entry(struct inode *dir, in f2fs_find_entry()
272 struct f2fs_dir_entry *f2fs_parent_dir(struct inode *dir, struct page **p) in f2fs_parent_dir()
279 ino_t f2fs_inode_by_name(struct inode *dir, const struct qstr *qstr, in f2fs_inode_by_name()
294 void f2fs_set_link(struct inode *dir, struct f2fs_dir_entry *de, in f2fs_set_link()
359 struct page *init_inode_metadata(struct inode *inode, struct inode *dir, in init_inode_metadata()
433 void update_parent_metadata(struct inode *dir, struct inode *inode, in update_parent_metadata()
493 int f2fs_add_regular_entry(struct inode *dir, const struct qstr *new_name, in f2fs_add_regular_entry()
589 int __f2fs_do_add_link(struct inode *dir, struct fscrypt_name *fname, in __f2fs_do_add_link()
[all …]
Dnamei.c26 static struct inode *f2fs_new_inode(struct inode *dir, umode_t mode) in f2fs_new_inode()
262 static int f2fs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in f2fs_create()
310 static int f2fs_link(struct dentry *old_dentry, struct inode *dir, in f2fs_link()
370 static int __recover_dot_dentries(struct inode *dir, nid_t pino) in __recover_dot_dentries()
421 static struct dentry *f2fs_lookup(struct inode *dir, struct dentry *dentry, in f2fs_lookup()
494 static int f2fs_unlink(struct inode *dir, struct dentry *dentry) in f2fs_unlink()
554 static int f2fs_symlink(struct inode *dir, struct dentry *dentry, in f2fs_symlink()
633 static int f2fs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in f2fs_mkdir()
679 static int f2fs_rmdir(struct inode *dir, struct dentry *dentry) in f2fs_rmdir()
687 static int f2fs_mknod(struct inode *dir, struct dentry *dentry, in f2fs_mknod()
[all …]
/fs/
Dbad_inode.c28 static int bad_inode_create (struct inode *dir, struct dentry *dentry, in bad_inode_create()
34 static struct dentry *bad_inode_lookup(struct inode *dir, in bad_inode_lookup()
40 static int bad_inode_link (struct dentry *old_dentry, struct inode *dir, in bad_inode_link()
46 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink()
51 static int bad_inode_symlink (struct inode *dir, struct dentry *dentry, in bad_inode_symlink()
57 static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry, in bad_inode_mkdir()
63 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir()
68 static int bad_inode_mknod (struct inode *dir, struct dentry *dentry, in bad_inode_mknod()
/fs/nilfs2/
Dnamei.c64 nilfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in nilfs_lookup()
85 static int nilfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in nilfs_create()
113 nilfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in nilfs_mknod()
137 static int nilfs_symlink(struct inode *dir, struct dentry *dentry, in nilfs_symlink()
186 static int nilfs_link(struct dentry *old_dentry, struct inode *dir, in nilfs_link()
214 static int nilfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in nilfs_mkdir()
268 static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) in nilfs_do_unlink()
302 static int nilfs_unlink(struct inode *dir, struct dentry *dentry) in nilfs_unlink()
323 static int nilfs_rmdir(struct inode *dir, struct dentry *dentry) in nilfs_rmdir()
/fs/nfs/
Dproc.c148 nfs_proc_lookup(struct inode *dir, const struct qstr *name, in nfs_proc_lookup()
203 static struct nfs_createdata *nfs_alloc_createdata(struct inode *dir, in nfs_alloc_createdata()
229 nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_create()
258 nfs_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_mknod()
302 nfs_proc_remove(struct inode *dir, const struct qstr *name) in nfs_proc_remove()
323 nfs_proc_unlink_setup(struct rpc_message *msg, struct inode *dir) in nfs_proc_unlink_setup()
333 static int nfs_proc_unlink_done(struct rpc_task *task, struct inode *dir) in nfs_proc_unlink_done()
340 nfs_proc_rename_setup(struct rpc_message *msg, struct inode *dir) in nfs_proc_rename_setup()
360 nfs_proc_link(struct inode *inode, struct inode *dir, const struct qstr *name) in nfs_proc_link()
383 nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page, in nfs_proc_symlink()
[all …]
/fs/cachefiles/
Dnamei.c291 struct dentry *dir, in cachefiles_bury_object()
438 struct dentry *dir; in cachefiles_delete_object() local
488 struct dentry *dir, *next = NULL; in cachefiles_walk_to_object() local
741 struct dentry *dir, in cachefiles_get_directory()
845 struct dentry *dir, in cachefiles_check_active()
931 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull()
991 int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_check_in_use()
/fs/bfs/
Ddir.c31 struct inode *dir = file_inode(f); in bfs_readdir() local
78 static int bfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in bfs_create()
126 static struct dentry *bfs_lookup(struct inode *dir, struct dentry *dentry, in bfs_lookup()
153 static int bfs_link(struct dentry *old, struct inode *dir, in bfs_link()
176 static int bfs_unlink(struct inode *dir, struct dentry *dentry) in bfs_unlink()
280 static int bfs_add_entry(struct inode *dir, const unsigned char *name, in bfs_add_entry()
333 static struct buffer_head *bfs_find_entry(struct inode *dir, in bfs_find_entry()
/fs/orangefs/
Dnamei.c17 static int orangefs_create(struct inode *dir, in orangefs_create()
101 static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry, in orangefs_lookup()
217 static int orangefs_unlink(struct inode *dir, struct dentry *dentry) in orangefs_unlink()
261 static int orangefs_symlink(struct inode *dir, in orangefs_symlink()
340 static int orangefs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in orangefs_mkdir()
/fs/affs/
Dnamei.c188 affs_find_entry(struct inode *dir, struct dentry *dentry) in affs_find_entry()
217 affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in affs_lookup()
251 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink()
260 affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in affs_create()
291 affs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in affs_mkdir()
320 affs_rmdir(struct inode *dir, struct dentry *dentry) in affs_rmdir()
329 affs_symlink(struct inode *dir, struct dentry *dentry, const char *symname) in affs_symlink()
405 affs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) in affs_link()
/fs/afs/
Ddir.c132 static inline bool afs_dir_check_page(struct inode *dir, struct page *page) in afs_dir_check_page()
191 static struct page *afs_dir_get_page(struct inode *dir, unsigned long index, in afs_dir_get_page()
322 static int afs_dir_iterate(struct inode *dir, struct dir_context *ctx, in afs_dir_iterate()
427 static int afs_do_lookup(struct inode *dir, struct dentry *dentry, in afs_do_lookup()
463 int ret, struct dentry *dentry, struct inode *dir, struct key *key, in afs_try_auto_mntpt()
495 static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry, in afs_lookup()
580 struct afs_vnode *vnode, *dir; in afs_d_revalidate() local
731 static int afs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in afs_mkdir()
797 static int afs_rmdir(struct inode *dir, struct dentry *dentry) in afs_rmdir()
839 static int afs_unlink(struct inode *dir, struct dentry *dentry) in afs_unlink()
[all …]
/fs/udf/
Dnamei.c160 static struct fileIdentDesc *udf_find_entry(struct inode *dir, in udf_find_entry()
295 static struct dentry *udf_lookup(struct inode *dir, struct dentry *dentry, in udf_lookup()
341 static struct fileIdentDesc *udf_add_entry(struct inode *dir, in udf_add_entry()
602 struct inode *dir = d_inode(dentry->d_parent); in udf_add_nondir() local
630 static int udf_create(struct inode *dir, struct dentry *dentry, umode_t mode, in udf_create()
649 static int udf_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in udf_tmpfile()
668 static int udf_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in udf_mknod()
684 static int udf_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in udf_mkdir()
746 static int empty_dir(struct inode *dir) in empty_dir()
815 static int udf_rmdir(struct inode *dir, struct dentry *dentry) in udf_rmdir()
[all …]
/fs/hfsplus/
Ddir.c30 static struct dentry *hfsplus_lookup(struct inode *dir, struct dentry *dentry, in hfsplus_lookup()
359 static int hfsplus_unlink(struct inode *dir, struct dentry *dentry) in hfsplus_unlink()
416 static int hfsplus_rmdir(struct inode *dir, struct dentry *dentry) in hfsplus_rmdir()
438 static int hfsplus_symlink(struct inode *dir, struct dentry *dentry, in hfsplus_symlink()
480 static int hfsplus_mknod(struct inode *dir, struct dentry *dentry, in hfsplus_mknod()
521 static int hfsplus_create(struct inode *dir, struct dentry *dentry, umode_t mode, in hfsplus_create()
527 static int hfsplus_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in hfsplus_mkdir()

123456789