/linux/fs/xfs/ |
A D | xfs_icache.h | 9 struct xfs_mount; 51 void xfs_reclaim_inodes(struct xfs_mount *mp); 52 long xfs_reclaim_inodes_count(struct xfs_mount *mp); 62 void xfs_blockgc_flush_all(struct xfs_mount *mp); 75 void xfs_blockgc_stop(struct xfs_mount *mp); 76 void xfs_blockgc_start(struct xfs_mount *mp); 79 void xfs_inodegc_flush(struct xfs_mount *mp); 80 void xfs_inodegc_stop(struct xfs_mount *mp); 81 void xfs_inodegc_start(struct xfs_mount *mp); 82 void xfs_inodegc_cpu_dead(struct xfs_mount *mp, unsigned int cpu); [all …]
|
A D | xfs_log.h | 101 struct xfs_mount; 112 int xfs_log_mount(struct xfs_mount *mp, 116 int xfs_log_mount_finish(struct xfs_mount *mp); 117 void xfs_log_mount_cancel(struct xfs_mount *); 120 void xfs_log_space_wake(struct xfs_mount *mp); 121 int xfs_log_reserve(struct xfs_mount *mp, 128 void xfs_log_unmount(struct xfs_mount *mp); 129 bool xfs_log_writable(struct xfs_mount *mp); 137 void xfs_log_work_queue(struct xfs_mount *mp); 138 int xfs_log_quiesce(struct xfs_mount *mp); [all …]
|
A D | xfs_rtalloc.h | 11 struct xfs_mount; 65 struct xfs_mount *mp); /* file system mount structure */ 68 struct xfs_mount *mp); 76 struct xfs_mount *mp); /* file system mount structure */ 87 struct xfs_mount *mp, /* file system mount point */ 97 struct xfs_mount *mp, /* file system mount structure */ 103 int xfs_rtbuf_get(struct xfs_mount *mp, struct xfs_trans *tp, 105 int xfs_rtcheck_range(struct xfs_mount *mp, struct xfs_trans *tp, 108 int xfs_rtfind_back(struct xfs_mount *mp, struct xfs_trans *tp, 111 int xfs_rtfind_forw(struct xfs_mount *mp, struct xfs_trans *tp, [all …]
|
A D | xfs_message.h | 7 struct xfs_mount; 10 void xfs_emerg(const struct xfs_mount *mp, const char *fmt, ...); 12 void xfs_alert(const struct xfs_mount *mp, const char *fmt, ...); 16 void xfs_crit(const struct xfs_mount *mp, const char *fmt, ...); 18 void xfs_err(const struct xfs_mount *mp, const char *fmt, ...); 20 void xfs_warn(const struct xfs_mount *mp, const char *fmt, ...); 22 void xfs_notice(const struct xfs_mount *mp, const char *fmt, ...); 24 void xfs_info(const struct xfs_mount *mp, const char *fmt, ...); 28 void xfs_debug(const struct xfs_mount *mp, const char *fmt, ...); 31 void xfs_debug(const struct xfs_mount *mp, const char *fmt, ...) in xfs_debug() [all …]
|
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, 49 extern int xfs_errortag_get(struct xfs_mount *mp, unsigned int error_tag); 50 extern int xfs_errortag_set(struct xfs_mount *mp, unsigned int error_tag, 52 extern int xfs_errortag_add(struct xfs_mount *mp, unsigned int error_tag); 53 extern int xfs_errortag_clearall(struct xfs_mount *mp);
|
A D | xfs_mount.h | 80 typedef struct xfs_mount { struct 300 static inline bool xfs_has_ ## name (struct xfs_mount *mp) \ 308 static inline void xfs_add_ ## name (struct xfs_mount *mp) \ 391 static inline bool xfs_is_ ## name (struct xfs_mount *mp) \ 399 static inline bool xfs_set_ ## name (struct xfs_mount *mp) \ 451 xfs_daddr_to_agno(struct xfs_mount *mp, xfs_daddr_t d) in xfs_daddr_to_agno() 459 xfs_daddr_to_agbno(struct xfs_mount *mp, xfs_daddr_t d) in xfs_daddr_to_agbno() 491 extern int xfs_dev_is_read_only(struct xfs_mount *, char *); 500 void xfs_force_summary_recalc(struct xfs_mount *mp); 502 bool xfs_clear_incompat_log_features(struct xfs_mount *mp); [all …]
|
A D | xfs_error.c | 73 static inline struct xfs_mount * 88 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_store() 225 struct xfs_mount *mp) in xfs_errortag_init() 238 struct xfs_mount *mp) in xfs_errortag_del() 246 struct xfs_mount *mp, in xfs_errortag_test() 278 struct xfs_mount *mp, in xfs_errortag_get() 289 struct xfs_mount *mp, in xfs_errortag_set() 302 struct xfs_mount *mp, in xfs_errortag_add() 316 struct xfs_mount *mp) in xfs_errortag_clearall() 327 struct xfs_mount *mp, in xfs_error_report() [all …]
|
A D | xfs_icache.c | 71 struct xfs_mount *mp, in xfs_inode_alloc() 302 struct xfs_mount *mp, in xfs_reinit_inode() 432 struct xfs_mount *mp) in xfs_inodegc_queue_all() 562 struct xfs_mount *mp, in xfs_iget_cache_miss() 700 struct xfs_mount *mp, in xfs_iget() 788 struct xfs_mount *mp, in xfs_icache_inode_is_allocated() 948 struct xfs_mount *mp) in xfs_want_reclaim_sick() 956 struct xfs_mount *mp) in xfs_reclaim_inodes() 980 struct xfs_mount *mp, in xfs_reclaim_inodes_nr() 2137 struct xfs_mount *mp = container_of(shrink, struct xfs_mount, in xfs_inodegc_shrinker_count() [all …]
|
A D | xfs_qm.h | 93 xfs_quota_inode(struct xfs_mount *mp, xfs_dqtype_t type) in xfs_quota_inode() 141 extern void xfs_qm_destroy_quotainfo(struct xfs_mount *); 144 extern int xfs_qm_scall_trunc_qfiles(struct xfs_mount *, uint); 145 extern int xfs_qm_scall_getquota(struct xfs_mount *mp, 149 extern int xfs_qm_scall_getquota_next(struct xfs_mount *mp, 153 extern int xfs_qm_scall_setqlim(struct xfs_mount *mp, 157 extern int xfs_qm_scall_quotaon(struct xfs_mount *, uint); 158 extern int xfs_qm_scall_quotaoff(struct xfs_mount *, uint);
|
A D | xfs_extent_busy.h | 11 struct xfs_mount; 39 xfs_extent_busy_clear(struct xfs_mount *mp, struct list_head *list, 43 xfs_extent_busy_search(struct xfs_mount *mp, struct xfs_perag *pag, 47 xfs_extent_busy_reuse(struct xfs_mount *mp, struct xfs_perag *pag, 55 xfs_extent_busy_flush(struct xfs_mount *mp, struct xfs_perag *pag, 59 xfs_extent_busy_wait_all(struct xfs_mount *mp);
|
A D | xfs_trans.h | 18 struct xfs_mount; 34 struct xfs_mount *li_mountp; /* ptr to fs mount */ 104 void xfs_log_item_init(struct xfs_mount *mp, struct xfs_log_item *item, 129 struct xfs_mount *t_mountp; /* ptr to fs mount struct */ 160 int xfs_trans_alloc(struct xfs_mount *mp, struct xfs_trans_res *resp, 163 int xfs_trans_alloc_empty(struct xfs_mount *mp, 184 int xfs_trans_read_buf_map(struct xfs_mount *mp, 194 struct xfs_mount *mp, in xfs_trans_read_buf() 232 int xfs_trans_ail_init(struct xfs_mount *); 233 void xfs_trans_ail_destroy(struct xfs_mount *); [all …]
|
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,
|
/linux/fs/xfs/libxfs/ |
A D | xfs_types.h | 187 struct xfs_mount; 190 bool xfs_verify_agbno(struct xfs_mount *mp, xfs_agnumber_t agno, 192 bool xfs_verify_fsbno(struct xfs_mount *mp, xfs_fsblock_t fsbno); 196 void xfs_agino_range(struct xfs_mount *mp, xfs_agnumber_t agno, 198 bool xfs_verify_agino(struct xfs_mount *mp, xfs_agnumber_t agno, 202 bool xfs_verify_ino(struct xfs_mount *mp, xfs_ino_t ino); 203 bool xfs_internal_inum(struct xfs_mount *mp, xfs_ino_t ino); 204 bool xfs_verify_dir_ino(struct xfs_mount *mp, xfs_ino_t ino); 206 bool xfs_verify_rtext(struct xfs_mount *mp, xfs_rtblock_t rtbno, 209 bool xfs_verify_dablk(struct xfs_mount *mp, xfs_fileoff_t off); [all …]
|
A D | xfs_types.c | 19 struct xfs_mount *mp, in xfs_ag_block_count() 35 struct xfs_mount *mp, in xfs_verify_agbno() 55 struct xfs_mount *mp, in xfs_verify_fsbno() 71 struct xfs_mount *mp, in xfs_verify_fsbext() 91 struct xfs_mount *mp, in xfs_agino_range() 122 struct xfs_mount *mp, in xfs_verify_agino() 139 struct xfs_mount *mp, in xfs_verify_agino_or_null() 152 struct xfs_mount *mp, in xfs_verify_ino() 168 struct xfs_mount *mp, in xfs_internal_inum() 182 struct xfs_mount *mp, in xfs_verify_dir_ino() [all …]
|
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); 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() 163 xfs_fs_is_healthy(struct xfs_mount *mp) in xfs_fs_is_healthy() [all …]
|
A D | xfs_trans_resv.c | 68 struct xfs_mount *mp, in xfs_allocfree_log_count() 113 struct xfs_mount *mp, in xfs_calc_inode_res() 135 struct xfs_mount *mp) in xfs_calc_inobt_res() 156 struct xfs_mount *mp) in xfs_calc_finobt_res() 181 struct xfs_mount *mp, in xfs_calc_inode_chunk_res() 207 struct xfs_mount *mp, in xfs_rtalloc_log_count() 261 struct xfs_mount *mp) in xfs_calc_write_reservation() 309 struct xfs_mount *mp) in xfs_calc_itruncate_reservation() 345 struct xfs_mount *mp) in xfs_calc_rename_reservation() 384 struct xfs_mount *mp) in xfs_calc_link_reservation() [all …]
|
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 extern bool xfs_validate_stripe_geometry(struct xfs_mount *mp,
|
A D | xfs_ialloc.h | 12 struct xfs_mount; 30 xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o) in xfs_make_iptr() 50 struct xfs_mount *mp, /* file system mount structure */ 70 struct xfs_mount *mp, /* file system mount structure */ 81 struct xfs_mount *mp, /* file system mount structure */ 100 int xfs_ialloc_inode_init(struct xfs_mount *mp, struct xfs_trans *tp, 105 int xfs_read_agi(struct xfs_mount *mp, struct xfs_trans *tp, 109 void xfs_inobt_btrec_to_irec(struct xfs_mount *mp, 122 int xfs_ialloc_cluster_alignment(struct xfs_mount *mp); 123 void xfs_ialloc_setup_geometry(struct xfs_mount *mp); [all …]
|
A D | xfs_ag.h | 10 struct xfs_mount; 33 struct xfs_mount *pag_mount; /* owner filesystem */ 109 int xfs_initialize_perag(struct xfs_mount *mp, xfs_agnumber_t agcount, 111 int xfs_initialize_perag_data(struct xfs_mount *mp, xfs_agnumber_t agno); 112 void xfs_free_perag(struct xfs_mount *mp); 114 struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno); 128 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_next() 170 int xfs_ag_init_headers(struct xfs_mount *mp, struct aghdr_init_data *id); 171 int xfs_ag_shrink_space(struct xfs_mount *mp, struct xfs_trans **tpp, 173 int xfs_ag_extend_space(struct xfs_mount *mp, struct xfs_trans *tp, [all …]
|
A D | xfs_alloc.h | 11 struct xfs_mount; 17 unsigned int xfs_agfl_size(struct xfs_mount *mp); 54 struct xfs_mount *mp; /* file system mount point */ 92 unsigned int xfs_alloc_set_aside(struct xfs_mount *mp); 93 unsigned int xfs_alloc_ag_max_usable(struct xfs_mount *mp); 97 unsigned int xfs_alloc_min_freelist(struct xfs_mount *mp, 105 struct xfs_mount *mp); /* file system mount structure */ 132 struct xfs_mount *mp, /* file system mount structure */ 153 struct xfs_mount *mp, /* mount point structure */ 210 int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp, [all …]
|
A D | xfs_dir2_priv.h | 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, 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, 165 uint8_t xfs_dir2_sf_get_ftype(struct xfs_mount *mp, 167 struct xfs_dir2_sf_entry *xfs_dir2_sf_nextentry(struct xfs_mount *mp, 179 int xfs_dir2_sf_entsize(struct xfs_mount *mp, 183 void xfs_dir2_sf_put_ftype(struct xfs_mount *mp, [all …]
|
A D | xfs_ialloc_btree.h | 15 struct xfs_mount; 49 extern struct xfs_btree_cur *xfs_inobt_init_cursor(struct xfs_mount *mp, 52 struct xfs_btree_cur *xfs_inobt_stage_cursor(struct xfs_mount *mp, 55 extern int xfs_inobt_maxrecs(struct xfs_mount *, int, int); 61 int xfs_inobt_rec_check_count(struct xfs_mount *, 67 int xfs_finobt_calc_reserves(struct xfs_mount *mp, struct xfs_trans *tp, 69 extern xfs_extlen_t xfs_iallocbt_calc_size(struct xfs_mount *mp, 71 int xfs_inobt_cur(struct xfs_mount *mp, struct xfs_trans *tp,
|
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,
|
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,
|
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()
|