/linux-master/fs/fuse/ |
H A D | acl.c | 16 struct inode *inode, int type, bool rcu) 26 if (fuse_is_bad(inode)) 42 size = fuse_getxattr(inode, name, value, PAGE_SIZE); 58 const struct inode *inode) 65 return !fc->posix_acl && (i_user_ns(inode) != &init_user_ns); 71 struct inode *inode = d_inode(dentry); local 72 struct fuse_conn *fc = get_fuse_conn(inode); 14 __fuse_get_acl(struct fuse_conn *fc, struct mnt_idmap *idmap, struct inode *inode, int type, bool rcu) argument 57 fuse_no_acl(const struct fuse_conn *fc, const struct inode *inode) argument 80 fuse_get_inode_acl(struct inode *inode, int type, bool rcu) argument 100 struct inode *inode = d_inode(dentry); local [all...] |
/linux-master/fs/efivarfs/ |
H A D | inode.c | 19 struct inode *efivarfs_get_inode(struct super_block *sb, 20 const struct inode *dir, int mode, 23 struct inode *inode = new_inode(sb); local 27 if (inode) { 28 inode->i_uid = opts->uid; 29 inode->i_gid = opts->gid; 30 inode->i_ino = get_next_ino(); 31 inode->i_mode = mode; 32 simple_inode_init_ts(inode); 81 struct inode *inode = NULL; local [all...] |
/linux-master/fs/ |
H A D | anon_inodes.c | 28 static struct inode *anon_inode_inode __ro_after_init; 58 static struct inode *anon_inode_make_secure_inode( 60 const struct inode *context_inode) 62 struct inode *inode; local 66 inode = alloc_anon_inode(anon_inode_mnt->mnt_sb); 67 if (IS_ERR(inode)) 68 return inode; 69 inode->i_flags &= ~S_PRIVATE; 70 error = security_inode_init_security_anon(inode, 84 struct inode *inode; local [all...] |
/linux-master/fs/nfs/ |
H A D | fscache.h | 21 * Definition of the auxiliary data attached to NFS inode storage objects 25 * auxiliary data attached to the data storage object backing an inode. This 26 * permits coherency to be managed when a new inode binds to an already extant 95 extern void nfs_fscache_init_inode(struct inode *); 96 extern void nfs_fscache_clear_inode(struct inode *); 97 extern void nfs_fscache_open_file(struct inode *, struct file *); 98 extern void nfs_fscache_release_file(struct inode *, struct file *); 114 struct inode *inode) 117 auxdata->mtime_sec = inode_get_mtime(inode) 113 nfs_fscache_update_auxdata(struct nfs_fscache_inode_auxdata *auxdata, struct inode *inode) argument 129 nfs_fscache_invalidate(struct inode *inode, int flags) argument 172 nfs_fscache_init_inode(struct inode *inode) argument 173 nfs_fscache_clear_inode(struct inode *inode) argument 174 nfs_fscache_open_file(struct inode *inode, struct file *filp) argument 176 nfs_fscache_release_file(struct inode *inode, struct file *file) argument 190 nfs_fscache_invalidate(struct inode *inode, int flags) argument [all...] |
/linux-master/fs/ceph/ |
H A D | crypto.h | 21 struct inode *dir; 101 int ceph_fscrypt_prepare_context(struct inode *dir, struct inode *inode, 105 int ceph_encode_encrypted_dname(struct inode *parent, struct qstr *d_name, 107 int ceph_encode_encrypted_fname(struct inode *parent, struct dentry *dentry, 110 static inline int ceph_fname_alloc_buffer(struct inode *parent, 118 static inline void ceph_fname_free_buffer(struct inode *parent, 127 int ceph_fscrypt_prepare_readdir(struct inode *dir); 139 * If we have an encrypted inode the 144 ceph_fscrypt_adjust_off_and_len(struct inode *inode, u64 *off, u64 *len) argument 183 ceph_fscrypt_prepare_context(struct inode *dir, struct inode *inode, struct ceph_acl_sec_ctx *as) argument 235 ceph_fscrypt_adjust_off_and_len(struct inode *inode, u64 *off, u64 *len) argument 240 ceph_fscrypt_decrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num) argument 247 ceph_fscrypt_encrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num, gfp_t gfp_flags) argument 255 ceph_fscrypt_decrypt_pages(struct inode *inode, struct page **page, u64 off, int len) argument 262 ceph_fscrypt_decrypt_extents(struct inode *inode, struct page **page, u64 off, struct ceph_sparse_extent *map, u32 ext_cnt) argument 270 ceph_fscrypt_encrypt_pages(struct inode *inode, struct page **page, u64 off, int len, gfp_t gfp) argument [all...] |
/linux-master/fs/f2fs/ |
H A D | namei.c | 139 static void set_compress_new_inode(struct f2fs_sb_info *sbi, struct inode *dir, argument 140 struct inode *inode, const unsigned char *name) 153 if (S_ISDIR(inode->i_mode)) 179 set_compress_context(inode); 186 F2FS_I(inode)->i_flags |= F2FS_NOCOMP_FL; 187 f2fs_mark_inode_dirty_sync(inode, true); 189 set_compress_context(inode); 196 static void set_file_temperature(struct f2fs_sb_info *sbi, struct inode *inode, argument 225 struct inode *inode; local 354 struct inode *inode; local 399 struct inode *inode = d_inode(old_dentry); local 517 struct inode *inode = NULL; local 604 struct inode *inode = d_inode(dentry); local 659 f2fs_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument 678 struct inode *inode; local 758 struct inode *inode; local 802 struct inode *inode = d_inode(dentry); local 813 struct inode *inode; local 857 struct inode *inode; local 1347 f2fs_encrypted_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument [all...] |
H A D | file.c | 41 struct inode *inode = file_inode(vmf->vma->vm_file); local 47 f2fs_update_iostat(F2FS_I_SB(inode), inode, local 50 trace_f2fs_filemap_fault(inode, vmf->pgoff, flags, ret); 58 struct inode *inode = file_inode(vmf->vma->vm_file); local 59 struct f2fs_sb_info *sbi = F2FS_I_SB(inode); 65 if (unlikely(IS_IMMUTABLE(inode))) 68 if (is_inode_flag_set(inode, FI_COMPRESS_RELEASE 177 get_parent_ino(struct inode *inode, nid_t *pino) argument 194 need_do_checkpoint(struct inode *inode) argument 237 try_to_fix_pino(struct inode *inode) argument 254 struct inode *inode = file->f_mapping->host; local 402 struct inode *inode = mapping->host; local 434 struct inode *inode = file->f_mapping->host; local 516 struct inode *inode = file->f_mapping->host; local 540 struct inode *inode = file_inode(file); local 558 f2fs_file_open(struct inode *inode, struct file *filp) argument 646 truncate_partial_data_page(struct inode *inode, u64 from, bool cache_only) argument 680 f2fs_do_truncate_blocks(struct inode *inode, u64 from, bool lock) argument 745 f2fs_truncate_blocks(struct inode *inode, u64 from, bool lock) argument 783 f2fs_truncate(struct inode *inode) argument 819 f2fs_force_buffered_io(struct inode *inode, int rw) argument 848 struct inode *inode = d_inode(path->dentry); local 911 __setattr_copy(struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr) argument 941 struct inode *inode = d_inode(dentry); local 1063 fill_zero(struct inode *inode, pgoff_t index, loff_t start, loff_t len) argument 1088 f2fs_truncate_hole(struct inode *inode, pgoff_t pg_start, pgoff_t pg_end) argument 1120 f2fs_punch_hole(struct inode *inode, loff_t offset, loff_t len) argument 1180 __read_out_blkaddrs(struct inode *inode, block_t *blkaddr, int *do_replace, pgoff_t off, pgoff_t len) argument 1235 __roll_back_blkaddrs(struct inode *inode, block_t *blkaddr, int *do_replace, pgoff_t off, int len) argument 1396 f2fs_do_collapse(struct inode *inode, loff_t offset, loff_t len) argument 1421 f2fs_collapse_range(struct inode *inode, loff_t offset, loff_t len) argument 1509 f2fs_zero_range(struct inode *inode, loff_t offset, loff_t len, int mode) argument 1617 f2fs_insert_range(struct inode *inode, loff_t offset, loff_t len) argument 1693 f2fs_expand_inode_data(struct inode *inode, loff_t offset, loff_t len, int mode) argument 1802 struct inode *inode = file_inode(file); local 1868 f2fs_release_file(struct inode *inode, struct file *filp) argument 1887 struct inode *inode = file_inode(file); local 1905 f2fs_setflags_common(struct inode *inode, u32 iflags, u32 mask) argument 2057 struct inode *inode = file_inode(filp); local 2064 struct inode *inode = file_inode(filp); local 2173 struct inode *inode = file_inode(filp); local 2205 struct inode *inode = file_inode(filp); local 2229 struct inode *inode = file_inode(filp); local 2311 struct inode *inode = file_inode(filp); local 2356 struct inode *inode = file_inode(filp); local 2375 struct inode *inode = file_inode(filp); local 2466 struct inode *inode = file_inode(filp); local 2570 struct inode *inode = file_inode(filp); local 2599 struct inode *inode = file_inode(filp); local 2756 struct inode *inode = file_inode(filp); local 2975 struct inode *inode = file_inode(filp); local 3046 struct inode *inode = file_inode(filp); local 3056 f2fs_transfer_project_quota(struct inode *inode, kprojid_t kprojid) argument 3074 f2fs_ioc_setproject(struct inode *inode, __u32 projid) argument 3122 f2fs_transfer_project_quota(struct inode *inode, kprojid_t kprojid) argument 3127 f2fs_ioc_setproject(struct inode *inode, __u32 projid) argument 3137 struct inode *inode = d_inode(dentry); local 3161 struct inode *inode = d_inode(dentry); local 3187 f2fs_pin_file_control(struct inode *inode, bool inc) argument 3209 struct inode *inode = file_inode(filp); local 3275 struct inode *inode = file_inode(filp); local 3283 f2fs_precache_extents(struct inode *inode) argument 3342 struct inode *inode = file_inode(filp); local 3374 struct inode *inode = file_inode(filp); local 3400 struct inode *inode = file_inode(filp); local 3434 f2fs_get_compress_blocks(struct inode *inode, __u64 *blocks) argument 3449 struct inode *inode = file_inode(filp); local 3515 struct inode *inode = file_inode(filp); local 3698 struct inode *inode = file_inode(filp); local 3792 f2fs_secure_erase(struct block_device *bdev, struct inode *inode, pgoff_t off, block_t block, block_t len, u32 flags) argument 3821 struct inode *inode = file_inode(filp); local 3981 struct inode *inode = file_inode(filp); local 4008 struct inode *inode = file_inode(filp); local 4072 redirty_blocks(struct inode *inode, pgoff_t page_idx, int len) argument 4108 struct inode *inode = file_inode(filp); local 4187 struct inode *inode = file_inode(filp); local 4369 f2fs_should_use_dio(struct inode *inode, struct kiocb *iocb, struct iov_iter *iter) argument 4418 struct inode *inode = file_inode(file); local 4467 struct inode *inode = file_inode(file); local 4488 struct inode *inode = file_inode(iocb->ki_filp); local 4504 f2fs_update_iostat(F2FS_I_SB(inode), inode, local 4516 struct inode *inode = file_inode(in); local 4528 f2fs_update_iostat(F2FS_I_SB(inode), inode, local 4539 struct inode *inode = file_inode(file); local 4569 struct inode *inode = file_inode(iocb->ki_filp); local 4635 struct inode *inode = file_inode(file); local 4644 f2fs_update_iostat(F2FS_I_SB(inode), inode, local 4684 struct inode *inode = file_inode(file); local 4794 struct inode *inode = file_inode(iocb->ki_filp); local 4885 struct inode *inode = file_inode(filp); local [all...] |
/linux-master/fs/sysv/ |
H A D | dir.c | 34 struct inode *dir = mapping->host; 44 static int sysv_handle_dirsync(struct inode *dir) 61 static void *dir_get_page(struct inode *dir, unsigned long n, struct page **p) 74 struct inode *inode = file_inode(file); local 75 struct super_block *sb = inode->i_sb; 76 unsigned long npages = dir_pages(inode); 81 if (pos >= inode->i_size) 92 kaddr = dir_get_page(inode, n, &page); 100 if (!de->inode) 184 sysv_add_link(struct dentry *dentry, struct inode *inode) argument 240 struct inode *inode = page->mapping->host; local 257 sysv_make_empty(struct inode *inode, struct inode *dir) argument 292 sysv_empty_dir(struct inode * inode) argument 334 sysv_set_link(struct sysv_dir_entry *de, struct page *page, struct inode *inode) argument [all...] |
/linux-master/fs/verity/ |
H A D | open.c | 18 * @inode: the inode for which the Merkle tree is being built 30 const struct inode *inode, 44 hash_alg = fsverity_get_hash_alg(inode, hash_algorithm); 55 fsverity_err(inode, "Error %d preparing hash state", err); 75 log_blocksize > inode->i_blkbits) { 76 fsverity_warn(inode, "Unsupported log_blocksize: %u", 91 fsverity_warn(inode, 109 blocks = ((u64)inode 29 fsverity_init_merkle_tree_params(struct merkle_tree_params *params, const struct inode *inode, unsigned int hash_algorithm, unsigned int log_blocksize, const u8 *salt, size_t salt_size) argument 180 fsverity_create_info(const struct inode *inode, struct fsverity_descriptor *desc) argument 251 fsverity_set_info(struct inode *inode, struct fsverity_info *vi) argument 279 validate_fsverity_descriptor(struct inode *inode, const struct fsverity_descriptor *desc, size_t desc_size) argument 324 fsverity_get_descriptor(struct inode *inode, struct fsverity_descriptor **desc_ret) argument 361 ensure_verity_info(struct inode *inode) argument 387 __fsverity_file_open(struct inode *inode, struct file *filp) argument 403 __fsverity_cleanup_inode(struct inode *inode) argument [all...] |
/linux-master/fs/ocfs2/ |
H A D | dcache.c | 23 #include "inode.h" 37 struct inode *inode; local 44 inode = d_inode(dentry); 52 * one stored in the inode. 54 if (inode == NULL) { 70 if (inode == osb->root_inode || is_bad_inode(inode)) 73 spin_lock(&OCFS2_I(inode)->ip_lock); 74 /* did we or someone else delete this inode 145 ocfs2_find_local_alias(struct inode *inode, u64 parent_blkno, int skip_unhashed) argument 203 ocfs2_dentry_attach_lock(struct dentry *dentry, struct inode *inode, u64 parent_blkno) argument 383 ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) argument 438 struct inode *inode = d_inode(dentry); local [all...] |
H A D | file.c | 37 #include "inode.h" 52 static int ocfs2_init_file_private(struct inode *inode, struct file *file) argument 68 static void ocfs2_free_file_private(struct inode *inode, struct file *file) argument 71 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); 81 static int ocfs2_file_open(struct inode *inode, struct file *file) argument 85 struct ocfs2_inode_info *oi = OCFS2_I(inode); 87 trace_ocfs2_file_open(inode, fil 133 ocfs2_file_release(struct inode *inode, struct file *file) argument 153 ocfs2_dir_open(struct inode *inode, struct file *file) argument 158 ocfs2_dir_release(struct inode *inode, struct file *file) argument 168 struct inode *inode = file->f_mapping->host; local 206 ocfs2_should_update_atime(struct inode *inode, struct vfsmount *vfsmnt) argument 253 ocfs2_update_inode_atime(struct inode *inode, struct buffer_head *bh) argument 292 ocfs2_set_inode_size(handle_t *handle, struct inode *inode, struct buffer_head *fe_bh, u64 new_i_size) argument 313 ocfs2_simple_size_update(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) argument 339 ocfs2_cow_file_pos(struct inode *inode, struct buffer_head *fe_bh, u64 offset) argument 372 ocfs2_orphan_for_truncate(struct ocfs2_super *osb, struct inode *inode, struct buffer_head *fe_bh, u64 new_i_size) argument 438 ocfs2_truncate_file(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) argument 536 ocfs2_add_inode_data(struct ocfs2_super *osb, struct inode *inode, u32 *logical_offset, u32 clusters_to_add, int mark_unwritten, struct buffer_head *fe_bh, handle_t *handle, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, enum ocfs2_alloc_restarted *reason_ret) argument 555 ocfs2_extend_allocation(struct inode *inode, u32 logical_start, u32 clusters_to_add, int mark_unwritten) argument 711 ocfs2_zero_start_ordered_transaction(struct inode *inode, struct buffer_head *di_bh, loff_t start_byte, loff_t length) argument 754 ocfs2_write_zero_page(struct inode *inode, u64 abs_from, u64 abs_to, struct buffer_head *di_bh) argument 857 ocfs2_zero_extend_get_range(struct inode *inode, struct buffer_head *di_bh, u64 zero_start, u64 zero_end, u64 *range_start, u64 *range_end) argument 931 ocfs2_zero_extend_range(struct inode *inode, u64 range_start, u64 range_end, struct buffer_head *di_bh) argument 965 ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh, loff_t zero_to_size) argument 1005 ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size, u64 zero_to) argument 1047 ocfs2_extend_file(struct inode *inode, struct buffer_head *di_bh, u64 new_i_size) argument 1118 struct inode *inode = d_inode(dentry); local 1307 struct inode *inode = d_inode(path->dentry); local 1336 ocfs2_permission(struct mnt_idmap *idmap, struct inode *inode, int mask) argument 1369 __ocfs2_write_remove_suid(struct inode *inode, struct buffer_head *bh) argument 1411 ocfs2_write_remove_suid(struct inode *inode) argument 1433 ocfs2_allocate_unwritten_extents(struct inode *inode, u64 start, u64 len) argument 1515 ocfs2_truncate_cluster_pages(struct inode *inode, u64 byte_start, u64 byte_len) argument 1539 ocfs2_zeroout_partial_cluster(struct inode *inode, u64 start, u64 len) argument 1571 ocfs2_zero_partial_clusters(struct inode *inode, u64 start, u64 len) argument 1701 ocfs2_calc_trunc_pos(struct inode *inode, struct ocfs2_extent_list *el, struct ocfs2_extent_rec *rec, u32 trunc_start, u32 *trunc_cpos, u32 *trunc_len, u32 *trunc_end, u64 *blkno, int *done) argument 1757 ocfs2_remove_inode_range(struct inode *inode, struct buffer_head *di_bh, u64 byte_start, u64 byte_len) argument 1921 __ocfs2_change_file_space(struct file *file, struct inode *inode, loff_t f_pos, unsigned int cmd, struct ocfs2_space_resv *sr, int change_size) argument 2069 struct inode *inode = file_inode(file); local 2097 struct inode *inode = file_inode(file); local 2128 ocfs2_check_range_for_refcount(struct inode *inode, loff_t pos, size_t count) argument 2167 ocfs2_is_io_unaligned(struct inode *inode, size_t count, loff_t pos) argument 2177 ocfs2_inode_lock_for_extent_tree(struct inode *inode, struct buffer_head **di_bh, int meta_level, int write_sem, int wait) argument 2219 ocfs2_inode_unlock_for_extent_tree(struct inode *inode, struct buffer_head **di_bh, int meta_level, int write_sem) argument 2242 struct inode *inode = d_inode(dentry); local 2359 struct inode *inode = file_inode(file); local 2513 struct inode *inode = file_inode(filp); local 2593 struct inode *inode = file_inode(in); local 2629 struct inode *inode = file->f_mapping->host; local [all...] |
/linux-master/fs/udf/ |
H A D | namei.c | 43 * @dir: directory inode to search in 52 static int udf_fiiter_find_entry(struct inode *dir, const struct qstr *child, 107 static struct dentry *udf_lookup(struct inode *dir, struct dentry *dentry, 110 struct inode *inode = NULL; local 127 inode = udf_iget(dir->i_sb, &loc); 130 return d_splice_alias(inode, dentry); 133 static int udf_expand_dir_adinicb(struct inode *inode, udf_pblk_t *block) argument 140 struct udf_inode_info *iinfo = UDF_I(inode); 346 udf_add_nondir(struct dentry *dentry, struct inode *inode) argument 376 struct inode *inode = udf_new_inode(dir, mode); local 392 struct inode *inode = udf_new_inode(dir, mode); local 409 struct inode *inode; local 425 struct inode *inode; local 499 struct inode *inode = d_inode(dentry); local 535 struct inode *inode = d_inode(dentry); local 569 struct inode *inode; local 730 struct inode *inode = d_inode(old_dentry); local 922 struct inode *inode; local 964 udf_encode_fh(struct inode *inode, __u32 *fh, int *lenp, struct inode *parent) argument [all...] |
/linux-master/fs/ufs/ |
H A D | ufs.h | 51 struct inode vfs_inode; 91 extern void ufs_free_fragments (struct inode *, u64, unsigned); 92 extern void ufs_free_blocks (struct inode *, u64, unsigned); 93 extern u64 ufs_new_fragments(struct inode *, void *, u64, u64, 102 extern int ufs_add_link (struct dentry *, struct inode *); 103 extern ino_t ufs_inode_by_name(struct inode *, const struct qstr *); 104 extern int ufs_make_empty(struct inode *, struct inode *); 105 extern struct ufs_dir_entry *ufs_find_entry(struct inode *, const struct qstr *, struct page **); 106 extern int ufs_delete_entry(struct inode *, struc 146 UFS_I(struct inode *inode) argument [all...] |
/linux-master/fs/ext4/ |
H A D | symlink.c | 27 struct inode *inode, 38 if (ext4_inode_is_fast_symlink(inode)) { 39 caddr = EXT4_I(inode)->i_data; 40 max_size = sizeof(EXT4_I(inode)->i_data); 42 bh = ext4_bread(NULL, inode, 0, 0); 46 EXT4_ERROR_INODE(inode, "bad symlink."); 50 max_size = inode->i_sb->s_blocksize; 53 paddr = fscrypt_get_symlink(inode, caddr, max_size, done); 73 static const char *ext4_get_link(struct dentry *dentry, struct inode *inod argument 26 ext4_encrypted_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument [all...] |
H A D | extents.c | 49 static __le32 ext4_extent_block_csum(struct inode *inode, argument 52 struct ext4_inode_info *ei = EXT4_I(inode); 53 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); 61 static int ext4_extent_block_csum_verify(struct inode *inode, argument 66 if (!ext4_has_metadata_csum(inode->i_sb)) 70 if (et->et_checksum != ext4_extent_block_csum(inode, eh)) 75 static void ext4_extent_block_csum_set(struct inode *inode, argument 94 ext4_ext_trunc_restart_fn(struct inode *inode, int *dropped) argument 136 ext4_datasem_ensure_credits(handle_t *handle, struct inode *inode, int check_cred, int restart_cred, int revoke_cred) argument 155 ext4_ext_get_access(handle_t *handle, struct inode *inode, struct ext4_ext_path *path) argument 185 __ext4_ext_dirty(const char *where, unsigned int line, handle_t *handle, struct inode *inode, struct ext4_ext_path *path) argument 210 ext4_ext_find_goal(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t block) argument 260 ext4_ext_new_meta_block(handle_t *handle, struct inode *inode, struct ext4_ext_path *path, struct ext4_extent *ex, int *err, unsigned int flags) argument 272 ext4_ext_space_block(struct inode *inode, int check) argument 285 ext4_ext_space_block_idx(struct inode *inode, int check) argument 298 ext4_ext_space_root(struct inode *inode, int check) argument 312 ext4_ext_space_root_idx(struct inode *inode, int check) argument 327 ext4_force_split_extent_at(handle_t *handle, struct inode *inode, struct ext4_ext_path **ppath, ext4_lblk_t lblk, int nofail) argument 344 ext4_ext_max_entries(struct inode *inode, int depth) argument 363 ext4_valid_extent(struct inode *inode, struct ext4_extent *ext) argument 379 ext4_valid_extent_idx(struct inode *inode, struct ext4_extent_idx *ext_idx) argument 387 ext4_valid_extent_entries(struct inode *inode, struct ext4_extent_header *eh, ext4_lblk_t lblk, ext4_fsblk_t *pblk, int depth) argument 454 __ext4_ext_check(const char *function, unsigned int line, struct inode *inode, struct ext4_extent_header *eh, int depth, ext4_fsblk_t pblk, ext4_lblk_t lblk) argument 518 ext4_ext_check_inode(struct inode *inode) argument 523 ext4_cache_extents(struct inode *inode, struct ext4_extent_header *eh) argument 548 __read_extent_tree_block(const char *function, unsigned int line, struct inode *inode, struct ext4_extent_idx *idx, int depth, int flags) argument 600 ext4_ext_precache(struct inode *inode) argument 663 ext4_ext_show_path(struct inode *inode, struct ext4_ext_path *path) argument 685 ext4_ext_show_leaf(struct inode *inode, struct ext4_ext_path *path) argument 708 ext4_ext_show_move(struct inode *inode, struct ext4_ext_path *path, ext4_fsblk_t newblock, int level) argument 751 ext4_ext_binsearch_idx(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t block) argument 812 ext4_ext_binsearch(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t block) argument 869 ext4_ext_tree_init(handle_t *handle, struct inode *inode) argument 883 ext4_find_extent(struct inode *inode, ext4_lblk_t block, struct ext4_ext_path **orig_path, int flags) argument 974 ext4_ext_insert_index(handle_t *handle, struct inode *inode, struct ext4_ext_path *curp, int logical, ext4_fsblk_t ptr) argument 1052 ext4_ext_split(handle_t *handle, struct inode *inode, unsigned int flags, struct ext4_ext_path *path, struct ext4_extent *newext, int at) argument 1311 ext4_ext_grow_indepth(handle_t *handle, struct inode *inode, unsigned int flags) argument 1398 ext4_ext_create_new_leaf(handle_t *handle, struct inode *inode, unsigned int mb_flags, unsigned int gb_flags, struct ext4_ext_path **ppath, struct ext4_extent *newext) argument 1470 ext4_ext_search_left(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t *logical, ext4_fsblk_t *phys) argument 1534 ext4_ext_search_right(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t *logical, ext4_fsblk_t *phys, struct ext4_extent *ret_ex) argument 1705 ext4_ext_correct_indexes(handle_t *handle, struct inode *inode, struct ext4_ext_path *path) argument 1762 ext4_can_extents_be_merged(struct inode *inode, struct ext4_extent *ex1, struct ext4_extent *ex2) argument 1801 ext4_ext_try_to_merge_right(struct inode *inode, struct ext4_ext_path *path, struct ext4_extent *ex) argument 1842 ext4_ext_try_to_merge_up(handle_t *handle, struct inode *inode, struct ext4_ext_path *path) argument 1888 ext4_ext_try_to_merge(handle_t *handle, struct inode *inode, struct ext4_ext_path *path, struct ext4_extent *ex) argument 1918 ext4_ext_check_overlap(struct ext4_sb_info *sbi, struct inode *inode, struct ext4_extent *newext, struct ext4_ext_path *path) argument 1967 ext4_ext_insert_extent(handle_t *handle, struct inode *inode, struct ext4_ext_path **ppath, struct ext4_extent *newext, int gb_flags) argument 2185 ext4_fill_es_cache_info(struct inode *inode, ext4_lblk_t block, ext4_lblk_t num, struct fiemap_extent_info *fieinfo) argument 2244 ext4_ext_find_hole(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t *lblk) argument 2277 ext4_ext_rm_idx(handle_t *handle, struct inode *inode, struct ext4_ext_path *path, int depth) argument 2333 ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, struct ext4_ext_path *path) argument 2370 ext4_ext_index_trans_blocks(struct inode *inode, int extents) argument 2389 get_default_free_blocks_flags(struct inode *inode) argument 2414 ext4_rereserve_cluster(struct inode *inode, ext4_lblk_t lblk) argument 2430 ext4_remove_blocks(handle_t *handle, struct inode *inode, struct ext4_extent *ex, struct partial_cluster *partial, ext4_lblk_t from, ext4_lblk_t to) argument 2566 ext4_ext_rm_leaf(handle_t *handle, struct inode *inode, struct ext4_ext_path *path, struct partial_cluster *partial, ext4_lblk_t start, ext4_lblk_t end) argument 2789 ext4_ext_remove_space(struct inode *inode, ext4_lblk_t start, ext4_lblk_t end) argument 3102 ext4_zeroout_es(struct inode *inode, struct ext4_extent *ex) argument 3120 ext4_ext_zeroout(struct inode *inode, struct ext4_extent *ex) argument 3152 ext4_split_extent_at(handle_t *handle, struct inode *inode, struct ext4_ext_path **ppath, ext4_lblk_t split, int split_flag, int flags) argument 3300 ext4_split_extent(handle_t *handle, struct inode *inode, struct ext4_ext_path **ppath, struct ext4_map_blocks *map, int split_flag, int flags) argument 3391 ext4_ext_convert_to_initialized(handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, struct ext4_ext_path **ppath, int flags) argument 3649 ext4_split_convert_extents(handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, struct ext4_ext_path **ppath, int flags) argument 3691 ext4_convert_unwritten_extents_endio(handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, struct ext4_ext_path **ppath) argument 3754 convert_initialized_extent(handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, struct ext4_ext_path **ppath, unsigned int *allocated) argument 3825 ext4_ext_handle_unwritten_extents(handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, struct ext4_ext_path **ppath, int flags, unsigned int allocated, ext4_fsblk_t newblock) argument 4048 ext4_ext_determine_insert_hole(struct inode *inode, struct ext4_ext_path *path, ext4_lblk_t lblk) argument 4126 ext4_ext_map_blocks(handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, int flags) argument 4417 ext4_ext_truncate(handle_t *handle, struct inode *inode) argument 4452 struct inode *inode = file_inode(file); local 4539 struct inode *inode = file_inode(file); local 4710 struct inode *inode = file_inode(file); local 4816 ext4_convert_unwritten_extents(handle_t *handle, struct inode *inode, loff_t offset, ssize_t len) argument 4897 ext4_iomap_xattr_fiemap(struct inode *inode, struct iomap *iomap) argument 4939 ext4_iomap_xattr_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument 4955 ext4_fiemap_check_ranges(struct inode *inode, u64 start, u64 *len) argument 4977 ext4_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 len) argument 5007 ext4_get_es_cache(struct inode *inode, struct fiemap_extent_info *fieinfo, __u64 start, __u64 len) argument 5059 ext4_ext_shift_path_extents(struct ext4_ext_path *path, ext4_lblk_t shift, struct inode *inode, handle_t *handle, enum SHIFT_DIRECTION SHIFT) argument 5157 ext4_ext_shift_extents(struct inode *inode, handle_t *handle, ext4_lblk_t start, ext4_lblk_t shift, enum SHIFT_DIRECTION SHIFT) argument 5301 struct inode *inode = file_inode(file); local 5439 struct inode *inode = file_inode(file); local 5797 ext4_clu_mapped(struct inode *inode, ext4_lblk_t lclu) argument 5879 ext4_ext_replay_update_ex(struct inode *inode, ext4_lblk_t start, int len, int unwritten, ext4_fsblk_t pblk) argument 5940 ext4_ext_replay_shrink_inode(struct inode *inode, ext4_lblk_t end) argument 5970 skip_hole(struct inode *inode, ext4_lblk_t *cur) argument 5988 ext4_ext_replay_set_iblocks(struct inode *inode) argument 6081 ext4_ext_clear_bb(struct inode *inode) argument [all...] |
H A D | orphan.c | 2 * Ext4 orphan inode handling 11 static int ext4_orphan_file_add(handle_t *handle, struct inode *inode) argument 14 struct ext4_orphan_info *oi = &EXT4_SB(inode->i_sb)->s_orphan_info; 18 int inodes_per_ob = ext4_inodes_per_orphan_block(inode->i_sb); 41 * credits we would have to reserve for each orphan inode 47 ret = ext4_journal_get_write_access(handle, inode->i_sb, 78 } while (cmpxchg(&bdata[j], (__le32)0, cpu_to_le32(inode->i_ino)) != 81 EXT4_I(inode)->i_orphan_idx = i * inodes_per_ob + j; 82 ext4_set_inode_state(inode, EXT4_STATE_ORPHAN_FIL 99 ext4_orphan_add(handle_t *handle, struct inode *inode) argument 192 ext4_orphan_file_del(handle_t *handle, struct inode *inode) argument 227 ext4_orphan_del(handle_t *handle, struct inode *inode) argument 323 ext4_process_orphan(struct inode *inode, int *nr_truncates, int *nr_orphans) argument 384 struct inode *inode; local 574 struct inode *inode; local [all...] |
/linux-master/include/linux/ |
H A D | bpf_lsm.h | 34 const struct inode *inode) 36 if (unlikely(!inode->i_security)) 39 return inode->i_security + bpf_lsm_blob_sizes.lbs_inode; 44 void bpf_inode_storage_free(struct inode *inode); 67 const struct inode *inode) 72 static inline void bpf_inode_storage_free(struct inode *inode) argument 33 bpf_inode( const struct inode *inode) argument 66 bpf_inode( const struct inode *inode) argument [all...] |
H A D | fsnotify.h | 20 /* Are there any inode/mount/sb objects that are being watched at all? */ 27 * Notify this @dir inode about a change in a child directory entry. 28 * The directory entry may have turned positive or negative or its inode may 32 * FS_EVENT_ON_CHILD mask on the parent inode and will not be reported if only 36 struct inode *dir, const struct qstr *name, 45 static inline void fsnotify_dirent(struct inode *dir, struct dentry *dentry, 51 static inline void fsnotify_inode(struct inode *inode, __u32 mask) argument 53 if (!fsnotify_sb_has_watchers(inode->i_sb)) 56 if (S_ISDIR(inode 66 struct inode *inode = d_inode(dentry); local 176 fsnotify_link_count(struct inode *inode) argument 220 fsnotify_inode_delete(struct inode *inode) argument 236 fsnotify_inoderemove(struct inode *inode) argument 263 fsnotify_link(struct inode *dir, struct inode *inode, struct dentry *new_dentry) argument 281 fsnotify_delete(struct inode *dir, struct inode *inode, struct dentry *dentry) argument 302 struct inode *inode = d_inode(dentry); local 428 fsnotify_sb_error(struct super_block *sb, struct inode *inode, int error) argument [all...] |
/linux-master/fs/reiserfs/ |
H A D | acl.h | 51 struct posix_acl *reiserfs_get_acl(struct inode *inode, int type, bool rcu); 56 struct inode *dir, struct dentry *dentry, 57 struct inode *inode); 58 int reiserfs_cache_default_acl(struct inode *dir); 62 #define reiserfs_cache_default_acl(inode) 0 73 const struct inode *dir, struct dentry *dentry, 74 struct inode *inode) 72 reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th, const struct inode *dir, struct dentry *dentry, struct inode *inode) argument [all...] |
/linux-master/fs/btrfs/ |
H A D | verity.c | 29 * together with the rest of the inode metadata. This means we'll need to do 38 * purposes of caching them (as opposed to creating a virtual inode). 42 * [ inode objectid, BTRFS_VERITY_DESC_ITEM_KEY, offset ] 51 * [ inode objectid, BTRFS_VERITY_MERKLE_ITEM_KEY, offset ] 73 * @inode: inode of the verity file 85 static loff_t merkle_file_pos(const struct inode *inode) argument 87 u64 sz = inode->i_size; 90 if (rounded > inode 108 drop_verity_items(struct btrfs_inode *inode, u8 key_type) argument 187 btrfs_drop_verity_items(struct btrfs_inode *inode) argument 216 write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, const char *src, u64 len) argument 296 read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, char *dest, u64 len, struct page *dest_page) argument 425 del_orphan(struct btrfs_trans_handle *trans, struct btrfs_inode *inode) argument 457 rollback_verity(struct btrfs_inode *inode) argument 523 finish_verity(struct btrfs_inode *inode, const void *desc, size_t desc_size) argument 583 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); local 632 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); local 667 btrfs_get_verity_descriptor(struct inode *inode, void *buf, size_t buf_size) argument 713 btrfs_read_merkle_tree_page(struct inode *inode, pgoff_t index, unsigned long num_ra_pages) argument 790 btrfs_write_merkle_tree_block(struct inode *inode, const void *buf, u64 pos, unsigned int size) argument [all...] |
/linux-master/fs/affs/ |
H A D | affs.h | 42 * affs fs inode data in memory 46 struct mutex i_link_lock; /* Protects internal inode access. */ 47 struct mutex i_ext_lock; /* Protects internal inode access. */ 62 struct inode vfs_inode; 65 /* short cut to get to the affs specific inode data */ 66 static inline struct affs_inode_info *AFFS_I(struct inode *inode) argument 68 return container_of(inode, struct affs_inode_info, vfs_inode); 138 extern int affs_insert_hash(struct inode *inode, struc 301 affs_lock_link(struct inode *inode) argument 306 affs_unlock_link(struct inode *inode) argument 311 affs_lock_dir(struct inode *inode) argument 316 affs_unlock_dir(struct inode *inode) argument 321 affs_lock_ext(struct inode *inode) argument 326 affs_unlock_ext(struct inode *inode) argument [all...] |
/linux-master/fs/omfs/ |
H A D | file.c | 31 int omfs_shrink_inode(struct inode *inode) argument 33 struct omfs_sb_info *sbi = OMFS_SB(inode->i_sb); 43 * than inode->i_size; 45 next = inode->i_ino; 49 if (inode->i_size != 0) 52 bh = omfs_bread(inode->i_sb, next); 79 omfs_clear_range(inode->i_sb, start, (int) count); 86 if (last != inode->i_ino) 87 omfs_clear_range(inode 106 omfs_truncate(struct inode *inode) argument 116 omfs_grow_extent(struct inode *inode, struct omfs_extent *oe, u64 *ret_block) argument 191 find_block(struct inode *inode, struct omfs_extent_entry *ent, sector_t block, int count, int *left) argument 217 omfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument 305 struct inode *inode = mapping->host; local 343 struct inode *inode = d_inode(dentry); local [all...] |
/linux-master/fs/configfs/ |
H A D | inode.c | 3 * inode.c - basic inode and dentry operations. 38 struct inode * inode = d_inode(dentry); local 58 sd_iattr->ia_ctime = current_time(inode); 80 if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID)) 88 static inline void set_default_inode_attr(struct inode * inode, umode_t mode) argument 90 inode->i_mode = mode; 91 simple_inode_init_ts(inode); 94 set_inode_attr(struct inode * inode, struct iattr * iattr) argument 107 struct inode * inode = new_inode(s); local 127 configfs_set_inode_lock_class(struct configfs_dirent *sd, struct inode *inode) argument 149 configfs_set_inode_lock_class(struct configfs_dirent *sd, struct inode *inode) argument 158 struct inode *inode = NULL; local [all...] |
/linux-master/fs/crypto/ |
H A D | hooks.c | 12 * @inode: the inode being opened 17 * Therefore, we first set up the inode's encryption key (if not already done) 21 * is being opened) is encrypted, then the inode being opened uses the same 30 int fscrypt_file_open(struct inode *inode, struct file *filp) argument 35 err = fscrypt_require_key(inode); 41 !fscrypt_has_permitted_context(d_inode(dir), inode)) { 42 fscrypt_warn(inode, 52 int __fscrypt_prepare_link(struct inode *inod argument 164 fscrypt_prepare_setflags(struct inode *inode, unsigned int oldflags, unsigned int flags) argument 263 __fscrypt_encrypt_symlink(struct inode *inode, const char *target, unsigned int len, struct fscrypt_str *disk_link) argument 333 fscrypt_get_symlink(struct inode *inode, const void *caddr, unsigned int max_size, struct delayed_call *done) argument 432 struct inode *inode = d_inode(dentry); local [all...] |
/linux-master/fs/smb/client/ |
H A D | fscache.c | 16 * Key for fscache inode. [!] Contents must match comparisons in cifs_find_inode(). 20 __le64 uniqueid; /* server inode number */ 127 void cifs_fscache_get_inode_cookie(struct inode *inode) argument 131 struct cifsInodeInfo *cifsi = CIFS_I(inode); 132 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); 137 key.type = (inode->i_mode & S_IFMT) >> 12; 138 cifs_fscache_fill_coherency(&cifsi->netfs.inode, &cd); 144 i_size_read(&cifsi->netfs.inode)); 146 mapping_set_release_always(inode 149 cifs_fscache_unuse_inode_cookie(struct inode *inode, bool update) argument 162 cifs_fscache_release_inode_cookie(struct inode *inode) argument 177 fscache_fallback_read_page(struct inode *inode, struct page *page) argument 202 fscache_fallback_write_pages(struct inode *inode, loff_t start, size_t len, bool no_space_allocated_yet) argument 228 __cifs_readpage_from_fscache(struct inode *inode, struct page *page) argument 244 __cifs_readahead_to_fscache(struct inode *inode, loff_t pos, size_t len) argument 255 __cifs_fscache_query_occupancy(struct inode *inode, pgoff_t first, unsigned int nr_pages, pgoff_t *_data_first, unsigned int *_data_nr_pages) argument [all...] |