/linux/fs/xfs/ |
A D | xfs_inode.h | 16 struct xfs_inode; 24 typedef struct xfs_inode { struct 410 struct xfs_inode **ipp); 413 struct xfs_inode **ipp); 415 struct xfs_inode *ip); 416 int xfs_link(struct xfs_inode *tdp, struct xfs_inode *sip, 420 struct xfs_inode *src_ip, struct xfs_inode *target_dp, 452 struct xfs_inode **ipp); 457 struct xfs_inode *ip, in xfs_itruncate_extents() 517 int xfs_ilock2_io_mmap(struct xfs_inode *ip1, struct xfs_inode *ip2); [all …]
|
A D | xfs_bmap_util.h | 14 struct xfs_inode; 33 int xfs_bmap_punch_delalloc_range(struct xfs_inode *ip, 42 int xfs_getbmap(struct xfs_inode *ip, struct getbmapx *bmv, 56 int xfs_alloc_file_space(struct xfs_inode *ip, xfs_off_t offset, 58 int xfs_free_file_space(struct xfs_inode *ip, xfs_off_t offset, 60 int xfs_collapse_file_space(struct xfs_inode *, xfs_off_t offset, 62 int xfs_insert_file_space(struct xfs_inode *, xfs_off_t offset, 66 bool xfs_can_free_eofblocks(struct xfs_inode *ip, bool force); 67 int xfs_free_eofblocks(struct xfs_inode *ip); 69 int xfs_swap_extents(struct xfs_inode *ip, struct xfs_inode *tip, [all …]
|
A D | xfs_reflink.h | 9 static inline bool xfs_is_always_cow_inode(struct xfs_inode *ip) in xfs_is_always_cow_inode() 14 static inline bool xfs_is_cow_inode(struct xfs_inode *ip) in xfs_is_cow_inode() 22 extern int xfs_reflink_trim_around_shared(struct xfs_inode *ip, 24 int xfs_bmap_trim_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap, 30 extern int xfs_reflink_convert_cow(struct xfs_inode *ip, xfs_off_t offset, 33 extern int xfs_reflink_cancel_cow_blocks(struct xfs_inode *ip, 38 extern int xfs_reflink_end_cow(struct xfs_inode *ip, xfs_off_t offset, 45 struct xfs_inode *ip, bool *has_shared); 46 extern int xfs_reflink_clear_inode_flag(struct xfs_inode *ip, 48 extern int xfs_reflink_unshare(struct xfs_inode *ip, xfs_off_t offset, [all …]
|
A D | xfs_quota.h | 93 extern int xfs_qm_vop_dqalloc(struct xfs_inode *, kuid_t, kgid_t, 98 extern int xfs_qm_vop_rename_dqattach(struct xfs_inode **); 100 struct xfs_inode *, struct xfs_dquot **, struct xfs_dquot *); 101 extern int xfs_qm_dqattach(struct xfs_inode *); 103 extern void xfs_qm_dqdetach(struct xfs_inode *); 105 extern void xfs_qm_statvfs(struct xfs_inode *, struct kstatfs *); 112 xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t blocks) in xfs_quota_reserve_blkres() 119 xfs_qm_vop_dqalloc(struct xfs_inode *ip, kuid_t kuid, kgid_t kgid, in xfs_qm_vop_dqalloc() 134 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks() 148 xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t blocks) in xfs_quota_reserve_blkres() [all …]
|
A D | xfs_icache.h | 46 struct xfs_inode * xfs_inode_alloc(struct xfs_mount *mp, xfs_ino_t ino); 47 void xfs_inode_free(struct xfs_inode *ip); 55 void xfs_inode_mark_reclaimable(struct xfs_inode *ip); 60 int xfs_blockgc_free_quota(struct xfs_inode *ip, unsigned int iwalk_flags); 64 void xfs_inode_set_eofblocks_tag(struct xfs_inode *ip); 65 void xfs_inode_clear_eofblocks_tag(struct xfs_inode *ip); 67 void xfs_inode_set_cowblocks_tag(struct xfs_inode *ip); 68 void xfs_inode_clear_cowblocks_tag(struct xfs_inode *ip);
|
A D | xfs_inode_item.h | 13 struct xfs_inode; 18 struct xfs_inode *ili_inode; /* inode ptr */ 39 static inline int xfs_inode_clean(struct xfs_inode *ip) in xfs_inode_clean() 44 extern void xfs_inode_item_init(struct xfs_inode *, struct xfs_mount *); 45 extern void xfs_inode_item_destroy(struct xfs_inode *); 46 extern void xfs_iflush_abort(struct xfs_inode *);
|
A D | xfs_symlink.h | 10 int xfs_symlink(struct user_namespace *mnt_userns, struct xfs_inode *dp, 12 umode_t mode, struct xfs_inode **ipp); 13 int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link); 14 int xfs_readlink(struct xfs_inode *ip, char *link); 15 int xfs_inactive_symlink(struct xfs_inode *ip);
|
A D | xfs_icache.c | 69 struct xfs_inode * 74 struct xfs_inode *ip; in xfs_inode_alloc() 151 struct xfs_inode *ip) in __xfs_inode_free() 163 struct xfs_inode *ip) in xfs_inode_free() 401 struct xfs_inode *ip, in xfs_iget_check_free_state() 450 struct xfs_inode *ip, in xfs_iget_cache_hit() 570 struct xfs_inode *ip; in xfs_iget_cache_miss() 707 struct xfs_inode *ip; in xfs_iget() 793 struct xfs_inode *ip; in xfs_icache_inode_is_allocated() 824 struct xfs_inode *ip, in xfs_reclaim_igrab() [all …]
|
A D | xfs_iomap.h | 11 struct xfs_inode; 14 int xfs_iomap_write_direct(struct xfs_inode *ip, xfs_fileoff_t offset_fsb, 16 int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, xfs_off_t, bool); 17 xfs_fileoff_t xfs_iomap_eof_align_last_fsb(struct xfs_inode *ip, 20 int xfs_bmbt_to_iomap(struct xfs_inode *, struct iomap *,
|
A D | xfs_inode.c | 49 struct xfs_inode *); 56 struct xfs_inode *ip) in xfs_get_extsz_hint() 79 struct xfs_inode *ip) in xfs_get_cowextsz_hint() 111 struct xfs_inode *ip) in xfs_ilock_data_map_shared() 123 struct xfs_inode *ip) in xfs_ilock_attr_map_shared() 371 struct xfs_inode *ip, in xfs_isilocked() 606 struct xfs_inode *ip) in xfs_ip2xflags() 695 struct xfs_inode *ip, in xfs_inode_inherit_flags() 762 struct xfs_inode *ip, in xfs_inode_inherit_flags2() 802 struct xfs_inode *ip; in xfs_init_new_inode() [all …]
|
A D | xfs_filestream.h | 10 struct xfs_inode; 15 void xfs_filestream_deassociate(struct xfs_inode *ip); 16 xfs_agnumber_t xfs_filestream_lookup_ag(struct xfs_inode *ip); 22 struct xfs_inode *ip) in xfs_inode_is_filestream()
|
A D | xfs_file.c | 42 struct xfs_inode *ip, in xfs_is_falloc_aligned() 71 struct xfs_inode *ip, in xfs_update_prealloc_flags() 124 struct xfs_inode *ip, in xfs_fsync_seq() 149 struct xfs_inode *ip, in xfs_fsync_flush_log() 351 struct xfs_inode *ip = XFS_I(inode); in xfs_file_write_checks() 459 struct xfs_inode *ip = XFS_I(inode); in xfs_dio_write_end_io() 547 struct xfs_inode *ip, in xfs_file_dio_write_aligned() 598 struct xfs_inode *ip, in xfs_file_dio_write_unaligned() 692 struct xfs_inode *ip = XFS_I(inode); in xfs_file_dax_write() 735 struct xfs_inode *ip = XFS_I(inode); in xfs_file_buffered_write() [all …]
|
A D | xfs_reflink.c | 170 struct xfs_inode *ip, in xfs_reflink_trim_around_shared() 226 struct xfs_inode *ip, in xfs_bmap_trim_cow() 243 struct xfs_inode *ip, in xfs_reflink_convert_cow_locked() 282 struct xfs_inode *ip, in xfs_reflink_convert_cow() 307 struct xfs_inode *ip, in xfs_find_trim_cow_extent() 346 struct xfs_inode *ip, in xfs_reflink_allocate_cow() 446 struct xfs_inode *ip, in xfs_reflink_cancel_cow_blocks() 526 struct xfs_inode *ip, in xfs_reflink_cancel_cow_range() 585 struct xfs_inode *ip, in xfs_reflink_end_cow_extent() 987 struct xfs_inode *ip, in xfs_reflink_remap_extent() [all …]
|
A D | xfs_inode_item.c | 51 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_data_fork_size() 92 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_attr_fork_size() 138 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_size() 156 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_format_data_fork() 318 struct xfs_inode *ip, in xfs_inode_to_log_dinode_ts() 344 struct xfs_inode *ip, in xfs_copy_dm_fields_to_log_dinode() 363 struct xfs_inode *ip, in xfs_inode_to_log_dinode() 423 struct xfs_inode *ip, in xfs_inode_item_format_core() 669 struct xfs_inode *ip, in xfs_inode_item_init() 689 struct xfs_inode *ip) in xfs_inode_item_destroy() [all …]
|
A D | xfs_aops.c | 47 struct xfs_inode *ip, in xfs_setfilesize() 84 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_end_ioend() 144 struct xfs_inode *ip = in xfs_end_io() 145 container_of(work, struct xfs_inode, i_ioend_work); in xfs_end_io() 168 struct xfs_inode *ip = XFS_I(ioend->io_inode); in xfs_end_bio() 186 struct xfs_inode *ip, in xfs_imap_valid() 226 struct xfs_inode *ip, in xfs_convert_blocks() 260 struct xfs_inode *ip = XFS_I(inode); in xfs_map_blocks() 445 struct xfs_inode *ip = XFS_I(inode); in xfs_discard_page() 496 struct xfs_inode *ip = XFS_I(mapping->host); in xfs_dax_writepages() [all …]
|
A D | xfs_bmap_util.c | 56 struct xfs_inode *ip, in xfs_zero_extent() 253 struct xfs_inode *ip, in xfs_bmap_count_blocks() 300 struct xfs_inode *ip, in xfs_getbmap_report_one() 351 struct xfs_inode *ip, in xfs_getbmap_report_hole() 406 struct xfs_inode *ip, in xfs_getbmap() 591 struct xfs_inode *ip, in xfs_bmap_punch_delalloc_range() 641 struct xfs_inode *ip, in xfs_can_free_eofblocks() 718 struct xfs_inode *ip) in xfs_free_eofblocks() 772 struct xfs_inode *ip, in xfs_alloc_file_space() 902 struct xfs_inode *ip, in xfs_unmap_extent() [all …]
|
/linux/fs/xfs/libxfs/ |
A D | xfs_bmap.h | 12 struct xfs_inode; 21 struct xfs_inode *ip; /* incore inode pointer */ 176 struct xfs_inode *ip, int whichfork); 184 int xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno, 187 int xfs_bmapi_write(struct xfs_trans *tp, struct xfs_inode *ip, 190 int __xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip, 193 int xfs_bunmapi(struct xfs_trans *tp, struct xfs_inode *ip, 199 void xfs_bmap_del_extent_cow(struct xfs_inode *ip, 202 uint xfs_default_attroffset(struct xfs_inode *ip); 220 struct xfs_inode *ip, int whichfork, [all …]
|
A D | xfs_inode_fork.h | 142 void xfs_iflush_fork(struct xfs_inode *, struct xfs_dinode *, 145 void xfs_idata_realloc(struct xfs_inode *ip, int64_t byte_diff, 147 void xfs_iroot_realloc(struct xfs_inode *, int, int); 149 int xfs_iextents_copy(struct xfs_inode *, struct xfs_bmbt_rec *, 151 void xfs_init_local_fork(struct xfs_inode *ip, int whichfork, 161 bool xfs_iext_lookup_extent(struct xfs_inode *ip, 165 bool xfs_iext_lookup_extent_before(struct xfs_inode *ip, 172 void xfs_iext_update_extent(struct xfs_inode *ip, int state, 226 extern void xfs_ifork_init_cow(struct xfs_inode *ip); 228 int xfs_ifork_verify_local_data(struct xfs_inode *ip); [all …]
|
A D | xfs_dir2_priv.h | 53 extern int xfs_dir3_block_read(struct xfs_trans *tp, struct xfs_inode *dp, 73 extern void xfs_dir3_data_check(struct xfs_inode *dp, struct xfs_buf *bp); 78 extern xfs_failaddr_t __xfs_dir3_data_check(struct xfs_inode *dp, 80 int xfs_dir3_data_read(struct xfs_trans *tp, struct xfs_inode *dp, 82 int xfs_dir3_data_readahead(struct xfs_inode *dp, xfs_dablk_t bno, 97 int xfs_dir3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp, 99 int xfs_dir3_leafn_read(struct xfs_trans *tp, struct xfs_inode *dp, 138 extern xfs_dahash_t xfs_dir2_leaf_lasthash(struct xfs_inode *dp, 169 extern int xfs_dir2_block_sfsize(struct xfs_inode *dp, 178 extern xfs_failaddr_t xfs_dir2_sf_verify(struct xfs_inode *ip); [all …]
|
A D | xfs_dir2.h | 13 struct xfs_inode; 38 extern int xfs_dir_isempty(struct xfs_inode *dp); 39 extern int xfs_dir_init(struct xfs_trans *tp, struct xfs_inode *dp, 40 struct xfs_inode *pdp); 41 extern int xfs_dir_createname(struct xfs_trans *tp, struct xfs_inode *dp, 44 extern int xfs_dir_lookup(struct xfs_trans *tp, struct xfs_inode *dp, 47 extern int xfs_dir_removename(struct xfs_trans *tp, struct xfs_inode *dp, 50 extern int xfs_dir_replace(struct xfs_trans *tp, struct xfs_inode *dp, 53 extern int xfs_dir_canenter(struct xfs_trans *tp, struct xfs_inode *dp,
|
A D | xfs_health.h | 36 struct xfs_inode; 117 void xfs_inode_mark_sick(struct xfs_inode *ip, unsigned int mask); 118 void xfs_inode_mark_healthy(struct xfs_inode *ip, unsigned int mask); 119 void xfs_inode_measure_sickness(struct xfs_inode *ip, unsigned int *sick, 154 xfs_inode_has_sickness(struct xfs_inode *ip, unsigned int mask) in xfs_inode_has_sickness() 181 xfs_inode_is_healthy(struct xfs_inode *ip) in xfs_inode_is_healthy() 188 void xfs_bulkstat_health(struct xfs_inode *ip, struct xfs_bulkstat *bs);
|
A D | xfs_attr_leaf.h | 15 struct xfs_inode; 58 int xfs_attr_shortform_allfit(struct xfs_buf *bp, struct xfs_inode *dp); 59 int xfs_attr_shortform_bytesfit(struct xfs_inode *dp, int bytes); 60 xfs_failaddr_t xfs_attr_shortform_verify(struct xfs_inode *ip); 61 void xfs_attr_fork_remove(struct xfs_inode *ip, struct xfs_trans *tp); 103 int xfs_attr3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
|
A D | xfs_attr.h | 9 struct xfs_inode; 55 struct xfs_inode *dp; /* inode */ 484 int xfs_attr_inactive(struct xfs_inode *dp); 487 int xfs_inode_hasattr(struct xfs_inode *ip); 488 bool xfs_attr_is_leaf(struct xfs_inode *ip);
|
A D | xfs_da_btree.h | 10 struct xfs_inode; 65 struct xfs_inode *dp; /* directory inode to manipulate */ 190 int xfs_da3_node_read(struct xfs_trans *tp, struct xfs_inode *dp, 192 int xfs_da3_node_read_mapped(struct xfs_trans *tp, struct xfs_inode *dp, 205 int xfs_da_get_buf(struct xfs_trans *trans, struct xfs_inode *dp, 207 int xfs_da_read_buf(struct xfs_trans *trans, struct xfs_inode *dp, 210 int xfs_da_reada_buf(struct xfs_inode *dp, xfs_dablk_t bno,
|
A D | xfs_inode_fork.c | 33 struct xfs_inode *ip, in xfs_init_local_fork() 70 struct xfs_inode *ip, in xfs_iformat_local() 101 struct xfs_inode *ip, in xfs_iformat_extents() 165 struct xfs_inode *ip, in xfs_iformat_btree() 222 struct xfs_inode *ip, in xfs_iformat_data_fork() 295 struct xfs_inode *ip, in xfs_iformat_attr_fork() 480 struct xfs_inode *ip, in xfs_idata_realloc() 543 struct xfs_inode *ip, in xfs_iextents_copy() 583 struct xfs_inode *ip, in xfs_iflush_fork() 659 struct xfs_inode *ip, in xfs_iext_state_to_fork() [all …]
|