/openbmc/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_log.h | 122 struct xfs_mount; 130 int xfs_log_force(struct xfs_mount *mp, uint flags); 131 int xfs_log_force_seq(struct xfs_mount *mp, xfs_csn_t seq, uint flags, 133 int xfs_log_mount(struct xfs_mount *mp, 137 int xfs_log_mount_finish(struct xfs_mount *mp); 138 void xfs_log_mount_cancel(struct xfs_mount *); 139 xfs_lsn_t xlog_assign_tail_lsn(struct xfs_mount *mp); 140 xfs_lsn_t xlog_assign_tail_lsn_locked(struct xfs_mount *mp); 141 void xfs_log_space_wake(struct xfs_mount *mp); 142 int xfs_log_reserve(struct xfs_mount *mp, int length, int count, [all …]
|
H A D | xfs_mount.h | 63 struct xfs_mount *mp; 83 typedef struct xfs_mount { struct 311 static inline bool xfs_has_ ## name (struct xfs_mount *mp) \ 319 static inline void xfs_add_ ## name (struct xfs_mount *mp) \ 412 static inline bool xfs_is_ ## name (struct xfs_mount *mp) \ in __XFS_ADD_FEAT() 416 static inline bool xfs_clear_ ## name (struct xfs_mount *mp) \ 420 static inline bool xfs_set_ ## name (struct xfs_mount *mp) \ 439 xfs_should_warn(struct xfs_mount *mp, long nr) 464 void xfs_do_force_shutdown(struct xfs_mount *mp, uint32_t flags, char *fname, 489 xfs_daddr_to_agno(struct xfs_mount *mp, xfs_daddr_t d) in xfs_daddr_to_agno() [all …]
|
H A D | xfs_error.h | 9 struct xfs_mount; 11 extern void xfs_error_report(const char *tag, int level, struct xfs_mount *mp, 15 struct xfs_mount *mp, const void *buf, size_t bufsize, 42 extern int xfs_errortag_init(struct xfs_mount *mp); 43 extern void xfs_errortag_del(struct xfs_mount *mp); 44 extern bool xfs_errortag_test(struct xfs_mount *mp, const char *expression, 48 bool xfs_errortag_enabled(struct xfs_mount *mp, unsigned int tag); 61 extern int xfs_errortag_get(struct xfs_mount *mp, unsigned int error_tag); 62 extern int xfs_errortag_set(struct xfs_mount *mp, unsigned int error_tag, 64 extern int xfs_errortag_add(struct xfs_mount *mp, unsigned int error_tag); [all …]
|
H A D | xfs_rtalloc.h | 11 struct xfs_mount; 41 struct xfs_mount *mp); /* file system mount structure */ 44 struct xfs_mount *mp); 52 struct xfs_mount *mp); /* file system mount structure */ 63 struct xfs_mount *mp, /* file system mount point */ 73 struct xfs_mount *mp, /* file system mount structure */ 76 int xfs_rtalloc_reinit_frextents(struct xfs_mount *mp);
|
H A D | xfs_error.c | 78 static inline struct xfs_mount * 83 return container_of(kobj, struct xfs_mount, m_errortag_kobj); in to_mp() 93 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_store() 118 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_show() 239 struct xfs_mount *mp) in xfs_errortag_init() 257 struct xfs_mount *mp) in xfs_errortag_del() 278 struct xfs_mount *mp, in xfs_errortag_enabled() 291 struct xfs_mount *mp, in xfs_errortag_test() 325 struct xfs_mount *mp, in xfs_errortag_get() 336 struct xfs_mount *mp, in xfs_errortag_set() [all …]
|
H A D | xfs_qm.h | 92 xfs_quota_inode(struct xfs_mount *mp, xfs_dqtype_t type) in xfs_quota_inode() 136 extern void xfs_qm_destroy_quotainfo(struct xfs_mount *); 139 extern int xfs_qm_scall_trunc_qfiles(struct xfs_mount *, uint); 140 extern int xfs_qm_scall_getquota(struct xfs_mount *mp, 144 extern int xfs_qm_scall_getquota_next(struct xfs_mount *mp, 148 extern int xfs_qm_scall_setqlim(struct xfs_mount *mp, 152 extern int xfs_qm_scall_quotaon(struct xfs_mount *, uint); 153 extern int xfs_qm_scall_quotaoff(struct xfs_mount *, uint);
|
H A D | xfs_extent_busy.h | 11 struct xfs_mount; 36 struct xfs_mount *mount; 57 xfs_extent_busy_clear(struct xfs_mount *mp, struct list_head *list, 61 xfs_extent_busy_search(struct xfs_mount *mp, struct xfs_perag *pag, 65 xfs_extent_busy_reuse(struct xfs_mount *mp, struct xfs_perag *pag, 77 xfs_extent_busy_wait_all(struct xfs_mount *mp);
|
H A D | xfs_icache.c | 47 static int xfs_icwalk(struct xfs_mount *mp, 72 struct xfs_mount *mp, in xfs_inode_alloc() 190 struct xfs_mount *mp) in xfs_reclaim_work_queue() 209 struct xfs_mount *mp = pag->pag_mount; in xfs_blockgc_queue() 229 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_set_inode_tag() 268 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_clear_inode_tag() 305 struct xfs_mount *mp, in xfs_reinit_inode() 339 struct xfs_mount *mp = ip->i_mount; in xfs_iget_recycle() 440 struct xfs_mount *mp) in xfs_inodegc_queue_all() 460 struct xfs_mount *mp) in xfs_inodegc_wait_all() [all …]
|
H A D | xfs_iwalk.h | 18 typedef int (*xfs_iwalk_fn)(struct xfs_mount *mp, struct xfs_trans *tp, 21 int xfs_iwalk(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t startino, 24 int xfs_iwalk_threaded(struct xfs_mount *mp, xfs_ino_t startino, 34 typedef int (*xfs_inobt_walk_fn)(struct xfs_mount *mp, struct xfs_trans *tp, 39 int xfs_inobt_walk(struct xfs_mount *mp, struct xfs_trans *tp,
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_rtbitmap.h | 20 struct xfs_mount *mp, 26 int xfs_rtbuf_get(struct xfs_mount *mp, struct xfs_trans *tp, 28 int xfs_rtcheck_range(struct xfs_mount *mp, struct xfs_trans *tp, 31 int xfs_rtfind_back(struct xfs_mount *mp, struct xfs_trans *tp, 34 int xfs_rtfind_forw(struct xfs_mount *mp, struct xfs_trans *tp, 37 int xfs_rtmodify_range(struct xfs_mount *mp, struct xfs_trans *tp, 39 int xfs_rtmodify_summary_int(struct xfs_mount *mp, struct xfs_trans *tp, 43 int xfs_rtmodify_summary(struct xfs_mount *mp, struct xfs_trans *tp, int log, 46 int xfs_rtfree_range(struct xfs_mount *mp, struct xfs_trans *tp, 49 int xfs_rtalloc_query_range(struct xfs_mount *mp, struct xfs_trans *tp, [all …]
|
H A D | xfs_health.h | 34 struct xfs_mount; 102 void xfs_fs_mark_sick(struct xfs_mount *mp, unsigned int mask); 103 void xfs_fs_mark_healthy(struct xfs_mount *mp, unsigned int mask); 104 void xfs_fs_measure_sickness(struct xfs_mount *mp, unsigned int *sick, 107 void xfs_rt_mark_sick(struct xfs_mount *mp, unsigned int mask); 108 void xfs_rt_mark_healthy(struct xfs_mount *mp, unsigned int mask); 109 void xfs_rt_measure_sickness(struct xfs_mount *mp, unsigned int *sick, 122 void xfs_health_unmount(struct xfs_mount *mp); 127 xfs_fs_has_sickness(struct xfs_mount *mp, unsigned int mask) in xfs_fs_has_sickness() 136 xfs_rt_has_sickness(struct xfs_mount *mp, unsigned int mask) in xfs_rt_has_sickness() [all …]
|
H A D | xfs_trans_resv.c | 67 struct xfs_mount *mp, in xfs_allocfree_block_count() 86 struct xfs_mount *mp, in xfs_refcountbt_block_count() 123 struct xfs_mount *mp, in xfs_calc_inode_res() 145 struct xfs_mount *mp) in xfs_calc_inobt_res() 166 struct xfs_mount *mp) in xfs_calc_finobt_res() 191 struct xfs_mount *mp, in xfs_calc_inode_chunk_res() 217 struct xfs_mount *mp, in xfs_rtalloc_block_count() 257 struct xfs_mount *mp, in xfs_calc_refcountbt_reservation() 294 struct xfs_mount *mp, in xfs_calc_write_reservation() 346 struct xfs_mount *mp) in xfs_calc_write_reservation_minlogsize() [all …]
|
H A D | xfs_types.c | 23 struct xfs_mount *mp, in xfs_verify_agno_agbno() 43 struct xfs_mount *mp, in xfs_verify_fsbno() 59 struct xfs_mount *mp, in xfs_verify_fsbext() 82 struct xfs_mount *mp, in xfs_verify_agno_agino() 99 struct xfs_mount *mp, in xfs_verify_ino() 115 struct xfs_mount *mp, in xfs_internal_inum() 129 struct xfs_mount *mp, in xfs_verify_dir_ino() 143 struct xfs_mount *mp, in xfs_verify_rtbno() 152 struct xfs_mount *mp, in xfs_verify_rtext() 168 struct xfs_mount *mp, in xfs_icount_range() [all …]
|
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); 19 extern void xfs_sb_mount_common(struct xfs_mount *mp, struct xfs_sb *sbp); 26 extern int xfs_update_secondary_sbs(struct xfs_mount *mp); 29 extern void xfs_fs_geometry(struct xfs_mount *mp, struct xfs_fsop_geom *geo, 31 extern int xfs_sb_read_secondary(struct xfs_mount *mp, 34 extern int xfs_sb_get_secondary(struct xfs_mount *mp, 38 bool xfs_validate_stripe_geometry(struct xfs_mount *mp,
|
H A D | xfs_types.h | 223 struct xfs_mount; 225 bool xfs_verify_fsbno(struct xfs_mount *mp, xfs_fsblock_t fsbno); 226 bool xfs_verify_fsbext(struct xfs_mount *mp, xfs_fsblock_t fsbno, 229 bool xfs_verify_ino(struct xfs_mount *mp, xfs_ino_t ino); 230 bool xfs_internal_inum(struct xfs_mount *mp, xfs_ino_t ino); 231 bool xfs_verify_dir_ino(struct xfs_mount *mp, xfs_ino_t ino); 232 bool xfs_verify_rtbno(struct xfs_mount *mp, xfs_rtblock_t rtbno); 233 bool xfs_verify_rtext(struct xfs_mount *mp, xfs_rtblock_t rtbno, 235 bool xfs_verify_icount(struct xfs_mount *mp, unsigned long long icount); 236 bool xfs_verify_dablk(struct xfs_mount *mp, xfs_fileoff_t off); [all …]
|
H A D | xfs_ag.h | 10 struct xfs_mount; 33 struct xfs_mount *pag_mount; /* owner filesystem */ 136 void xfs_free_unused_perag_range(struct xfs_mount *mp, xfs_agnumber_t agstart, 138 int xfs_initialize_perag(struct xfs_mount *mp, xfs_agnumber_t old_agcount, 141 int xfs_initialize_perag_data(struct xfs_mount *mp, xfs_agnumber_t agno); 142 void xfs_free_perag(struct xfs_mount *mp); 143 int xfs_update_last_ag_size(struct xfs_mount *mp, xfs_agnumber_t prev_agcount); 146 struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno); 147 struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *mp, xfs_agnumber_t agno, 153 struct xfs_perag *xfs_perag_grab(struct xfs_mount *, xfs_agnumber_t); [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, 93 void xfs_dir2_leaf_hdr_from_disk(struct xfs_mount *mp, 95 void xfs_dir2_leaf_hdr_to_disk(struct xfs_mount *mp, struct xfs_dir2_leaf *to, 129 extern xfs_failaddr_t xfs_dir3_leaf_check_int(struct xfs_mount *mp, 134 void xfs_dir2_free_hdr_from_disk(struct xfs_mount *mp, 161 xfs_ino_t xfs_dir2_sf_get_ino(struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, 165 uint8_t xfs_dir2_sf_get_ftype(struct xfs_mount *mp, [all …]
|
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 struct xfs_btree_cur *xfs_refcountbt_stage_cursor(struct xfs_mount *mp, 54 extern void xfs_refcountbt_compute_maxlevels(struct xfs_mount *mp); 56 extern xfs_extlen_t xfs_refcountbt_calc_size(struct xfs_mount *mp, 58 extern xfs_extlen_t xfs_refcountbt_max_size(struct xfs_mount *mp, 61 extern int xfs_refcountbt_calc_reserves(struct xfs_mount *mp,
|
H A D | xfs_rmap_btree.h | 11 struct xfs_mount; 44 struct xfs_btree_cur *xfs_rmapbt_init_cursor(struct xfs_mount *mp, 47 struct xfs_btree_cur *xfs_rmapbt_stage_cursor(struct xfs_mount *mp, 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,
|
H A D | xfs_inode_buf.h | 22 int xfs_imap_to_bp(struct xfs_mount *mp, struct xfs_trans *tp, 24 void xfs_dinode_calc_crc(struct xfs_mount *mp, struct xfs_dinode *dip); 29 xfs_failaddr_t xfs_dinode_verify(struct xfs_mount *mp, xfs_ino_t ino, 31 xfs_failaddr_t xfs_inode_validate_extsize(struct xfs_mount *mp, 33 xfs_failaddr_t xfs_inode_validate_cowextsize(struct xfs_mount *mp, 46 xfs_dinode_good_version(struct xfs_mount *mp, uint8_t version) in xfs_dinode_good_version()
|
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, 87 struct xfs_mount *mp); /* file system mount structure */ 201 xfs_extlen_t xfs_prealloc_blocks(struct xfs_mount *mp); 218 typedef int (*xfs_agfl_walk_fn)(struct xfs_mount *mp, xfs_agblock_t bno, 220 int xfs_agfl_walk(struct xfs_mount *mp, struct xfs_agf *agf, [all …]
|
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() 86 int xfs_ialloc_inode_init(struct xfs_mount *mp, struct xfs_trans *tp, 93 void xfs_inobt_btrec_to_irec(struct xfs_mount *mp, 107 int xfs_ialloc_cluster_alignment(struct xfs_mount *mp); 108 void xfs_ialloc_setup_geometry(struct xfs_mount *mp); 109 xfs_ino_t xfs_ialloc_calc_rootino(struct xfs_mount *mp, int sunit);
|
H A D | xfs_trans_resv.h | 9 struct xfs_mount; 98 void xfs_trans_resv_calc(struct xfs_mount *mp, struct xfs_trans_resv *resp); 99 uint xfs_allocfree_block_count(struct xfs_mount *mp, uint num_ops); 101 unsigned int xfs_calc_itruncate_reservation_minlogsize(struct xfs_mount *mp); 102 unsigned int xfs_calc_write_reservation_minlogsize(struct xfs_mount *mp); 103 unsigned int xfs_calc_qm_dqalloc_reservation_minlogsize(struct xfs_mount *mp);
|
H A D | xfs_alloc_btree.h | 15 struct xfs_mount; 50 extern struct xfs_btree_cur *xfs_allocbt_init_cursor(struct xfs_mount *mp, 53 struct xfs_btree_cur *xfs_allocbt_stage_cursor(struct xfs_mount *mp, 56 extern int xfs_allocbt_maxrecs(struct xfs_mount *, int, int); 57 extern xfs_extlen_t xfs_allocbt_calc_size(struct xfs_mount *mp,
|