Searched refs:inode (Results 1 - 25 of 1972) sorted by relevance

1234567891011>>

/linux-master/fs/ceph/
H A Dio.h5 void ceph_start_io_read(struct inode *inode);
6 void ceph_end_io_read(struct inode *inode);
7 void ceph_start_io_write(struct inode *inode);
8 void ceph_end_io_write(struct inode *inode);
9 void ceph_start_io_direct(struct inode *inode);
[all...]
H A Dio.c21 /* Call with exclusively locked inode->i_rwsem */
22 static void ceph_block_o_direct(struct ceph_inode_info *ci, struct inode *inode) argument
24 lockdep_assert_held_write(&inode->i_rwsem);
30 inode_dio_wait(inode);
36 * @inode: file inode
41 * and holds a shared lock on inode->i_rwsem to ensure that the flag
48 * inode->i_rwsem, meaning that those are serialised w.r.t. the reads.
51 ceph_start_io_read(struct inode *inod argument
74 ceph_end_io_read(struct inode *inode) argument
87 ceph_start_io_write(struct inode *inode) argument
90 ceph_block_o_direct(ceph_inode(inode), inode); local
101 ceph_end_io_write(struct inode *inode) argument
107 ceph_block_buffered(struct ceph_inode_info *ci, struct inode *inode) argument
137 ceph_start_io_direct(struct inode *inode) argument
160 ceph_end_io_direct(struct inode *inode) argument
[all...]
H A Dcache.h20 void ceph_fscache_register_inode_cookie(struct inode *inode);
23 void ceph_fscache_use_cookie(struct inode *inode, bool will_modify);
24 void ceph_fscache_unuse_cookie(struct inode *inode, bool update);
26 void ceph_fscache_update(struct inode *inode);
27 void ceph_fscache_invalidate(struct inode *inode, boo
34 ceph_fscache_resize(struct inode *inode, loff_t to) argument
46 ceph_fscache_unpin_writeback(struct inode *inode, struct writeback_control *wbc) argument
54 ceph_is_cache_enabled(struct inode *inode) argument
70 ceph_fscache_register_inode_cookie(struct inode *inode) argument
78 ceph_fscache_use_cookie(struct inode *inode, bool will_modify) argument
82 ceph_fscache_unuse_cookie(struct inode *inode, bool update) argument
86 ceph_fscache_update(struct inode *inode) argument
90 ceph_fscache_invalidate(struct inode *inode, bool dio_write) argument
99 ceph_fscache_resize(struct inode *inode, loff_t to) argument
103 ceph_fscache_unpin_writeback(struct inode *inode, struct writeback_control *wbc) argument
111 ceph_is_cache_enabled(struct inode *inode) argument
[all...]
/linux-master/fs/coda/
H A Dcoda_cache.h15 void coda_cache_enter(struct inode *inode, int mask);
16 void coda_cache_clear_inode(struct inode *);
18 int coda_cache_check(struct inode *inode, int mask);
21 void coda_flag_inode_children(struct inode *inode, int flag);
H A Dcnode.c26 static void coda_fill_inode(struct inode *inode, struct coda_vattr *attr) argument
28 coda_vattr_to_iattr(inode, attr);
30 if (S_ISREG(inode->i_mode)) {
31 inode->i_op = &coda_file_inode_operations;
32 inode->i_fop = &coda_file_operations;
33 } else if (S_ISDIR(inode->i_mode)) {
34 inode->i_op = &coda_dir_inode_operations;
35 inode->i_fop = &coda_dir_operations;
36 } else if (S_ISLNK(inode
45 coda_test_inode(struct inode *inode, void *data) argument
52 coda_set_inode(struct inode *inode, void *data) argument
63 struct inode *inode; local
100 struct inode *inode; local
123 coda_replace_fid(struct inode *inode, struct CodaFid *oldfid, struct CodaFid *newfid) argument
142 struct inode *inode; local
169 struct inode *inode = new_inode(sb); local
[all...]
/linux-master/include/linux/
H A Diversion.h8 * The inode->i_version field:
12 * appear larger to observers if there was an explicit change to the inode's
16 * inode status change time (aka ctime). i_version must appear to change, even
35 * inode. If it's different then something has changed. Observers cannot infer
37 * that the inode has changed in some fashion.
40 * want to use i_version field on an inode should first check whether the
80 * inode_set_iversion_queried when loading an existing inode from disk. This
81 * ensures that the next attempted inode increment will result in the value
101 * @inode: inode t
111 inode_set_iversion_raw(struct inode *inode, u64 val) argument
128 inode_peek_iversion_raw(const struct inode *inode) argument
142 inode_set_max_iversion_raw(struct inode *inode, u64 val) argument
165 inode_set_iversion(struct inode *inode, u64 val) argument
187 inode_set_iversion_queried(struct inode *inode, u64 val) argument
203 inode_inc_iversion(struct inode *inode) argument
216 inode_iversion_need_inc(struct inode *inode) argument
233 inode_inc_iversion_raw(struct inode *inode) argument
250 inode_peek_iversion(const struct inode *inode) argument
279 inode_eq_iversion_raw(const struct inode *inode, u64 old) argument
296 inode_eq_iversion(const struct inode *inode, u64 old) argument
[all...]
H A Dfs_stack.h12 extern void fsstack_copy_attr_all(struct inode *dest, const struct inode *src);
13 extern void fsstack_copy_inode_size(struct inode *dst, struct inode *src);
16 static inline void fsstack_copy_attr_atime(struct inode *dest,
17 const struct inode *src)
22 static inline void fsstack_copy_attr_times(struct inode *dest,
23 const struct inode *src)
H A Dquotaops.h24 struct inode *inode, struct iattr *ia)
27 i_uid_needs_update(idmap, ia, inode) ||
28 i_gid_needs_update(idmap, ia, inode));
43 int dquot_initialize(struct inode *inode);
44 bool dquot_initialize_needed(struct inode *inode);
45 void dquot_drop(struct inode *inode);
23 is_quota_modification(struct mnt_idmap *idmap, struct inode *inode, struct iattr *ia) argument
216 dquot_initialize(struct inode *inode) argument
221 dquot_initialize_needed(struct inode *inode) argument
226 dquot_drop(struct inode *inode) argument
230 dquot_alloc_inode(struct inode *inode) argument
235 dquot_free_inode(struct inode *inode) argument
239 dquot_transfer(struct mnt_idmap *idmap, struct inode *inode, struct iattr *iattr) argument
245 __dquot_alloc_space(struct inode *inode, qsize_t number, int flags) argument
253 __dquot_free_space(struct inode *inode, qsize_t number, int flags) argument
260 dquot_claim_space_nodirty(struct inode *inode, qsize_t number) argument
265 dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number) argument
297 dquot_alloc_space_nodirty(struct inode *inode, qsize_t nr) argument
302 dquot_alloc_space_nofail(struct inode *inode, qsize_t nr) argument
308 dquot_alloc_space(struct inode *inode, qsize_t nr) argument
324 dquot_alloc_block_nodirty(struct inode *inode, qsize_t nr) argument
329 dquot_alloc_block_nofail(struct inode *inode, qsize_t nr) argument
334 dquot_alloc_block(struct inode *inode, qsize_t nr) argument
339 dquot_prealloc_block_nodirty(struct inode *inode, qsize_t nr) argument
344 dquot_prealloc_block(struct inode *inode, qsize_t nr) argument
354 dquot_reserve_block(struct inode *inode, qsize_t nr) argument
360 dquot_claim_block(struct inode *inode, qsize_t nr) argument
366 dquot_reclaim_block(struct inode *inode, qsize_t nr) argument
372 dquot_free_space_nodirty(struct inode *inode, qsize_t nr) argument
377 dquot_free_space(struct inode *inode, qsize_t nr) argument
383 dquot_free_block_nodirty(struct inode *inode, qsize_t nr) argument
388 dquot_free_block(struct inode *inode, qsize_t nr) argument
393 dquot_release_reservation_block(struct inode *inode, qsize_t nr) argument
[all...]
/linux-master/fs/ocfs2/
H A Dsymlink.h17 * Test whether an inode is a fast symlink.
19 static inline int ocfs2_inode_is_fast_symlink(struct inode *inode) argument
21 return (S_ISLNK(inode->i_mode) &&
22 inode->i_blocks == 0);
H A Dresize.h13 int ocfs2_group_extend(struct inode * inode, int new_clusters);
14 int ocfs2_group_add(struct inode *inode, struct ocfs2_new_group_input *input);
H A Dnamei.h22 struct inode *orphan_dir_inode,
23 struct inode *inode,
26 int ocfs2_create_inode_in_orphan(struct inode *dir,
28 struct inode **new_inode);
30 struct inode *inode);
32 struct inode *inode, struct buffer_head *di_bh,
34 int ocfs2_mv_orphaned_inode_to_new(struct inode *di
[all...]
/linux-master/fs/nilfs2/
H A Dmdt.h21 * @inode: holder of page caches used in shadow mapping
26 struct inode *inode; member in struct:nilfs_shadow_map
54 static inline struct nilfs_mdt_info *NILFS_MDT(const struct inode *inode) argument
56 return inode->i_private;
59 static inline int nilfs_is_metadata_file_inode(const struct inode *inode) argument
61 return inode->i_private != NULL;
67 int nilfs_mdt_get_block(struct inode *, unsigne
93 nilfs_mdt_mark_dirty(struct inode *inode) argument
99 nilfs_mdt_clear_dirty(struct inode *inode) argument
104 nilfs_mdt_cno(struct inode *inode) argument
110 nilfs_mdt_bgl_lock(struct inode *inode, unsigned int block_group) argument
[all...]
H A Ddat.h21 int nilfs_dat_translate(struct inode *, __u64, sector_t *);
23 int nilfs_dat_prepare_alloc(struct inode *, struct nilfs_palloc_req *);
24 void nilfs_dat_commit_alloc(struct inode *, struct nilfs_palloc_req *);
25 void nilfs_dat_abort_alloc(struct inode *, struct nilfs_palloc_req *);
26 int nilfs_dat_prepare_start(struct inode *, struct nilfs_palloc_req *);
27 void nilfs_dat_commit_start(struct inode *, struct nilfs_palloc_req *,
29 int nilfs_dat_prepare_end(struct inode *, struct nilfs_palloc_req *);
30 void nilfs_dat_commit_end(struct inode *, struct nilfs_palloc_req *, int);
31 void nilfs_dat_abort_end(struct inode *, struct nilfs_palloc_req *);
32 int nilfs_dat_prepare_update(struct inode *, struc
[all...]
/linux-master/fs/smb/client/
H A Dfscache.h27 * Coherency data attached to CIFS inode within the cache.
44 extern void cifs_fscache_get_inode_cookie(struct inode *inode);
45 extern void cifs_fscache_release_inode_cookie(struct inode *);
46 extern void cifs_fscache_unuse_inode_cookie(struct inode *inode, bool update);
49 void cifs_fscache_fill_coherency(struct inode *inode, argument
52 struct timespec64 ctime = inode_get_ctime(inode);
53 struct timespec64 mtime = inode_get_mtime(inode);
63 cifs_inode_cookie(struct inode *inode) argument
68 cifs_invalidate_cache(struct inode *inode, unsigned int flags) argument
82 cifs_fscache_query_occupancy(struct inode *inode, pgoff_t first, unsigned int nr_pages, pgoff_t *_data_first, unsigned int *_data_nr_pages) argument
97 cifs_readpage_from_fscache(struct inode *inode, struct page *page) argument
105 cifs_readahead_to_fscache(struct inode *inode, loff_t pos, size_t len) argument
112 cifs_fscache_enabled(struct inode *inode) argument
119 cifs_fscache_fill_coherency(struct inode *inode, struct cifs_fscache_inode_coherency_data *cd) argument
127 cifs_fscache_get_inode_cookie(struct inode *inode) argument
128 cifs_fscache_release_inode_cookie(struct inode *inode) argument
129 cifs_fscache_unuse_inode_cookie(struct inode *inode, bool update) argument
130 cifs_inode_cookie(struct inode *inode) argument
131 cifs_invalidate_cache(struct inode *inode, unsigned int flags) argument
132 cifs_fscache_enabled(struct inode *inode) argument
134 cifs_fscache_query_occupancy(struct inode *inode, pgoff_t first, unsigned int nr_pages, pgoff_t *_data_first, unsigned int *_data_nr_pages) argument
145 cifs_readpage_from_fscache(struct inode *inode, struct page *page) argument
151 cifs_readahead_to_fscache(struct inode *inode, loff_t pos, size_t len) argument
[all...]
/linux-master/fs/ext4/
H A Dtruncate.h12 static inline void ext4_truncate_failed_write(struct inode *inode) argument
14 struct address_space *mapping = inode->i_mapping;
21 truncate_inode_pages(mapping, inode->i_size);
22 ext4_truncate(inode);
30 static inline unsigned long ext4_blocks_for_truncate(struct inode *inode) argument
34 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9);
38 * which resulted in random data in an inode whic
[all...]
/linux-master/fs/netfs/
H A Dlocking.c14 * @inode: inode to wait for
20 * to i_dio_count, usually by inode->i_mutex.
22 static int inode_dio_wait_interruptible(struct inode *inode) argument
24 if (!atomic_read(&inode->i_dio_count))
27 wait_queue_head_t *wq = bit_waitqueue(&inode->i_state, __I_DIO_WAKEUP);
28 DEFINE_WAIT_BIT(q, &inode->i_state, __I_DIO_WAKEUP);
32 if (!atomic_read(&inode->i_dio_count))
40 return atomic_read(&inode
143 netfs_block_buffered(struct inode *inode) argument
[all...]
/linux-master/fs/jfs/
H A Djfs_acl.h10 struct posix_acl *jfs_get_acl(struct inode *inode, int type, bool rcu);
13 int jfs_init_acl(tid_t, struct inode *, struct inode *);
17 static inline int jfs_init_acl(tid_t tid, struct inode *inode, argument
18 struct inode *dir)
/linux-master/fs/btrfs/
H A Dverity.h6 struct inode;
15 int btrfs_drop_verity_items(struct btrfs_inode *inode);
16 int btrfs_get_verity_descriptor(struct inode *inode, void *buf, size_t buf_size);
22 static inline int btrfs_drop_verity_items(struct btrfs_inode *inode) argument
27 static inline int btrfs_get_verity_descriptor(struct inode *inode, void *buf, argument
H A Dprops.h11 struct inode;
18 int btrfs_set_prop(struct btrfs_trans_handle *trans, struct inode *inode,
21 int btrfs_validate_prop(const struct btrfs_inode *inode, const char *name,
23 bool btrfs_ignore_prop(const struct btrfs_inode *inode, const char *name);
25 int btrfs_load_inode_props(struct inode *inode, struct btrfs_path *path);
28 struct inode *inode,
29 struct inode *di
[all...]
/linux-master/fs/nfs/
H A Dio.c17 /* Call with exclusively locked inode->i_rwsem */
18 static void nfs_block_o_direct(struct nfs_inode *nfsi, struct inode *inode) argument
22 inode_dio_wait(inode);
28 * @inode: file inode
33 * and holds a shared lock on inode->i_rwsem to ensure that the flag
40 * inode->i_rwsem, meaning that those are serialised w.r.t. the reads.
43 nfs_start_io_read(struct inode *inode) argument
65 nfs_end_io_read(struct inode *inode) argument
78 nfs_start_io_write(struct inode *inode) argument
81 nfs_block_o_direct(NFS_I(inode), inode); local
92 nfs_end_io_write(struct inode *inode) argument
98 nfs_block_buffered(struct nfs_inode *nfsi, struct inode *inode) argument
123 nfs_start_io_direct(struct inode *inode) argument
145 nfs_end_io_direct(struct inode *inode) argument
[all...]
H A Ddelegation.h19 struct inode *inode; member in struct:nfs_delegation
43 int nfs_inode_set_delegation(struct inode *inode, const struct cred *cred,
45 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred,
47 int nfs4_inode_return_delegation(struct inode *inode);
48 void nfs4_inode_return_delegation_on_close(struct inode *inode);
87 nfs_have_delegated_attributes(struct inode *inode) argument
[all...]
/linux-master/fs/9p/
H A Dcache.h17 extern void v9fs_cache_inode_get_cookie(struct inode *inode);
21 static inline void v9fs_cache_inode_get_cookie(struct inode *inode) argument
/linux-master/fs/xfs/
H A Dxfs_acl.h9 struct inode;
13 extern struct posix_acl *xfs_get_acl(struct inode *inode, int type, bool rcu);
16 extern int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
17 void xfs_forget_acl(struct inode *inode, const char *name);
21 static inline int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, argument
26 static inline void xfs_forget_acl(struct inode *inod argument
[all...]
/linux-master/fs/affs/
H A Dinode.c3 * linux/fs/affs/inode.c
18 struct inode *affs_iget(struct super_block *sb, unsigned long ino)
23 struct inode *inode; local
29 inode = iget_locked(sb, ino);
30 if (!inode)
32 if (!(inode->i_state & I_NEW))
33 return inode;
35 pr_debug("affs_iget(%lu)\n", inode->i_ino);
37 block = inode
166 affs_write_inode(struct inode *inode, struct writeback_control *wbc) argument
219 struct inode *inode = d_inode(dentry); local
260 affs_evict_inode(struct inode *inode) argument
294 struct inode *inode; local
348 affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type) argument
[all...]
/linux-master/fs/
H A Dinode.c4 * (C) 1999 Andrea Arcangeli <andrea@suse.de> (dynamic inode allocation)
30 * inode->i_lock protects:
31 * inode->i_state, inode->i_hash, __iget(), inode->i_io_list
33 * inode->i_sb->s_inode_lru, inode->i_lru
34 * inode->i_sb->s_inode_list_lock protects:
35 * inode->i_sb->s_inodes, inode
143 no_open(struct inode *inode, struct file *file) argument
156 inode_init_always(struct super_block *sb, struct inode *inode) argument
240 free_inode_nonrcu(struct inode *inode) argument
248 struct inode *inode = container_of(head, struct inode, i_rcu); local
258 struct inode *inode; local
282 __destroy_inode(struct inode *inode) argument
304 destroy_inode(struct inode *inode) argument
330 drop_nlink(struct inode *inode) argument
347 clear_nlink(struct inode *inode) argument
364 set_nlink(struct inode *inode, unsigned int nlink) argument
386 inc_nlink(struct inode *inode) argument
418 inode_init_once(struct inode *inode) argument
434 struct inode *inode = (struct inode *) foo; local
442 __iget(struct inode *inode) argument
450 ihold(struct inode *inode) argument
456 __inode_add_lru(struct inode *inode, bool rotate) argument
478 inode_add_lru(struct inode *inode) argument
483 inode_lru_list_del(struct inode *inode) argument
493 inode_sb_list_add(struct inode *inode) argument
501 inode_sb_list_del(struct inode *inode) argument
528 __insert_inode_hash(struct inode *inode, unsigned long hashval) argument
546 __remove_inode_hash(struct inode *inode) argument
606 clear_inode(struct inode *inode) argument
646 evict(struct inode *inode) argument
695 struct inode *inode; local
716 struct inode *inode, *next; local
762 struct inode *inode, *next; local
809 struct inode *inode = container_of(item, struct inode, i_lru); local
898 struct inode *inode = NULL; local
929 struct inode *inode = NULL; local
1007 struct inode *inode = alloc_inode(sb); local
1031 struct inode *inode; local
1041 lockdep_annotate_inode_mutex_key(struct inode *inode) argument
1068 unlock_new_inode(struct inode *inode) argument
1080 discard_new_inode(struct inode *inode) argument
1155 inode_insert5(struct inode *inode, unsigned long hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data) argument
1232 struct inode *inode = ilookup5(sb, hashval, test, data); local
1264 struct inode *inode; local
1332 struct inode *inode; local
1380 igrab(struct inode *inode) argument
1419 struct inode *inode; local
1449 struct inode *inode; local
1474 struct inode *inode; local
1523 struct inode *inode, *ret_inode = NULL; local
1568 struct inode *inode; local
1606 struct inode *inode; local
1621 insert_inode_locked(struct inode *inode) argument
1668 insert_inode_locked4(struct inode *inode, unsigned long hashval, int (*test)(struct inode *, void *), void *data) argument
1685 generic_delete_inode(struct inode *inode) argument
1701 iput_final(struct inode *inode) argument
1753 iput(struct inode *inode) argument
1787 bmap(struct inode *inode, sector_t *block) argument
1803 relatime_need_update(struct vfsmount *mnt, struct inode *inode, struct timespec64 now) argument
1852 inode_update_timestamps(struct inode *inode, int flags) argument
1898 generic_update_time(struct inode *inode, int flags) argument
1916 inode_update_time(struct inode *inode, int flags) argument
1934 atime_needs_update(const struct path *path, struct inode *inode) argument
1973 struct inode *inode = d_inode(path->dentry); local
2007 struct inode *inode = d_inode(dentry); local
2039 struct inode *inode = file_inode(file); local
2078 inode_needs_update_time(struct inode *inode) argument
2105 struct inode *inode = file_inode(file); local
2133 struct inode *inode = file_inode(file); local
2161 struct inode *inode = file_inode(file); local
2217 inode_needs_sync(struct inode *inode) argument
2238 __wait_on_freeing_inode(struct inode *inode) argument
2310 init_special_inode(struct inode *inode, umode_t mode, dev_t rdev) argument
2344 inode_init_owner(struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode) argument
2374 inode_owner_or_capable(struct mnt_idmap *idmap, const struct inode *inode) argument
2394 __inode_dio_wait(struct inode *inode) argument
2417 inode_dio_wait(struct inode *inode) argument
2440 inode_set_flags(struct inode *inode, unsigned int flags, unsigned int mask) argument
2448 inode_nohighmem(struct inode *inode) argument
2463 timestamp_truncate(struct timespec64 t, struct inode *inode) argument
2495 current_time(struct inode *inode) argument
2511 inode_set_ctime_current(struct inode *inode) argument
2532 in_group_or_capable(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid) argument
[all...]

Completed in 839 milliseconds

1234567891011>>