/fs/adfs/ |
D | dir.c | 17 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 …]
|
D | dir_f.c | 70 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()
|
D | dir_fplus.c | 70 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/ |
D | dir.c | 46 int f2fs_init_casefolded_name(const struct inode *dir, in f2fs_init_casefolded_name() 74 static int __f2fs_setup_filename(const struct inode *dir, in __f2fs_setup_filename() 107 int f2fs_setup_filename(struct inode *dir, const struct qstr *iname, in f2fs_setup_filename() 126 int f2fs_prepare_lookup(struct inode *dir, struct dentry *dentry, in f2fs_prepare_lookup() 165 static struct f2fs_dir_entry *find_in_block(struct inode *dir, in find_in_block() 186 static int f2fs_match_ci_name(const struct inode *dir, const struct qstr *name, in f2fs_match_ci_name() 231 static inline int f2fs_match_name(const struct inode *dir, in f2fs_match_name() 300 static struct f2fs_dir_entry *find_in_level(struct inode *dir, in find_in_level() 360 struct f2fs_dir_entry *__f2fs_find_entry(struct inode *dir, in __f2fs_find_entry() 405 struct f2fs_dir_entry *f2fs_find_entry(struct inode *dir, in f2fs_find_entry() [all …]
|
D | namei.c | 139 static void set_compress_new_inode(struct f2fs_sb_info *sbi, struct inode *dir, in set_compress_new_inode() 220 struct inode *dir, umode_t mode, in f2fs_new_inode() 352 static int f2fs_create(struct mnt_idmap *idmap, struct inode *dir, in f2fs_create() 398 static int f2fs_link(struct dentry *old_dentry, struct inode *dir, in f2fs_link() 460 static int __recover_dot_dentries(struct inode *dir, nid_t pino) in __recover_dot_dentries() 516 static struct dentry *f2fs_lookup(struct inode *dir, struct dentry *dentry, in f2fs_lookup() 604 static int f2fs_unlink(struct inode *dir, struct dentry *dentry) in f2fs_unlink() 677 static int f2fs_symlink(struct mnt_idmap *idmap, struct inode *dir, in f2fs_symlink() 757 static int f2fs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in f2fs_mkdir() 803 static int f2fs_rmdir(struct inode *dir, struct dentry *dentry) in f2fs_rmdir() [all …]
|
/fs/minix/ |
D | namei.c | 22 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in minix_lookup() 36 static int minix_mknod(struct mnt_idmap *idmap, struct inode *dir, in minix_mknod() 53 static int minix_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in minix_tmpfile() 66 static int minix_create(struct mnt_idmap *idmap, struct inode *dir, in minix_create() 72 static int minix_symlink(struct mnt_idmap *idmap, struct inode *dir, in minix_symlink() 96 static int minix_link(struct dentry * old_dentry, struct inode * dir, in minix_link() 107 static int minix_mkdir(struct mnt_idmap *idmap, struct inode *dir, in minix_mkdir() 141 static int minix_unlink(struct inode * dir, struct dentry *dentry) in minix_unlink() 162 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
|
/fs/omfs/ |
D | dir.c | 24 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 mnt_idmap *idmap, struct inode *dir, in omfs_mkdir() 288 static int omfs_create(struct mnt_idmap *idmap, struct inode *dir, in omfs_create() 294 static struct dentry *omfs_lookup(struct inode *dir, struct dentry *dentry, in omfs_lookup() [all …]
|
/fs/sysv/ |
D | namei.c | 31 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) in sysv_lookup() 44 static int sysv_mknod(struct mnt_idmap *idmap, struct inode *dir, in sysv_mknod() 64 static int sysv_create(struct mnt_idmap *idmap, struct inode *dir, in sysv_create() 70 static int sysv_symlink(struct mnt_idmap *idmap, struct inode *dir, in sysv_symlink() 101 static int sysv_link(struct dentry * old_dentry, struct inode * dir, in sysv_link() 113 static int sysv_mkdir(struct mnt_idmap *idmap, struct inode *dir, in sysv_mkdir() 151 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink() 171 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
|
D | dir.c | 34 struct inode *dir = mapping->host; in dir_commit_chunk() local 44 static int sysv_handle_dirsync(struct inode *dir) in sysv_handle_dirsync() 61 static void *dir_get_page(struct inode *dir, unsigned long n, struct page **p) in dir_get_page() 143 struct inode * dir = d_inode(dentry->d_parent); in sysv_find_entry() local 186 struct inode *dir = d_inode(dentry->d_parent); in sysv_add_link() local 257 int sysv_make_empty(struct inode *inode, struct inode *dir) in sysv_make_empty() 337 struct inode *dir = page->mapping->host; in sysv_set_link() local 361 struct sysv_dir_entry *sysv_dotdot(struct inode *dir, struct page **p) in sysv_dotdot()
|
/fs/ext2/ |
D | namei.c | 56 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ext2_lookup() 103 struct inode * dir, struct dentry * dentry, in ext2_create() 122 static int ext2_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in ext2_tmpfile() 136 static int ext2_mknod (struct mnt_idmap * idmap, struct inode * dir, in ext2_mknod() 157 static int ext2_symlink (struct mnt_idmap * idmap, struct inode * dir, in ext2_symlink() 204 static int ext2_link (struct dentry * old_dentry, struct inode * dir, in ext2_link() 229 struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir() 272 static int ext2_unlink(struct inode *dir, struct dentry *dentry) in ext2_unlink() 301 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
|
D | dir.c | 87 struct inode *dir = mapping->host; in ext2_commit_chunk() local 101 struct inode *dir = page->mapping->host; in ext2_check_page() local 189 static void *ext2_get_page(struct inode *dir, unsigned long n, in ext2_get_page() 341 struct ext2_dir_entry_2 *ext2_find_entry (struct inode *dir, in ext2_find_entry() 415 struct ext2_dir_entry_2 *ext2_dotdot(struct inode *dir, struct page **p) in ext2_dotdot() 424 int ext2_inode_by_name(struct inode *dir, const struct qstr *child, ino_t *ino) in ext2_inode_by_name() 444 static int ext2_handle_dirsync(struct inode *dir) in ext2_handle_dirsync() 454 int ext2_set_link(struct inode *dir, struct ext2_dir_entry_2 *de, in ext2_set_link() 482 struct inode *dir = d_inode(dentry->d_parent); in ext2_add_link() local 575 int ext2_delete_entry(struct ext2_dir_entry_2 *dir, struct page *page) in ext2_delete_entry()
|
/fs/ufs/ |
D | namei.c | 50 static struct dentry *ufs_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ufs_lookup() 73 struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create() 89 static int ufs_mknod(struct mnt_idmap *idmap, struct inode *dir, in ufs_mknod() 109 static int ufs_symlink (struct mnt_idmap * idmap, struct inode * dir, in ufs_symlink() 150 static int ufs_link (struct dentry * old_dentry, struct inode * dir, in ufs_link() 169 static int ufs_mkdir(struct mnt_idmap * idmap, struct inode * dir, in ufs_mkdir() 208 static int ufs_unlink(struct inode *dir, struct dentry *dentry) in ufs_unlink() 230 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
|
D | dir.c | 48 struct inode *dir = mapping->host; in ufs_commit_chunk() local 59 static int ufs_handle_dirsync(struct inode *dir) in ufs_handle_dirsync() 75 ino_t ufs_inode_by_name(struct inode *dir, const struct qstr *qstr) in ufs_inode_by_name() 91 void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de, in ufs_set_link() 118 struct inode *dir = page->mapping->host; in ufs_check_page() local 195 static struct page *ufs_get_page(struct inode *dir, unsigned long n) in ufs_get_page() 235 struct ufs_dir_entry *ufs_dotdot(struct inode *dir, struct page **p) in ufs_dotdot() 256 struct ufs_dir_entry *ufs_find_entry(struct inode *dir, const struct qstr *qstr, in ufs_find_entry() 313 struct inode *dir = d_inode(dentry->d_parent); in ufs_add_link() local 502 int ufs_delete_entry(struct inode *inode, struct ufs_dir_entry *dir, in ufs_delete_entry() [all …]
|
/fs/udf/ |
D | namei.c | 52 static int udf_fiiter_find_entry(struct inode *dir, const struct qstr *child, in udf_fiiter_find_entry() 107 static struct dentry *udf_lookup(struct inode *dir, struct dentry *dentry, in udf_lookup() 222 static int udf_fiiter_add_entry(struct inode *dir, struct dentry *dentry, in udf_fiiter_add_entry() 335 static void udf_add_fid_counter(struct super_block *sb, bool dir, int val) in udf_add_fid_counter() 353 struct inode *dir = d_inode(dentry->d_parent); in udf_add_nondir() local 377 static int udf_create(struct mnt_idmap *idmap, struct inode *dir, in udf_create() 393 static int udf_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in udf_tmpfile() 410 static int udf_mknod(struct mnt_idmap *idmap, struct inode *dir, in udf_mknod() 426 static int udf_mkdir(struct mnt_idmap *idmap, struct inode *dir, in udf_mkdir() 481 static int empty_dir(struct inode *dir) in empty_dir() [all …]
|
/fs/ocfs2/ |
D | dir.c | 69 static int ocfs2_supports_dir_trailer(struct inode *dir) in ocfs2_supports_dir_trailer() 87 static int ocfs2_new_dir_wants_trailer(struct inode *dir) in ocfs2_new_dir_wants_trailer() 117 static int ocfs2_skip_dir_trailer(struct inode *dir, in ocfs2_skip_dir_trailer() 151 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer() 251 static void ocfs2_dx_dir_name_hash(struct inode *dir, const char *name, int len, in ocfs2_dx_dir_name_hash() 297 static int ocfs2_check_dir_entry(struct inode *dir, in ocfs2_check_dir_entry() 345 struct inode *dir, in ocfs2_search_dirblock() 397 struct inode *dir, in ocfs2_find_entry_id() 463 static int ocfs2_check_dir_trailer(struct inode *dir, struct buffer_head *bh) in ocfs2_check_dir_trailer() 539 static int ocfs2_read_dir_block_direct(struct inode *dir, u64 phys, in ocfs2_read_dir_block_direct() [all …]
|
/fs/ubifs/ |
D | dir.c | 47 static int inherit_flags(const struct inode *dir, umode_t mode) in inherit_flags() 77 struct inode *ubifs_new_inode(struct ubifs_info *c, struct inode *dir, in ubifs_new_inode() 195 static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry, in ubifs_lookup() 276 static int ubifs_prepare_create(struct inode *dir, struct dentry *dentry, in ubifs_prepare_create() 285 static int ubifs_create(struct mnt_idmap *idmap, struct inode *dir, in ubifs_create() 354 static struct inode *create_whiteout(struct inode *dir, struct dentry *dentry) in create_whiteout() 422 static int ubifs_tmpfile(struct mnt_idmap *idmap, struct inode *dir, in ubifs_tmpfile() 561 struct inode *dir = file_inode(file); in ubifs_readdir() local 713 static int ubifs_dir_release(struct inode *dir, struct file *file) in ubifs_dir_release() 720 static int ubifs_link(struct dentry *old_dentry, struct inode *dir, in ubifs_link() [all …]
|
/fs/ntfs3/ |
D | namei.c | 67 static struct dentry *ntfs_lookup(struct inode *dir, struct dentry *dentry, in ntfs_lookup() 107 static int ntfs_create(struct mnt_idmap *idmap, struct inode *dir, in ntfs_create() 123 static int ntfs_mknod(struct mnt_idmap *idmap, struct inode *dir, in ntfs_mknod() 137 static int ntfs_link(struct dentry *ode, struct inode *dir, struct dentry *de) in ntfs_link() 179 static int ntfs_unlink(struct inode *dir, struct dentry *dentry) in ntfs_unlink() 199 static int ntfs_symlink(struct mnt_idmap *idmap, struct inode *dir, in ntfs_symlink() 217 static int ntfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in ntfs_mkdir() 231 static int ntfs_rmdir(struct inode *dir, struct dentry *dentry) in ntfs_rmdir() 251 static int ntfs_rename(struct mnt_idmap *idmap, struct inode *dir, in ntfs_rename() 366 static int ntfs_atomic_open(struct inode *dir, struct dentry *dentry, in ntfs_atomic_open()
|
/fs/nilfs2/ |
D | namei.c | 54 nilfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in nilfs_lookup() 75 static int nilfs_create(struct mnt_idmap *idmap, struct inode *dir, in nilfs_create() 103 nilfs_mknod(struct mnt_idmap *idmap, struct inode *dir, in nilfs_mknod() 128 static int nilfs_symlink(struct mnt_idmap *idmap, struct inode *dir, in nilfs_symlink() 177 static int nilfs_link(struct dentry *old_dentry, struct inode *dir, in nilfs_link() 205 static int nilfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, in nilfs_mkdir() 259 static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) in nilfs_do_unlink() 293 static int nilfs_unlink(struct inode *dir, struct dentry *dentry) in nilfs_unlink() 314 static int nilfs_rmdir(struct inode *dir, struct dentry *dentry) in nilfs_rmdir()
|
/fs/ |
D | bad_inode.c | 31 struct inode *dir, struct dentry *dentry, in bad_inode_create() 37 static struct dentry *bad_inode_lookup(struct inode *dir, in bad_inode_lookup() 43 static int bad_inode_link (struct dentry *old_dentry, struct inode *dir, in bad_inode_link() 49 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink() 55 struct inode *dir, struct dentry *dentry, in bad_inode_symlink() 61 static int bad_inode_mkdir(struct mnt_idmap *idmap, struct inode *dir, in bad_inode_mkdir() 67 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir() 72 static int bad_inode_mknod(struct mnt_idmap *idmap, struct inode *dir, in bad_inode_mknod()
|
/fs/crypto/ |
D | hooks.c | 33 struct dentry *dir; in fscrypt_file_open() local 52 int __fscrypt_prepare_link(struct inode *inode, struct inode *dir, in __fscrypt_prepare_link() 97 int __fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry, in __fscrypt_prepare_lookup() 131 int fscrypt_prepare_lookup_partial(struct inode *dir, struct dentry *dentry) in fscrypt_prepare_lookup_partial() 144 int __fscrypt_prepare_readdir(struct inode *dir) in __fscrypt_prepare_readdir() 223 int fscrypt_prepare_symlink(struct inode *dir, const char *target, in fscrypt_prepare_symlink()
|
/fs/bfs/ |
D | dir.c | 31 struct inode *dir = file_inode(f); in bfs_readdir() local 78 static int bfs_create(struct mnt_idmap *idmap, struct inode *dir, 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/xfs/ |
D | xfs_iops.c | 81 struct inode *dir, in xfs_inode_init_security() 116 struct inode *dir, in xfs_cleanup_inode() 147 struct inode *dir, in xfs_create_need_xattr() 166 struct inode *dir, in xfs_generic_create() 259 struct inode *dir, in xfs_vn_mknod() 270 struct inode *dir, in xfs_vn_create() 281 struct inode *dir, in xfs_vn_mkdir() 290 struct inode *dir, in xfs_vn_lookup() 315 struct inode *dir, in xfs_vn_ci_lookup() 356 struct inode *dir, in xfs_vn_link() [all …]
|
/fs/ext4/ |
D | namei.c | 609 static inline unsigned dx_root_limit(struct inode *dir, unsigned infosize) in dx_root_limit() 620 static inline unsigned dx_node_limit(struct inode *dir) in dx_node_limit() 653 static struct stats dx_show_leaf(struct inode *dir, in dx_show_leaf() 742 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, in dx_show_entries() 810 dx_probe(struct ext4_filename *fname, struct inode *dir, in dx_probe() 1007 static int ext4_htree_next_block(struct inode *dir, __u32 hash, in ext4_htree_next_block() 1071 struct inode *dir, ext4_lblk_t block, in htree_dirblock_to_tree() 1189 struct inode *dir; in ext4_htree_fill_tree() local 1295 struct inode *dir, in search_dirblock() 1312 static int dx_make_map(struct inode *dir, struct buffer_head *bh, in dx_make_map() [all …]
|
/fs/hfsplus/ |
D | dir.c | 30 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 mnt_idmap *idmap, struct inode *dir, in hfsplus_symlink() 479 static int hfsplus_mknod(struct mnt_idmap *idmap, struct inode *dir, in hfsplus_mknod() 520 static int hfsplus_create(struct mnt_idmap *idmap, struct inode *dir, in hfsplus_create() 526 static int hfsplus_mkdir(struct mnt_idmap *idmap, struct inode *dir, in hfsplus_mkdir()
|
/fs/nfs/ |
D | proc.c | 156 nfs_proc_lookup(struct inode *dir, struct dentry *dentry, in nfs_proc_lookup() 215 static struct nfs_createdata *nfs_alloc_createdata(struct inode *dir, in nfs_alloc_createdata() 241 nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_create() 270 nfs_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_mknod() 314 nfs_proc_remove(struct inode *dir, struct dentry *dentry) in nfs_proc_remove() 347 static int nfs_proc_unlink_done(struct rpc_task *task, struct inode *dir) in nfs_proc_unlink_done() 376 nfs_proc_link(struct inode *inode, struct inode *dir, const struct qstr *name) in nfs_proc_link() 399 nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page, in nfs_proc_symlink() 449 nfs_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr) in nfs_proc_mkdir() 475 nfs_proc_rmdir(struct inode *dir, const struct qstr *name) in nfs_proc_rmdir() [all …]
|