Searched refs:inode (Results 26 - 50 of 1971) sorted by relevance

1234567891011>>

/linux-master/fs/btrfs/
H A Dxattr.h10 struct inode;
17 int btrfs_getxattr(struct inode *inode, const char *name,
19 int btrfs_setxattr(struct btrfs_trans_handle *trans, struct inode *inode,
21 int btrfs_setxattr_trans(struct inode *inode, const char *name,
26 struct inode *inode, struct inode *di
[all...]
/linux-master/fs/9p/
H A Dv9fs_vfs.h41 struct inode *v9fs_alloc_inode(struct super_block *sb);
42 void v9fs_free_inode(struct inode *inode);
43 void v9fs_set_netfs_context(struct inode *inode);
45 struct inode *inode, struct p9_qid *qid, umode_t mode, dev_t rdev);
46 void v9fs_evict_inode(struct inode *inode);
53 void v9fs_stat2inode(struct p9_wstat *stat, struct inode *inod
68 v9fs_invalidate_inode_attr(struct inode *inode) argument
78 v9fs_i_size_write(struct inode *inode, loff_t i_size) argument
[all...]
/linux-master/fs/reiserfs/
H A Dxattr.h8 struct inode;
17 int reiserfs_delete_xattrs(struct inode *inode);
18 int reiserfs_chown_xattrs(struct inode *inode, struct iattr *attrs);
20 struct inode *inode, int mask);
23 #define has_xattr_dir(inode) (REISERFS_I(inode)->i_flags & i_has_xattr_dir)
26 int reiserfs_xattr_get(struct inode *, cons
51 reiserfs_xattr_nblocks(struct inode *inode, loff_t size) argument
73 reiserfs_xattr_jcreate_nblocks(struct inode *inode) argument
86 reiserfs_init_xattr_rwsem(struct inode *inode) argument
95 reiserfs_init_xattr_rwsem(struct inode *inode) argument
101 reiserfs_security_init(struct inode *dir, struct inode *inode, const struct qstr *qstr, struct reiserfs_security_handle *sec) argument
109 reiserfs_security_write(struct reiserfs_transaction_handle *th, struct inode *inode, struct reiserfs_security_handle *sec) argument
[all...]
H A Dioctl.c17 struct inode *inode = d_inode(dentry); local
19 if (!reiserfs_attrs(inode->i_sb))
22 fileattr_fill_flags(fa, REISERFS_I(inode)->i_attrs);
30 struct inode *inode = d_inode(dentry); local
34 reiserfs_write_lock(inode->i_sb);
37 if (!reiserfs_attrs(inode->i_sb))
48 if (IS_NOQUOTA(inode))
51 if ((flags & REISERFS_NOTAIL_FL) && S_ISREG(inode
78 struct inode *inode = file_inode(filp); local
157 reiserfs_unpack(struct inode *inode) argument
[all...]
/linux-master/fs/efs/
H A Dfile.c13 int efs_get_block(struct inode *inode, sector_t iblock, argument
21 if (iblock >= inode->i_blocks) {
27 __func__, block, inode->i_blocks, inode->i_size);
31 phys = efs_map_block(inode, iblock);
33 map_bh(bh_result, inode->i_sb, phys);
37 int efs_bmap(struct inode *inode, efs_block_t block) { argument
45 if (!(block < inode
[all...]
/linux-master/fs/nilfs2/
H A Dalloc.h3 * Persistent object (dat entry/disk inode) allocator/deallocator
20 * @inode: inode of metadata file using this allocator
26 nilfs_palloc_entries_per_group(const struct inode *inode) argument
28 return 1UL << (inode->i_blkbits + 3 /* log2(8 = CHAR_BITS) */);
31 int nilfs_palloc_init_blockgroup(struct inode *, unsigned int);
32 int nilfs_palloc_get_entry_block(struct inode *, __u64, int,
34 void *nilfs_palloc_block_get_entry(const struct inode *, __u64,
37 int nilfs_palloc_count_max_entries(struct inode *, u6
[all...]
H A Dcpfile.h19 int nilfs_cpfile_read_checkpoint(struct inode *cpfile, __u64 cno,
20 struct nilfs_root *root, struct inode *ifile);
21 int nilfs_cpfile_create_checkpoint(struct inode *cpfile, __u64 cno);
22 int nilfs_cpfile_finalize_checkpoint(struct inode *cpfile, __u64 cno,
25 int nilfs_cpfile_delete_checkpoints(struct inode *, __u64, __u64);
26 int nilfs_cpfile_delete_checkpoint(struct inode *, __u64);
27 int nilfs_cpfile_change_cpmode(struct inode *, __u64, int);
28 int nilfs_cpfile_is_snapshot(struct inode *, __u64);
29 int nilfs_cpfile_get_stat(struct inode *, struct nilfs_cpstat *);
30 ssize_t nilfs_cpfile_get_cpinfo(struct inode *, __u6
[all...]
/linux-master/fs/proc/
H A Dfd.h14 struct inode *inode, int mask);
16 static inline unsigned int proc_fd(struct inode *inode) argument
18 return PROC_I(inode)->fd;
/linux-master/fs/f2fs/
H A Dinode.c3 * fs/f2fs/inode.c
27 void f2fs_mark_inode_dirty_sync(struct inode *inode, bool sync) argument
29 if (is_inode_flag_set(inode, FI_NEW_INODE))
32 if (f2fs_inode_dirtied(inode, sync))
35 mark_inode_dirty_sync(inode);
38 void f2fs_set_inode_flags(struct inode *inode) argument
40 unsigned int flags = F2FS_I(inode)->i_flags;
53 if (file_is_encrypt(inode))
64 __get_inode_rdev(struct inode *inode, struct page *node_page) argument
77 __set_inode_rdev(struct inode *inode, struct page *node_page) argument
93 __recover_inline_status(struct inode *inode, struct page *ipage) argument
189 sanity_check_compress_inode(struct inode *inode, struct f2fs_inode *ri) argument
261 sanity_check_inode(struct inode *inode, struct page *node_page) argument
367 init_idisk_time(struct inode *inode) argument
376 do_read_inode(struct inode *inode) argument
535 struct inode *inode; local
628 struct inode *inode; local
640 f2fs_update_inode(struct inode *inode, struct page *node_page) argument
747 f2fs_update_inode_page(struct inode *inode) argument
770 f2fs_write_inode(struct inode *inode, struct writeback_control *wbc) argument
801 f2fs_evict_inode(struct inode *inode) argument
937 f2fs_handle_failed_inode(struct inode *inode) argument
[all...]
/linux-master/fs/ext4/
H A Dxattr.h48 __le32 e_value_inum; /* inode in which the value is stored */
66 #define IHDR(inode, raw_inode) \
70 EXT4_I(inode)->i_extra_isize))
85 * The minimum size of EA value when you start storing it in an external inode
99 * If we want to add an xattr to the inode, we should make sure that
100 * i_extra_isize is not 0 and that the inode size is not less than
105 #define EXT4_INODE_HAS_XATTR_SPACE(inode) \
106 ((EXT4_I(inode)->i_extra_isize != 0) && \
107 (EXT4_GOOD_OLD_INODE_SIZE + EXT4_I(inode)->i_extra_isize + \
109 EXT4_INODE_SIZE((inode)
153 ext4_write_lock_xattr(struct inode *inode, int *save) argument
160 ext4_write_trylock_xattr(struct inode *inode, int *save) argument
169 ext4_write_unlock_xattr(struct inode *inode, int *save) argument
214 ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
[all...]
/linux-master/include/linux/
H A Dfsverity.h57 * verity descriptor to a fs-specific location associated with the inode
58 * and do any fs-specific actions needed to mark the inode as a verity
59 * inode, e.g. setting a bit in the on-disk inode. The filesystem is
60 * also responsible for setting the S_VERITY flag in the VFS inode.
71 * Get the verity descriptor of the given inode.
73 * @inode: an inode with the S_VERITY flag set
80 * called by multiple processes concurrently on the same inode.
84 int (*get_verity_descriptor)(struct inode *inod
127 fsverity_get_info(const struct inode *inode) argument
161 fsverity_cleanup_inode(struct inode *inode) argument
179 fsverity_get_info(const struct inode *inode) argument
199 fsverity_get_digest(struct inode *inode, u8 raw_digest[FS_VERITY_MAX_DIGEST_SIZE], u8 *alg, enum hash_algo *halg) argument
212 __fsverity_file_open(struct inode *inode, struct file *filp) argument
223 fsverity_cleanup_inode(struct inode *inode) argument
279 fsverity_active(const struct inode *inode) argument
297 fsverity_file_open(struct inode *inode, struct file *filp) argument
[all...]
H A Dramfs.h7 struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir,
14 ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize) argument
19 extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize);
/linux-master/fs/udf/
H A Dialloc.c25 void udf_free_inode(struct inode *inode) argument
27 udf_free_blocks(inode->i_sb, NULL, &UDF_I(inode)->i_location, 0, 1);
30 struct inode *udf_new_inode(struct inode *dir, umode_t mode)
34 struct inode *inode; local
41 inode = new_inode(sb);
43 if (!inode)
[all...]
/linux-master/fs/hfs/
H A Dsysdep.c18 struct inode *inode; local
24 inode = d_inode(dentry);
25 if(!inode)
28 /* fix up inode on a timezone change */
29 diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest;
31 struct timespec64 ts = inode_get_ctime(inode);
33 inode_set_ctime(inode, ts.tv_sec + diff, ts.tv_nsec);
34 ts = inode_get_atime(inode);
35 inode_set_atime(inode, t
[all...]
/linux-master/fs/minix/
H A Dnamei.c10 static int add_nondir(struct dentry *dentry, struct inode *inode) argument
12 int err = minix_add_link(dentry, inode);
14 d_instantiate(dentry, inode);
17 inode_dec_link_count(inode);
18 iput(inode);
22 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags)
24 struct inode * inode = NULL; local
32 inode
39 struct inode *inode; local
56 struct inode *inode = minix_new_inode(dir, mode); local
76 struct inode * inode; local
99 struct inode *inode = d_inode(old_dentry); local
110 struct inode * inode; local
143 struct inode * inode = d_inode(dentry); local
163 struct inode * inode = d_inode(dentry); local
[all...]
/linux-master/fs/ocfs2/
H A Dinode.h3 * inode.h
24 /* protects allocation changes on this inode. */
27 /* protects extended attribute changes on this inode */
39 u32 ip_attr; /* inode attributes */
45 struct inode *ip_next_orphan;
49 struct inode vfs_inode;
54 /* Only valid if the inode is the dir. */
62 * Transactions that contain inode's metadata needed to complete
78 /* This inode has been wiped from disk */
80 /* Has the inode bee
102 OCFS2_I(struct inode *inode) argument
113 INODE_CACHE(struct inode *inode) argument
143 ocfs2_inode_sector_count(struct inode *inode) argument
169 ocfs2_is_refcount_inode(struct inode *inode) argument
[all...]
H A Dxattr.h36 int ocfs2_xattr_get_nolock(struct inode *, struct buffer_head *, int,
38 int ocfs2_xattr_set(struct inode *, int, const char *, const void *,
40 int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *,
44 int ocfs2_has_inline_xattr_value_outside(struct inode *inode,
46 int ocfs2_xattr_remove(struct inode *, struct buffer_head *);
47 int ocfs2_init_security_get(struct inode *, struct inode *,
50 int ocfs2_init_security_set(handle_t *, struct inode *,
55 int ocfs2_calc_security_init(struct inode *,
[all...]
H A Ddir.h42 struct inode *dir,
45 struct inode *dir,
48 struct inode *dir,
50 struct inode *inode, u64 blkno,
55 struct inode *inode, u64 blkno,
61 inode, blkno, parent_fe_bh, lookup);
63 int ocfs2_update_entry(struct inode *dir, handle_t *handle,
65 struct inode *new_entry_inod
53 ocfs2_add_entry(handle_t *handle, struct dentry *dentry, struct inode *inode, u64 blkno, struct buffer_head *parent_fe_bh, struct ocfs2_dir_lookup_result *lookup) argument
[all...]
/linux-master/fs/befs/
H A Dinode.h2 * inode.h
7 befs_blocknr_t inode);
/linux-master/fs/xfs/
H A Dxfs_pnfs.h7 int xfs_fs_map_blocks(struct inode *inode, loff_t offset, u64 length,
9 int xfs_fs_commit_blocks(struct inode *inode, struct iomap *maps, int nr_maps,
12 int xfs_break_leased_layouts(struct inode *inode, uint *iolock,
16 xfs_break_leased_layouts(struct inode *inode, uint *iolock, bool *did_unlock) argument
/linux-master/fs/gfs2/
H A Daops.h11 void adjust_fs_space(struct inode *inode);
/linux-master/fs/ufs/
H A Dnamei.c38 static inline int ufs_add_nondir(struct dentry *dentry, struct inode *inode) argument
40 int err = ufs_add_link(dentry, inode);
42 d_instantiate_new(dentry, inode);
45 inode_dec_link_count(inode);
46 discard_new_inode(inode);
50 static struct dentry *ufs_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags)
52 struct inode * inode = NULL; local
60 inode
76 struct inode *inode; local
92 struct inode *inode; local
115 struct inode * inode; local
153 struct inode *inode = d_inode(old_dentry); local
172 struct inode * inode; local
210 struct inode * inode = d_inode(dentry); local
232 struct inode * inode = d_inode(dentry); local
[all...]
/linux-master/fs/jfs/
H A Djfs_inode.c16 void jfs_set_inode_flags(struct inode *inode) argument
18 unsigned int flags = JFS_IP(inode)->mode2;
31 inode_set_flags(inode, new_fl, S_IMMUTABLE | S_APPEND | S_NOATIME |
38 * FUNCTION: Allocate a new inode
41 struct inode *ialloc(struct inode *parent, umode_t mode)
44 struct inode *inode; local
48 inode
[all...]
/linux-master/fs/sysv/
H A Dnamei.c19 static int add_nondir(struct dentry *dentry, struct inode *inode) argument
21 int err = sysv_add_link(dentry, inode);
23 d_instantiate(dentry, inode);
26 inode_dec_link_count(inode);
27 iput(inode);
31 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags)
33 struct inode * inode = NULL; local
40 inode
47 struct inode * inode; local
75 struct inode * inode; local
104 struct inode *inode = d_inode(old_dentry); local
116 struct inode * inode; local
153 struct inode * inode = d_inode(dentry); local
173 struct inode *inode = d_inode(dentry); local
[all...]
/linux-master/fs/hfsplus/
H A Dxattr.h22 int __hfsplus_setxattr(struct inode *inode, const char *name,
25 int hfsplus_setxattr(struct inode *inode, const char *name,
29 ssize_t __hfsplus_getxattr(struct inode *inode, const char *name,
32 ssize_t hfsplus_getxattr(struct inode *inode, const char *name,
38 int hfsplus_init_security(struct inode *inode, struc
[all...]

Completed in 176 milliseconds

1234567891011>>