/linux-4.19.296/fs/xfs/ |
D | xfs_inode.h | 16 struct xfs_inode; 24 typedef struct xfs_inode { struct 63 static inline struct xfs_inode *XFS_I(struct inode *inode) in XFS_I() argument 65 return container_of(inode, struct xfs_inode, i_vnode); in XFS_I() 69 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I() 79 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE() 91 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof() 173 xfs_get_projid(struct xfs_inode *ip) in xfs_get_projid() 179 xfs_set_projid(struct xfs_inode *ip, in xfs_set_projid() 187 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 | 12 extern int xfs_reflink_trim_around_shared(struct xfs_inode *ip, 15 extern int xfs_reflink_reserve_cow(struct xfs_inode *ip, 17 extern int xfs_reflink_allocate_cow(struct xfs_inode *ip, 19 extern int xfs_reflink_convert_cow(struct xfs_inode *ip, xfs_off_t offset, 22 extern int xfs_reflink_cancel_cow_blocks(struct xfs_inode *ip, 25 extern int xfs_reflink_cancel_cow_range(struct xfs_inode *ip, xfs_off_t offset, 27 extern int xfs_reflink_end_cow(struct xfs_inode *ip, xfs_off_t offset, 33 struct xfs_inode *ip, bool *has_shared); 34 extern int xfs_reflink_clear_inode_flag(struct xfs_inode *ip, 36 extern int xfs_reflink_unshare(struct xfs_inode *ip, xfs_off_t offset,
|
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 | 76 extern void xfs_trans_mod_dquot_byino(struct xfs_trans *, struct xfs_inode *, 81 struct xfs_inode *, long, long, uint); 86 extern int xfs_qm_vop_dqalloc(struct xfs_inode *, xfs_dqid_t, xfs_dqid_t, 89 extern void xfs_qm_vop_create_dqattach(struct xfs_trans *, struct xfs_inode *, 91 extern int xfs_qm_vop_rename_dqattach(struct xfs_inode **); 93 struct xfs_inode *, struct xfs_dquot **, struct xfs_dquot *); 94 extern int xfs_qm_vop_chown_reserve(struct xfs_trans *, struct xfs_inode *, 97 extern int xfs_qm_dqattach(struct xfs_inode *); 98 extern int xfs_qm_dqattach_locked(struct xfs_inode *ip, bool doalloc); 99 extern void xfs_qm_dqdetach(struct xfs_inode *); [all …]
|
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_allocate(struct xfs_inode *, int, xfs_off_t, 18 int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, xfs_off_t, bool); 20 void xfs_bmbt_to_iomap(struct xfs_inode *, struct iomap *, 22 xfs_extlen_t xfs_eof_alignment(struct xfs_inode *ip, xfs_extlen_t extsize);
|
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_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 | 33 struct xfs_inode * 38 struct xfs_inode *ip; in xfs_inode_alloc() 82 struct xfs_inode *ip = XFS_I(inode); in xfs_inode_free_callback() 109 struct xfs_inode *ip) in __xfs_inode_free() 120 struct xfs_inode *ip) in xfs_inode_free() 224 struct xfs_inode *ip) in xfs_inode_set_reclaim_tag() 256 struct xfs_inode *ip) in xfs_inew_wait() 312 struct xfs_inode *ip, in xfs_iget_check_free_state() 346 struct xfs_inode *ip, in xfs_iget_cache_hit() 491 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_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 *
|
D | xfs_inode.c | 53 STATIC int xfs_iflush_int(struct xfs_inode *, struct xfs_buf *); 54 STATIC int xfs_iunlink(struct xfs_trans *, struct xfs_inode *); 55 STATIC int xfs_iunlink_remove(struct xfs_trans *, struct xfs_inode *); 62 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() 124 struct xfs_inode *ip) in xfs_ilock_attr_map_shared() 546 struct xfs_inode *ip0, in xfs_lock_two_inodes() 548 struct xfs_inode *ip1, in xfs_lock_two_inodes() 551 struct xfs_inode *temp; in xfs_lock_two_inodes() [all …]
|
D | xfs_reflink.c | 183 struct xfs_inode *ip, in xfs_reflink_trim_around_shared() 252 struct xfs_inode *ip, in xfs_reflink_reserve_cow() 313 struct xfs_inode *ip, in xfs_reflink_convert_cow_extent() 335 struct xfs_inode *ip, in xfs_reflink_convert_cow() 363 struct xfs_inode *ip, in xfs_find_trim_cow_extent() 400 struct xfs_inode *ip, in xfs_reflink_allocate_cow() 498 struct xfs_inode *ip, in xfs_reflink_cancel_cow_blocks() 581 struct xfs_inode *ip, in xfs_reflink_cancel_cow_range() 633 struct xfs_inode *ip, in xfs_reflink_end_cow() 865 struct xfs_inode *src, in xfs_reflink_set_inode_flag() [all …]
|
D | xfs_filestream.c | 133 struct xfs_inode *ip, in xfs_filestream_pick_ag() 275 static struct xfs_inode * 277 struct xfs_inode *ip) in xfs_filestream_get_parent() 307 struct xfs_inode *ip) in xfs_filestream_lookup_ag() 310 struct xfs_inode *pip = NULL; in xfs_filestream_lookup_ag() 359 struct xfs_inode *ip = ap->ip, *pip; in xfs_filestream_new_ag() 402 struct xfs_inode *ip) in xfs_filestream_deassociate()
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_bmap.h | 12 struct xfs_inode; 23 struct xfs_inode *ip; /* incore inode pointer */ 184 void xfs_trim_extent_eof(struct xfs_bmbt_irec *, struct xfs_inode *); 185 int xfs_bmap_add_attrfork(struct xfs_inode *ip, int size, int rsvd); 186 int xfs_bmap_set_attrforkoff(struct xfs_inode *ip, int size, int *version); 187 void xfs_bmap_local_to_extents_empty(struct xfs_inode *ip, int whichfork); 192 int xfs_bmap_first_unused(struct xfs_trans *tp, struct xfs_inode *ip, 194 int xfs_bmap_last_before(struct xfs_trans *tp, struct xfs_inode *ip, 196 int xfs_bmap_last_offset(struct xfs_inode *ip, xfs_fileoff_t *unused, 198 int xfs_bmap_one_block(struct xfs_inode *ip, int whichfork); [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_attr.h | 9 struct xfs_inode; 112 struct xfs_inode *dp; /* inode */ 134 int xfs_attr_inactive(struct xfs_inode *dp); 137 int xfs_inode_hasattr(struct xfs_inode *ip); 138 int xfs_attr_get_ilocked(struct xfs_inode *ip, struct xfs_da_args *args); 139 int xfs_attr_get(struct xfs_inode *ip, const unsigned char *name, 141 int xfs_attr_set(struct xfs_inode *dp, const unsigned char *name, 144 int xfs_attr_remove(struct xfs_inode *dp, const unsigned char *name, int flags); 146 int xfs_attr_list(struct xfs_inode *dp, char *buffer, int bufsize,
|
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_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 */ 172 int xfs_da3_node_read(struct xfs_trans *tp, struct xfs_inode *dp, 182 int xfs_da_get_buf(struct xfs_trans *trans, struct xfs_inode *dp, 185 int xfs_da_read_buf(struct xfs_trans *trans, struct xfs_inode *dp, 189 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-4.19.296/fs/xfs/scrub/ |
D | common.h | 74 int xchk_setup_fs(struct xfs_scrub *sc, 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); 88 struct xfs_inode *ip); 90 struct xfs_inode *ip); 92 struct xfs_inode *ip); [all …]
|