Home
last modified time | relevance | path

Searched refs:inode (Results 51 - 75 of 3941) sorted by relevance

12345678910>>...158

/kernel/linux/linux-5.10/fs/hfsplus/
H A Dinode.c3 * linux/fs/hfsplus/inode.c
37 struct inode *inode = mapping->host; in hfsplus_write_failed() local
39 if (to > inode->i_size) { in hfsplus_write_failed()
40 truncate_pagecache(inode, inode->i_size); in hfsplus_write_failed()
41 hfsplus_file_truncate(inode); in hfsplus_write_failed()
68 struct inode *inode = page->mapping->host; in hfsplus_releasepage() local
69 struct super_block *sb = inode in hfsplus_releasepage()
130 struct inode *inode = mapping->host; hfsplus_direct_IO() local
181 hfsplus_get_perms(struct inode *inode, struct hfsplus_perm *perms, int dir) hfsplus_get_perms() argument
215 hfsplus_file_open(struct inode *inode, struct file *file) hfsplus_file_open() argument
225 hfsplus_file_release(struct inode *inode, struct file *file) hfsplus_file_release() argument
246 struct inode *inode = d_inode(dentry); hfsplus_setattr() local
276 struct inode *inode = d_inode(path->dentry); hfsplus_getattr() local
296 struct inode *inode = file->f_mapping->host; hfsplus_file_fsync() local
372 struct inode *inode = new_inode(sb); hfsplus_new_inode() local
427 hfsplus_delete_inode(struct inode *inode) hfsplus_delete_inode() argument
449 hfsplus_inode_read_fork(struct inode *inode, struct hfsplus_fork_raw *fork) hfsplus_inode_read_fork() argument
479 hfsplus_inode_write_fork(struct inode *inode, struct hfsplus_fork_raw *fork) hfsplus_inode_write_fork() argument
488 hfsplus_cat_read_inode(struct inode *inode, struct hfs_find_data *fd) hfsplus_cat_read_inode() argument
563 hfsplus_cat_write_inode(struct inode *inode) hfsplus_cat_write_inode() argument
[all...]
/kernel/linux/linux-6.6/fs/squashfs/
H A Dinode.c8 * inode.c
14 * Inodes in Squashfs are identified by a 48-bit inode which encodes the
15 * location of the compressed metadata block containing the inode, and the byte
16 * offset into that block where the inode is placed (<block, offset>).
19 * (regular file, directory, device, etc.), the inode contents and length
22 * To further maximise compression, two types of regular file inode and
23 * directory inode are defined: inodes optimised for frequently occurring
40 * Initialise VFS inode with the base inode information common to all
41 * Squashfs inode type
44 squashfs_new_inode(struct super_block *sb, struct inode *inode, struct squashfs_base_inode *sqsh_ino) squashfs_new_inode() argument
75 struct inode *inode = iget_locked(sb, ino_number); squashfs_iget() local
100 squashfs_read_inode(struct inode *inode, long long ino) squashfs_read_inode() argument
[all...]
/kernel/linux/linux-5.10/fs/ceph/
H A Dcache.h22 void ceph_fscache_register_inode_cookie(struct inode *inode);
24 void ceph_fscache_file_set_cookie(struct inode *inode, struct file *filp);
27 int ceph_readpage_from_fscache(struct inode *inode, struct page *page);
28 int ceph_readpages_from_fscache(struct inode *inode,
32 void ceph_readpage_to_fscache(struct inode *inode, struc
41 ceph_fscache_invalidate(struct inode *inode) ceph_fscache_invalidate() argument
46 ceph_fscache_uncache_page(struct inode *inode, struct page *page) ceph_fscache_uncache_page() argument
55 struct inode* inode = page->mapping->host; ceph_release_fscache_page() local
60 ceph_fscache_readpage_cancel(struct inode *inode, struct page *page) ceph_fscache_readpage_cancel() argument
68 ceph_fscache_readpages_cancel(struct inode *inode, struct list_head *pages) ceph_fscache_readpages_cancel() argument
105 ceph_fscache_register_inode_cookie(struct inode *inode) ceph_fscache_register_inode_cookie() argument
113 ceph_fscache_file_set_cookie(struct inode *inode, struct file *filp) ceph_fscache_file_set_cookie() argument
122 ceph_fscache_uncache_page(struct inode *inode, struct page *pages) ceph_fscache_uncache_page() argument
127 ceph_readpage_from_fscache(struct inode* inode, struct page *page) ceph_readpage_from_fscache() argument
133 ceph_readpages_from_fscache(struct inode *inode, struct address_space *mapping, struct list_head *pages, unsigned *nr_pages) ceph_readpages_from_fscache() argument
141 ceph_readpage_to_fscache(struct inode *inode, struct page *page) ceph_readpage_to_fscache() argument
146 ceph_fscache_invalidate(struct inode *inode) ceph_fscache_invalidate() argument
150 ceph_invalidate_fscache_page(struct inode *inode, struct page *page) ceph_invalidate_fscache_page() argument
160 ceph_fscache_readpage_cancel(struct inode *inode, struct page *page) ceph_fscache_readpage_cancel() argument
165 ceph_fscache_readpages_cancel(struct inode *inode, struct list_head *pages) ceph_fscache_readpages_cancel() argument
[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) in ceph_block_o_direct() argument
24 lockdep_assert_held_write(&inode->i_rwsem); in ceph_block_o_direct()
30 inode_dio_wait(inode); in ceph_block_o_direct()
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) ceph_end_io_read() argument
87 ceph_start_io_write(struct inode *inode) ceph_start_io_write() argument
90 ceph_block_o_direct(ceph_inode(inode), inode); ceph_start_io_write() local
101 ceph_end_io_write(struct inode *inode) ceph_end_io_write() argument
107 ceph_block_buffered(struct ceph_inode_info *ci, struct inode *inode) ceph_block_buffered() argument
137 ceph_start_io_direct(struct inode *inode) ceph_start_io_direct() argument
160 ceph_end_io_direct(struct inode *inode) ceph_end_io_direct() argument
[all...]
/kernel/linux/linux-6.6/fs/zonefs/
H A Dfile.c27 static int zonefs_read_iomap_begin(struct inode *inode, loff_t offset, in zonefs_read_iomap_begin() argument
31 struct zonefs_inode_info *zi = ZONEFS_I(inode); in zonefs_read_iomap_begin()
32 struct zonefs_zone *z = zonefs_inode_zone(inode); in zonefs_read_iomap_begin()
33 struct super_block *sb = inode->i_sb; in zonefs_read_iomap_begin()
41 iomap->bdev = inode->i_sb->s_bdev; in zonefs_read_iomap_begin()
43 isize = i_size_read(inode); in zonefs_read_iomap_begin()
55 trace_zonefs_iomap_begin(inode, iomap); in zonefs_read_iomap_begin()
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) zonefs_write_map_blocks() argument
162 struct inode *inode = file_inode(swap_file); zonefs_swap_activate() local
187 zonefs_file_truncate(struct inode *inode, loff_t isize) zonefs_file_truncate() argument
260 struct inode *inode = file_inode(file); zonefs_file_fsync() local
283 struct inode *inode = file_inode(vmf->vma->vm_file); zonefs_filemap_page_mkwrite() local
347 struct inode *inode = file_inode(iocb->ki_filp); zonefs_file_write_dio_end_io() local
390 struct inode *inode = file_inode(file); zonefs_write_check_limits() local
415 struct inode *inode = file_inode(file); zonefs_write_checks() local
458 struct inode *inode = file_inode(iocb->ki_filp); zonefs_file_dio_write() local
544 struct inode *inode = file_inode(iocb->ki_filp); zonefs_file_buffered_write() local
579 struct inode *inode = file_inode(iocb->ki_filp); zonefs_file_write_iter() local
619 struct inode *inode = file_inode(iocb->ki_filp); zonefs_file_read_iter() local
677 struct inode *inode = file_inode(in); zonefs_file_splice_read() local
714 zonefs_seq_file_need_wro(struct inode *inode, struct file *file) zonefs_seq_file_need_wro() argument
726 zonefs_seq_file_write_open(struct inode *inode) zonefs_seq_file_write_open() argument
768 zonefs_file_open(struct inode *inode, struct file *file) zonefs_file_open() argument
783 zonefs_seq_file_write_close(struct inode *inode) zonefs_seq_file_write_close() argument
834 zonefs_file_release(struct inode *inode, struct file *file) zonefs_file_release() argument
[all...]
/kernel/linux/linux-5.10/fs/f2fs/
H A Df2fs.h263 nid_t ino; /* inode number */
270 struct inode *inode; /* vfs inode pointer */ member
395 struct inode *inode; /* vfs inode pointer */ member
437 static inline int get_extra_isize(struct inode *inode);
438 static inline int get_inline_xattr_addrs(struct inode *inod
496 struct inode *inode; global() member
504 make_dentry_ptr_block(struct inode *inode, struct f2fs_dentry_ptr *d, struct f2fs_dentry_block *t) make_dentry_ptr_block() argument
515 make_dentry_ptr_inline(struct inode *inode, struct f2fs_dentry_ptr *d, void *t) make_dentry_ptr_inline() argument
903 struct inode *inode; /* vfs inode pointer */ global() member
915 set_new_dnode(struct dnode_of_data *dn, struct inode *inode, struct page *ipage, struct page *npage, nid_t nid) set_new_dnode() argument
1323 struct inode *inode; /* inode the context belong to */ global() member
1342 struct inode *inode; /* inode the context belong to */ global() member
1351 struct inode *inode; /* inode the context belong to */ global() member
1604 struct inode *inode; global() member
1734 F2FS_I(struct inode *inode) F2FS_I() argument
1744 F2FS_I_SB(struct inode *inode) F2FS_I_SB() argument
1975 F2FS_HAS_BLOCKS(struct inode *inode) F2FS_HAS_BLOCKS() argument
1987 __allow_reserved_blocks(struct f2fs_sb_info *sbi, struct inode *inode, bool cap) __allow_reserved_blocks() argument
2007 inc_valid_block_count(struct f2fs_sb_info *sbi, struct inode *inode, blkcnt_t *count) inc_valid_block_count() argument
2090 dec_valid_block_count(struct f2fs_sb_info *sbi, struct inode *inode, block_t count) dec_valid_block_count() argument
2127 inode_inc_dirty_pages(struct inode *inode) inode_inc_dirty_pages() argument
2141 inode_dec_dirty_pages(struct inode *inode) inode_dec_dirty_pages() argument
2159 get_dirty_pages(struct inode *inode) get_dirty_pages() argument
2256 inc_valid_node_count(struct f2fs_sb_info *sbi, struct inode *inode, bool is_inode) inc_valid_node_count() argument
2331 dec_valid_node_count(struct f2fs_sb_info *sbi, struct inode *inode, bool is_inode) dec_valid_node_count() argument
2536 data_blkaddr(struct inode *inode, struct page *node_page, unsigned int offset) data_blkaddr() argument
2660 __mark_inode_dirty_flag(struct inode *inode, int flag, bool set) __mark_inode_dirty_flag() argument
2678 set_inode_flag(struct inode *inode, int flag) set_inode_flag() argument
2684 is_inode_flag_set(struct inode *inode, int flag) is_inode_flag_set() argument
2689 clear_inode_flag(struct inode *inode, int flag) clear_inode_flag() argument
2695 f2fs_verity_in_progress(struct inode *inode) f2fs_verity_in_progress() argument
2701 set_acl_inode(struct inode *inode, umode_t mode) set_acl_inode() argument
2708 f2fs_i_links_write(struct inode *inode, bool inc) f2fs_i_links_write() argument
2717 f2fs_i_blocks_write(struct inode *inode, block_t diff, bool add, bool claim) f2fs_i_blocks_write() argument
2738 f2fs_i_size_write(struct inode *inode, loff_t i_size) f2fs_i_size_write() argument
2752 f2fs_i_depth_write(struct inode *inode, unsigned int depth) f2fs_i_depth_write() argument
2758 f2fs_i_gc_failures_write(struct inode *inode, unsigned int count) f2fs_i_gc_failures_write() argument
2765 f2fs_i_xnid_write(struct inode *inode, nid_t xnid) f2fs_i_xnid_write() argument
2771 f2fs_i_pino_write(struct inode *inode, nid_t pino) f2fs_i_pino_write() argument
2777 get_inline_info(struct inode *inode, struct f2fs_inode *ri) get_inline_info() argument
2797 set_raw_inline(struct inode *inode, struct f2fs_inode *ri) set_raw_inline() argument
2817 f2fs_has_extra_attr(struct inode *inode) f2fs_has_extra_attr() argument
2822 f2fs_has_inline_xattr(struct inode *inode) f2fs_has_inline_xattr() argument
2827 f2fs_compressed_file(struct inode *inode) f2fs_compressed_file() argument
2833 addrs_per_inode(struct inode *inode) addrs_per_inode() argument
2843 addrs_per_block(struct inode *inode) addrs_per_block() argument
2850 inline_xattr_addr(struct inode *inode, struct page *page) inline_xattr_addr() argument
2858 inline_xattr_size(struct inode *inode) inline_xattr_size() argument
2865 f2fs_has_inline_data(struct inode *inode) f2fs_has_inline_data() argument
2870 f2fs_exist_data(struct inode *inode) f2fs_exist_data() argument
2875 f2fs_has_inline_dots(struct inode *inode) f2fs_has_inline_dots() argument
2880 f2fs_is_mmap_file(struct inode *inode) f2fs_is_mmap_file() argument
2885 f2fs_is_pinned_file(struct inode *inode) f2fs_is_pinned_file() argument
2890 f2fs_is_atomic_file(struct inode *inode) f2fs_is_atomic_file() argument
2895 f2fs_is_commit_atomic_write(struct inode *inode) f2fs_is_commit_atomic_write() argument
2900 f2fs_is_volatile_file(struct inode *inode) f2fs_is_volatile_file() argument
2905 f2fs_is_first_block_written(struct inode *inode) f2fs_is_first_block_written() argument
2910 f2fs_is_drop_cache(struct inode *inode) f2fs_is_drop_cache() argument
2915 inline_data_addr(struct inode *inode, struct page *page) inline_data_addr() argument
2923 f2fs_has_inline_dentry(struct inode *inode) f2fs_has_inline_dentry() argument
2928 is_file(struct inode *inode, int type) is_file() argument
2933 set_file(struct inode *inode, int type) set_file() argument
2939 clear_file(struct inode *inode, int type) clear_file() argument
2945 f2fs_is_time_consistent(struct inode *inode) f2fs_is_time_consistent() argument
2959 f2fs_skip_inode_update(struct inode *inode, int dsync) f2fs_skip_inode_update() argument
3007 f2fs_may_extent_tree(struct inode *inode) f2fs_may_extent_tree() argument
3060 get_extra_isize(struct inode *inode) get_extra_isize() argument
3065 get_inline_xattr_addrs(struct inode *inode) get_inline_xattr_addrs() argument
3265 f2fs_add_link(struct dentry *dentry, struct inode *inode) f2fs_add_link() argument
3897 f2fs_encrypted_file(struct inode *inode) f2fs_encrypted_file() argument
3902 f2fs_set_encrypted_inode(struct inode *inode) f2fs_set_encrypted_inode() argument
3914 f2fs_post_read_required(struct inode *inode) f2fs_post_read_required() argument
3960 f2fs_is_compress_backend_ready(struct inode *inode) f2fs_is_compress_backend_ready() argument
3980 set_compress_context(struct inode *inode) set_compress_context() argument
3996 f2fs_disable_compressed_file(struct inode *inode) f2fs_disable_compressed_file() argument
4090 f2fs_may_compress(struct inode *inode) f2fs_may_compress() argument
4099 f2fs_i_compr_blocks_update(struct inode *inode, u64 blocks, bool add) f2fs_i_compr_blocks_update() argument
4119 block_unaligned_IO(struct inode *inode, struct kiocb *iocb, struct iov_iter *iter) block_unaligned_IO() argument
4130 allow_outplace_dio(struct inode *inode, struct kiocb *iocb, struct iov_iter *iter) allow_outplace_dio() argument
4140 f2fs_force_buffered_io(struct inode *inode, struct kiocb *iocb, struct iov_iter *iter) f2fs_force_buffered_io() argument
[all...]
/kernel/linux/linux-5.10/fs/fat/
H A Dcache.c8 * of inode number.
32 static inline int fat_max_cache(struct inode *inode) in fat_max_cache() argument
62 static inline struct fat_cache *fat_cache_alloc(struct inode *inode) in fat_cache_alloc() argument
73 static inline void fat_cache_update_lru(struct inode *inode, in fat_cache_update_lru() argument
76 if (MSDOS_I(inode)->cache_lru.next != &cache->cache_list) in fat_cache_update_lru()
77 list_move(&cache->cache_list, &MSDOS_I(inode)->cache_lru); in fat_cache_update_lru()
80 static int fat_cache_lookup(struct inode *inod argument
117 fat_cache_merge(struct inode *inode, struct fat_cache_id *new) fat_cache_merge() argument
134 fat_cache_add(struct inode *inode, struct fat_cache_id *new) fat_cache_add() argument
186 __fat_cache_inval_inode(struct inode *inode) __fat_cache_inval_inode() argument
204 fat_cache_inval_inode(struct inode *inode) fat_cache_inval_inode() argument
225 fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus) fat_get_cluster() argument
291 fat_bmap_cluster(struct inode *inode, int cluster) fat_bmap_cluster() argument
310 fat_get_mapped_cluster(struct inode *inode, sector_t sector, sector_t last_block, unsigned long *mapped_blocks, sector_t *bmap) fat_get_mapped_cluster() argument
333 is_exceed_eof(struct inode *inode, sector_t sector, sector_t *last_block, int create) is_exceed_eof() argument
358 fat_bmap(struct inode *inode, sector_t sector, sector_t *phys, unsigned long *mapped_blocks, int create, bool from_bmap) fat_bmap() argument
[all...]
/kernel/linux/linux-6.6/fs/fat/
H A Dcache.c8 * of inode number.
32 static inline int fat_max_cache(struct inode *inode) in fat_max_cache() argument
62 static inline struct fat_cache *fat_cache_alloc(struct inode *inode) in fat_cache_alloc() argument
73 static inline void fat_cache_update_lru(struct inode *inode, in fat_cache_update_lru() argument
76 if (MSDOS_I(inode)->cache_lru.next != &cache->cache_list) in fat_cache_update_lru()
77 list_move(&cache->cache_list, &MSDOS_I(inode)->cache_lru); in fat_cache_update_lru()
80 static int fat_cache_lookup(struct inode *inod argument
117 fat_cache_merge(struct inode *inode, struct fat_cache_id *new) fat_cache_merge() argument
134 fat_cache_add(struct inode *inode, struct fat_cache_id *new) fat_cache_add() argument
186 __fat_cache_inval_inode(struct inode *inode) __fat_cache_inval_inode() argument
204 fat_cache_inval_inode(struct inode *inode) fat_cache_inval_inode() argument
225 fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus) fat_get_cluster() argument
291 fat_bmap_cluster(struct inode *inode, int cluster) fat_bmap_cluster() argument
310 fat_get_mapped_cluster(struct inode *inode, sector_t sector, sector_t last_block, unsigned long *mapped_blocks, sector_t *bmap) fat_get_mapped_cluster() argument
333 is_exceed_eof(struct inode *inode, sector_t sector, sector_t *last_block, int create) is_exceed_eof() argument
358 fat_bmap(struct inode *inode, sector_t sector, sector_t *phys, unsigned long *mapped_blocks, int create, bool from_bmap) fat_bmap() argument
[all...]
/kernel/linux/linux-6.6/fs/ceph/
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) in ceph_block_o_direct() argument
24 lockdep_assert_held_write(&inode->i_rwsem); in ceph_block_o_direct()
30 inode_dio_wait(inode); in ceph_block_o_direct()
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) ceph_end_io_read() argument
87 ceph_start_io_write(struct inode *inode) ceph_start_io_write() argument
90 ceph_block_o_direct(ceph_inode(inode), inode); ceph_start_io_write() local
101 ceph_end_io_write(struct inode *inode) ceph_end_io_write() argument
107 ceph_block_buffered(struct ceph_inode_info *ci, struct inode *inode) ceph_block_buffered() argument
137 ceph_start_io_direct(struct inode *inode) ceph_start_io_direct() argument
160 ceph_end_io_direct(struct inode *inode) ceph_end_io_direct() argument
[all...]
/kernel/linux/linux-6.6/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) inode_set_iversion_raw() argument
128 inode_peek_iversion_raw(const struct inode *inode) inode_peek_iversion_raw() argument
142 inode_set_max_iversion_raw(struct inode *inode, u64 val) inode_set_max_iversion_raw() argument
165 inode_set_iversion(struct inode *inode, u64 val) inode_set_iversion() argument
187 inode_set_iversion_queried(struct inode *inode, u64 val) inode_set_iversion_queried() argument
203 inode_inc_iversion(struct inode *inode) inode_inc_iversion() argument
216 inode_iversion_need_inc(struct inode *inode) inode_iversion_need_inc() argument
233 inode_inc_iversion_raw(struct inode *inode) inode_inc_iversion_raw() argument
250 inode_peek_iversion(const struct inode *inode) inode_peek_iversion() argument
279 inode_eq_iversion_raw(const struct inode *inode, u64 old) inode_eq_iversion_raw() argument
296 inode_eq_iversion(const struct inode *inode, u64 old) inode_eq_iversion() argument
[all...]
/kernel/linux/linux-5.10/fs/udf/
H A Dinode.c2 * inode.c
56 static int udf_update_inode(struct inode *, int);
57 static int udf_sync_inode(struct inode *inode);
58 static int udf_alloc_i_data(struct inode *inode, size_t size);
59 static sector_t inode_getblk(struct inode *, sector_t, int *, int *);
60 static int udf_insert_aext(struct inode *, struct extent_position,
62 static void udf_split_extents(struct inode *, int *, int, udf_pblk_t,
64 static void udf_prealloc_extents(struct inode *, in
71 __udf_clear_extent_cache(struct inode *inode) __udf_clear_extent_cache() argument
82 udf_clear_extent_cache(struct inode *inode) udf_clear_extent_cache() argument
92 udf_read_extent_cache(struct inode *inode, loff_t bcount, loff_t *lbcount, struct extent_position *pos) udf_read_extent_cache() argument
114 udf_update_extent_cache(struct inode *inode, loff_t estart, struct extent_position *pos) udf_update_extent_cache() argument
137 udf_evict_inode(struct inode *inode) udf_evict_inode() argument
170 struct inode *inode = mapping->host; udf_write_failed() local
222 struct inode *inode = mapping->host; udf_direct_IO() local
254 udf_expand_file_adinicb(struct inode *inode) udf_expand_file_adinicb() argument
326 udf_expand_dir_adinicb(struct inode *inode, udf_pblk_t *block, int *err) udf_expand_dir_adinicb() argument
417 udf_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) udf_get_block() argument
461 udf_getblk(struct inode *inode, udf_pblk_t block, int create, int *err) udf_getblk() argument
488 udf_do_extend_file(struct inode *inode, struct extent_position *last_pos, struct kernel_long_ad *last_ext, loff_t new_block_bytes) udf_do_extend_file() argument
596 udf_do_extend_final_block(struct inode *inode, struct extent_position *last_pos, struct kernel_long_ad *last_ext, uint32_t new_elen) udf_do_extend_final_block() argument
617 udf_extend_file(struct inode *inode, loff_t newsize) udf_extend_file() argument
688 inode_getblk(struct inode *inode, sector_t block, int *err, int *new) inode_getblk() argument
914 udf_split_extents(struct inode *inode, int *c, int offset, udf_pblk_t newblocknum, struct kernel_long_ad *laarr, int *endnum) udf_split_extents() argument
978 udf_prealloc_extents(struct inode *inode, int c, int lastblock, struct kernel_long_ad *laarr, int *endnum) udf_prealloc_extents() argument
1074 udf_merge_extents(struct inode *inode, struct kernel_long_ad *laarr, int *endnum) udf_merge_extents() argument
1158 udf_update_extents(struct inode *inode, struct kernel_long_ad *laarr, int startnum, int endnum, struct extent_position *epos) udf_update_extents() argument
1196 udf_bread(struct inode *inode, udf_pblk_t block, int create, int *err) udf_bread() argument
1219 udf_setsize(struct inode *inode, loff_t newsize) udf_setsize() argument
1294 udf_read_inode(struct inode *inode, bool hidden_inode) udf_read_inode() argument
1610 udf_alloc_i_data(struct inode *inode, size_t size) udf_alloc_i_data() argument
1638 udf_update_extra_perms(struct inode *inode, umode_t mode) udf_update_extra_perms() argument
1655 udf_write_inode(struct inode *inode, struct writeback_control *wbc) udf_write_inode() argument
1660 udf_sync_inode(struct inode *inode) udf_sync_inode() argument
1673 udf_update_inode(struct inode *inode, int do_sync) udf_update_inode() argument
1902 struct inode *inode = iget_locked(sb, block); __udf_iget() local
1927 udf_setup_indirect_aext(struct inode *inode, udf_pblk_t block, struct extent_position *epos) udf_setup_indirect_aext() argument
2005 __udf_add_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t elen, int inc) __udf_add_aext() argument
2054 udf_add_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t elen, int inc) udf_add_aext() argument
2085 udf_write_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t elen, int inc) udf_write_aext() argument
2143 udf_next_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t *elen, int inc) udf_next_aext() argument
2174 udf_current_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t *elen, int inc) udf_current_aext() argument
2228 udf_insert_aext(struct inode *inode, struct extent_position epos, struct kernel_lb_addr neloc, uint32_t nelen) udf_insert_aext() argument
2250 udf_delete_aext(struct inode *inode, struct extent_position epos) udf_delete_aext() argument
2334 inode_bmap(struct inode *inode, sector_t block, struct extent_position *pos, struct kernel_lb_addr *eloc, uint32_t *elen, sector_t *offset) inode_bmap() argument
2366 udf_block_map(struct inode *inode, sector_t block) udf_block_map() argument
[all...]
/kernel/linux/linux-6.6/fs/ext4/
H A Dinline.c23 static int ext4_get_inline_size(struct inode *inode) in ext4_get_inline_size() argument
25 if (EXT4_I(inode)->i_inline_off) in ext4_get_inline_size()
26 return EXT4_I(inode)->i_inline_size; in ext4_get_inline_size()
31 static int get_max_inline_xattr_value_size(struct inode *inode, in get_max_inline_xattr_value_size() argument
40 if (!EXT4_INODE_HAS_XATTR_SPACE(inode)) in get_max_inline_xattr_value_size()
43 min_offs = EXT4_SB(inode->i_sb)->s_inode_size - in get_max_inline_xattr_value_size()
45 EXT4_I(inode)->i_extra_isize - in get_max_inline_xattr_value_size()
49 * We need to subtract another sizeof(__u32) since an in-inode xatt in get_max_inline_xattr_value_size()
106 ext4_get_max_inline_size(struct inode *inode) ext4_get_max_inline_size() argument
139 ext4_find_inline_data_nolock(struct inode *inode) ext4_find_inline_data_nolock() argument
178 ext4_read_inline_data(struct inode *inode, void *buffer, unsigned int len, struct ext4_iloc *iloc) ext4_read_inline_data() argument
223 ext4_write_inline_data(struct inode *inode, struct ext4_iloc *iloc, void *buffer, loff_t pos, unsigned int len) ext4_write_inline_data() argument
262 ext4_create_inline_data(handle_t *handle, struct inode *inode, unsigned len) ext4_create_inline_data() argument
327 ext4_update_inline_data(handle_t *handle, struct inode *inode, unsigned int len) ext4_update_inline_data() argument
394 ext4_prepare_inline_data(handle_t *handle, struct inode *inode, unsigned int len) ext4_prepare_inline_data() argument
418 ext4_destroy_inline_data_nolock(handle_t *handle, struct inode *inode) ext4_destroy_inline_data_nolock() argument
480 ext4_read_inline_folio(struct inode *inode, struct folio *folio) ext4_read_inline_folio() argument
515 ext4_readpage_inline(struct inode *inode, struct folio *folio) ext4_readpage_inline() argument
542 ext4_convert_inline_data_to_extent(struct address_space *mapping, struct inode *inode) ext4_convert_inline_data_to_extent() argument
661 ext4_try_to_write_inline_data(struct address_space *mapping, struct inode *inode, loff_t pos, unsigned len, struct page **pagep) ext4_try_to_write_inline_data() argument
743 ext4_write_inline_data_end(struct inode *inode, loff_t pos, unsigned len, unsigned copied, struct folio *folio) ext4_write_inline_data_end() argument
834 ext4_da_convert_inline_data_to_extent(struct address_space *mapping, struct inode *inode, void **fsdata) ext4_da_convert_inline_data_to_extent() argument
892 ext4_da_write_inline_data_begin(struct address_space *mapping, struct inode *inode, loff_t pos, unsigned len, struct page **pagep, void **fsdata) ext4_da_write_inline_data_begin() argument
1005 ext4_add_dirent_to_inline(handle_t *handle, struct ext4_filename *fname, struct inode *dir, struct inode *inode, struct ext4_iloc *iloc, void *inline_start, int inline_size) ext4_add_dirent_to_inline() argument
1046 ext4_get_inline_xattr_pos(struct inode *inode, struct ext4_iloc *iloc) ext4_get_inline_xattr_pos() argument
1109 ext4_restore_inline_data(handle_t *handle, struct inode *inode, struct ext4_iloc *iloc, void *buf, int inline_size) ext4_restore_inline_data() argument
1126 ext4_finish_convert_inline_dir(handle_t *handle, struct inode *inode, struct buffer_head *dir_block, void *buf, int inline_size) ext4_finish_convert_inline_dir() argument
1171 ext4_convert_inline_data_nolock(handle_t *handle, struct inode *inode, struct ext4_iloc *iloc) ext4_convert_inline_data_nolock() argument
1261 ext4_try_add_inline_entry(handle_t *handle, struct ext4_filename *fname, struct inode *dir, struct inode *inode) ext4_try_add_inline_entry() argument
1340 struct inode *inode = file_inode(dir_file); ext4_inlinedir_to_tree() local
1455 struct inode *inode = file_inode(file); ext4_read_inline_dir() local
1577 ext4_read_inline_link(struct inode *inode) ext4_read_inline_link() argument
1606 ext4_get_first_inline_block(struct inode *inode, struct ext4_dir_entry_2 **parent_de, int *retval) ext4_get_first_inline_block() argument
1626 ext4_try_create_inline_dir(handle_t *handle, struct inode *parent, struct inode *inode) ext4_try_create_inline_dir() argument
1765 ext4_get_inline_entry(struct inode *inode, struct ext4_iloc *iloc, unsigned int offset, void **inline_start, int *inline_size) ext4_get_inline_entry() argument
1853 ext4_destroy_inline_data(handle_t *handle, struct inode *inode) ext4_destroy_inline_data() argument
1864 ext4_inline_data_iomap(struct inode *inode, struct iomap *iomap) ext4_inline_data_iomap() argument
1896 ext4_inline_data_truncate(struct inode *inode, int *has_inline) ext4_inline_data_truncate() argument
2003 ext4_convert_inline_data(struct inode *inode) ext4_convert_inline_data() argument
[all...]
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) ext4_write_lock_xattr() argument
160 ext4_write_trylock_xattr(struct inode *inode, int *save) ext4_write_trylock_xattr() argument
169 ext4_write_unlock_xattr(struct inode *inode, int *save) ext4_write_unlock_xattr() argument
214 ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir, const struct qstr *qstr) ext4_init_security() argument
[all...]
/kernel/linux/linux-5.10/fs/nfs/
H A Dfscache.h56 * Definition of the auxiliary data attached to NFS inode storage objects
60 * auxiliary data attached to the data storage object backing an inode. This
61 * permits coherency to be managed when a new inode binds to an already extant
92 extern void nfs_fscache_init_inode(struct inode *);
93 extern void nfs_fscache_clear_inode(struct inode *);
94 extern void nfs_fscache_open_file(struct inode *, struct file *);
96 extern void __nfs_fscache_invalidate_page(struct page *, struct inode *);
100 struct inode *, struct page *);
102 struct inode *, struct address_space *,
104 extern void __nfs_readpage_to_fscache(struct inode *, struc
120 nfs_fscache_invalidate_page(struct page *page, struct inode *inode) nfs_fscache_invalidate_page() argument
130 nfs_readpage_from_fscache(struct nfs_open_context *ctx, struct inode *inode, struct page *page) nfs_readpage_from_fscache() argument
142 nfs_readpages_from_fscache(struct nfs_open_context *ctx, struct inode *inode, struct address_space *mapping, struct list_head *pages, unsigned *nr_pages) nfs_readpages_from_fscache() argument
158 nfs_readpage_to_fscache(struct inode *inode, struct page *page, int sync) nfs_readpage_to_fscache() argument
169 nfs_fscache_invalidate(struct inode *inode) nfs_fscache_invalidate() argument
177 nfs_fscache_wait_on_invalidate(struct inode *inode) nfs_fscache_wait_on_invalidate() argument
201 nfs_fscache_init_inode(struct inode *inode) nfs_fscache_init_inode() argument
202 nfs_fscache_clear_inode(struct inode *inode) nfs_fscache_clear_inode() argument
203 nfs_fscache_open_file(struct inode *inode, struct file *filp) nfs_fscache_open_file() argument
210 nfs_fscache_invalidate_page(struct page *page, struct inode *inode) nfs_fscache_invalidate_page() argument
215 nfs_readpage_from_fscache(struct nfs_open_context *ctx, struct inode *inode, struct page *page) nfs_readpage_from_fscache() argument
221 nfs_readpages_from_fscache(struct nfs_open_context *ctx, struct inode *inode, struct address_space *mapping, struct list_head *pages, unsigned *nr_pages) nfs_readpages_from_fscache() argument
229 nfs_readpage_to_fscache(struct inode *inode, struct page *page, int sync) nfs_readpage_to_fscache() argument
233 nfs_fscache_invalidate(struct inode *inode) nfs_fscache_invalidate() argument
234 nfs_fscache_wait_on_invalidate(struct inode *inode) nfs_fscache_wait_on_invalidate() argument
[all...]
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) in nfs_block_o_direct() argument
22 inode_dio_wait(inode); in nfs_block_o_direct()
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) in nfs_start_io_read() argument
65 nfs_end_io_read(struct inode *inode) nfs_end_io_read() argument
78 nfs_start_io_write(struct inode *inode) nfs_start_io_write() argument
81 nfs_block_o_direct(NFS_I(inode), inode); nfs_start_io_write() local
92 nfs_end_io_write(struct inode *inode) nfs_end_io_write() argument
98 nfs_block_buffered(struct nfs_inode *nfsi, struct inode *inode) nfs_block_buffered() argument
123 nfs_start_io_direct(struct inode *inode) nfs_start_io_direct() argument
145 nfs_end_io_direct(struct inode *inode) nfs_end_io_direct() argument
[all...]
/kernel/linux/linux-6.6/fs/udf/
H A Dinode.c3 * inode.c
54 static int udf_update_inode(struct inode *, int);
55 static int udf_sync_inode(struct inode *inode);
56 static int udf_alloc_i_data(struct inode *inode, size_t size);
57 static int inode_getblk(struct inode *inode, struct udf_map_rq *map);
58 static int udf_insert_aext(struct inode *, struct extent_position,
60 static void udf_split_extents(struct inode *, in
70 __udf_clear_extent_cache(struct inode *inode) __udf_clear_extent_cache() argument
81 udf_clear_extent_cache(struct inode *inode) udf_clear_extent_cache() argument
91 udf_read_extent_cache(struct inode *inode, loff_t bcount, loff_t *lbcount, struct extent_position *pos) udf_read_extent_cache() argument
113 udf_update_extent_cache(struct inode *inode, loff_t estart, struct extent_position *pos) udf_update_extent_cache() argument
136 udf_evict_inode(struct inode *inode) udf_evict_inode() argument
169 struct inode *inode = mapping->host; udf_write_failed() local
187 struct inode *inode = folio->mapping->host; udf_adinicb_writepage() local
203 struct inode *inode = mapping->host; udf_writepages() local
213 struct inode *inode = page->mapping->host; udf_adinicb_readpage() local
282 struct inode *inode = file_inode(file); udf_write_end() local
302 struct inode *inode = mapping->host; udf_direct_IO() local
342 udf_expand_file_adinicb(struct inode *inode) udf_expand_file_adinicb() argument
408 udf_map_block(struct inode *inode, struct udf_map_rq *map) udf_map_block() argument
449 __udf_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int flags) __udf_get_block() argument
469 udf_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) udf_get_block() argument
491 udf_get_block_wb(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) udf_get_block_wb() argument
500 udf_do_extend_file(struct inode *inode, struct extent_position *last_pos, struct kernel_long_ad *last_ext, loff_t new_block_bytes) udf_do_extend_file() argument
612 udf_do_extend_final_block(struct inode *inode, struct extent_position *last_pos, struct kernel_long_ad *last_ext, uint32_t new_elen) udf_do_extend_final_block() argument
633 udf_extend_file(struct inode *inode, loff_t newsize) udf_extend_file() argument
705 inode_getblk(struct inode *inode, struct udf_map_rq *map) inode_getblk() argument
925 udf_split_extents(struct inode *inode, int *c, int offset, udf_pblk_t newblocknum, struct kernel_long_ad *laarr, int *endnum) udf_split_extents() argument
989 udf_prealloc_extents(struct inode *inode, int c, int lastblock, struct kernel_long_ad *laarr, int *endnum) udf_prealloc_extents() argument
1085 udf_merge_extents(struct inode *inode, struct kernel_long_ad *laarr, int *endnum) udf_merge_extents() argument
1169 udf_update_extents(struct inode *inode, struct kernel_long_ad *laarr, int startnum, int endnum, struct extent_position *epos) udf_update_extents() argument
1207 udf_bread(struct inode *inode, udf_pblk_t block, int create, int *err) udf_bread() argument
1242 udf_setsize(struct inode *inode, loff_t newsize) udf_setsize() argument
1316 udf_read_inode(struct inode *inode, bool hidden_inode) udf_read_inode() argument
1632 udf_alloc_i_data(struct inode *inode, size_t size) udf_alloc_i_data() argument
1660 udf_update_extra_perms(struct inode *inode, umode_t mode) udf_update_extra_perms() argument
1677 udf_write_inode(struct inode *inode, struct writeback_control *wbc) udf_write_inode() argument
1682 udf_sync_inode(struct inode *inode) udf_sync_inode() argument
1695 udf_update_inode(struct inode *inode, int do_sync) udf_update_inode() argument
1924 struct inode *inode = iget_locked(sb, block); __udf_iget() local
1949 udf_setup_indirect_aext(struct inode *inode, udf_pblk_t block, struct extent_position *epos) udf_setup_indirect_aext() argument
2027 __udf_add_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t elen, int inc) __udf_add_aext() argument
2076 udf_add_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t elen, int inc) udf_add_aext() argument
2107 udf_write_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t elen, int inc) udf_write_aext() argument
2165 udf_next_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t *elen, int inc) udf_next_aext() argument
2196 udf_current_aext(struct inode *inode, struct extent_position *epos, struct kernel_lb_addr *eloc, uint32_t *elen, int inc) udf_current_aext() argument
2250 udf_insert_aext(struct inode *inode, struct extent_position epos, struct kernel_lb_addr neloc, uint32_t nelen) udf_insert_aext() argument
2272 udf_delete_aext(struct inode *inode, struct extent_position epos) udf_delete_aext() argument
2356 inode_bmap(struct inode *inode, sector_t block, struct extent_position *pos, struct kernel_lb_addr *eloc, uint32_t *elen, sector_t *offset) inode_bmap() argument
[all...]
/kernel/linux/linux-5.10/fs/ext2/
H A Dnamei.c40 static inline int ext2_add_nondir(struct dentry *dentry, struct inode *inode) in ext2_add_nondir() argument
42 int err = ext2_add_link(dentry, inode); in ext2_add_nondir()
44 d_instantiate_new(dentry, inode); in ext2_add_nondir()
47 inode_dec_link_count(inode); in ext2_add_nondir()
48 discard_new_inode(inode); in ext2_add_nondir()
56 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ext2_lookup()
58 struct inode * inode; in ext2_lookup() local
69 inode in ext2_lookup()
105 struct inode *inode; ext2_create() local
123 struct inode *inode = ext2_new_inode(dir, mode, NULL); ext2_tmpfile() local
136 struct inode * inode; ext2_mknod() local
160 struct inode * inode; ext2_symlink() local
207 struct inode *inode = d_inode(old_dentry); ext2_link() local
230 struct inode * inode; ext2_mkdir() local
276 struct inode * inode = d_inode(dentry); ext2_unlink() local
304 struct inode * inode = d_inode(dentry); ext2_rmdir() local
[all...]
/kernel/linux/linux-5.10/fs/ext4/
H A Dinline.c21 static int ext4_get_inline_size(struct inode *inode) in ext4_get_inline_size() argument
23 if (EXT4_I(inode)->i_inline_off) in ext4_get_inline_size()
24 return EXT4_I(inode)->i_inline_size; in ext4_get_inline_size()
29 static int get_max_inline_xattr_value_size(struct inode *inode, in get_max_inline_xattr_value_size() argument
38 if (!EXT4_INODE_HAS_XATTR_SPACE(inode)) in get_max_inline_xattr_value_size()
41 min_offs = EXT4_SB(inode->i_sb)->s_inode_size - in get_max_inline_xattr_value_size()
43 EXT4_I(inode)->i_extra_isize - in get_max_inline_xattr_value_size()
47 * We need to subtract another sizeof(__u32) since an in-inode xatt in get_max_inline_xattr_value_size()
104 ext4_get_max_inline_size(struct inode *inode) ext4_get_max_inline_size() argument
137 ext4_find_inline_data_nolock(struct inode *inode) ext4_find_inline_data_nolock() argument
176 ext4_read_inline_data(struct inode *inode, void *buffer, unsigned int len, struct ext4_iloc *iloc) ext4_read_inline_data() argument
222 ext4_write_inline_data(struct inode *inode, struct ext4_iloc *iloc, void *buffer, loff_t pos, unsigned int len) ext4_write_inline_data() argument
261 ext4_create_inline_data(handle_t *handle, struct inode *inode, unsigned len) ext4_create_inline_data() argument
325 ext4_update_inline_data(handle_t *handle, struct inode *inode, unsigned int len) ext4_update_inline_data() argument
391 ext4_prepare_inline_data(handle_t *handle, struct inode *inode, unsigned int len) ext4_prepare_inline_data() argument
415 ext4_destroy_inline_data_nolock(handle_t *handle, struct inode *inode) ext4_destroy_inline_data_nolock() argument
476 ext4_read_inline_page(struct inode *inode, struct page *page) ext4_read_inline_page() argument
510 ext4_readpage_inline(struct inode *inode, struct page *page) ext4_readpage_inline() argument
537 ext4_convert_inline_data_to_extent(struct address_space *mapping, struct inode *inode, unsigned flags) ext4_convert_inline_data_to_extent() argument
657 ext4_try_to_write_inline_data(struct address_space *mapping, struct inode *inode, loff_t pos, unsigned len, unsigned flags, struct page **pagep) ext4_try_to_write_inline_data() argument
741 ext4_write_inline_data_end(struct inode *inode, loff_t pos, unsigned len, unsigned copied, struct page *page) ext4_write_inline_data_end() argument
824 ext4_journalled_write_inline_data(struct inode *inode, unsigned len, struct page *page) ext4_journalled_write_inline_data() argument
856 ext4_da_convert_inline_data_to_extent(struct address_space *mapping, struct inode *inode, unsigned flags, void **fsdata) ext4_da_convert_inline_data_to_extent() argument
914 ext4_da_write_inline_data_begin(struct address_space *mapping, struct inode *inode, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata) ext4_da_write_inline_data_begin() argument
1034 ext4_add_dirent_to_inline(handle_t *handle, struct ext4_filename *fname, struct inode *dir, struct inode *inode, struct ext4_iloc *iloc, void *inline_start, int inline_size) ext4_add_dirent_to_inline() argument
1074 ext4_get_inline_xattr_pos(struct inode *inode, struct ext4_iloc *iloc) ext4_get_inline_xattr_pos() argument
1137 ext4_restore_inline_data(handle_t *handle, struct inode *inode, struct ext4_iloc *iloc, void *buf, int inline_size) ext4_restore_inline_data() argument
1154 ext4_finish_convert_inline_dir(handle_t *handle, struct inode *inode, struct buffer_head *dir_block, void *buf, int inline_size) ext4_finish_convert_inline_dir() argument
1199 ext4_convert_inline_data_nolock(handle_t *handle, struct inode *inode, struct ext4_iloc *iloc) ext4_convert_inline_data_nolock() argument
1288 ext4_try_add_inline_entry(handle_t *handle, struct ext4_filename *fname, struct inode *dir, struct inode *inode) ext4_try_add_inline_entry() argument
1367 struct inode *inode = file_inode(dir_file); ext4_inlinedir_to_tree() local
1477 struct inode *inode = file_inode(file); ext4_read_inline_dir() local
1599 ext4_get_first_inline_block(struct inode *inode, struct ext4_dir_entry_2 **parent_de, int *retval) ext4_get_first_inline_block() argument
1619 ext4_try_create_inline_dir(handle_t *handle, struct inode *parent, struct inode *inode) ext4_try_create_inline_dir() argument
1757 ext4_get_inline_entry(struct inode *inode, struct ext4_iloc *iloc, unsigned int offset, void **inline_start, int *inline_size) ext4_get_inline_entry() argument
1845 ext4_destroy_inline_data(handle_t *handle, struct inode *inode) ext4_destroy_inline_data() argument
1856 ext4_inline_data_iomap(struct inode *inode, struct iomap *iomap) ext4_inline_data_iomap() argument
1888 ext4_inline_data_truncate(struct inode *inode, int *has_inline) ext4_inline_data_truncate() argument
1986 ext4_convert_inline_data(struct inode *inode) ext4_convert_inline_data() argument
[all...]
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) ext4_write_lock_xattr() argument
160 ext4_write_trylock_xattr(struct inode *inode, int *save) ext4_write_trylock_xattr() argument
169 ext4_write_unlock_xattr(struct inode *inode, int *save) ext4_write_unlock_xattr() argument
214 ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir, const struct qstr *qstr) ext4_init_security() argument
[all...]
/kernel/linux/linux-5.10/fs/hfs/
H A Dextent.c110 static int __hfs_ext_write_extent(struct inode *inode, struct hfs_find_data *fd) in __hfs_ext_write_extent() argument
114 hfs_ext_build_key(fd->search_key, inode->i_ino, HFS_I(inode)->cached_start, in __hfs_ext_write_extent()
115 HFS_IS_RSRC(inode) ? HFS_FK_RSRC : HFS_FK_DATA); in __hfs_ext_write_extent()
117 if (HFS_I(inode)->flags & HFS_FLG_EXT_NEW) { in __hfs_ext_write_extent()
124 hfs_brec_insert(fd, HFS_I(inode)->cached_extents, sizeof(hfs_extent_rec)); in __hfs_ext_write_extent()
125 HFS_I(inode)->flags &= ~(HFS_FLG_EXT_DIRTY|HFS_FLG_EXT_NEW); in __hfs_ext_write_extent()
129 hfs_bnode_write(fd->bnode, HFS_I(inode)->cached_extents, fd->entryoffset, fd->entrylength); in __hfs_ext_write_extent()
130 HFS_I(inode) in __hfs_ext_write_extent()
135 hfs_ext_write_extent(struct inode *inode) hfs_ext_write_extent() argument
169 __hfs_ext_cache_extent(struct hfs_find_data *fd, struct inode *inode, u32 block) __hfs_ext_cache_extent() argument
191 hfs_ext_read_extent(struct inode *inode, u16 block) hfs_ext_read_extent() argument
336 hfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) hfs_get_block() argument
391 hfs_extend_file(struct inode *inode) hfs_extend_file() argument
476 hfs_file_truncate(struct inode *inode) hfs_file_truncate() argument
[all...]
/kernel/linux/linux-6.6/fs/hfs/
H A Dextent.c110 static int __hfs_ext_write_extent(struct inode *inode, struct hfs_find_data *fd) in __hfs_ext_write_extent() argument
114 hfs_ext_build_key(fd->search_key, inode->i_ino, HFS_I(inode)->cached_start, in __hfs_ext_write_extent()
115 HFS_IS_RSRC(inode) ? HFS_FK_RSRC : HFS_FK_DATA); in __hfs_ext_write_extent()
117 if (HFS_I(inode)->flags & HFS_FLG_EXT_NEW) { in __hfs_ext_write_extent()
124 hfs_brec_insert(fd, HFS_I(inode)->cached_extents, sizeof(hfs_extent_rec)); in __hfs_ext_write_extent()
125 HFS_I(inode)->flags &= ~(HFS_FLG_EXT_DIRTY|HFS_FLG_EXT_NEW); in __hfs_ext_write_extent()
129 hfs_bnode_write(fd->bnode, HFS_I(inode)->cached_extents, fd->entryoffset, fd->entrylength); in __hfs_ext_write_extent()
130 HFS_I(inode) in __hfs_ext_write_extent()
135 hfs_ext_write_extent(struct inode *inode) hfs_ext_write_extent() argument
169 __hfs_ext_cache_extent(struct hfs_find_data *fd, struct inode *inode, u32 block) __hfs_ext_cache_extent() argument
191 hfs_ext_read_extent(struct inode *inode, u16 block) hfs_ext_read_extent() argument
336 hfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) hfs_get_block() argument
391 hfs_extend_file(struct inode *inode) hfs_extend_file() argument
476 hfs_file_truncate(struct inode *inode) hfs_file_truncate() argument
[all...]
/kernel/linux/linux-5.10/fs/exfat/
H A Dinode.c20 static int __exfat_write_inode(struct inode *inode, int sync) in __exfat_write_inode() argument
25 struct super_block *sb = inode->i_sb; in __exfat_write_inode()
27 struct exfat_inode_info *ei = EXFAT_I(inode); in __exfat_write_inode()
30 if (inode->i_ino == EXFAT_ROOT_INO) in __exfat_write_inode()
51 ep->dentry.file.attr = cpu_to_le16(exfat_make_attr(inode)); in __exfat_write_inode()
59 exfat_set_entry_time(sbi, &inode->i_mtime, in __exfat_write_inode()
64 exfat_set_entry_time(sbi, &inode->i_atime, in __exfat_write_inode()
71 on_disk_size = i_size_read(inode); in __exfat_write_inode()
83 int exfat_write_inode(struct inode *inod argument
94 exfat_sync_inode(struct inode *inode) exfat_sync_inode() argument
105 exfat_map_cluster(struct inode *inode, unsigned int clu_offset, unsigned int *clu, int create) exfat_map_cluster() argument
288 exfat_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) exfat_get_block() argument
381 struct inode *inode = mapping->host; exfat_write_failed() local
410 struct inode *inode = mapping->host; exfat_write_end() local
438 struct inode *inode = mapping->host; exfat_direct_IO() local
485 exfat_block_truncate_page(struct inode *inode, loff_t from) exfat_block_truncate_page() argument
506 exfat_hash_inode(struct inode *inode, loff_t i_pos) exfat_hash_inode() argument
517 exfat_unhash_inode(struct inode *inode) exfat_unhash_inode() argument
532 struct inode *inode = NULL; exfat_iget() local
549 exfat_fill_inode(struct inode *inode, struct exfat_dir_entry *info) exfat_fill_inode() argument
614 struct inode *inode; exfat_build_inode() local
639 exfat_evict_inode(struct inode *inode) exfat_evict_inode() argument
[all...]
/kernel/linux/linux-6.6/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) in nfs_block_o_direct() argument
22 inode_dio_wait(inode); in nfs_block_o_direct()
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) in nfs_start_io_read() argument
65 nfs_end_io_read(struct inode *inode) nfs_end_io_read() argument
78 nfs_start_io_write(struct inode *inode) nfs_start_io_write() argument
81 nfs_block_o_direct(NFS_I(inode), inode); nfs_start_io_write() local
92 nfs_end_io_write(struct inode *inode) nfs_end_io_write() argument
98 nfs_block_buffered(struct nfs_inode *nfsi, struct inode *inode) nfs_block_buffered() argument
123 nfs_start_io_direct(struct inode *inode) nfs_start_io_direct() argument
145 nfs_end_io_direct(struct inode *inode) nfs_end_io_direct() argument
[all...]
/kernel/linux/linux-6.6/fs/exfat/
H A Dinode.c20 int __exfat_write_inode(struct inode *inode, int sync) in __exfat_write_inode() argument
25 struct super_block *sb = inode->i_sb; in __exfat_write_inode()
27 struct exfat_inode_info *ei = EXFAT_I(inode); in __exfat_write_inode()
30 if (inode->i_ino == EXFAT_ROOT_INO) in __exfat_write_inode()
34 * If the inode is already unlinked, there is no need for updating it. in __exfat_write_inode()
50 ep->dentry.file.attr = cpu_to_le16(exfat_make_attr(inode)); in __exfat_write_inode()
58 exfat_set_entry_time(sbi, &inode->i_mtime, in __exfat_write_inode()
63 exfat_set_entry_time(sbi, &inode->i_atime, in __exfat_write_inode()
70 on_disk_size = i_size_read(inode); in __exfat_write_inode()
89 exfat_write_inode(struct inode *inode, struct writeback_control *wbc) exfat_write_inode() argument
100 exfat_sync_inode(struct inode *inode) exfat_sync_inode() argument
111 exfat_map_cluster(struct inode *inode, unsigned int clu_offset, unsigned int *clu, int create) exfat_map_cluster() argument
266 exfat_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) exfat_get_block() argument
354 struct inode *inode = mapping->host; exfat_write_failed() local
384 struct inode *inode = mapping->host; exfat_write_end() local
412 struct inode *inode = mapping->host; exfat_direct_IO() local
459 exfat_block_truncate_page(struct inode *inode, loff_t from) exfat_block_truncate_page() argument
482 exfat_hash_inode(struct inode *inode, loff_t i_pos) exfat_hash_inode() argument
493 exfat_unhash_inode(struct inode *inode) exfat_unhash_inode() argument
508 struct inode *inode = NULL; exfat_iget() local
525 exfat_fill_inode(struct inode *inode, struct exfat_dir_entry *info) exfat_fill_inode() argument
590 struct inode *inode; exfat_build_inode() local
615 exfat_evict_inode(struct inode *inode) exfat_evict_inode() argument
[all...]
/kernel/linux/linux-6.6/fs/minix/
H A Dnamei.c10 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir() argument
12 int err = minix_add_link(dentry, inode); in add_nondir()
14 d_instantiate(dentry, inode); in add_nondir()
17 inode_dec_link_count(inode); in add_nondir()
18 iput(inode); in add_nondir()
22 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in minix_lookup()
24 struct inode * inode = NULL; in minix_lookup() local
32 inode in minix_lookup()
39 struct inode *inode; minix_mknod() local
56 struct inode *inode = minix_new_inode(dir, mode); minix_tmpfile() local
76 struct inode * inode; minix_symlink() local
99 struct inode *inode = d_inode(old_dentry); minix_link() local
110 struct inode * inode; minix_mkdir() local
143 struct inode * inode = d_inode(dentry); minix_unlink() local
164 struct inode * inode = d_inode(dentry); minix_rmdir() local
[all...]

Completed in 21 milliseconds

12345678910>>...158