Home
last modified time | relevance | path

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

123456

/linux/fs/xfs/
H A Dxfs_icache.h9 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 Dxfs_mount.h64 struct xfs_mount *mp;
154 typedef struct xfs_mount { struct
408 static inline bool xfs_has_ ## name (const struct xfs_mount *mp) \
416 static inline void xfs_add_ ## name (struct xfs_mount *mp) \
446 static inline bool xfs_has_rtgroups(const struct xfs_mount *mp) in __XFS_ADD_FEAT()
452 static inline bool xfs_has_rtsb(const struct xfs_mount *mp) in xfs_has_rtsb()
460 static inline bool xfs_has_rtrmapbt(const struct xfs_mount *mp) in xfs_has_rtrmapbt()
466 static inline bool xfs_has_rtreflink(const struct xfs_mount *mp) in xfs_has_rtreflink()
472 static inline bool xfs_has_nonzoned(const struct xfs_mount *mp) in xfs_has_nonzoned()
477 static inline bool xfs_can_sw_atomic_write(struct xfs_mount *mp) in xfs_can_sw_atomic_write()
[all …]
H A Dxfs_zone_alloc.h26 int xfs_zoned_space_reserve(struct xfs_mount *mp, xfs_filblks_t count_fsb,
28 void xfs_zoned_space_unreserve(struct xfs_mount *mp,
30 void xfs_zoned_add_available(struct xfs_mount *mp, xfs_filblks_t count_fsb);
41 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);
[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_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_icache.c51 static int xfs_icwalk(struct xfs_mount *mp,
88 struct xfs_mount *mp, in xfs_inode_alloc()
208 struct xfs_mount *mp) in xfs_reclaim_work_queue()
227 struct xfs_mount *mp = pag_mount(pag); in xfs_blockgc_queue()
309 struct xfs_mount *mp, in xfs_perag_grab_next_tag()
328 struct xfs_mount *mp, in xfs_reinit_inode()
365 struct xfs_mount *mp = ip->i_mount; in xfs_iget_recycle()
458 struct xfs_mount *mp) in xfs_inodegc_queue_all()
478 struct xfs_mount *mp) in xfs_inodegc_wait_all()
508 struct xfs_mount *mp = ip->i_mount; in xfs_iget_cache_hit()
[all …]
H A Dxfs_super.h85 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 Dxfs_quota.h104 struct xfs_mount *, struct xfs_dquot *,
123 extern int xfs_qm_newmount(struct xfs_mount *, uint *, uint *);
124 void xfs_qm_resume_quotaon(struct xfs_mount *mp);
125 extern void xfs_qm_mount_quotas(struct xfs_mount *);
126 extern void xfs_qm_unmount(struct xfs_mount *);
127 extern void xfs_qm_unmount_quotas(struct xfs_mount *);
180 struct xfs_mount *mp, struct xfs_dquot *udqp, in xfs_trans_reserve_quota_bydquots()
228 extern int xfs_mount_reset_sbqflags(struct xfs_mount *);
H A Dxfs_rtalloc.c144 struct xfs_mount *mp = args->mp; in xfs_rtallocate_range()
253 struct xfs_mount *mp = args->mp; in xfs_rtallocate_extent_block()
414 struct xfs_mount *mp = args->mp; in xfs_rtallocate_extent_near()
698 struct xfs_mount *mp) in xfs_growfs_rt_fixup_extsize()
744 static struct xfs_mount *
746 const struct xfs_mount *mp, in xfs_growfs_rt_alloc_fake_mount()
750 struct xfs_mount *nmp; in xfs_growfs_rt_alloc_fake_mount()
782 struct xfs_mount *mp = rtg_mount(rtg); in xfs_growfs_rt_free_new()
807 struct xfs_mount *mp = rtg_mount(rtg); in xfs_growfs_rt_nrblocks()
831 struct xfs_mount *mp = args->mp; in xfs_growfs_rt_init_rtsb()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_rtbitmap.h13 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 Dxfs_rtgroup.h11 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 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_bmap_btree.h11 struct xfs_mount;
33 extern void xfs_bmbt_to_bmdr(struct xfs_mount *, struct xfs_btree_block *, int,
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()
[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,
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 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()
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 Dxfs_dir2_priv.h63 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 Dxfs_ag.h12 struct xfs_mount;
105 static inline struct xfs_mount *pag_mount(const struct xfs_perag *pag) in pag_mount()
136 int xfs_initialize_perag(struct xfs_mount *mp, xfs_agnumber_t orig_agcount,
139 void xfs_free_perag_range(struct xfs_mount *mp, xfs_agnumber_t first_agno,
141 int xfs_initialize_perag_data(struct xfs_mount *mp, xfs_agnumber_t agno);
142 int xfs_update_last_ag_size(struct xfs_mount *mp, xfs_agnumber_t prev_agcount);
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()
[all …]
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_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_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_ialloc.h12 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 Dxfs_alloc.h11 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 Dxfs_alloc_btree.h15 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 Dxfs_trans_space.h110 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,
H A Dxfs_ag.c45 struct xfs_mount *mp, in xfs_initialize_perag_data()
125 struct xfs_mount *mp, in xfs_free_perag_range()
139 struct xfs_mount *mp, in __xfs_ag_block_count()
153 struct xfs_mount *mp, in xfs_ag_block_count()
163 struct xfs_mount *mp, in __xfs_agino_range()
187 struct xfs_mount *mp, in xfs_agino_range()
201 struct xfs_mount *mp, in xfs_update_last_ag_size()
219 struct xfs_mount *mp, in xfs_perag_alloc()
266 struct xfs_mount *mp, in xfs_initialize_perag()
295 struct xfs_mount *mp, in xfs_get_aghdr_buf()
[all …]

123456