Searched refs:inode (Results 76 - 100 of 1971) sorted by relevance

1234567891011>>

/linux-master/fs/ext2/
H A Dinode.c3 * linux/fs/ext2/inode.c
12 * linux/fs/minix/inode.c
43 static int __ext2_write_inode(struct inode *inode, int do_sync);
46 * Test whether an inode is a fast symlink.
48 static inline int ext2_inode_is_fast_symlink(struct inode *inode) argument
50 int ea_blocks = EXT2_I(inode)->i_file_acl ?
51 (inode->i_sb->s_blocksize >> 9) : 0;
53 return (S_ISLNK(inode
61 struct inode *inode = mapping->host; local
72 ext2_evict_inode(struct inode * inode) argument
163 ext2_block_to_path(struct inode *inode, long i_block, int offsets[4], int *boundary) argument
234 ext2_get_branch(struct inode *inode, int depth, int *offsets, Indirect chain[4], int *err) argument
294 ext2_find_near(struct inode *inode, Indirect *ind) argument
330 ext2_find_goal(struct inode *inode, long block, Indirect *partial) argument
399 ext2_alloc_blocks(struct inode *inode, ext2_fsblk_t goal, int indirect_blks, int blks, ext2_fsblk_t new_blocks[4], int *err) argument
479 ext2_alloc_branch(struct inode *inode, int indirect_blks, int *blks, ext2_fsblk_t goal, int *offsets, Indirect *branch) argument
561 ext2_splice_branch(struct inode *inode, long block, Indirect *where, int num, int blks) argument
624 ext2_get_blocks(struct inode *inode, sector_t iblock, unsigned long maxblocks, u32 *bno, bool *new, bool *boundary, int create) argument
783 ext2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
806 ext2_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument
872 ext2_iomap_end(struct inode *inode, loff_t offset, loff_t length, ssize_t written, unsigned flags, struct iomap *iomap) argument
894 ext2_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 len) argument
1028 ext2_find_shared(struct inode *inode, int depth, int offsets[4], Indirect chain[4], __le32 *top) argument
1087 ext2_free_data(struct inode *inode, __le32 *p, __le32 *q) argument
1127 ext2_free_branches(struct inode *inode, __le32 *p, __le32 *q, int depth) argument
1163 __ext2_truncate_blocks(struct inode *inode, loff_t offset) argument
1253 ext2_truncate_blocks(struct inode *inode, loff_t offset) argument
1266 ext2_setsize(struct inode *inode, loff_t newsize) argument
1348 ext2_set_inode_flags(struct inode *inode) argument
1368 ext2_set_file_ops(struct inode *inode) argument
1383 struct inode *inode; local
1503 __ext2_write_inode(struct inode *inode, int do_sync) argument
1607 ext2_write_inode(struct inode *inode, struct writeback_control *wbc) argument
1615 struct inode *inode = d_inode(path->dentry); local
1641 struct inode *inode = d_inode(dentry); local
[all...]
H A Dnamei.c40 static inline int ext2_add_nondir(struct dentry *dentry, struct inode *inode) argument
42 int err = ext2_add_link(dentry, inode);
44 d_instantiate_new(dentry, inode);
47 inode_dec_link_count(inode);
48 discard_new_inode(inode);
56 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags)
58 struct inode * inode; local
69 inode
106 struct inode *inode; local
125 struct inode *inode = ext2_new_inode(dir, mode, NULL); local
139 struct inode * inode; local
163 struct inode * inode; local
207 struct inode *inode = d_inode(old_dentry); local
231 struct inode * inode; local
274 struct inode *inode = d_inode(dentry); local
303 struct inode * inode = d_inode(dentry); local
[all...]
H A Dxattr_trusted.c20 struct dentry *unused, struct inode *inode,
23 return ext2_xattr_get(inode, EXT2_XATTR_INDEX_TRUSTED, name,
30 struct dentry *unused, struct inode *inode,
34 return ext2_xattr_set(inode, EXT2_XATTR_INDEX_TRUSTED, name,
19 ext2_xattr_trusted_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument
28 ext2_xattr_trusted_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *value, size_t size, int flags) argument
/linux-master/fs/nilfs2/
H A Dinode.c3 * NILFS inode operations.
28 * @ino: inode number
31 * @for_gc: inode for GC flag
32 * @for_btnc: inode for B-tree node cache flag
33 * @for_shadow: inode for shadowed page cache flag
44 static int nilfs_iget_test(struct inode *inode, void *opaque);
46 void nilfs_inode_add_blocks(struct inode *inode, int n) argument
48 struct nilfs_root *root = NILFS_I(inode)
55 nilfs_inode_sub_blocks(struct inode *inode, int n) argument
75 nilfs_get_block(struct inode *inode, sector_t blkoff, struct buffer_head *bh_result, int create) argument
161 struct inode *inode = mapping->host; local
179 struct inode *inode = folio->mapping->host; local
210 struct inode *inode = mapping->host; local
243 struct inode *inode = mapping->host; local
256 struct inode *inode = mapping->host; local
274 struct inode *inode = mapping->host; local
291 struct inode *inode = file_inode(iocb->ki_filp); local
313 nilfs_insert_inode_locked(struct inode *inode, struct nilfs_root *root, unsigned long ino) argument
329 struct inode *inode; local
423 nilfs_set_inode_flags(struct inode *inode) argument
442 nilfs_read_inode_common(struct inode *inode, struct nilfs_inode *raw_inode) argument
485 __nilfs_read_inode(struct super_block *sb, struct nilfs_root *root, unsigned long ino, struct inode *inode) argument
540 nilfs_iget_test(struct inode *inode, void *opaque) argument
568 nilfs_iget_set(struct inode *inode, void *opaque) argument
612 struct inode *inode; local
637 struct inode *inode; local
668 nilfs_attach_btree_node_cache(struct inode *inode) argument
706 nilfs_detach_btree_node_cache(struct inode *inode) argument
733 nilfs_iget_for_shadow(struct inode *inode) argument
772 nilfs_write_inode_common(struct inode *inode, struct nilfs_inode *raw_inode) argument
797 nilfs_update_inode(struct inode *inode, struct buffer_head *ibh, int flags) argument
852 nilfs_truncate(struct inode *inode) argument
886 nilfs_clear_inode(struct inode *inode) argument
910 nilfs_evict_inode(struct inode *inode) argument
969 struct inode *inode = d_inode(dentry); local
1004 nilfs_permission(struct mnt_idmap *idmap, struct inode *inode, int mask) argument
1016 nilfs_load_inode_block(struct inode *inode, struct buffer_head **pbh) argument
1047 nilfs_inode_dirty(struct inode *inode) argument
1062 nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty) argument
1100 __nilfs_mark_inode_dirty(struct inode *inode, int flags) argument
1138 nilfs_dirty_inode(struct inode *inode, int flags) argument
1158 nilfs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, __u64 start, __u64 len) argument
[all...]
H A Dsufile.h18 static inline unsigned long nilfs_sufile_get_nsegments(struct inode *sufile)
23 unsigned long nilfs_sufile_get_ncleansegs(struct inode *sufile);
25 int nilfs_sufile_set_alloc_range(struct inode *sufile, __u64 start, __u64 end);
26 int nilfs_sufile_alloc(struct inode *, __u64 *);
27 int nilfs_sufile_mark_dirty(struct inode *sufile, __u64 segnum);
28 int nilfs_sufile_set_segment_usage(struct inode *sufile, __u64 segnum,
30 int nilfs_sufile_get_stat(struct inode *, struct nilfs_sustat *);
31 ssize_t nilfs_sufile_get_suinfo(struct inode *, __u64, void *, unsigned int,
33 ssize_t nilfs_sufile_set_suinfo(struct inode *, void *, unsigned int, size_t);
35 int nilfs_sufile_updatev(struct inode *, __u6
[all...]
H A Dnilfs.h23 * struct nilfs_inode_info - nilfs inode data in memory
24 * @i_flags: inode flags
30 * @i_cno: checkpoint number for GC inode
31 * @i_assoc_inode: associated inode (B-tree node cache holder or back pointer)
34 * @i_bh: buffer contains disk inode
36 * @vfs_inode: VFS inode object
45 __u64 i_cno; /* check point number for GC inode */
46 struct inode *i_assoc_inode;
61 * disk inode.
64 struct inode vfs_inod
67 NILFS_I(const struct inode *inode) argument
194 nilfs_acl_chmod(struct inode *inode) argument
199 nilfs_init_acl(struct inode *inode, struct inode *dir) argument
287 nilfs_mark_inode_dirty(struct inode *inode) argument
291 nilfs_mark_inode_dirty_sync(struct inode *inode) argument
[all...]
/linux-master/fs/coda/
H A Dcoda_linux.h47 int coda_open(struct inode *i, struct file *f);
48 int coda_release(struct inode *i, struct file *f);
49 int coda_permission(struct mnt_idmap *idmap, struct inode *inode,
51 int coda_revalidate_inode(struct inode *);
61 void coda_vattr_to_iattr(struct inode *, struct coda_vattr *);
65 /* inode to cnode access functions */
67 static inline struct coda_inode_info *ITOC(struct inode *inode) argument
69 return container_of(inode, struc
72 coda_i2f(struct inode *inode) argument
77 coda_i2s(struct inode *inode) argument
83 coda_flag_inode(struct inode *inode, int flag) argument
[all...]
H A Dcache.c31 void coda_cache_enter(struct inode *inode, int mask) argument
33 struct coda_inode_info *cii = ITOC(inode);
45 /* remove cached acl from an inode */
46 void coda_cache_clear_inode(struct inode *inode) argument
48 struct coda_inode_info *cii = ITOC(inode);
62 int coda_cache_check(struct inode *inode, int mask) argument
64 struct coda_inode_info *cii = ITOC(inode);
97 struct inode *inode = d_inode_rcu(de); local
105 coda_flag_inode_children(struct inode *inode, int flag) argument
[all...]
/linux-master/include/linux/
H A Dfscrypt.h79 * that assume inode numbers fit in 32 bits (i.e.
113 * Get the fscrypt context of the given inode.
115 * @inode: the inode whose context to get
121 * inode doesn't have a context, -ERANGE if the context is
124 int (*get_context)(struct inode *inode, void *ctx, size_t len);
127 * Set an fscrypt context on the given inode.
129 * @inode: the inode whos
198 fscrypt_get_inode_info(const struct inode *inode) argument
220 fscrypt_needs_contents_encryption(const struct inode *inode) argument
453 fscrypt_get_inode_info(const struct inode *inode) argument
458 fscrypt_needs_contents_encryption(const struct inode *inode) argument
490 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
505 fscrypt_decrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num) argument
568 fscrypt_set_context(struct inode *inode, void *fs_data) argument
636 fscrypt_prepare_new_inode(struct inode *dir, struct inode *inode, bool *encrypt_ret) argument
645 fscrypt_put_encryption_info(struct inode *inode) argument
650 fscrypt_free_inode(struct inode *inode) argument
654 fscrypt_drop_inode(struct inode *inode) argument
690 fscrypt_fname_disk_to_usr(const struct inode *inode, u32 hash, u32 minor_hash, const struct fscrypt_str *iname, struct fscrypt_str *oname) argument
726 fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk, sector_t pblk, unsigned int len) argument
734 fscrypt_file_open(struct inode *inode, struct file *filp) argument
741 __fscrypt_prepare_link(struct inode *inode, struct inode *dir, struct dentry *dentry) argument
780 fscrypt_prepare_setflags(struct inode *inode, unsigned int oldflags, unsigned int flags) argument
802 __fscrypt_encrypt_symlink(struct inode *inode, const char *target, unsigned int len, struct fscrypt_str *disk_link) argument
810 fscrypt_get_symlink(struct inode *inode, const void *caddr, unsigned int max_size, struct delayed_call *done) argument
856 __fscrypt_inode_uses_inline_crypto(const struct inode *inode) argument
861 fscrypt_set_bio_crypt_ctx(struct bio *bio, const struct inode *inode, u64 first_lblk, gfp_t gfp_mask) argument
870 fscrypt_mergeable_bio(struct bio *bio, const struct inode *inode, u64 next_lblk) argument
883 fscrypt_dio_supported(struct inode *inode) argument
888 fscrypt_limit_io_blocks(const struct inode *inode, u64 lblk, u64 nr_blocks) argument
904 fscrypt_inode_uses_inline_crypto(const struct inode *inode) argument
919 fscrypt_inode_uses_fs_layer_crypto(const struct inode *inode) argument
934 fscrypt_has_encryption_key(const struct inode *inode) argument
1101 fscrypt_encrypt_symlink(struct inode *inode, const char *target, unsigned int len, struct fscrypt_str *disk_link) argument
[all...]
H A Dnfs_fs.h126 * nfs fs inode data in memory
130 * The 64bit 'inode number'
146 * read_cache_jiffies is when we started read-caching this inode.
152 * We need to revalidate the cached attrs for this inode if
201 * the inode's iversion has been updated.
248 struct inode vfs_inode;
250 struct netfs_inode netfs; /* netfs context and VFS inode */
308 | NFS_INO_INVALID_OTHER) /* inode metadata is invalid */
313 #define NFS_INO_STALE (1) /* possible stale inode */
315 #define NFS_INO_INVALIDATING (3) /* inode i
322 NFS_I(const struct inode *inode) argument
332 NFS_FH(const struct inode *inode) argument
337 NFS_SERVER(const struct inode *inode) argument
342 NFS_CLIENT(const struct inode *inode) argument
347 NFS_PROTO(const struct inode *inode) argument
352 NFS_MINATTRTIMEO(const struct inode *inode) argument
358 NFS_MAXATTRTIMEO(const struct inode *inode) argument
364 NFS_STALE(const struct inode *inode) argument
369 NFS_FILEID(const struct inode *inode) argument
374 set_nfs_fileid(struct inode *inode, __u64 fileid) argument
379 nfs_mark_for_revalidate(struct inode *inode) argument
392 nfs_server_capable(const struct inode *inode, int cap) argument
617 nfs_have_writebacks(const struct inode *inode) argument
[all...]
H A Dposix_acl.h71 extern struct posix_acl *get_posix_acl(struct inode *, int);
75 struct posix_acl *get_cached_acl_rcu(struct inode *inode, int type);
80 extern int posix_acl_create(struct inode *, umode_t *, struct posix_acl **,
82 int posix_acl_update_mode(struct mnt_idmap *, struct inode *, umode_t *,
87 extern int simple_acl_create(struct inode *, struct inode *);
89 struct posix_acl *get_cached_acl(struct inode *inode, int type);
90 void set_cached_acl(struct inode *inod
97 cache_no_acl(struct inode *inode) argument
120 simple_acl_create(struct inode *dir, struct inode *inode) argument
124 cache_no_acl(struct inode *inode) argument
128 posix_acl_create(struct inode *inode, umode_t *mode, struct posix_acl **default_acl, struct posix_acl **acl) argument
135 forget_all_cached_acls(struct inode *inode) argument
158 posix_acl_listxattr(struct inode *inode, char **buffer, ssize_t *remaining_size) argument
[all...]
H A Dfs.h92 typedef int (get_block_t)(struct inode *inode, sector_t iblock,
443 * @host: Owner, either the inode or the block_device.
464 struct inode *host;
593 #define i_size_ordered_init(inode) seqcount_init(&inode->i_size_seqcount)
595 #define i_size_ordered_init(inode) do { } while (0)
630 * of the 'struct inode'
632 struct inode { struct
692 /* foreign inode detectio
751 inode_unhashed(struct inode *inode) argument
762 inode_fake_hash(struct inode *inode) argument
793 inode_lock(struct inode *inode) argument
798 inode_unlock(struct inode *inode) argument
803 inode_lock_shared(struct inode *inode) argument
808 inode_unlock_shared(struct inode *inode) argument
813 inode_trylock(struct inode *inode) argument
818 inode_trylock_shared(struct inode *inode) argument
823 inode_is_locked(struct inode *inode) argument
828 inode_lock_nested(struct inode *inode, unsigned subclass) argument
833 inode_lock_shared_nested(struct inode *inode, unsigned subclass) argument
884 i_size_read(const struct inode *inode) argument
913 i_size_write(struct inode *inode, loff_t i_size) argument
935 iminor(const struct inode *inode) argument
940 imajor(const struct inode *inode) argument
1355 i_user_ns(const struct inode *inode) argument
1365 i_uid_read(const struct inode *inode) argument
1370 i_gid_read(const struct inode *inode) argument
1375 i_uid_write(struct inode *inode, uid_t uid) argument
1380 i_gid_write(struct inode *inode, gid_t gid) argument
1393 i_uid_into_vfsuid(struct mnt_idmap *idmap, const struct inode *inode) argument
1410 i_uid_needs_update(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode) argument
1428 i_uid_update(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode) argument
1445 i_gid_into_vfsgid(struct mnt_idmap *idmap, const struct inode *inode) argument
1462 i_gid_needs_update(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode) argument
1480 i_gid_update(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode) argument
1497 inode_fsuid_set(struct inode *inode, struct mnt_idmap *idmap) argument
1511 inode_fsgid_set(struct inode *inode, struct mnt_idmap *idmap) argument
1548 inode_get_atime_sec(const struct inode *inode) argument
1553 inode_get_atime_nsec(const struct inode *inode) argument
1558 inode_get_atime(const struct inode *inode) argument
1563 inode_set_atime_to_ts(struct inode *inode, struct timespec64 ts) argument
1570 inode_set_atime(struct inode *inode, time64_t sec, long nsec) argument
1578 inode_get_mtime_sec(const struct inode *inode) argument
1583 inode_get_mtime_nsec(const struct inode *inode) argument
1588 inode_get_mtime(const struct inode *inode) argument
1593 inode_set_mtime_to_ts(struct inode *inode, struct timespec64 ts) argument
1600 inode_set_mtime(struct inode *inode, time64_t sec, long nsec) argument
1608 inode_get_ctime_sec(const struct inode *inode) argument
1613 inode_get_ctime_nsec(const struct inode *inode) argument
1618 inode_get_ctime(const struct inode *inode) argument
1623 inode_set_ctime_to_ts(struct inode *inode, struct timespec64 ts) argument
1638 inode_set_ctime(struct inode *inode, time64_t sec, long nsec) argument
2269 HAS_UNMAPPED_ID(struct mnt_idmap *idmap, struct inode *inode) argument
2403 mark_inode_dirty(struct inode *inode) argument
2408 mark_inode_dirty_sync(struct inode *inode) argument
2422 inode_is_dirtytime_only(struct inode *inode) argument
2433 inode_inc_link_count(struct inode *inode) argument
2439 inode_dec_link_count(struct inode *inode) argument
2811 bmap(struct inode *inode, sector_t *block) argument
2834 execute_ok(struct inode *inode) argument
2839 inode_wrong_type(const struct inode *inode, umode_t mode) argument
2887 struct inode *inode = file_inode(iocb->ki_filp); local
2905 struct inode *inode = file_inode(iocb->ki_filp); local
2935 get_write_access(struct inode *inode) argument
2941 struct inode *inode = file_inode(file); local
2944 put_write_access(struct inode * inode) argument
2953 inode_is_open_for_write(const struct inode *inode) argument
2959 i_readcount_dec(struct inode *inode) argument
2968 i_readcount_dec(struct inode *inode) argument
2972 i_readcount_inc(struct inode *inode) argument
3016 generic_drop_inode(struct inode *inode) argument
3048 lockdep_annotate_inode_mutex_key(struct inode *inode) argument
3095 insert_inode_hash(struct inode *inode) argument
3101 remove_inode_hash(struct inode *inode) argument
3185 blockdev_direct_IO(struct kiocb *iocb, struct inode *inode, struct iov_iter *iter, get_block_t get_block) argument
3204 inode_dio_begin(struct inode *inode) argument
3216 inode_dio_end(struct inode *inode) argument
3245 __inode_get_bytes(struct inode *inode) argument
3383 struct inode *inode; local
3546 check_sticky(struct mnt_idmap *idmap, struct inode *dir, struct inode *inode) argument
3555 inode_has_no_xattr(struct inode *inode) argument
3561 is_root_inode(struct inode *inode) argument
3596 dir_relax(struct inode *inode) argument
3603 dir_relax_shared(struct inode *inode) argument
[all...]
/linux-master/fs/proc/
H A Dself.c12 struct inode *inode,
15 struct pid_namespace *ns = proc_pid_ns(inode->i_sb);
38 struct inode *root_inode = d_inode(s->s_root);
46 struct inode *inode = new_inode(s); local
47 if (inode) {
48 inode->i_ino = self_inum;
49 simple_inode_init_ts(inode);
50 inode
11 proc_self_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
[all...]
/linux-master/fs/btrfs/
H A Dbtrfs_inode.h27 #include "delayed-inode.h"
47 * the btrfs file release call will add this inode to the
57 * Always set under the VFS' inode lock, otherwise it can cause races
66 * Set and used when logging an inode and it serves to signal that an
67 * inode does not have xattrs, so subsequent fsyncs can avoid searching
69 * to an inode.
77 * delalloc for this inode, because that could result in a deadlock (on
78 * the file range, inode's io_tree).
88 /* Set when this inode is a free space inode
288 btrfs_get_first_dir_index_to_log(const struct btrfs_inode *inode) argument
293 btrfs_set_first_dir_index_to_log(struct btrfs_inode *inode, u64 index) argument
299 BTRFS_I(const struct inode *inode) argument
322 btrfs_ino(const struct btrfs_inode *inode) argument
334 btrfs_ino(const struct btrfs_inode *inode) argument
341 btrfs_i_size_write(struct btrfs_inode *inode, u64 size) argument
347 btrfs_is_free_space_inode(struct btrfs_inode *inode) argument
352 is_data_inode(struct inode *inode) argument
357 btrfs_mod_outstanding_extents(struct btrfs_inode *inode, int mod) argument
376 btrfs_set_inode_last_sub_trans(struct btrfs_inode *inode) argument
388 btrfs_set_inode_full_sync(struct btrfs_inode *inode) argument
413 btrfs_inode_in_log(struct btrfs_inode *inode, u64 generation) argument
429 btrfs_inode_can_compress(const struct btrfs_inode *inode) argument
473 struct inode *inode; member in struct:btrfs_new_inode_args
[all...]
/linux-master/fs/ext4/
H A Dverity.c32 static inline loff_t ext4_verity_metadata_pos(const struct inode *inode) argument
34 return round_up(inode->i_size, 65536);
38 * Read some verity metadata from the inode. __vfs_read() can't be used because
41 static int pagecache_read(struct inode *inode, void *buf, size_t count, argument
48 folio = read_mapping_folio(inode->i_mapping, pos >> PAGE_SHIFT,
64 * Write some verity metadata to the inode for FS_IOC_ENABLE_VERITY.
67 static int pagecache_write(struct inode *inode, cons argument
104 struct inode *inode = file_inode(filp); local
171 ext4_write_verity_descriptor(struct inode *inode, const void *desc, size_t desc_size, u64 merkle_tree_size) argument
194 struct inode *inode = file_inode(filp); local
269 ext4_get_verity_descriptor_location(struct inode *inode, size_t *desc_size_ret, u64 *desc_pos_ret) argument
339 ext4_get_verity_descriptor(struct inode *inode, void *buf, size_t buf_size) argument
360 ext4_read_merkle_tree_page(struct inode *inode, pgoff_t index, unsigned long num_ra_pages) argument
383 ext4_write_merkle_tree_block(struct inode *inode, const void *buf, u64 pos, unsigned int size) argument
[all...]
H A Dinode.c3 * linux/fs/ext4/inode.c
12 * linux/fs/minix/inode.c
52 static __u32 ext4_inode_csum(struct inode *inode, struct ext4_inode *raw, argument
55 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb);
67 if (EXT4_INODE_SIZE(inode->i_sb) > EXT4_GOOD_OLD_INODE_SIZE) {
78 EXT4_INODE_SIZE(inode->i_sb) - offset);
84 static int ext4_inode_csum_verify(struct inode *inode, struct ext4_inode *raw, argument
89 if (EXT4_SB(inode
105 ext4_inode_csum_set(struct inode *inode, struct ext4_inode *raw, struct ext4_inode_info *ei) argument
122 ext4_begin_ordered_truncate(struct inode *inode, loff_t new_size) argument
146 ext4_inode_is_fast_symlink(struct inode *inode) argument
164 ext4_evict_inode(struct inode *inode) argument
322 ext4_get_reserved_space(struct inode *inode) argument
332 ext4_da_update_reserve_space(struct inode *inode, int used, int quota_claim) argument
377 __check_block_validity(struct inode *inode, const char *func, unsigned int line, struct ext4_map_blocks *map) argument
395 ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk, ext4_fsblk_t pblk, ext4_lblk_t len) argument
414 ext4_map_blocks_es_recheck(handle_t *handle, struct inode *inode, struct ext4_map_blocks *es_map, struct ext4_map_blocks *map, int flags) argument
479 ext4_map_blocks(handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, int flags) argument
753 _ext4_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh, int flags) argument
779 ext4_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh, int create) argument
791 ext4_get_block_unwritten(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument
818 ext4_getblk(handle_t *handle, struct inode *inode, ext4_lblk_t block, int map_flags) argument
883 ext4_bread(handle_t *handle, struct inode *inode, ext4_lblk_t block, int map_flags) argument
904 ext4_bread_batch(struct inode *inode, ext4_lblk_t block, int bh_count, bool wait, struct buffer_head **bhs) argument
946 ext4_walk_page_buffers(handle_t *handle, struct inode *inode, struct buffer_head *head, unsigned from, unsigned to, int *partial, int (*fn)(handle_t *handle, struct inode *inode, struct buffer_head *bh)) argument
989 do_journal_get_write_access(handle_t *handle, struct inode *inode, struct buffer_head *bh) argument
1021 struct inode *inode = folio->mapping->host; local
1121 struct inode *inode = mapping->host; local
1249 write_end_fn(handle_t *handle, struct inode *inode, struct buffer_head *bh) argument
1276 struct inode *inode = mapping->host; local
1343 ext4_journalled_zero_new_buffers(handle_t *handle, struct inode *inode, struct folio *folio, unsigned from, unsigned to) argument
1380 struct inode *inode = mapping->host; local
1455 ext4_da_reserve_space(struct inode *inode) argument
1483 ext4_da_release_space(struct inode *inode, int to_free) argument
1524 struct inode *inode; member in struct:mpage_da_data
1550 struct inode *inode = mpd->inode; local
1601 ext4_print_free_blocks(struct inode *inode) argument
1634 ext4_insert_delayed_block(struct inode *inode, ext4_lblk_t lblk) argument
1686 ext4_da_map_blocks(struct inode *inode, sector_t iblock, struct ext4_map_blocks *map, struct buffer_head *bh) argument
1800 ext4_da_get_block_prep(struct inode *inode, sector_t iblock, struct buffer_head *bh, int create) argument
1958 struct inode *inode = mpd->inode; local
2084 struct inode *inode = mpd->inode; local
2133 struct inode *inode = mpd->inode; local
2203 struct inode *inode = mpd->inode; local
2295 ext4_da_writepages_trans_blocks(struct inode *inode) argument
2307 struct inode *inode = folio->mapping->host; local
2328 struct inode *inode = mpd->inode; local
2519 struct inode *inode = mpd->inode; local
2802 struct inode *inode = mapping->host; local
2860 struct inode *inode = mapping->host; local
2927 struct inode *inode = folio->mapping->host; local
2946 struct inode *inode = mapping->host; local
3009 struct inode *inode = mapping->host; local
3034 ext4_alloc_da_blocks(struct inode *inode) argument
3091 struct inode *inode = mapping->host; local
3122 struct inode *inode = folio->mapping->host; local
3137 struct inode *inode = rac->mapping->host; local
3183 struct inode *inode = folio->mapping->host; local
3197 ext4_inode_datasync_dirty(struct inode *inode) argument
3216 ext4_set_iomap(struct inode *inode, struct iomap *iomap, struct ext4_map_blocks *map, loff_t offset, loff_t length, unsigned int flags) argument
3274 ext4_iomap_alloc(struct inode *inode, struct ext4_map_blocks *map, unsigned int flags) argument
3336 ext4_iomap_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument
3388 ext4_iomap_overwrite_begin(struct inode *inode, loff_t offset, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument
3404 ext4_iomap_end(struct inode *inode, loff_t offset, loff_t length, ssize_t written, unsigned flags, struct iomap *iomap) argument
3430 ext4_iomap_begin_report(struct inode *inode, loff_t offset, loff_t length, unsigned int flags, struct iomap *iomap, struct iomap *srcmap) argument
3582 ext4_set_aops(struct inode *inode) argument
3615 struct inode *inode = mapping->host; local
3711 struct inode *inode = mapping->host; local
3742 struct inode *inode = mapping->host; local
3754 ext4_zero_partial_blocks(handle_t *handle, struct inode *inode, loff_t lstart, loff_t length) argument
3792 ext4_can_truncate(struct inode *inode) argument
3809 ext4_update_disksize_before_punch(struct inode *inode, loff_t offset, loff_t len) argument
3834 ext4_wait_dax_page(struct inode *inode) argument
3841 ext4_break_layouts(struct inode *inode) argument
3876 struct inode *inode = file_inode(file); local
4023 ext4_inode_attach_jinode(struct inode *inode) argument
4076 ext4_truncate(struct inode *inode) argument
4179 ext4_inode_peek_iversion(const struct inode *inode) argument
4190 struct inode *inode = &(ei->vfs_inode); local
4231 ext4_fill_raw_inode(struct inode *inode, struct ext4_inode *raw_inode) argument
4332 __ext4_get_inode_loc(struct super_block *sb, unsigned long ino, struct inode *inode, struct ext4_iloc *iloc, ext4_fsblk_t *ret_block) argument
4476 __ext4_get_inode_loc_noinmem(struct inode *inode, struct ext4_iloc *iloc) argument
4492 ext4_get_inode_loc(struct inode *inode, struct ext4_iloc *iloc) argument
4514 ext4_should_enable_dax(struct inode *inode) argument
4538 ext4_set_inode_flags(struct inode *inode, bool init) argument
4577 struct inode *inode = &(ei->vfs_inode); local
4595 ext4_iget_extra_inode(struct inode *inode, struct ext4_inode *raw_inode, struct ext4_inode_info *ei) argument
4616 ext4_get_projid(struct inode *inode, kprojid_t *projid) argument
4629 ext4_inode_set_iversion_queried(struct inode *inode, u64 val) argument
4637 check_igot_inode(struct inode *inode, ext4_iget_flags flags) argument
4663 struct inode *inode; local
4989 struct inode *inode; local
5051 ext4_do_update_inode(handle_t *handle, struct inode *inode, struct ext4_iloc *iloc) argument
5152 ext4_write_inode(struct inode *inode, struct writeback_control *wbc) argument
5206 ext4_wait_for_tail_page_commit(struct inode *inode) argument
5273 struct inode *inode = d_inode(dentry); local
5487 ext4_dio_alignment(struct inode *inode) argument
5506 struct inode *inode = d_inode(path->dentry); local
5568 struct inode *inode = d_inode(path->dentry); local
5598 ext4_index_trans_blocks(struct inode *inode, int lblocks, int pextents) argument
5617 ext4_meta_trans_blocks(struct inode *inode, int lblocks, int pextents) argument
5663 ext4_writepage_trans_blocks(struct inode *inode) argument
5685 ext4_chunk_trans_blocks(struct inode *inode, int nrblocks) argument
5694 ext4_mark_iloc_dirty(handle_t *handle, struct inode *inode, struct ext4_iloc *iloc) argument
5720 ext4_reserve_inode_write(handle_t *handle, struct inode *inode, struct ext4_iloc *iloc) argument
5742 __ext4_expand_extra_isize(struct inode *inode, unsigned int new_extra_isize, struct ext4_iloc *iloc, handle_t *handle, int *no_expand) argument
5805 ext4_try_to_expand_extra_isize(struct inode *inode, unsigned int new_extra_isize, struct ext4_iloc iloc, handle_t *handle) argument
5839 ext4_expand_extra_isize(struct inode *inode, unsigned int new_extra_isize, struct ext4_iloc *iloc) argument
5896 __ext4_mark_inode_dirty(handle_t *handle, struct inode *inode, const char *func, unsigned int line) argument
5935 ext4_dirty_inode(struct inode *inode, int flags) argument
5946 ext4_change_inode_journal_flag(struct inode *inode, int val) argument
6035 ext4_bh_unmapped(handle_t *handle, struct inode *inode, struct buffer_head *bh) argument
6050 struct inode *inode = file_inode(file); local
[all...]
/linux-master/fs/jfs/
H A Dfile.c21 struct inode *inode = file->f_mapping->host; local
28 inode_lock(inode);
29 if (!(inode->i_state & I_DIRTY_ALL) ||
30 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) {
32 jfs_flush_journal(JFS_SBI(inode->i_sb)->log, 1);
33 inode_unlock(inode);
37 rc |= jfs_commit_inode(inode, 1);
38 inode_unlock(inode);
43 static int jfs_open(struct inode *inod argument
73 jfs_release(struct inode *inode, struct file *file) argument
91 struct inode *inode = d_inode(dentry); local
[all...]
/linux-master/fs/zonefs/
H A Dfile.c27 static int zonefs_read_iomap_begin(struct inode *inode, loff_t offset, argument
31 struct zonefs_inode_info *zi = ZONEFS_I(inode);
32 struct zonefs_zone *z = zonefs_inode_zone(inode);
33 struct super_block *sb = inode->i_sb;
41 iomap->bdev = inode->i_sb->s_bdev;
43 isize = i_size_read(inode);
55 trace_zonefs_iomap_begin(inode, iomap);
64 static int zonefs_write_iomap_begin(struct inode *inode, loff_ argument
127 zonefs_write_map_blocks(struct iomap_writepage_ctx *wpc, struct inode *inode, loff_t offset, unsigned int len) argument
163 struct inode *inode = file_inode(swap_file); local
188 zonefs_file_truncate(struct inode *inode, loff_t isize) argument
261 struct inode *inode = file_inode(file); local
284 struct inode *inode = file_inode(vmf->vma->vm_file); local
348 struct inode *inode = file_inode(iocb->ki_filp); local
391 struct inode *inode = file_inode(file); local
416 struct inode *inode = file_inode(file); local
459 struct inode *inode = file_inode(iocb->ki_filp); local
545 struct inode *inode = file_inode(iocb->ki_filp); local
580 struct inode *inode = file_inode(iocb->ki_filp); local
620 struct inode *inode = file_inode(iocb->ki_filp); local
678 struct inode *inode = file_inode(in); local
715 zonefs_seq_file_need_wro(struct inode *inode, struct file *file) argument
727 zonefs_seq_file_write_open(struct inode *inode) argument
769 zonefs_file_open(struct inode *inode, struct file *file) argument
784 zonefs_seq_file_write_close(struct inode *inode) argument
835 zonefs_file_release(struct inode *inode, struct file *file) argument
[all...]
/linux-master/fs/hfs/
H A Dinode.c2 * linux/fs/hfs/inode.c
8 * This file contains inode-related functions which do not depend on
39 struct inode *inode = mapping->host; local
41 if (to > inode->i_size) {
42 truncate_pagecache(inode, inode->i_size);
43 hfs_file_truncate(inode);
69 struct inode *inode local
129 struct inode *inode = mapping->host; local
186 struct inode *inode = new_inode(sb); local
240 hfs_delete_inode(struct inode *inode) argument
266 hfs_inode_read_fork(struct inode *inode, struct hfs_extent *ext, __be32 __log_size, __be32 phys_size, u32 clump_size) argument
294 hfs_test_inode(struct inode *inode, void *data) argument
314 hfs_read_inode(struct inode *inode, void *data) argument
388 struct inode *inode; local
407 hfs_inode_write_fork(struct inode *inode, struct hfs_extent *ext, __be32 *log_size, __be32 *phys_size) argument
419 hfs_write_inode(struct inode *inode, struct writeback_control *wbc) argument
515 struct inode *inode = NULL; local
557 hfs_evict_inode(struct inode *inode) argument
567 hfs_file_open(struct inode *inode, struct file *file) argument
575 hfs_file_release(struct inode *inode, struct file *file) argument
613 struct inode *inode = d_inode(dentry); local
664 struct inode *inode = filp->f_mapping->host; local
[all...]
/linux-master/fs/
H A Dattr.c25 * @idmap: idmap of the mount @inode was found from
26 * @inode: inode to check
36 const struct inode *inode)
38 umode_t mode = inode->i_mode;
44 if (!in_group_or_capable(idmap, inode, i_gid_into_vfsgid(idmap, inode)))
53 * @idmap: idmap of the mount @inode was found from
54 * @inode
35 setattr_should_drop_sgid(struct mnt_idmap *idmap, const struct inode *inode) argument
65 setattr_should_drop_suidgid(struct mnt_idmap *idmap, struct inode *inode) argument
96 chown_ok(struct mnt_idmap *idmap, const struct inode *inode, vfsuid_t ia_vfsuid) argument
123 chgrp_ok(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t ia_vfsgid) argument
166 struct inode *inode = d_inode(dentry); local
246 inode_newsize_ok(const struct inode *inode, loff_t offset) argument
301 setattr_copy(struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr) argument
324 may_setattr(struct mnt_idmap *idmap, struct inode *inode, unsigned int ia_valid) argument
382 struct inode *inode = dentry->d_inode; local
[all...]
/linux-master/fs/f2fs/
H A Dacl.h36 extern struct posix_acl *f2fs_get_acl(struct inode *, int, bool);
39 extern int f2fs_init_acl(struct inode *, struct inode *, struct page *,
45 static inline int f2fs_init_acl(struct inode *inode, struct inode *dir, argument
/linux-master/fs/hfsplus/
H A Dxattr_trusted.c16 struct dentry *unused, struct inode *inode,
19 return hfsplus_getxattr(inode, name, buffer, size,
26 struct dentry *unused, struct inode *inode,
30 return hfsplus_setxattr(inode, name, buffer, size, flags,
15 hfsplus_trusted_getxattr(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument
24 hfsplus_trusted_setxattr(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument
H A Dxattr_user.c16 struct dentry *unused, struct inode *inode,
20 return hfsplus_getxattr(inode, name, buffer, size,
26 struct dentry *unused, struct inode *inode,
30 return hfsplus_setxattr(inode, name, buffer, size, flags,
15 hfsplus_user_getxattr(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) argument
24 hfsplus_user_setxattr(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *unused, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument
/linux-master/fs/nfs/
H A Dnfs3_fs.h14 extern struct posix_acl *nfs3_get_acl(struct inode *inode, int type, bool rcu);
17 extern int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl,
21 static inline int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, argument
/linux-master/fs/reiserfs/
H A Dfile.c32 static int reiserfs_file_release(struct inode *inode, struct file *filp) argument
39 BUG_ON(!S_ISREG(inode->i_mode));
41 if (!atomic_dec_and_mutex_lock(&REISERFS_I(inode)->openers,
42 &REISERFS_I(inode)->tailpack))
46 if ((!(REISERFS_I(inode)->i_flags & i_pack_on_close_mask) ||
47 !tail_has_to_be_packed(inode)) &&
48 REISERFS_I(inode)->i_prealloc_count <= 0) {
49 mutex_unlock(&REISERFS_I(inode)->tailpack);
53 reiserfs_write_lock(inode
117 reiserfs_file_open(struct inode *inode, struct file *file) argument
130 reiserfs_vfs_truncate_file(struct inode *inode) argument
147 struct inode *inode = filp->f_mapping->host; local
170 reiserfs_commit_page(struct inode *inode, struct page *page, unsigned from, unsigned to) argument
[all...]

Completed in 479 milliseconds

1234567891011>>