/Linux-v5.4/fs/xfs/ |
D | xfs_inode.h | 16 struct xfs_inode; 24 typedef struct xfs_inode { struct 76 static inline struct xfs_inode *XFS_I(struct inode *inode) in XFS_I() argument 78 return container_of(inode, struct xfs_inode, i_vnode); in XFS_I() 82 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I() 92 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE() 104 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof() 186 xfs_get_projid(struct xfs_inode *ip) in xfs_get_projid() 192 xfs_set_projid(struct xfs_inode *ip, in xfs_set_projid() 200 xfs_get_initial_prid(struct xfs_inode *dp) in xfs_get_initial_prid() [all …]
|
D | xfs_bmap_util.h | 14 struct xfs_inode; 33 int xfs_bmap_eof(struct xfs_inode *ip, xfs_fileoff_t endoff, 35 int xfs_bmap_punch_delalloc_range(struct xfs_inode *ip, 44 int xfs_getbmap(struct xfs_inode *ip, struct getbmapx *bmv, 53 int xfs_bmap_last_extent(struct xfs_trans *tp, struct xfs_inode *ip, 58 int xfs_alloc_file_space(struct xfs_inode *ip, xfs_off_t offset, 60 int xfs_free_file_space(struct xfs_inode *ip, xfs_off_t offset, 62 int xfs_zero_file_space(struct xfs_inode *ip, xfs_off_t offset, 64 int xfs_collapse_file_space(struct xfs_inode *, xfs_off_t offset, 66 int xfs_insert_file_space(struct xfs_inode *, xfs_off_t offset, [all …]
|
D | xfs_reflink.h | 9 static inline bool xfs_is_always_cow_inode(struct xfs_inode *ip) in xfs_is_always_cow_inode() 15 static inline bool xfs_is_cow_inode(struct xfs_inode *ip) in xfs_is_cow_inode() 23 extern int xfs_reflink_trim_around_shared(struct xfs_inode *ip, 25 bool xfs_inode_need_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap, 28 extern int xfs_reflink_allocate_cow(struct xfs_inode *ip, 31 extern int xfs_reflink_convert_cow(struct xfs_inode *ip, xfs_off_t offset, 34 extern int xfs_reflink_cancel_cow_blocks(struct xfs_inode *ip, 37 extern int xfs_reflink_cancel_cow_range(struct xfs_inode *ip, xfs_off_t offset, 39 extern int xfs_reflink_end_cow(struct xfs_inode *ip, xfs_off_t offset, 46 struct xfs_inode *ip, bool *has_shared); [all …]
|
D | xfs_icache.h | 49 struct xfs_inode * xfs_inode_alloc(struct xfs_mount *mp, xfs_ino_t ino); 50 void xfs_inode_free(struct xfs_inode *ip); 58 void xfs_inode_set_reclaim_tag(struct xfs_inode *ip); 60 void xfs_inode_set_eofblocks_tag(struct xfs_inode *ip); 61 void xfs_inode_clear_eofblocks_tag(struct xfs_inode *ip); 63 int xfs_inode_free_quota_eofblocks(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); 70 int xfs_inode_free_quota_cowblocks(struct xfs_inode *ip); 75 int (*execute)(struct xfs_inode *ip, int flags, void *args), [all …]
|
D | xfs_quota.h | 79 extern void xfs_trans_mod_dquot_byino(struct xfs_trans *, struct xfs_inode *, 84 struct xfs_inode *, int64_t, long, uint); 89 extern int xfs_qm_vop_dqalloc(struct xfs_inode *, xfs_dqid_t, xfs_dqid_t, 92 extern void xfs_qm_vop_create_dqattach(struct xfs_trans *, struct xfs_inode *, 94 extern int xfs_qm_vop_rename_dqattach(struct xfs_inode **); 96 struct xfs_inode *, struct xfs_dquot **, struct xfs_dquot *); 97 extern int xfs_qm_vop_chown_reserve(struct xfs_trans *, struct xfs_inode *, 100 extern int xfs_qm_dqattach(struct xfs_inode *); 101 extern int xfs_qm_dqattach_locked(struct xfs_inode *ip, bool doalloc); 102 extern void xfs_qm_dqdetach(struct xfs_inode *); [all …]
|
D | xfs_symlink.h | 10 int xfs_symlink(struct xfs_inode *dp, struct xfs_name *link_name, 11 const char *target_path, umode_t mode, struct xfs_inode **ipp); 12 int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link); 13 int xfs_readlink(struct xfs_inode *ip, char *link); 14 int xfs_inactive_symlink(struct xfs_inode *ip);
|
D | xfs_inode_item.h | 13 struct xfs_inode; 18 struct xfs_inode *ili_inode; /* inode ptr */ 33 extern void xfs_inode_item_init(struct xfs_inode *, struct xfs_mount *); 34 extern void xfs_inode_item_destroy(struct xfs_inode *); 37 extern void xfs_iflush_abort(struct xfs_inode *, bool);
|
D | xfs_iomap.h | 11 struct xfs_inode; 14 int xfs_iomap_write_direct(struct xfs_inode *, xfs_off_t, size_t, 16 int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, xfs_off_t, bool); 18 int xfs_bmbt_to_iomap(struct xfs_inode *, struct iomap *, 20 xfs_extlen_t xfs_eof_alignment(struct xfs_inode *ip, xfs_extlen_t extsize);
|
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()
|
D | xfs_icache.c | 31 struct xfs_inode * 36 struct xfs_inode *ip; in xfs_inode_alloc() 85 struct xfs_inode *ip = XFS_I(inode); in xfs_inode_free_callback() 112 struct xfs_inode *ip) in __xfs_inode_free() 123 struct xfs_inode *ip) in xfs_inode_free() 227 struct xfs_inode *ip) in xfs_inode_set_reclaim_tag() 259 struct xfs_inode *ip) in xfs_inew_wait() 315 struct xfs_inode *ip, in xfs_iget_check_free_state() 349 struct xfs_inode *ip, in xfs_iget_cache_hit() 496 struct xfs_inode **ipp, in xfs_iget_cache_miss() [all …]
|
D | xfs_iops.h | 9 struct xfs_inode; 21 extern void xfs_setattr_time(struct xfs_inode *ip, struct iattr *iattr); 22 extern int xfs_setattr_nonsize(struct xfs_inode *ip, struct iattr *vap,
|
D | xfs_reflink.c | 172 struct xfs_inode *ip, in xfs_reflink_trim_around_shared() 228 struct xfs_inode *ip, in xfs_inode_need_cow() 245 struct xfs_inode *ip, in xfs_reflink_convert_cow_locked() 284 struct xfs_inode *ip, in xfs_reflink_convert_cow() 309 struct xfs_inode *ip, in xfs_find_trim_cow_extent() 349 struct xfs_inode *ip, in xfs_reflink_allocate_cow() 460 struct xfs_inode *ip, in xfs_reflink_cancel_cow_blocks() 541 struct xfs_inode *ip, in xfs_reflink_cancel_cow_range() 600 struct xfs_inode *ip, in xfs_reflink_end_cow_extent() 708 struct xfs_inode *ip, in xfs_reflink_end_cow() [all …]
|
D | xfs_inode.c | 47 STATIC int xfs_iflush_int(struct xfs_inode *, struct xfs_buf *); 48 STATIC int xfs_iunlink(struct xfs_trans *, struct xfs_inode *); 49 STATIC int xfs_iunlink_remove(struct xfs_trans *, struct xfs_inode *); 56 struct xfs_inode *ip) in xfs_get_extsz_hint() 73 struct xfs_inode *ip) in xfs_get_cowextsz_hint() 105 struct xfs_inode *ip) in xfs_ilock_data_map_shared() 118 struct xfs_inode *ip) in xfs_ilock_attr_map_shared() 438 struct xfs_inode **ips, in xfs_lock_inodes() 540 struct xfs_inode *ip0, in xfs_lock_two_inodes() 542 struct xfs_inode *ip1, in xfs_lock_two_inodes() [all …]
|
D | xfs_qm.h | 12 struct xfs_inode; 62 struct xfs_inode *qi_uquotaip; /* user quota inode */ 63 struct xfs_inode *qi_gquotaip; /* group quota inode */ 64 struct xfs_inode *qi_pquotaip; /* project quota inode */ 100 static inline struct xfs_inode *
|
/Linux-v5.4/fs/xfs/libxfs/ |
D | xfs_bmap.h | 12 struct xfs_inode; 23 struct xfs_inode *ip; /* incore inode pointer */ 183 int xfs_bmap_add_attrfork(struct xfs_inode *ip, int size, int rsvd); 184 int xfs_bmap_set_attrforkoff(struct xfs_inode *ip, int size, int *version); 186 struct xfs_inode *ip, int whichfork); 191 int xfs_bmap_first_unused(struct xfs_trans *tp, struct xfs_inode *ip, 193 int xfs_bmap_last_before(struct xfs_trans *tp, struct xfs_inode *ip, 195 int xfs_bmap_last_offset(struct xfs_inode *ip, xfs_fileoff_t *unused, 197 int xfs_bmap_one_block(struct xfs_inode *ip, int whichfork); 198 int xfs_bmapi_read(struct xfs_inode *ip, xfs_fileoff_t bno, [all …]
|
D | xfs_inode_fork.h | 90 struct xfs_ifork *xfs_iext_state_to_fork(struct xfs_inode *ip, int state); 92 int xfs_iformat_fork(struct xfs_inode *, struct xfs_dinode *); 93 void xfs_iflush_fork(struct xfs_inode *, struct xfs_dinode *, 95 void xfs_idestroy_fork(struct xfs_inode *, int); 96 void xfs_idata_realloc(struct xfs_inode *, int, int); 97 void xfs_iroot_realloc(struct xfs_inode *, int, int); 98 int xfs_iread_extents(struct xfs_trans *, struct xfs_inode *, int); 99 int xfs_iextents_copy(struct xfs_inode *, struct xfs_bmbt_rec *, 101 void xfs_init_local_fork(struct xfs_inode *, int, const void *, int); 104 void xfs_iext_insert(struct xfs_inode *, struct xfs_iext_cursor *cur, [all …]
|
D | xfs_dir2_priv.h | 19 extern int xfs_dir3_block_read(struct xfs_trans *tp, struct xfs_inode *dp, 30 extern void xfs_dir3_data_check(struct xfs_inode *dp, struct xfs_buf *bp); 35 extern xfs_failaddr_t __xfs_dir3_data_check(struct xfs_inode *dp, 37 extern int xfs_dir3_data_read(struct xfs_trans *tp, struct xfs_inode *dp, 39 extern int xfs_dir3_data_readahead(struct xfs_inode *dp, xfs_dablk_t bno, 50 extern int xfs_dir3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp, 52 extern int xfs_dir3_leafn_read(struct xfs_trans *tp, struct xfs_inode *dp, 82 struct xfs_inode *dp, struct xfs_dir3_icleaf_hdr *hdr, 88 extern xfs_dahash_t xfs_dir2_leaf_lasthash(struct xfs_inode *dp, 93 extern int xfs_dir2_leafn_order(struct xfs_inode *dp, struct xfs_buf *leaf1_bp, [all …]
|
D | xfs_attr.h | 9 struct xfs_inode; 114 struct xfs_inode *dp; /* inode */ 142 int xfs_attr_inactive(struct xfs_inode *dp); 145 int xfs_inode_hasattr(struct xfs_inode *ip); 146 int xfs_attr_get_ilocked(struct xfs_inode *ip, struct xfs_da_args *args); 147 int xfs_attr_get(struct xfs_inode *ip, const unsigned char *name, 149 int xfs_attr_set(struct xfs_inode *dp, const unsigned char *name, 152 int xfs_attr_remove(struct xfs_inode *dp, const unsigned char *name, int flags); 154 int xfs_attr_list(struct xfs_inode *dp, char *buffer, int bufsize,
|
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);
|
D | xfs_dir2.h | 13 struct xfs_inode; 104 xfs_dir_get_ops(struct xfs_mount *mp, struct xfs_inode *dp); 106 xfs_nondir_get_ops(struct xfs_mount *mp, struct xfs_inode *dp); 115 extern int xfs_dir_isempty(struct xfs_inode *dp); 116 extern int xfs_dir_init(struct xfs_trans *tp, struct xfs_inode *dp, 117 struct xfs_inode *pdp); 118 extern int xfs_dir_createname(struct xfs_trans *tp, struct xfs_inode *dp, 121 extern int xfs_dir_lookup(struct xfs_trans *tp, struct xfs_inode *dp, 124 extern int xfs_dir_removename(struct xfs_trans *tp, struct xfs_inode *dp, 127 extern int xfs_dir_replace(struct xfs_trans *tp, struct xfs_inode *dp, [all …]
|
D | xfs_attr_leaf.h | 16 struct xfs_inode; 42 int xfs_attr_shortform_allfit(struct xfs_buf *bp, struct xfs_inode *dp); 43 int xfs_attr_shortform_bytesfit(struct xfs_inode *dp, int bytes); 44 xfs_failaddr_t xfs_attr_shortform_verify(struct xfs_inode *ip); 45 void xfs_attr_fork_remove(struct xfs_inode *ip, struct xfs_trans *tp); 87 int xfs_attr3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
|
D | xfs_da_btree.h | 10 struct xfs_inode; 58 struct xfs_inode *dp; /* directory inode to manipulate */ 174 int xfs_da3_node_read(struct xfs_trans *tp, struct xfs_inode *dp, 184 int xfs_da_get_buf(struct xfs_trans *trans, struct xfs_inode *dp, 187 int xfs_da_read_buf(struct xfs_trans *trans, struct xfs_inode *dp, 191 int xfs_da_reada_buf(struct xfs_inode *dp, xfs_dablk_t bno,
|
D | xfs_inode_buf.h | 9 struct xfs_inode; 57 struct xfs_inode *, uint); 59 void xfs_inode_to_disk(struct xfs_inode *ip, struct xfs_dinode *to, 61 void xfs_inode_from_disk(struct xfs_inode *ip, struct xfs_dinode *from);
|
D | xfs_bmap_btree.h | 12 struct xfs_inode; 87 extern void xfs_bmdr_to_bmbt(struct xfs_inode *, xfs_bmdr_block_t *, int, 102 extern int xfs_bmbt_change_owner(struct xfs_trans *tp, struct xfs_inode *ip, 107 struct xfs_trans *, struct xfs_inode *, int);
|
/Linux-v5.4/fs/xfs/scrub/ |
D | common.h | 68 int xchk_setup_fs(struct xfs_scrub *sc, struct xfs_inode *ip); 70 struct xfs_inode *ip); 72 struct xfs_inode *ip); 74 struct xfs_inode *ip); 76 struct xfs_inode *ip); 78 struct xfs_inode *ip); 80 struct xfs_inode *ip); 82 struct xfs_inode *ip); 84 struct xfs_inode *ip); 86 struct xfs_inode *ip); [all …]
|