Home
last modified time | relevance | path

Searched defs:inode (Results 26 – 50 of 1616) sorted by relevance

12345678910>>...65

/openbmc/linux/fs/reiserfs/
H A Dxattr.h23 #define has_xattr_dir(inode) (REISERFS_I(inode)->i_flags & i_has_xattr_dir) argument
51 static inline loff_t reiserfs_xattr_nblocks(struct inode *inode, loff_t size) in reiserfs_xattr_nblocks()
73 static inline size_t reiserfs_xattr_jcreate_nblocks(struct inode *inode) in reiserfs_xattr_jcreate_nblocks()
86 static inline void reiserfs_init_xattr_rwsem(struct inode *inode) in reiserfs_init_xattr_rwsem()
95 static inline void reiserfs_init_xattr_rwsem(struct inode *inode) in reiserfs_init_xattr_rwsem()
102 struct inode *inode, in reiserfs_security_init()
110 struct inode *inode, in reiserfs_security_write()
/openbmc/linux/fs/nfs/
H A Ddelegation.c96 struct nfs_delegation *nfs4_get_valid_delegation(const struct inode *inode) in nfs4_get_valid_delegation()
107 nfs4_do_check_delegation(struct inode *inode, fmode_t flags, bool mark) in nfs4_do_check_delegation()
131 int nfs4_have_delegation(struct inode *inode, fmode_t flags) in nfs4_have_delegation()
140 int nfs4_check_delegation(struct inode *inode, fmode_t flags) in nfs4_check_delegation()
147 struct inode *inode = state->inode; in nfs_delegation_claim_locks() local
177 static int nfs_delegation_claim_opens(struct inode *inode, in nfs_delegation_claim_opens()
230 void nfs_inode_reclaim_delegation(struct inode *inode, const struct cred *cred, in nfs_inode_reclaim_delegation()
261 static int nfs_do_return_delegation(struct inode *inode, struct nfs_delegation *delegation, int iss… in nfs_do_return_delegation()
280 struct inode *inode = NULL; in nfs_delegation_grab_inode() local
373 nfs_inode_detach_delegation(struct inode *inode) in nfs_inode_detach_delegation()
[all …]
H A Dfile.c62 nfs_file_open(struct inode *inode, struct file *filp) in nfs_file_open()
80 nfs_file_release(struct inode *inode, struct file *filp) in nfs_file_release()
102 static int nfs_revalidate_file_size(struct inode *inode, struct file *filp) in nfs_revalidate_file_size()
125 struct inode *inode = filp->f_mapping->host; in nfs_file_llseek() local
142 struct inode *inode = file_inode(file); in nfs_file_flush() local
160 struct inode *inode = file_inode(iocb->ki_filp); in nfs_file_read() local
186 struct inode *inode = file_inode(in); in nfs_file_splice_read() local
206 struct inode *inode = file_inode(file); in nfs_file_mmap() local
231 struct inode *inode = file_inode(file); in nfs_file_fsync_commit() local
247 struct inode *inode = file_inode(file); in nfs_file_fsync() local
[all …]
/openbmc/linux/fs/f2fs/
H A Dfile.c41 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_filemap_fault() local
57 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_vm_page_mkwrite() local
171 static int get_parent_ino(struct inode *inode, nid_t *pino) in get_parent_ino()
188 static inline enum cp_reason_type need_do_checkpoint(struct inode *inode) in need_do_checkpoint()
234 static void try_to_fix_pino(struct inode *inode) in try_to_fix_pino()
251 struct inode *inode = file->f_mapping->host; in f2fs_do_sync_file() local
416 struct inode *inode = file->f_mapping->host; in f2fs_seek_block() local
498 struct inode *inode = file->f_mapping->host; in f2fs_llseek() local
522 struct inode *inode = file_inode(file); in f2fs_file_mmap() local
540 static int finish_preallocate_blocks(struct inode *inode) in finish_preallocate_blocks()
[all …]
H A Dinline.c17 static bool support_inline_data(struct inode *inode) in support_inline_data()
28 bool f2fs_may_inline_data(struct inode *inode) in f2fs_may_inline_data()
36 static bool inode_has_blocks(struct inode *inode, struct page *ipage) in inode_has_blocks()
51 bool f2fs_sanity_check_inline_data(struct inode *inode, struct page *ipage) in f2fs_sanity_check_inline_data()
71 bool f2fs_may_inline_dentry(struct inode *inode) in f2fs_may_inline_dentry()
84 struct inode *inode = page->mapping->host; in f2fs_do_read_inline_data() local
100 void f2fs_truncate_inline_inode(struct inode *inode, in f2fs_truncate_inline_inode()
118 int f2fs_read_inline_data(struct inode *inode, struct page *page) in f2fs_read_inline_data()
217 int f2fs_convert_inline_inode(struct inode *inode) in f2fs_convert_inline_inode()
263 int f2fs_write_inline_data(struct inode *inode, struct page *page) in f2fs_write_inline_data()
[all …]
/openbmc/linux/fs/
H A Dattr.c38 const struct inode *inode) in setattr_should_drop_sgid()
68 struct inode *inode) in setattr_should_drop_suidgid()
99 const struct inode *inode, vfsuid_t ia_vfsuid) in chown_ok()
126 const struct inode *inode, vfsgid_t ia_vfsgid) in chgrp_ok()
168 struct inode *inode = d_inode(dentry); in setattr_prepare() local
248 int inode_newsize_ok(const struct inode *inode, loff_t offset) in inode_newsize_ok()
303 void setattr_copy(struct mnt_idmap *idmap, struct inode *inode, in setattr_copy()
326 int may_setattr(struct mnt_idmap *idmap, struct inode *inode, in may_setattr()
384 struct inode *inode = dentry->d_inode; in notify_change() local
H A Dfs-writeback.c118 static bool inode_io_list_move_locked(struct inode *inode, in inode_io_list_move_locked()
240 void __inode_attach_wb(struct inode *inode, struct folio *folio) in __inode_attach_wb()
279 static void inode_cgwb_move_to_attached(struct inode *inode, in inode_cgwb_move_to_attached()
303 locked_inode_to_wb_and_lock_list(struct inode *inode) in locked_inode_to_wb_and_lock_list()
340 static struct bdi_writeback *inode_to_wb_and_lock_list(struct inode *inode) in inode_to_wb_and_lock_list()
372 static bool inode_do_switch_wbs(struct inode *inode, in inode_do_switch_wbs()
523 static bool inode_prepare_wbs_switch(struct inode *inode, in inode_prepare_wbs_switch()
560 static void inode_switch_wbs(struct inode *inode, int new_wb_id) in inode_switch_wbs()
619 struct inode *inode; in isw_prepare_wbs_switch() local
711 struct inode *inode) in wbc_attach_and_unlock_inode()
[all …]
/openbmc/linux/fs/btrfs/
H A Dverity.c86 static loff_t merkle_file_pos(const struct inode *inode) in merkle_file_pos()
109 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type) in drop_verity_items()
188 int btrfs_drop_verity_items(struct btrfs_inode *inode) in btrfs_drop_verity_items()
217 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in write_key_bytes()
297 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in read_key_bytes()
426 static int del_orphan(struct btrfs_trans_handle *trans, struct btrfs_inode *inode) in del_orphan()
458 static int rollback_verity(struct btrfs_inode *inode) in rollback_verity()
524 static int finish_verity(struct btrfs_inode *inode, const void *desc, in finish_verity()
584 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_begin_enable_verity() local
633 struct btrfs_inode *inode = BTRFS_I(file_inode(filp)); in btrfs_end_enable_verity() local
[all …]
H A Ddelalloc-space.c116 int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes) in btrfs_alloc_data_chunk_ondemand()
131 int btrfs_check_data_free_space(struct btrfs_inode *inode, in btrfs_check_data_free_space()
191 void btrfs_free_reserved_data_space(struct btrfs_inode *inode, in btrfs_free_reserved_data_space()
218 static void btrfs_inode_rsv_release(struct btrfs_inode *inode, bool qgroup_free) in btrfs_inode_rsv_release()
243 struct btrfs_inode *inode) in btrfs_calculate_inode_block_rsv_size()
282 static void calc_inode_reservations(struct btrfs_inode *inode, in calc_inode_reservations()
307 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_reserve_metadata()
396 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, in btrfs_delalloc_release_metadata()
426 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes) in btrfs_delalloc_release_extents()
468 int btrfs_delalloc_reserve_space(struct btrfs_inode *inode, in btrfs_delalloc_reserve_space()
[all …]
H A Dinode.c226 static void print_data_reloc_error(const struct btrfs_inode *inode, u64 file_off, in print_data_reloc_error()
319 static void __cold btrfs_print_data_csum_error(struct btrfs_inode *inode, in btrfs_print_data_csum_error()
360 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_lock()
390 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags) in btrfs_inode_unlock()
410 static inline void btrfs_cleanup_ordered_extents(struct btrfs_inode *inode, in btrfs_cleanup_ordered_extents()
504 struct btrfs_inode *inode, bool extent_inserted, in insert_inline_extent()
612 static noinline int cow_file_range_inline(struct btrfs_inode *inode, u64 size, in cow_file_range_inline()
707 struct btrfs_inode *inode; member
749 static inline int inode_need_compress(struct btrfs_inode *inode, u64 start, in inode_need_compress()
808 static inline void inode_should_defrag(struct btrfs_inode *inode, in inode_should_defrag()
[all …]
/openbmc/linux/fs/exfat/
H A Dinode.c20 int __exfat_write_inode(struct inode *inode, int sync) in __exfat_write_inode()
89 int exfat_write_inode(struct inode *inode, struct writeback_control *wbc) in exfat_write_inode()
100 void exfat_sync_inode(struct inode *inode) in exfat_sync_inode()
111 static int exfat_map_cluster(struct inode *inode, unsigned int clu_offset, in exfat_map_cluster()
266 static int exfat_get_block(struct inode *inode, sector_t iblock, in exfat_get_block()
354 struct inode *inode = mapping->host; in exfat_write_failed() local
384 struct inode *inode = mapping->host; in exfat_write_end() local
412 struct inode *inode = mapping->host; in exfat_direct_IO() local
459 int exfat_block_truncate_page(struct inode *inode, loff_t from) in exfat_block_truncate_page()
482 void exfat_hash_inode(struct inode *inode, loff_t i_pos) in exfat_hash_inode()
[all …]
H A Dfile.c15 static int exfat_cont_expand(struct inode *inode, loff_t size) in exfat_cont_expand()
44 static bool exfat_allow_set_time(struct exfat_sb_info *sbi, struct inode *inode) in exfat_allow_set_time()
60 struct inode *inode, umode_t *mode_ptr) in exfat_sanitize_mode()
96 int __exfat_truncate(struct inode *inode) in __exfat_truncate()
190 void exfat_truncate(struct inode *inode) in exfat_truncate()
232 struct inode *inode = d_backing_inode(path->dentry); in exfat_getattr() local
248 struct inode *inode = dentry->d_inode; in exfat_setattr() local
319 static int exfat_ioctl_fitrim(struct inode *inode, unsigned long arg) in exfat_ioctl_fitrim()
348 struct inode *inode = file_inode(filp); in exfat_ioctl() local
368 struct inode *inode = filp->f_mapping->host; in exfat_file_fsync() local
/openbmc/linux/fs/ext2/
H A Dinode.c48 static inline int ext2_inode_is_fast_symlink(struct inode *inode) in ext2_inode_is_fast_symlink()
61 struct inode *inode = mapping->host; in ext2_write_failed() local
72 void ext2_evict_inode(struct inode * inode) in ext2_evict_inode()
163 static int ext2_block_to_path(struct inode *inode, in ext2_block_to_path()
234 static Indirect *ext2_get_branch(struct inode *inode, in ext2_get_branch()
294 static ext2_fsblk_t ext2_find_near(struct inode *inode, Indirect *ind) in ext2_find_near()
330 static inline ext2_fsblk_t ext2_find_goal(struct inode *inode, long block, in ext2_find_goal()
399 static int ext2_alloc_blocks(struct inode *inode, in ext2_alloc_blocks()
479 static int ext2_alloc_branch(struct inode *inode, in ext2_alloc_branch()
561 static void ext2_splice_branch(struct inode *inode, in ext2_splice_branch()
[all …]
/openbmc/linux/fs/affs/
H A Dfile.c24 affs_file_open(struct inode *inode, struct file *filp) in affs_file_open()
33 affs_file_release(struct inode *inode, struct file *filp) in affs_file_release()
50 affs_grow_extcache(struct inode *inode, u32 lc_idx) in affs_grow_extcache()
120 affs_alloc_extblock(struct inode *inode, struct buffer_head *bh, u32 ext) in affs_alloc_extblock()
158 affs_get_extblock(struct inode *inode, u32 ext) in affs_get_extblock()
172 affs_get_extblock_slow(struct inode *inode, u32 ext) in affs_get_extblock_slow()
297 affs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) in affs_get_block()
387 struct inode *inode = mapping->host; in affs_write_failed() local
400 struct inode *inode = mapping->host; in affs_direct_IO() local
438 struct inode *inode = mapping->host; in affs_write_end() local
[all …]
/openbmc/linux/fs/ext4/
H A Dinline.c23 static int ext4_get_inline_size(struct inode *inode) in ext4_get_inline_size()
31 static int get_max_inline_xattr_value_size(struct inode *inode, in get_max_inline_xattr_value_size()
106 int ext4_get_max_inline_size(struct inode *inode) in ext4_get_max_inline_size()
139 int ext4_find_inline_data_nolock(struct inode *inode) in ext4_find_inline_data_nolock()
178 static int ext4_read_inline_data(struct inode *inode, void *buffer, in ext4_read_inline_data()
223 static void ext4_write_inline_data(struct inode *inode, struct ext4_iloc *iloc, in ext4_write_inline_data()
263 struct inode *inode, unsigned len) in ext4_create_inline_data()
327 static int ext4_update_inline_data(handle_t *handle, struct inode *inode, in ext4_update_inline_data()
394 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, in ext4_prepare_inline_data()
419 struct inode *inode) in ext4_destroy_inline_data_nolock()
[all …]
H A Dverity.c32 static inline loff_t ext4_verity_metadata_pos(const struct inode *inode) in ext4_verity_metadata_pos()
41 static int pagecache_read(struct inode *inode, void *buf, size_t count, in pagecache_read()
67 static int pagecache_write(struct inode *inode, const void *buf, size_t count, in pagecache_write()
104 struct inode *inode = file_inode(filp); in ext4_begin_enable_verity() local
171 static int ext4_write_verity_descriptor(struct inode *inode, const void *desc, in ext4_write_verity_descriptor()
194 struct inode *inode = file_inode(filp); in ext4_end_enable_verity() local
269 static int ext4_get_verity_descriptor_location(struct inode *inode, in ext4_get_verity_descriptor_location()
339 static int ext4_get_verity_descriptor(struct inode *inode, void *buf, in ext4_get_verity_descriptor()
360 static struct page *ext4_read_merkle_tree_page(struct inode *inode, in ext4_read_merkle_tree_page()
383 static int ext4_write_merkle_tree_block(struct inode *inode, const void *buf, in ext4_write_merkle_tree_block()
/openbmc/linux/fs/coda/
H A Dcnode.c26 static void coda_fill_inode(struct inode *inode, struct coda_vattr *attr) in coda_fill_inode()
45 static int coda_test_inode(struct inode *inode, void *data) in coda_test_inode()
52 static int coda_set_inode(struct inode *inode, void *data) in coda_set_inode()
63 struct inode *inode; in coda_iget() local
100 struct inode *inode; in coda_cnode_make() local
123 void coda_replace_fid(struct inode *inode, struct CodaFid *oldfid, in coda_replace_fid()
142 struct inode *inode; in coda_fid_to_inode() local
169 struct inode *inode = new_inode(sb); in coda_cnode_makectl() local
/openbmc/linux/fs/fuse/
H A Ddax.c38 struct inode *inode; member
182 static int fuse_setup_one_mapping(struct inode *inode, unsigned long start_idx, in fuse_setup_one_mapping()
233 static int fuse_send_removemapping(struct inode *inode, in fuse_send_removemapping()
251 static int dmap_removemapping_list(struct inode *inode, unsigned int num, in dmap_removemapping_list()
310 struct inode *inode, in inode_reclaim_dmap_range()
353 static int dmap_removemapping_one(struct inode *inode, in dmap_removemapping_one()
374 void fuse_dax_inode_cleanup(struct inode *inode) in fuse_dax_inode_cleanup()
395 static void fuse_fill_iomap(struct inode *inode, loff_t pos, loff_t length, in fuse_fill_iomap()
431 static int fuse_setup_new_dax_mapping(struct inode *inode, loff_t pos, in fuse_setup_new_dax_mapping()
499 static int fuse_upgrade_dax_mapping(struct inode *inode, loff_t pos, in fuse_upgrade_dax_mapping()
[all …]
/openbmc/linux/fs/fat/
H A Dcache.c32 static inline int fat_max_cache(struct inode *inode) in fat_max_cache()
62 static inline struct fat_cache *fat_cache_alloc(struct inode *inode) in fat_cache_alloc()
73 static inline void fat_cache_update_lru(struct inode *inode, in fat_cache_update_lru()
80 static int fat_cache_lookup(struct inode *inode, int fclus, in fat_cache_lookup()
117 static struct fat_cache *fat_cache_merge(struct inode *inode, in fat_cache_merge()
134 static void fat_cache_add(struct inode *inode, struct fat_cache_id *new) in fat_cache_add()
186 static void __fat_cache_inval_inode(struct inode *inode) in __fat_cache_inval_inode()
204 void fat_cache_inval_inode(struct inode *inode) in fat_cache_inval_inode()
225 int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus) in fat_get_cluster()
291 static int fat_bmap_cluster(struct inode *inode, int cluster) in fat_bmap_cluster()
[all …]
/openbmc/linux/include/linux/
H A Dbacking-dev.h173 static inline bool inode_cgwb_enabled(struct inode *inode) in inode_cgwb_enabled()
249 static inline struct bdi_writeback *inode_to_wb(const struct inode *inode) in inode_to_wb()
261 struct inode *inode, in inode_to_wb_wbc()
287 unlocked_inode_to_wb_begin(struct inode *inode, struct wb_lock_cookie *cookie) in unlocked_inode_to_wb_begin()
312 static inline void unlocked_inode_to_wb_end(struct inode *inode, in unlocked_inode_to_wb_end()
323 static inline bool inode_cgwb_enabled(struct inode *inode) in inode_cgwb_enabled()
339 static inline struct bdi_writeback *inode_to_wb(struct inode *inode) in inode_to_wb()
345 struct inode *inode, in inode_to_wb_wbc()
353 unlocked_inode_to_wb_begin(struct inode *inode, struct wb_lock_cookie *cookie) in unlocked_inode_to_wb_begin()
358 static inline void unlocked_inode_to_wb_end(struct inode *inode, in unlocked_inode_to_wb_end()
/openbmc/linux/fs/ntfs3/
H A Dinode.c23 static struct inode *ntfs_read_mft(struct inode *inode, in ntfs_read_mft()
506 static int ntfs_test_inode(struct inode *inode, void *data) in ntfs_test_inode()
513 static int ntfs_set_inode(struct inode *inode, void *data) in ntfs_set_inode()
524 struct inode *inode; in ntfs_iget5() local
557 static noinline int ntfs_get_block_vbo(struct inode *inode, u64 vbo, in ntfs_get_block_vbo()
689 int ntfs_get_block(struct inode *inode, sector_t vbn, in ntfs_get_block()
696 static int ntfs_get_block_bmap(struct inode *inode, sector_t vsn, in ntfs_get_block_bmap()
714 struct inode *inode = mapping->host; in ntfs_read_folio() local
741 struct inode *inode = mapping->host; in ntfs_readahead() local
768 static int ntfs_get_block_direct_IO_R(struct inode *inode, sector_t iblock, in ntfs_get_block_direct_IO_R()
[all …]
/openbmc/linux/fs/nilfs2/
H A Dmdt.h26 struct inode *inode; member
54 static inline struct nilfs_mdt_info *NILFS_MDT(const struct inode *inode) in NILFS_MDT()
59 static inline int nilfs_is_metadata_file_inode(const struct inode *inode) in nilfs_is_metadata_file_inode()
93 static inline void nilfs_mdt_mark_dirty(struct inode *inode) in nilfs_mdt_mark_dirty()
99 static inline void nilfs_mdt_clear_dirty(struct inode *inode) in nilfs_mdt_clear_dirty()
104 static inline __u64 nilfs_mdt_cno(struct inode *inode) in nilfs_mdt_cno()
110 nilfs_mdt_bgl_lock(struct inode *inode, unsigned int block_group) in nilfs_mdt_bgl_lock()
/openbmc/linux/fs/verity/
H A Dopen.c30 const struct inode *inode, in fsverity_init_merkle_tree_params()
180 struct fsverity_info *fsverity_create_info(const struct inode *inode, in fsverity_create_info()
252 void fsverity_set_info(struct inode *inode, struct fsverity_info *vi) in fsverity_set_info()
280 static bool validate_fsverity_descriptor(struct inode *inode, in validate_fsverity_descriptor()
325 int fsverity_get_descriptor(struct inode *inode, in fsverity_get_descriptor()
362 static int ensure_verity_info(struct inode *inode) in ensure_verity_info()
388 int __fsverity_file_open(struct inode *inode, struct file *filp) in __fsverity_file_open()
404 void __fsverity_cleanup_inode(struct inode *inode) in __fsverity_cleanup_inode()
/openbmc/linux/fs/adfs/
H A Dinode.c16 adfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh, in adfs_get_block()
48 struct inode *inode = mapping->host; in adfs_write_failed() local
89 adfs_atts2mode(struct super_block *sb, struct inode *inode) in adfs_atts2mode()
132 static int adfs_mode2atts(struct super_block *sb, struct inode *inode, in adfs_mode2atts()
172 adfs_adfs2unix_time(struct timespec64 *tv, struct inode *inode) in adfs_adfs2unix_time()
211 static void adfs_unix2adfs_time(struct inode *inode, in adfs_unix2adfs_time()
244 struct inode *inode; in adfs_iget() local
300 struct inode *inode = d_inode(dentry); in adfs_notify_change() local
355 int adfs_write_inode(struct inode *inode, struct writeback_control *wbc) in adfs_write_inode()
/openbmc/linux/fs/ufs/
H A Dinode.c46 static int ufs_block_to_path(struct inode *inode, sector_t i_block, unsigned offsets[4]) in ufs_block_to_path()
124 static u64 ufs_frag_map(struct inode *inode, unsigned offsets[4], int depth) in ufs_frag_map()
221 ufs_extend_tail(struct inode *inode, u64 writes_to, in ufs_extend_tail()
255 ufs_inode_getfrag(struct inode *inode, unsigned index, in ufs_inode_getfrag()
334 ufs_inode_getblock(struct inode *inode, u64 ind_block, in ufs_inode_getblock()
396 static int ufs_getfrag_block(struct inode *inode, sector_t fragment, struct buffer_head *bh_result,… in ufs_getfrag_block()
489 struct inode *inode = mapping->host; in ufs_write_failed() local
537 static void ufs_set_inode_ops(struct inode *inode) in ufs_set_inode_ops()
561 static int ufs1_read_inode(struct inode *inode, struct ufs_inode *ufs_inode) in ufs1_read_inode()
607 static int ufs2_read_inode(struct inode *inode, struct ufs2_inode *ufs2_inode) in ufs2_read_inode()
[all …]

12345678910>>...65