| /Linux-v5.10/fs/xfs/ |
| D | xfs_icache.h | 9 struct xfs_mount; 42 int xfs_iget(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t ino, 46 struct xfs_inode * xfs_inode_alloc(struct xfs_mount *mp, xfs_ino_t ino); 51 void xfs_reclaim_inodes(struct xfs_mount *mp); 52 int xfs_reclaim_inodes_count(struct xfs_mount *mp); 53 long xfs_reclaim_inodes_nr(struct xfs_mount *mp, int nr_to_scan); 59 int xfs_icache_free_eofblocks(struct xfs_mount *, struct xfs_eofblocks *); 62 void xfs_queue_eofblocks(struct xfs_mount *); 66 int xfs_icache_free_cowblocks(struct xfs_mount *, struct xfs_eofblocks *); 69 void xfs_queue_cowblocks(struct xfs_mount *); [all …]
|
| D | xfs_log.h | 101 struct xfs_mount; 108 int xfs_log_force(struct xfs_mount *mp, uint flags); 109 int xfs_log_force_lsn(struct xfs_mount *mp, xfs_lsn_t lsn, uint flags, 111 int xfs_log_mount(struct xfs_mount *mp, 115 int xfs_log_mount_finish(struct xfs_mount *mp); 116 void xfs_log_mount_cancel(struct xfs_mount *); 117 xfs_lsn_t xlog_assign_tail_lsn(struct xfs_mount *mp); 118 xfs_lsn_t xlog_assign_tail_lsn_locked(struct xfs_mount *mp); 119 void xfs_log_space_wake(struct xfs_mount *mp); 121 int xfs_log_reserve(struct xfs_mount *mp, [all …]
|
| 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 …]
|
| D | xfs_message.h | 5 struct xfs_mount; 8 void xfs_emerg(const struct xfs_mount *mp, const char *fmt, ...); 10 void xfs_alert(const struct xfs_mount *mp, const char *fmt, ...); 12 void xfs_alert_tag(const struct xfs_mount *mp, int tag, const char *fmt, ...); 14 void xfs_crit(const struct xfs_mount *mp, const char *fmt, ...); 16 void xfs_err(const struct xfs_mount *mp, const char *fmt, ...); 18 void xfs_warn(const struct xfs_mount *mp, const char *fmt, ...); 20 void xfs_notice(const struct xfs_mount *mp, const char *fmt, ...); 22 void xfs_info(const struct xfs_mount *mp, const char *fmt, ...); 26 void xfs_debug(const struct xfs_mount *mp, const char *fmt, ...); [all …]
|
| 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);
|
| 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 void xfs_qm_dqpurge_all(struct xfs_mount *, uint); 145 extern void xfs_qm_dqrele_all_inodes(struct xfs_mount *, uint); 148 extern int xfs_qm_scall_trunc_qfiles(struct xfs_mount *, uint); 149 extern int xfs_qm_scall_getquota(struct xfs_mount *mp, 153 extern int xfs_qm_scall_getquota_next(struct xfs_mount *mp, 157 extern int xfs_qm_scall_setqlim(struct xfs_mount *mp, 161 extern int xfs_qm_scall_quotaon(struct xfs_mount *, uint); 162 extern int xfs_qm_scall_quotaoff(struct xfs_mount *, uint);
|
| D | xfs_super.h | 79 struct xfs_mount; 83 extern void xfs_quiesce_attr(struct xfs_mount *mp); 84 extern void xfs_flush_inodes(struct xfs_mount *mp); 86 extern xfs_agnumber_t xfs_set_inode_alloc(struct xfs_mount *, 93 extern void xfs_reinit_percpu_counters(struct xfs_mount *mp); 97 #define XFS_M(sb) ((struct xfs_mount *)((sb)->s_fs_info))
|
| D | xfs_extent_busy.h | 11 struct xfs_mount; 38 xfs_extent_busy_clear(struct xfs_mount *mp, struct list_head *list, 42 xfs_extent_busy_search(struct xfs_mount *mp, xfs_agnumber_t agno, 46 xfs_extent_busy_reuse(struct xfs_mount *mp, xfs_agnumber_t agno, 54 xfs_extent_busy_flush(struct xfs_mount *mp, struct xfs_perag *pag, 58 xfs_extent_busy_wait_all(struct xfs_mount *mp);
|
| D | xfs_mount.h | 67 typedef struct xfs_mount { struct 268 void xfs_do_force_shutdown(struct xfs_mount *mp, int flags, char *fname, 284 xfs_daddr_to_agno(struct xfs_mount *mp, xfs_daddr_t d) in xfs_daddr_to_agno() 292 xfs_daddr_to_agbno(struct xfs_mount *mp, xfs_daddr_t d) in xfs_daddr_to_agbno() 313 struct xfs_mount *pag_mount; /* owner filesystem */ 409 extern int xfs_mod_fdblocks(struct xfs_mount *mp, int64_t delta, 411 extern int xfs_mod_frextents(struct xfs_mount *mp, int64_t delta); 415 extern bool xfs_fs_writable(struct xfs_mount *mp, int level); 418 extern int xfs_dev_is_read_only(struct xfs_mount *, char *); 420 extern void xfs_set_low_space_thresholds(struct xfs_mount *); [all …]
|
| D | xfs_error.c | 70 static inline struct xfs_mount * 75 return container_of(kobj, struct xfs_mount, m_errortag_kobj); in to_mp() 85 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_store() 110 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_show() 216 struct xfs_mount *mp) in xfs_errortag_init() 229 struct xfs_mount *mp) in xfs_errortag_del() 237 struct xfs_mount *mp, in xfs_errortag_test() 269 struct xfs_mount *mp, in xfs_errortag_get() 280 struct xfs_mount *mp, in xfs_errortag_set() 293 struct xfs_mount *mp, in xfs_errortag_add() [all …]
|
| 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,
|
| 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, 59 unsigned int xfs_pwork_guess_datadev_parallelism(struct xfs_mount *mp);
|
| /Linux-v5.10/fs/xfs/libxfs/ |
| D | xfs_sb.h | 9 struct xfs_mount; 19 extern struct xfs_perag *xfs_perag_get(struct xfs_mount *, xfs_agnumber_t); 20 extern struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *, xfs_agnumber_t, 23 extern int xfs_initialize_perag_data(struct xfs_mount *, xfs_agnumber_t); 26 extern int xfs_sync_sb(struct xfs_mount *mp, bool wait); 27 extern int xfs_sync_sb_buf(struct xfs_mount *mp); 28 extern void xfs_sb_mount_common(struct xfs_mount *mp, struct xfs_sb *sbp); 33 extern int xfs_update_secondary_sbs(struct xfs_mount *mp); 38 extern int xfs_sb_read_secondary(struct xfs_mount *mp, 41 extern int xfs_sb_get_secondary(struct xfs_mount *mp,
|
| 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 …]
|
| D | xfs_types.h | 181 struct xfs_mount; 183 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno); 184 bool xfs_verify_agbno(struct xfs_mount *mp, xfs_agnumber_t agno, 186 bool xfs_verify_fsbno(struct xfs_mount *mp, xfs_fsblock_t fsbno); 188 void xfs_agino_range(struct xfs_mount *mp, xfs_agnumber_t agno, 190 bool xfs_verify_agino(struct xfs_mount *mp, xfs_agnumber_t agno, 192 bool xfs_verify_agino_or_null(struct xfs_mount *mp, xfs_agnumber_t agno, 194 bool xfs_verify_ino(struct xfs_mount *mp, xfs_ino_t ino); 195 bool xfs_internal_inum(struct xfs_mount *mp, xfs_ino_t ino); 196 bool xfs_verify_dir_ino(struct xfs_mount *mp, xfs_ino_t ino); [all …]
|
| 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() 364 struct xfs_mount *mp) in xfs_calc_iunlink_remove_reservation() [all …]
|
| 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() 82 struct xfs_mount *mp, /* file system mount structure */ 102 struct xfs_mount *mp, /* file system mount structure */ 113 struct xfs_mount *mp, /* file system mount structure */ 132 int xfs_ialloc_inode_init(struct xfs_mount *mp, struct xfs_trans *tp, 137 int xfs_read_agi(struct xfs_mount *mp, struct xfs_trans *tp, 141 void xfs_inobt_btrec_to_irec(struct xfs_mount *mp, union xfs_btree_rec *rec, 153 int xfs_ialloc_cluster_alignment(struct xfs_mount *mp); 154 void xfs_ialloc_setup_geometry(struct xfs_mount *mp); [all …]
|
| 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 */ 89 unsigned int xfs_alloc_set_aside(struct xfs_mount *mp); 90 unsigned int xfs_alloc_ag_max_usable(struct xfs_mount *mp); 94 unsigned int xfs_alloc_min_freelist(struct xfs_mount *mp, 102 struct xfs_mount *mp); /* file system mount structure */ 129 struct xfs_mount *mp, /* file system mount structure */ 150 struct xfs_mount *mp, /* mount point structure */ 207 int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp, [all …]
|
| D | xfs_types.c | 18 struct xfs_mount *mp, in xfs_ag_block_count() 34 struct xfs_mount *mp, in xfs_verify_agbno() 54 struct xfs_mount *mp, in xfs_verify_fsbno() 67 struct xfs_mount *mp, in xfs_agino_range() 98 struct xfs_mount *mp, in xfs_verify_agino() 115 struct xfs_mount *mp, in xfs_verify_agino_or_null() 128 struct xfs_mount *mp, in xfs_verify_ino() 144 struct xfs_mount *mp, in xfs_internal_inum() 158 struct xfs_mount *mp, in xfs_verify_dir_ino() 172 struct xfs_mount *mp, in xfs_verify_rtbno() [all …]
|
| D | xfs_ialloc_btree.h | 15 struct xfs_mount; 48 extern struct xfs_btree_cur *xfs_inobt_init_cursor(struct xfs_mount *, 51 struct xfs_btree_cur *xfs_inobt_stage_cursor(struct xfs_mount *mp, 54 extern int xfs_inobt_maxrecs(struct xfs_mount *, int, int); 60 int xfs_inobt_rec_check_count(struct xfs_mount *, 66 int xfs_finobt_calc_reserves(struct xfs_mount *mp, struct xfs_trans *tp, 68 extern xfs_extlen_t xfs_iallocbt_calc_size(struct xfs_mount *mp, 70 int xfs_inobt_cur(struct xfs_mount *mp, struct xfs_trans *tp,
|
| 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, 133 void xfs_dir2_free_hdr_from_disk(struct xfs_mount *mp, 160 xfs_ino_t xfs_dir2_sf_get_ino(struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, 164 uint8_t xfs_dir2_sf_get_ftype(struct xfs_mount *mp, [all …]
|
| D | xfs_refcount_btree.h | 15 struct xfs_mount; 47 extern struct xfs_btree_cur *xfs_refcountbt_init_cursor(struct xfs_mount *mp, 50 struct xfs_btree_cur *xfs_refcountbt_stage_cursor(struct xfs_mount *mp, 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,
|
| 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,
|
| D | xfs_alloc_btree.h | 15 struct xfs_mount; 49 extern struct xfs_btree_cur *xfs_allocbt_init_cursor(struct xfs_mount *, 52 struct xfs_btree_cur *xfs_allocbt_stage_cursor(struct xfs_mount *mp, 55 extern int xfs_allocbt_maxrecs(struct xfs_mount *, int, int); 56 extern xfs_extlen_t xfs_allocbt_calc_size(struct xfs_mount *mp,
|
| D | xfs_shared.h | 17 struct xfs_mount; 51 int xfs_log_calc_unit_res(struct xfs_mount *mp, int unit_bytes); 52 int xfs_log_calc_minimum_size(struct xfs_mount *); 55 void xfs_log_get_max_trans_res(struct xfs_mount *mp, 130 int xfs_symlink_blocks(struct xfs_mount *mp, int pathlen); 131 int xfs_symlink_hdr_set(struct xfs_mount *mp, xfs_ino_t ino, uint32_t offset,
|