Home
last modified time | relevance | path

Searched refs:xfs_mount (Results 1 – 25 of 252) sorted by relevance

1234567891011

/linux-6.15/fs/xfs/
H A Dxfs_icache.h9 struct xfs_mount;
54 void xfs_reclaim_inodes(struct xfs_mount *mp);
55 long xfs_reclaim_inodes_count(struct xfs_mount *mp);
65 int xfs_blockgc_flush_all(struct xfs_mount *mp);
74 void xfs_blockgc_stop(struct xfs_mount *mp);
75 void xfs_blockgc_start(struct xfs_mount *mp);
78 void xfs_inodegc_push(struct xfs_mount *mp);
79 int 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);
[all …]
H A Dxfs_mount.h63 struct xfs_mount *mp;
147 typedef struct xfs_mount { struct
442 static inline bool xfs_has_rtsb(const struct xfs_mount *mp) in xfs_has_rtsb()
576 static inline bool xfs_is_ ## name (struct xfs_mount *mp) \ in __XFS_HAS_V4_FEAT()
621 xfs_should_warn(struct xfs_mount *mp, long nr)
673 xfs_daddr_to_agno(struct xfs_mount *mp, xfs_daddr_t d) in xfs_daddr_to_agno()
681 xfs_daddr_to_agbno(struct xfs_mount *mp, xfs_daddr_t d) in xfs_daddr_to_agbno()
688 uint64_t xfs_default_resblks(struct xfs_mount *mp,
702 uint64_t xfs_freecounter_unavailable(struct xfs_mount *mp,
708 static inline s64 xfs_sum_freecounter(struct xfs_mount *mp, in xfs_sum_freecounter()
[all …]
H A Dxfs_log.h122 struct xfs_mount;
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);
141 void xfs_log_space_wake(struct xfs_mount *mp);
145 void xfs_log_unmount(struct xfs_mount *mp);
146 bool xfs_log_writable(struct xfs_mount *mp);
154 void xfs_log_work_queue(struct xfs_mount *mp);
155 int xfs_log_quiesce(struct xfs_mount *mp);
[all …]
H A Dxfs_zone_alloc.h41 void xfs_zoned_wake_all(struct xfs_mount *mp);
45 uint64_t xfs_zoned_default_resblks(struct xfs_mount *mp,
47 void xfs_zoned_show_stats(struct seq_file *m, struct xfs_mount *mp);
50 int xfs_mount_zones(struct xfs_mount *mp);
51 void xfs_unmount_zones(struct xfs_mount *mp);
52 void xfs_zone_gc_start(struct xfs_mount *mp);
53 void xfs_zone_gc_stop(struct xfs_mount *mp);
55 static inline int xfs_mount_zones(struct xfs_mount *mp) in xfs_mount_zones()
59 static inline void xfs_unmount_zones(struct xfs_mount *mp) in xfs_unmount_zones()
62 static inline void xfs_zone_gc_start(struct xfs_mount *mp) in xfs_zone_gc_start()
[all …]
H A Dxfs_rtalloc.h11 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 Dxfs_error.h9 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 Dxfs_fsops.h9 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 Dxfs_qm.h97 xfs_quota_inode(struct xfs_mount *mp, xfs_dqtype_t type) in xfs_quota_inode()
153 extern void xfs_qm_destroy_quotainfo(struct xfs_mount *);
156 extern int xfs_qm_scall_trunc_qfiles(struct xfs_mount *, uint);
157 extern int xfs_qm_scall_getquota(struct xfs_mount *mp,
161 extern int xfs_qm_scall_getquota_next(struct xfs_mount *mp,
165 extern int xfs_qm_scall_setqlim(struct xfs_mount *mp,
169 extern int xfs_qm_scall_quotaon(struct xfs_mount *, uint);
170 extern int xfs_qm_scall_quotaoff(struct xfs_mount *, uint);
188 int xfs_qm_qino_load(struct xfs_mount *mp, xfs_dqtype_t type,
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_sb.h9 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 Dxfs_rtgroup.h11 struct xfs_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()
244 struct xfs_mount *mp, in xfs_rtb_to_daddr()
[all …]
H A Dxfs_rtbitmap.h13 struct xfs_mount *mp;
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()
128 struct xfs_mount *mp, in xfs_rtb_to_rtx()
[all …]
H A Dxfs_trans_resv.c70 struct xfs_mount *mp, in xfs_allocfree_block_count()
89 struct xfs_mount *mp, in xfs_refcountbt_block_count()
97 struct xfs_mount *mp, in xfs_rtrefcountbt_block_count()
134 struct xfs_mount *mp, in xfs_calc_inode_res()
156 struct xfs_mount *mp) in xfs_calc_inobt_res()
177 struct xfs_mount *mp) in xfs_calc_finobt_res()
202 struct xfs_mount *mp, in xfs_calc_inode_chunk_res()
230 struct xfs_mount *mp, in xfs_rtalloc_block_count()
280 struct xfs_mount *mp, in xfs_calc_refcountbt_reservation()
325 struct xfs_mount *mp, in xfs_calc_write_reservation()
[all …]
H A Dxfs_types.c25 struct xfs_mount *mp, in xfs_verify_agno_agbno()
45 struct xfs_mount *mp, in xfs_verify_fsbno()
61 struct xfs_mount *mp, in xfs_verify_fsbext()
84 struct xfs_mount *mp, in xfs_verify_agno_agino()
101 struct xfs_mount *mp, in xfs_verify_ino()
117 struct xfs_mount *mp, in xfs_is_sb_inum()
131 struct xfs_mount *mp, in xfs_verify_dir_ino()
146 struct xfs_mount *mp, in xfs_verify_rtbno()
172 struct xfs_mount *mp, in xfs_verify_rtbext()
195 struct xfs_mount *mp, in xfs_icount_range()
[all …]
H A Dxfs_bmap_btree.h11 struct xfs_mount;
38 unsigned int xfs_bmbt_maxrecs(struct xfs_mount *mp, unsigned int blocklen,
45 extern struct xfs_btree_cur *xfs_bmbt_init_cursor(struct xfs_mount *,
50 extern unsigned long long xfs_bmbt_calc_size(struct xfs_mount *mp,
65 xfs_bmbt_block_len(struct xfs_mount *mp) in xfs_bmbt_block_len()
75 struct xfs_mount *mp, in xfs_bmbt_rec_addr()
86 struct xfs_mount *mp, in xfs_bmbt_key_addr()
97 struct xfs_mount *mp, in xfs_bmbt_ptr_addr()
150 struct xfs_mount *mp, in xfs_bmap_broot_ptr_addr()
164 struct xfs_mount *mp, in xfs_bmap_broot_space_calc()
[all …]
H A Dxfs_types.h267 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,
280 bool xfs_verify_dablk(struct xfs_mount *mp, xfs_fileoff_t off);
283 bool xfs_verify_fileoff(struct xfs_mount *mp, xfs_fileoff_t off);
[all …]
H A Dxfs_rtrmap_btree.h11 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()
199 int xfs_rtrmapbt_init_rtsb(struct xfs_mount *mp, struct xfs_rtgroup *rtg,
202 unsigned long long xfs_rtrmapbt_calc_size(struct xfs_mount *mp,
[all …]
H A Dxfs_dir2_priv.h65 __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,
135 void xfs_dir2_free_hdr_from_disk(struct xfs_mount *mp,
166 uint8_t xfs_dir2_sf_get_ftype(struct xfs_mount *mp,
179 xfs_failaddr_t xfs_dir2_sf_verify(struct xfs_mount *mp,
181 int xfs_dir2_sf_entsize(struct xfs_mount *mp,
185 void xfs_dir2_sf_put_ftype(struct xfs_mount *mp,
201 struct xfs_mount *mp, in xfs_dir2_data_entsize()
[all …]
H A Dxfs_rmap_btree.h11 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 Dxfs_rtrefcount_btree.h11 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 Dxfs_ag.h12 struct xfs_mount;
105 static inline struct xfs_mount *pag_mount(const struct xfs_perag *pag) in pag_mount()
141 int xfs_initialize_perag_data(struct xfs_mount *mp, xfs_agnumber_t agno);
147 struct xfs_mount *mp, in xfs_perag_get()
170 struct xfs_mount *mp, in xfs_perag_grab()
185 struct xfs_mount *mp, in xfs_perag_next_range()
196 struct xfs_mount *mp, in xfs_perag_next_from()
205 struct xfs_mount *mp, in xfs_perag_next()
215 void xfs_agino_range(struct xfs_mount *mp, xfs_agnumber_t agno,
260 xfs_ag_contains_log(struct xfs_mount *mp, xfs_agnumber_t agno) in xfs_ag_contains_log()
[all …]
H A Dxfs_refcount_btree.h15 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 Dxfs_group.h9 struct xfs_mount *xg_mount;
64 struct xfs_group *xfs_group_get(struct xfs_mount *mp, uint32_t index,
66 struct xfs_group *xfs_group_get_by_fsb(struct xfs_mount *mp,
71 struct xfs_group *xfs_group_grab(struct xfs_mount *mp, uint32_t index,
73 struct xfs_group *xfs_group_next_range(struct xfs_mount *mp,
76 struct xfs_group *xfs_group_grab_next_mark(struct xfs_mount *mp,
80 void xfs_group_free(struct xfs_mount *mp, uint32_t index,
82 int xfs_group_insert(struct xfs_mount *mp, struct xfs_group *xg,
122 struct xfs_mount *mp = xg->xg_mount; in xfs_gbno_to_daddr()
136 struct xfs_mount *mp, in xfs_fsb_to_gno()
[all …]
H A Dxfs_health.h51 struct xfs_mount;
199 void xfs_fs_mark_sick(struct xfs_mount *mp, unsigned int mask);
200 void xfs_fs_mark_corrupt(struct xfs_mount *mp, unsigned int mask);
201 void xfs_fs_mark_healthy(struct xfs_mount *mp, unsigned int mask);
202 void xfs_fs_measure_sickness(struct xfs_mount *mp, unsigned int *sick,
205 void xfs_rgno_mark_sick(struct xfs_mount *mp, xfs_rgnumber_t rgno,
208 void xfs_agno_mark_sick(struct xfs_mount *mp, xfs_agnumber_t agno,
224 void xfs_health_unmount(struct xfs_mount *mp);
233 xfs_fs_has_sickness(struct xfs_mount *mp, unsigned int mask) in xfs_fs_has_sickness()
272 xfs_fs_is_healthy(struct xfs_mount *mp) in xfs_fs_is_healthy()
[all …]
H A Dxfs_inode_buf.h22 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_dinode_verify_metadir(struct xfs_mount *mp,
34 xfs_failaddr_t xfs_inode_validate_extsize(struct xfs_mount *mp,
36 xfs_failaddr_t xfs_inode_validate_cowextsize(struct xfs_mount *mp,
49 xfs_dinode_good_version(struct xfs_mount *mp, uint8_t version) in xfs_dinode_good_version()
H A Dxfs_trans_space.c21 struct xfs_mount *mp, in xfs_parent_calc_space_res()
34 struct xfs_mount *mp, in xfs_create_space_res()
48 struct xfs_mount *mp, in xfs_mkdir_space_res()
56 struct xfs_mount *mp, in xfs_link_space_res()
70 struct xfs_mount *mp, in xfs_symlink_space_res()
87 struct xfs_mount *mp, in xfs_remove_space_res()
100 struct xfs_mount *mp, in xfs_rename_space_res()

1234567891011