| /linux/fs/xfs/ |
| H A D | xfs_icache.h | 9 struct xfs_mount; 45 int xfs_iget(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t ino, 49 struct xfs_inode * xfs_inode_alloc(struct xfs_mount *mp, xfs_ino_t ino); 54 void xfs_reclaim_inodes(struct xfs_mount *mp); 55 long xfs_reclaim_inodes_count(struct xfs_mount *mp); 56 long xfs_reclaim_inodes_nr(struct xfs_mount *mp, unsigned long nr_to_scan); 60 int xfs_blockgc_free_dquots(struct xfs_mount *mp, struct xfs_dquot *udqp, 64 int xfs_blockgc_free_space(struct xfs_mount *mp, struct xfs_icwalk *icm); 65 int xfs_blockgc_flush_all(struct xfs_mount *mp); 74 void xfs_blockgc_stop(struct xfs_mount *mp); [all …]
|
| H A D | xfs_mount.h | 64 struct xfs_mount *mp; 154 typedef struct xfs_mount { struct 418 static inline bool xfs_has_ ## name (const struct xfs_mount *mp) \ 426 static inline void xfs_add_ ## name (struct xfs_mount *mp) \ 456 static inline bool xfs_has_rtgroups(const struct xfs_mount *mp) in __XFS_ADD_FEAT() 462 static inline bool xfs_has_rtsb(const struct xfs_mount *mp) in xfs_has_rtsb() 470 static inline bool xfs_has_rtrmapbt(const struct xfs_mount *mp) in xfs_has_rtrmapbt() 476 static inline bool xfs_has_rtreflink(const struct xfs_mount *mp) in xfs_has_rtreflink() 482 static inline bool xfs_has_nonzoned(const struct xfs_mount *mp) in xfs_has_nonzoned() 487 static inline bool xfs_can_sw_atomic_write(struct xfs_mount *mp) in xfs_can_sw_atomic_write() [all …]
|
| H A D | xfs_log.h | 91 struct xfs_mount; 99 int xfs_log_force(struct xfs_mount *mp, uint flags); 100 int xfs_log_force_seq(struct xfs_mount *mp, xfs_csn_t seq, uint flags, 102 int xfs_log_mount(struct xfs_mount *mp, 106 int xfs_log_mount_finish(struct xfs_mount *mp); 107 void xfs_log_mount_cancel(struct xfs_mount *); 108 void xfs_log_space_wake(struct xfs_mount *mp); 109 int xfs_log_reserve(struct xfs_mount *mp, int length, int count, 111 int xfs_log_regrant(struct xfs_mount *mp, struct xlog_ticket *tic); 112 void xfs_log_unmount(struct xfs_mount *mp); [all …]
|
| H A D | xfs_rtalloc.h | 11 struct xfs_mount; 16 int xfs_rtmount_readsb(struct xfs_mount *mp); 17 void xfs_rtmount_freesb(struct xfs_mount *mp); 24 struct xfs_mount *mp); /* file system mount structure */ 27 struct xfs_mount *mp); 35 struct xfs_mount *mp); /* file system mount structure */ 42 struct xfs_mount *mp, /* file system mount structure */ 45 int xfs_rtalloc_reinit_frextents(struct xfs_mount *mp); 46 int xfs_growfs_check_rtgeom(const struct xfs_mount *mp, xfs_rfsblock_t dblocks, 67 xfs_growfs_check_rtgeom(const struct xfs_mount *mp, in xfs_growfs_check_rtgeom()
|
| H A D | xfs_fsops.h | 9 int xfs_growfs_data(struct xfs_mount *mp, struct xfs_growfs_data *in); 10 int xfs_growfs_log(struct xfs_mount *mp, struct xfs_growfs_log *in); 11 int xfs_reserve_blocks(struct xfs_mount *mp, enum xfs_free_counter cnt, 13 int xfs_fs_goingdown(struct xfs_mount *mp, uint32_t inflags); 15 int xfs_fs_reserve_ag_blocks(struct xfs_mount *mp); 16 void xfs_fs_unreserve_ag_blocks(struct xfs_mount *mp);
|
| H A D | xfs_icache.c | 51 static int xfs_icwalk(struct xfs_mount *mp, 91 struct xfs_mount *mp, in xfs_inode_alloc() 203 struct xfs_mount *mp) in xfs_reclaim_work_queue() 222 struct xfs_mount *mp = pag_mount(pag); in xfs_blockgc_queue() 304 struct xfs_mount *mp, in xfs_perag_grab_next_tag() 323 struct xfs_mount *mp, in xfs_reinit_inode() 362 struct xfs_mount *mp = ip->i_mount; in xfs_iget_recycle() 453 struct xfs_mount *mp) in xfs_inodegc_queue_all() 473 struct xfs_mount *mp) in xfs_inodegc_wait_all() 504 struct xfs_mount *mp = ip->i_mount; in xfs_iget_cache_hit() [all …]
|
| H A D | xfs_zone_space_resv.c | 52 struct xfs_mount *mp, in xfs_zoned_default_resblks() 69 struct xfs_mount *mp) in xfs_zoned_resv_wake_all() 82 struct xfs_mount *mp, in xfs_zoned_add_available() 108 struct xfs_mount *mp) in xfs_zoned_space_wait_error() 119 struct xfs_mount *mp, in xfs_zoned_reserve_available() 199 struct xfs_mount *mp, in xfs_zoned_reserve_extents_greedy() 220 struct xfs_mount *mp, in xfs_zoned_space_reserve() 253 struct xfs_mount *mp, in xfs_zoned_space_unreserve()
|
| H A D | xfs_super.h | 85 struct xfs_mount; 89 extern void xfs_flush_inodes(struct xfs_mount *mp); 90 extern xfs_agnumber_t xfs_set_inode_alloc(struct xfs_mount *, 96 extern void xfs_reinit_percpu_counters(struct xfs_mount *mp); 100 #define XFS_M(sb) ((struct xfs_mount *)((sb)->s_fs_info))
|
| H A D | xfs_pwork.h | 10 struct xfs_mount; 12 typedef int (*xfs_pwork_work_fn)(struct xfs_mount *mp, struct xfs_pwork *pwork); 19 struct xfs_mount *mp; 53 int xfs_pwork_init(struct xfs_mount *mp, struct xfs_pwork_ctl *pctl,
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_sb.h | 9 struct xfs_mount; 17 extern int xfs_sync_sb(struct xfs_mount *mp, bool wait); 18 extern int xfs_sync_sb_buf(struct xfs_mount *mp, bool update_rtsb); 19 extern void xfs_sb_mount_common(struct xfs_mount *mp, struct xfs_sb *sbp); 20 void xfs_sb_mount_rextsize(struct xfs_mount *mp, struct xfs_sb *sbp); 21 void xfs_mount_sb_set_rextsize(struct xfs_mount *mp, 29 extern int xfs_update_secondary_sbs(struct xfs_mount *mp); 32 extern void xfs_fs_geometry(struct xfs_mount *mp, struct xfs_fsop_geom *geo, 34 extern int xfs_sb_read_secondary(struct xfs_mount *mp, 37 extern int xfs_sb_get_secondary(struct xfs_mount *mp, [all …]
|
| H A D | xfs_rtbitmap.h | 13 struct xfs_mount *mp; 28 struct xfs_mount *mp = rtg_mount(rtg); in xfs_rtx_to_rtb() 39 struct xfs_mount *mp, in xfs_rgbno_to_rtx() 49 struct xfs_mount *mp, in xfs_rtbxlen_to_blen() 60 struct xfs_mount *mp, in xfs_rtxlen_to_extlen() 72 struct xfs_mount *mp, in xfs_extlen_to_rtxmod() 83 struct xfs_mount *mp, in xfs_extlen_to_rtxlen() 95 struct xfs_mount *mp, in xfs_blen_to_rtbxlen() 107 struct xfs_mount *mp, in xfs_blen_to_rtxoff() 119 struct xfs_mount *mp, in xfs_blen_roundup_rtx() [all …]
|
| H A D | xfs_rtgroup.h | 11 struct xfs_mount; 77 static inline struct xfs_mount *rtg_mount(const struct xfs_rtgroup *rtg) in rtg_mount() 115 struct xfs_mount *mp, in xfs_rtgroup_get() 138 struct xfs_mount *mp, in xfs_rtgroup_grab() 153 struct xfs_mount *mp, in xfs_rtgroup_next_range() 164 struct xfs_mount *mp, in xfs_rtgroup_next() 206 struct xfs_mount *mp, in xfs_rtb_to_rgno() 214 struct xfs_mount *mp, in xfs_rtb_to_rgbno() 223 struct xfs_mount *mp, in xfs_rtbno_is_group_start() 235 struct xfs_mount *mp = rtg_mount(rtg); in xfs_rtx_to_rgbno() [all …]
|
| H A D | xfs_types.h | 267 struct xfs_mount; 269 bool xfs_verify_fsbno(struct xfs_mount *mp, xfs_fsblock_t fsbno); 270 bool xfs_verify_fsbext(struct xfs_mount *mp, xfs_fsblock_t fsbno, 273 bool xfs_verify_ino(struct xfs_mount *mp, xfs_ino_t ino); 274 bool xfs_is_sb_inum(struct xfs_mount *mp, xfs_ino_t ino); 275 bool xfs_verify_dir_ino(struct xfs_mount *mp, xfs_ino_t ino); 276 bool xfs_verify_rtbno(struct xfs_mount *mp, xfs_rtblock_t rtbno); 277 bool xfs_verify_rtbext(struct xfs_mount *mp, xfs_rtblock_t rtbno, 279 bool xfs_verify_icount(struct xfs_mount *mp, unsigned long long icount); 280 bool xfs_verify_dablk(struct xfs_mount *mp, xfs_fileoff_t off); [all …]
|
| H A D | xfs_rtrmap_btree.h | 11 struct xfs_mount; 21 struct xfs_btree_cur *xfs_rtrmapbt_stage_cursor(struct xfs_mount *mp, 26 unsigned int xfs_rtrmapbt_maxrecs(struct xfs_mount *mp, unsigned int blocklen, 28 void xfs_rtrmapbt_compute_maxlevels(struct xfs_mount *mp); 84 xfs_filblks_t xfs_rtrmapbt_calc_reserves(struct xfs_mount *mp); 128 struct xfs_mount *mp, in xfs_rtrmap_broot_ptr_addr() 143 struct xfs_mount *mp, in xfs_rtrmap_broot_space_calc() 160 xfs_rtrmap_broot_space(struct xfs_mount *mp, struct xfs_rtrmap_root *bb) in xfs_rtrmap_broot_space() 192 void xfs_rtrmapbt_to_disk(struct xfs_mount *mp, struct xfs_btree_block *rblock, 199 int xfs_rtrmapbt_init_rtsb(struct xfs_mount *mp, struct xfs_rtgroup *rtg, [all …]
|
| H A D | xfs_dir2_priv.h | 63 struct xfs_dir2_data_free *xfs_dir2_data_bestfree_p(struct xfs_mount *mp, 65 __be16 *xfs_dir2_data_entry_tag_p(struct xfs_mount *mp, 67 uint8_t xfs_dir2_data_get_ftype(struct xfs_mount *mp, 69 void xfs_dir2_data_put_ftype(struct xfs_mount *mp, 94 void xfs_dir2_leaf_hdr_from_disk(struct xfs_mount *mp, 96 void xfs_dir2_leaf_hdr_to_disk(struct xfs_mount *mp, struct xfs_dir2_leaf *to, 130 extern xfs_failaddr_t xfs_dir3_leaf_check_int(struct xfs_mount *mp, 135 void xfs_dir2_free_hdr_from_disk(struct xfs_mount *mp, 162 xfs_ino_t xfs_dir2_sf_get_ino(struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, 166 uint8_t xfs_dir2_sf_get_ftype(struct xfs_mount *mp, [all …]
|
| H A D | xfs_ag.h | 12 struct xfs_mount; 103 static inline struct xfs_mount *pag_mount(const struct xfs_perag *pag) in pag_mount() 134 int xfs_initialize_perag(struct xfs_mount *mp, xfs_agnumber_t orig_agcount, 137 void xfs_free_perag_range(struct xfs_mount *mp, xfs_agnumber_t first_agno, 139 int xfs_initialize_perag_data(struct xfs_mount *mp, xfs_agnumber_t agno); 140 int xfs_update_last_ag_size(struct xfs_mount *mp, xfs_agnumber_t prev_agcount); 145 struct xfs_mount *mp, in xfs_perag_get() 168 struct xfs_mount *mp, in xfs_perag_grab() 183 struct xfs_mount *mp, in xfs_perag_next_range() 194 struct xfs_mount *mp, in xfs_perag_next_from() [all …]
|
| H A D | xfs_rtrefcount_btree.h | 11 struct xfs_mount; 20 struct xfs_btree_cur *xfs_rtrefcountbt_stage_cursor(struct xfs_mount *mp, 25 unsigned int xfs_rtrefcountbt_maxrecs(struct xfs_mount *mp, 27 void xfs_rtrefcountbt_compute_maxlevels(struct xfs_mount *mp); 71 xfs_filblks_t xfs_rtrefcountbt_calc_reserves(struct xfs_mount *mp); 72 unsigned long long xfs_rtrefcountbt_calc_size(struct xfs_mount *mp, 117 struct xfs_mount *mp, in xfs_rtrefcount_broot_ptr_addr() 132 struct xfs_mount *mp, in xfs_rtrefcount_broot_space_calc() 149 xfs_rtrefcount_broot_space(struct xfs_mount *mp, struct xfs_rtrefcount_root *bb) in xfs_rtrefcount_broot_space() 181 void xfs_rtrefcountbt_to_disk(struct xfs_mount *mp,
|
| H A D | xfs_rmap_btree.h | 11 struct xfs_mount; 45 struct xfs_btree_cur *xfs_rmapbt_init_cursor(struct xfs_mount *mp, 50 unsigned int xfs_rmapbt_maxrecs(struct xfs_mount *mp, unsigned int blocklen, 52 extern void xfs_rmapbt_compute_maxlevels(struct xfs_mount *mp); 54 extern xfs_extlen_t xfs_rmapbt_calc_size(struct xfs_mount *mp, 56 extern xfs_extlen_t xfs_rmapbt_max_size(struct xfs_mount *mp, 59 extern int xfs_rmapbt_calc_reserves(struct xfs_mount *mp, struct xfs_trans *tp, 69 int xfs_rmapbt_mem_init(struct xfs_mount *mp, struct xfbtree *xfbtree,
|
| H A D | xfs_refcount_btree.h | 15 struct xfs_mount; 48 extern struct xfs_btree_cur *xfs_refcountbt_init_cursor(struct xfs_mount *mp, 51 unsigned int xfs_refcountbt_maxrecs(struct xfs_mount *mp, unsigned int blocklen, 53 extern void xfs_refcountbt_compute_maxlevels(struct xfs_mount *mp); 55 extern xfs_extlen_t xfs_refcountbt_calc_size(struct xfs_mount *mp, 57 extern xfs_extlen_t xfs_refcountbt_max_size(struct xfs_mount *mp, 60 extern int xfs_refcountbt_calc_reserves(struct xfs_mount *mp,
|
| H A D | xfs_trans_space.c | 21 struct xfs_mount *mp, in xfs_parent_calc_space_res() 49 struct xfs_mount *mp, in xfs_create_space_res() 63 struct xfs_mount *mp, in xfs_mkdir_space_res() 71 struct xfs_mount *mp, in xfs_link_space_res() 85 struct xfs_mount *mp, in xfs_symlink_space_res() 102 struct xfs_mount *mp, in xfs_remove_space_res() 115 struct xfs_mount *mp, in xfs_rename_space_res()
|
| H A D | xfs_ialloc.h | 12 struct xfs_mount; 31 xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o) in xfs_make_iptr() 90 int xfs_ialloc_inode_init(struct xfs_mount *mp, struct xfs_trans *tp, 97 void xfs_inobt_btrec_to_irec(struct xfs_mount *mp, 111 int xfs_ialloc_cluster_alignment(struct xfs_mount *mp); 112 void xfs_ialloc_setup_geometry(struct xfs_mount *mp); 113 xfs_ino_t xfs_ialloc_calc_rootino(struct xfs_mount *mp, int sunit);
|
| H A D | xfs_alloc.h | 11 struct xfs_mount; 17 unsigned int xfs_agfl_size(struct xfs_mount *mp); 36 struct xfs_mount *mp; /* file system mount point */ 69 unsigned int xfs_alloc_set_aside(struct xfs_mount *mp); 70 unsigned int xfs_alloc_ag_max_usable(struct xfs_mount *mp); 74 unsigned int xfs_alloc_min_freelist(struct xfs_mount *mp, 90 struct xfs_mount *mp); /* file system mount structure */ 202 xfs_extlen_t xfs_prealloc_blocks(struct xfs_mount *mp); 219 typedef int (*xfs_agfl_walk_fn)(struct xfs_mount *mp, xfs_agblock_t bno, 221 int xfs_agfl_walk(struct xfs_mount *mp, struct xfs_agf *agf,
|
| H A D | xfs_dquot_buf.c | 41 struct xfs_mount *mp, in xfs_dquot_verify() 108 struct xfs_mount *mp, in xfs_dqblk_verify() 124 struct xfs_mount *mp, in xfs_dqblk_repair() 149 struct xfs_mount *mp, in xfs_dquot_buf_verify_crc() 184 struct xfs_mount *mp, in xfs_dquot_buf_verify() 236 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_verify_struct() 245 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_read_verify() 262 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_readahead_verify() 278 struct xfs_mount *mp = bp->b_mount; in xfs_dquot_buf_write_verify() 360 struct xfs_mount *mp = tp->t_mountp; in xfs_dqinode_load() [all …]
|
| H A D | xfs_alloc_btree.h | 15 struct xfs_mount; 50 struct xfs_btree_cur *xfs_bnobt_init_cursor(struct xfs_mount *mp, 53 struct xfs_btree_cur *xfs_cntbt_init_cursor(struct xfs_mount *mp, 56 unsigned int xfs_allocbt_maxrecs(struct xfs_mount *mp, unsigned int blocklen, 58 extern xfs_extlen_t xfs_allocbt_calc_size(struct xfs_mount *mp,
|
| H A D | xfs_trans_space.h | 110 unsigned int xfs_parent_calc_space_res(struct xfs_mount *mp, 113 unsigned int xfs_create_space_res(struct xfs_mount *mp, unsigned int namelen); 114 unsigned int xfs_mkdir_space_res(struct xfs_mount *mp, unsigned int namelen); 115 unsigned int xfs_link_space_res(struct xfs_mount *mp, unsigned int namelen); 116 unsigned int xfs_symlink_space_res(struct xfs_mount *mp, unsigned int namelen, 118 unsigned int xfs_remove_space_res(struct xfs_mount *mp, unsigned int namelen); 120 unsigned int xfs_rename_space_res(struct xfs_mount *mp,
|