Home
last modified time | relevance | path

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

12345678910

/fs/adfs/
Ddir.c17 int adfs_dir_copyfrom(void *dst, struct adfs_dir *dir, unsigned int offset, in adfs_dir_copyfrom()
42 int adfs_dir_copyto(struct adfs_dir *dir, unsigned int offset, const void *src, in adfs_dir_copyto()
67 static void __adfs_dir_cleanup(struct adfs_dir *dir) in __adfs_dir_cleanup()
77 void adfs_dir_relse(struct adfs_dir *dir) in adfs_dir_relse()
87 static void adfs_dir_forget(struct adfs_dir *dir) in adfs_dir_forget()
98 unsigned int size, struct adfs_dir *dir) in adfs_dir_read_buffers()
147 unsigned int size, struct adfs_dir *dir) in adfs_dir_read()
157 struct adfs_dir *dir) in adfs_dir_read_inode()
176 static void adfs_dir_mark_dirty(struct adfs_dir *dir) in adfs_dir_mark_dirty()
185 static int adfs_dir_sync(struct adfs_dir *dir) in adfs_dir_sync()
[all …]
Ddir_f.c70 adfs_dir_checkbyte(const struct adfs_dir *dir) in adfs_dir_checkbyte()
124 static int adfs_f_validate(struct adfs_dir *dir) in adfs_f_validate()
142 struct adfs_dir *dir) in adfs_f_read()
175 adfs_dir2obj(struct adfs_dir *dir, struct object_info *obj, in adfs_dir2obj()
215 __adfs_dir_get(struct adfs_dir *dir, int pos, struct object_info *obj) in __adfs_dir_get()
233 adfs_f_setpos(struct adfs_dir *dir, unsigned int fpos) in adfs_f_setpos()
243 adfs_f_getnext(struct adfs_dir *dir, struct object_info *obj) in adfs_f_getnext()
254 static int adfs_f_iterate(struct adfs_dir *dir, struct dir_context *ctx) in adfs_f_iterate()
271 static int adfs_f_update(struct adfs_dir *dir, struct object_info *obj) in adfs_f_update()
298 static int adfs_f_commit(struct adfs_dir *dir) in adfs_f_commit()
Ddir_fplus.c70 static u8 adfs_fplus_checkbyte(struct adfs_dir *dir) in adfs_fplus_checkbyte()
104 unsigned int size, struct adfs_dir *dir) in adfs_fplus_read()
159 adfs_fplus_setpos(struct adfs_dir *dir, unsigned int fpos) in adfs_fplus_setpos()
172 adfs_fplus_getnext(struct adfs_dir *dir, struct object_info *obj) in adfs_fplus_getnext()
210 static int adfs_fplus_iterate(struct adfs_dir *dir, struct dir_context *ctx) in adfs_fplus_iterate()
230 static int adfs_fplus_update(struct adfs_dir *dir, struct object_info *obj) in adfs_fplus_update()
261 static int adfs_fplus_commit(struct adfs_dir *dir) in adfs_fplus_commit()
/fs/f2fs/
Ddir.c79 int f2fs_init_casefolded_name(const struct inode *dir, in f2fs_init_casefolded_name()
107 static int __f2fs_setup_filename(const struct inode *dir, in __f2fs_setup_filename()
140 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname, in f2fs_setup_filename()
159 int f2fs_prepare_lookup(struct inode *dir, struct dentry *dentry, in f2fs_prepare_lookup()
198 static struct f2fs_dir_entry *find_in_block(struct inode *dir, in find_in_block()
219 static int f2fs_match_ci_name(const struct inode *dir, const struct qstr *name, in f2fs_match_ci_name()
264 static inline int f2fs_match_name(const struct inode *dir, in f2fs_match_name()
333 static struct f2fs_dir_entry *find_in_level(struct inode *dir, in find_in_level()
389 struct f2fs_dir_entry *__f2fs_find_entry(struct inode *dir, in __f2fs_find_entry()
434 struct f2fs_dir_entry *f2fs_find_entry(struct inode *dir, in f2fs_find_entry()
[all …]
Dnamei.c25 static struct inode *f2fs_new_inode(struct inode *dir, umode_t mode) in f2fs_new_inode()
340 static int f2fs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in f2fs_create()
391 static int f2fs_link(struct dentry *old_dentry, struct inode *dir, in f2fs_link()
454 static int __recover_dot_dentries(struct inode *dir, nid_t pino) in __recover_dot_dentries()
504 static struct dentry *f2fs_lookup(struct inode *dir, struct dentry *dentry, in f2fs_lookup()
592 static int f2fs_unlink(struct inode *dir, struct dentry *dentry) in f2fs_unlink()
665 static int f2fs_symlink(struct inode *dir, struct dentry *dentry, in f2fs_symlink()
745 static int f2fs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in f2fs_mkdir()
790 static int f2fs_rmdir(struct inode *dir, struct dentry *dentry) in f2fs_rmdir()
799 static int f2fs_mknod(struct inode *dir, struct dentry *dentry, in f2fs_mknod()
[all …]
/fs/minix/
Dnamei.c22 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in minix_lookup()
36 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod()
54 static int minix_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in minix_tmpfile()
66 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create()
72 static int minix_symlink(struct inode * dir, struct dentry *dentry, in minix_symlink()
101 static int minix_link(struct dentry * old_dentry, struct inode * dir, in minix_link()
112 static int minix_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in minix_mkdir()
148 static int minix_unlink(struct inode * dir, struct dentry *dentry) in minix_unlink()
169 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
/fs/ufs/
Dnamei.c50 static struct dentry *ufs_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ufs_lookup()
72 static int ufs_create (struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create()
88 static int ufs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ufs_mknod()
107 static int ufs_symlink (struct inode * dir, struct dentry * dentry, in ufs_symlink()
148 static int ufs_link (struct dentry * old_dentry, struct inode * dir, in ufs_link()
167 static int ufs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ufs_mkdir()
205 static int ufs_unlink(struct inode *dir, struct dentry *dentry) in ufs_unlink()
227 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
Ddir.c48 struct inode *dir = mapping->host; in ufs_commit_chunk() local
70 ino_t ufs_inode_by_name(struct inode *dir, const struct qstr *qstr) in ufs_inode_by_name()
86 void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de, in ufs_set_link()
112 struct inode *dir = page->mapping->host; in ufs_check_page() local
189 static struct page *ufs_get_page(struct inode *dir, unsigned long n) in ufs_get_page()
229 struct ufs_dir_entry *ufs_dotdot(struct inode *dir, struct page **p) in ufs_dotdot()
250 struct ufs_dir_entry *ufs_find_entry(struct inode *dir, const struct qstr *qstr, in ufs_find_entry()
307 struct inode *dir = d_inode(dentry->d_parent); in ufs_add_link() local
495 int ufs_delete_entry(struct inode *inode, struct ufs_dir_entry *dir, in ufs_delete_entry()
543 int ufs_make_empty(struct inode * inode, struct inode *dir) in ufs_make_empty()
/fs/sysv/
Dnamei.c31 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) in sysv_lookup()
44 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod()
63 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in sysv_create()
68 static int sysv_symlink(struct inode * dir, struct dentry * dentry, in sysv_symlink()
99 static int sysv_link(struct dentry * old_dentry, struct inode * dir, in sysv_link()
111 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir()
148 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink()
169 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
Ddir.c40 struct inode *dir = mapping->host; in dir_commit_chunk() local
55 static struct page * dir_get_page(struct inode *dir, unsigned long n) in dir_get_page()
131 struct inode * dir = d_inode(dentry->d_parent); in sysv_find_entry() local
175 struct inode *dir = d_inode(dentry->d_parent); in sysv_add_link() local
248 int sysv_make_empty(struct inode *inode, struct inode *dir) in sysv_make_empty()
330 struct inode *dir = page->mapping->host; in sysv_set_link() local
345 struct sysv_dir_entry * sysv_dotdot (struct inode *dir, struct page **p) in sysv_dotdot()
/fs/ext2/
Dnamei.c56 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ext2_lookup()
103 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()
134 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod()
154 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink()
204 static int ext2_link (struct dentry * old_dentry, struct inode * dir, in ext2_link()
228 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir()
274 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink()
302 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
/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/ocfs2/
Ddir.c71 static int ocfs2_supports_dir_trailer(struct inode *dir) in ocfs2_supports_dir_trailer()
89 static int ocfs2_new_dir_wants_trailer(struct inode *dir) in ocfs2_new_dir_wants_trailer()
119 static int ocfs2_skip_dir_trailer(struct inode *dir, in ocfs2_skip_dir_trailer()
153 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer()
253 static void ocfs2_dx_dir_name_hash(struct inode *dir, const char *name, int len, in ocfs2_dx_dir_name_hash()
299 static int ocfs2_check_dir_entry(struct inode * dir, in ocfs2_check_dir_entry()
342 struct inode *dir, in ocfs2_search_dirblock()
393 struct inode *dir, in ocfs2_find_entry_id()
459 static int ocfs2_check_dir_trailer(struct inode *dir, struct buffer_head *bh) in ocfs2_check_dir_trailer()
535 static int ocfs2_read_dir_block_direct(struct inode *dir, u64 phys, in ocfs2_read_dir_block_direct()
[all …]
/fs/ubifs/
Ddir.c47 static int inherit_flags(const struct inode *dir, umode_t mode) in inherit_flags()
76 struct inode *ubifs_new_inode(struct ubifs_info *c, struct inode *dir, in ubifs_new_inode()
193 static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry, in ubifs_lookup()
274 static int ubifs_prepare_create(struct inode *dir, struct dentry *dentry, in ubifs_prepare_create()
283 static int ubifs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ubifs_create()
352 static int do_tmpfile(struct inode *dir, struct dentry *dentry, in do_tmpfile()
450 static int ubifs_tmpfile(struct inode *dir, struct dentry *dentry, in ubifs_tmpfile()
510 struct inode *dir = file_inode(file); in ubifs_readdir() local
662 static int ubifs_dir_release(struct inode *dir, struct file *file) in ubifs_dir_release()
695 static int ubifs_link(struct dentry *old_dentry, struct inode *dir, in ubifs_link()
[all …]
/fs/
Dbad_inode.c30 static int bad_inode_create (struct inode *dir, struct dentry *dentry, in bad_inode_create()
36 static struct dentry *bad_inode_lookup(struct inode *dir, in bad_inode_lookup()
42 static int bad_inode_link (struct dentry *old_dentry, struct inode *dir, in bad_inode_link()
48 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink()
53 static int bad_inode_symlink (struct inode *dir, struct dentry *dentry, in bad_inode_symlink()
59 static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry, in bad_inode_mkdir()
65 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir()
70 static int bad_inode_mknod (struct inode *dir, struct dentry *dentry, in bad_inode_mknod()
/fs/nilfs2/
Dnamei.c54 nilfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in nilfs_lookup()
75 static int nilfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in nilfs_create()
103 nilfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in nilfs_mknod()
127 static int nilfs_symlink(struct inode *dir, struct dentry *dentry, in nilfs_symlink()
176 static int nilfs_link(struct dentry *old_dentry, struct inode *dir, in nilfs_link()
204 static int nilfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in nilfs_mkdir()
257 static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) in nilfs_do_unlink()
291 static int nilfs_unlink(struct inode *dir, struct dentry *dentry) in nilfs_unlink()
312 static int nilfs_rmdir(struct inode *dir, struct dentry *dentry) in nilfs_rmdir()
/fs/cachefiles/
Dnamei.c289 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
755 struct dentry *dir, in cachefiles_get_directory()
864 struct dentry *dir, in cachefiles_check_active()
950 int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, in cachefiles_cull()
1010 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()
125 static struct dentry *bfs_lookup(struct inode *dir, struct dentry *dentry, in bfs_lookup()
147 static int bfs_link(struct dentry *old, struct inode *dir, in bfs_link()
169 static int bfs_unlink(struct inode *dir, struct dentry *dentry) in bfs_unlink()
267 static int bfs_add_entry(struct inode *dir, const struct qstr *child, int ino) in bfs_add_entry()
321 static struct buffer_head *bfs_find_entry(struct inode *dir, in bfs_find_entry()
/fs/nfs/
Ddir.c71 static struct nfs_open_dir_context *alloc_nfs_open_dir_context(struct inode *dir, const struct cred… in alloc_nfs_open_dir_context()
94 static void put_nfs_open_dir_context(struct inode *dir, struct nfs_open_dir_context *ctx) in put_nfs_open_dir_context()
437 bool nfs_use_readdirplus(struct inode *dir, struct dir_context *ctx) in nfs_use_readdirplus()
453 void nfs_advise_use_readdirplus(struct inode *dir) in nfs_advise_use_readdirplus()
470 void nfs_force_use_readdirplus(struct inode *dir) in nfs_force_use_readdirplus()
1019 void nfs_force_lookup_revalidate(struct inode *dir) in nfs_force_lookup_revalidate()
1034 static bool nfs_verify_change_attribute(struct inode *dir, unsigned long verf) in nfs_verify_change_attribute()
1064 struct inode *dir = d_inode(dentry->d_parent); in nfs_set_verifier_locked() local
1126 static int nfs_check_verifier(struct inode *dir, struct dentry *dentry, in nfs_check_verifier()
1151 static int nfs_is_exclusive_create(struct inode *dir, unsigned int flags) in nfs_is_exclusive_create()
[all …]
/fs/udf/
Dnamei.c163 static struct fileIdentDesc *udf_find_entry(struct inode *dir, in udf_find_entry()
299 static struct dentry *udf_lookup(struct inode *dir, struct dentry *dentry, in udf_lookup()
330 static struct fileIdentDesc *udf_add_entry(struct inode *dir, in udf_add_entry()
584 struct inode *dir = d_inode(dentry->d_parent); in udf_add_nondir() local
610 static int udf_create(struct inode *dir, struct dentry *dentry, umode_t mode, in udf_create()
629 static int udf_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in udf_tmpfile()
648 static int udf_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in udf_mknod()
664 static int udf_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in udf_mkdir()
723 static int empty_dir(struct inode *dir) in empty_dir()
792 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()
358 static int hfsplus_unlink(struct inode *dir, struct dentry *dentry) in hfsplus_unlink()
415 static int hfsplus_rmdir(struct inode *dir, struct dentry *dentry) in hfsplus_rmdir()
437 static int hfsplus_symlink(struct inode *dir, struct dentry *dentry, in hfsplus_symlink()
479 static int hfsplus_mknod(struct inode *dir, struct dentry *dentry, in hfsplus_mknod()
520 static int hfsplus_create(struct inode *dir, struct dentry *dentry, umode_t mode, in hfsplus_create()
526 static int hfsplus_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in hfsplus_mkdir()
/fs/orangefs/
Dnamei.c18 static int orangefs_create(struct inode *dir, in orangefs_create()
104 static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry, in orangefs_lookup()
172 static int orangefs_unlink(struct inode *dir, struct dentry *dentry) in orangefs_unlink()
218 static int orangefs_symlink(struct inode *dir, in orangefs_symlink()
306 static int orangefs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in orangefs_mkdir()
/fs/coda/
Ddir.c41 static struct dentry *coda_lookup(struct inode *dir, struct dentry *entry, unsigned int flags) in coda_lookup()
103 static inline void coda_dir_update_mtime(struct inode *dir) in coda_dir_update_mtime()
122 static inline void coda_dir_inc_nlink(struct inode *dir) in coda_dir_inc_nlink()
128 static inline void coda_dir_drop_nlink(struct inode *dir) in coda_dir_drop_nlink()
135 static int coda_create(struct inode *dir, struct dentry *de, umode_t mode, bool excl) in coda_create()
167 static int coda_mkdir(struct inode *dir, struct dentry *de, umode_t mode) in coda_mkdir()
259 static int coda_unlink(struct inode *dir, struct dentry *de) in coda_unlink()
274 static int coda_rmdir(struct inode *dir, struct dentry *de) in coda_rmdir()
/fs/ext4/
Dnamei.c606 static inline unsigned dx_root_limit(struct inode *dir, unsigned infosize) in dx_root_limit()
617 static inline unsigned dx_node_limit(struct inode *dir) in dx_node_limit()
650 static struct stats dx_show_leaf(struct inode *dir, in dx_show_leaf()
737 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, in dx_show_entries()
782 dx_probe(struct ext4_filename *fname, struct inode *dir, in dx_probe()
986 static int ext4_htree_next_block(struct inode *dir, __u32 hash, in ext4_htree_next_block()
1050 struct inode *dir, ext4_lblk_t block, in htree_dirblock_to_tree()
1163 struct inode *dir; in ext4_htree_fill_tree() local
1269 struct inode *dir, in search_dirblock()
1286 static int dx_make_map(struct inode *dir, struct buffer_head *bh, in dx_make_map()
[all …]
/fs/xfs/
Dxfs_iops.c78 struct inode *dir, in xfs_init_security()
113 struct inode *dir, in xfs_cleanup_inode()
131 struct inode *dir, in xfs_generic_create()
225 struct inode *dir, in xfs_vn_mknod()
235 struct inode *dir, in xfs_vn_create()
245 struct inode *dir, in xfs_vn_mkdir()
254 struct inode *dir, in xfs_vn_lookup()
279 struct inode *dir, in xfs_vn_ci_lookup()
320 struct inode *dir, in xfs_vn_link()
342 struct inode *dir, in xfs_vn_unlink()
[all …]

12345678910