Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/fs/xfs/
Dxfs_log.h109 struct xfs_mount;
116 xfs_lsn_t xfs_log_done(struct xfs_mount *mp,
120 int xfs_log_force(struct xfs_mount *mp, uint flags);
121 int xfs_log_force_lsn(struct xfs_mount *mp, xfs_lsn_t lsn, uint flags,
123 int xfs_log_mount(struct xfs_mount *mp,
127 int xfs_log_mount_finish(struct xfs_mount *mp);
128 int xfs_log_mount_cancel(struct xfs_mount *);
129 xfs_lsn_t xlog_assign_tail_lsn(struct xfs_mount *mp);
130 xfs_lsn_t xlog_assign_tail_lsn_locked(struct xfs_mount *mp);
131 void xfs_log_space_wake(struct xfs_mount *mp);
[all …]
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 int xfs_reclaim_inodes(struct xfs_mount *mp, int mode);
55 int xfs_reclaim_inodes_count(struct xfs_mount *mp);
56 long xfs_reclaim_inodes_nr(struct xfs_mount *mp, int nr_to_scan);
62 int xfs_icache_free_eofblocks(struct xfs_mount *, struct xfs_eofblocks *);
65 void xfs_queue_eofblocks(struct xfs_mount *);
69 int xfs_icache_free_cowblocks(struct xfs_mount *, struct xfs_eofblocks *);
72 void xfs_queue_cowblocks(struct xfs_mount *);
[all …]
Dxfs_rtalloc.h11 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 …]
Dxfs_message.h5 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 …]
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, void *buf, size_t bufsize,
67 extern int xfs_errortag_init(struct xfs_mount *mp);
68 extern void xfs_errortag_del(struct xfs_mount *mp);
69 extern bool xfs_errortag_test(struct xfs_mount *mp, const char *expression,
74 extern int xfs_errortag_get(struct xfs_mount *mp, unsigned int error_tag);
75 extern int xfs_errortag_set(struct xfs_mount *mp, unsigned int error_tag,
77 extern int xfs_errortag_add(struct xfs_mount *mp, unsigned int error_tag);
78 extern int xfs_errortag_clearall(struct xfs_mount *mp);
Dxfs_qm.h119 struct xfs_mount *, struct xfs_dquot *,
153 extern void xfs_qm_destroy_quotainfo(struct xfs_mount *);
156 extern void xfs_qm_dqpurge_all(struct xfs_mount *, uint);
157 extern void xfs_qm_dqrele_all_inodes(struct xfs_mount *, uint);
160 extern int xfs_qm_scall_trunc_qfiles(struct xfs_mount *, uint);
161 extern int xfs_qm_scall_getquota(struct xfs_mount *, xfs_dqid_t,
163 extern int xfs_qm_scall_getquota_next(struct xfs_mount *,
165 extern int xfs_qm_scall_setqlim(struct xfs_mount *, xfs_dqid_t, uint,
167 extern int xfs_qm_scall_quotaon(struct xfs_mount *, uint);
168 extern int xfs_qm_scall_quotaoff(struct xfs_mount *, uint);
Dxfs_super.h55 struct xfs_mount;
59 extern void xfs_quiesce_attr(struct xfs_mount *mp);
60 extern void xfs_flush_inodes(struct xfs_mount *mp);
62 extern xfs_agnumber_t xfs_set_inode_alloc(struct xfs_mount *,
69 extern void xfs_reinit_percpu_counters(struct xfs_mount *mp);
73 #define XFS_M(sb) ((struct xfs_mount *)((sb)->s_fs_info))
Dxfs_extent_busy.h11 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);
Dxfs_error.c67 static inline struct xfs_mount *
72 return container_of(kobj, struct xfs_mount, m_errortag_kobj); in to_mp()
82 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_store()
107 struct xfs_mount *mp = to_mp(kobject); in xfs_errortag_attr_show()
209 struct xfs_mount *mp) in xfs_errortag_init()
222 struct xfs_mount *mp) in xfs_errortag_del()
230 struct xfs_mount *mp, in xfs_errortag_test()
262 struct xfs_mount *mp, in xfs_errortag_get()
273 struct xfs_mount *mp, in xfs_errortag_set()
286 struct xfs_mount *mp, in xfs_errortag_add()
[all …]
Dxfs_mount.h60 typedef struct xfs_mount { struct
281 void xfs_do_force_shutdown(struct xfs_mount *mp, int flags, char *fname,
299 xfs_daddr_to_agno(struct xfs_mount *mp, xfs_daddr_t d) in xfs_daddr_to_agno()
307 xfs_daddr_to_agbno(struct xfs_mount *mp, xfs_daddr_t d) in xfs_daddr_to_agbno()
335 struct xfs_mount *pag_mount; /* owner filesystem */
416 extern int xfs_mod_icount(struct xfs_mount *mp, int64_t delta);
417 extern int xfs_mod_ifree(struct xfs_mount *mp, int64_t delta);
418 extern int xfs_mod_fdblocks(struct xfs_mount *mp, int64_t delta,
420 extern int xfs_mod_frextents(struct xfs_mount *mp, int64_t delta);
425 extern bool xfs_fs_writable(struct xfs_mount *mp, int level);
[all …]
Dxfs_dquot.h20 struct xfs_mount;
36 struct xfs_mount*q_mount; /* filesystem this relates to */
102 static inline int xfs_this_quota_on(struct xfs_mount *mp, int type) in xfs_this_quota_on()
156 extern void xfs_qm_adjust_dqlimits(struct xfs_mount *,
160 extern int xfs_qm_dqget(struct xfs_mount *mp, xfs_dqid_t id,
166 extern int xfs_qm_dqget_next(struct xfs_mount *mp, xfs_dqid_t id,
168 extern int xfs_qm_dqget_uncached(struct xfs_mount *mp,
187 int xfs_qm_dqiterate(struct xfs_mount *mp, uint dqtype,
Dxfs_trans.h18 struct xfs_mount;
34 struct xfs_mount *li_mountp; /* ptr to fs mount */
81 void xfs_log_item_init(struct xfs_mount *mp, struct xfs_log_item *item,
112 struct xfs_mount *t_mountp; /* ptr to fs mount struct */
158 int xfs_trans_alloc(struct xfs_mount *mp, struct xfs_trans_res *resp,
161 int xfs_trans_alloc_empty(struct xfs_mount *mp,
182 int xfs_trans_read_buf_map(struct xfs_mount *mp,
192 struct xfs_mount *mp, in xfs_trans_read_buf()
206 struct xfs_buf *xfs_trans_getsb(xfs_trans_t *, struct xfs_mount *, int);
237 int xfs_trans_ail_init(struct xfs_mount *);
[all …]
Dxfs_icache.c35 struct xfs_mount *mp, in xfs_inode_alloc()
147 struct xfs_mount *mp) in xfs_reclaim_work_queue()
169 struct xfs_mount *mp = container_of(to_delayed_work(work), in xfs_reclaim_worker()
170 struct xfs_mount, m_reclaim_work); in xfs_reclaim_worker()
180 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_set_reclaim_tag()
202 struct xfs_mount *mp = pag->pag_mount; in xfs_perag_clear_reclaim_tag()
226 struct xfs_mount *mp = ip->i_mount; in xfs_inode_set_reclaim_tag()
280 struct xfs_mount *mp, in xfs_reinit_inode()
352 struct xfs_mount *mp = ip->i_mount; in xfs_iget_cache_hit()
487 struct xfs_mount *mp, in xfs_iget_cache_miss()
[all …]
/Linux-v4.19/fs/xfs/libxfs/
Dxfs_sb.h9 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,
Dxfs_trans_resv.c70 struct xfs_mount *mp, in xfs_allocfree_log_count()
115 struct xfs_mount *mp, in xfs_calc_inode_res()
137 struct xfs_mount *mp) in xfs_calc_inobt_res()
157 struct xfs_mount *mp) in xfs_calc_finobt_res()
182 struct xfs_mount *mp, in xfs_calc_inode_chunk_res()
236 struct xfs_mount *mp) in xfs_calc_write_reservation()
263 struct xfs_mount *mp) in xfs_calc_itruncate_reservation()
288 struct xfs_mount *mp) in xfs_calc_rename_reservation()
307 struct xfs_mount *mp) in xfs_calc_iunlink_remove_reservation()
327 struct xfs_mount *mp) in xfs_calc_link_reservation()
[all …]
Dxfs_ialloc.h12 struct xfs_mount;
29 struct xfs_mount *mp) in xfs_icluster_size_fsb()
40 xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o) in xfs_make_iptr()
92 struct xfs_mount *mp, /* file system mount structure */
103 struct xfs_mount *mp); /* file system mount structure */
119 struct xfs_mount *mp, /* file system mount structure */
130 struct xfs_mount *mp, /* file system mount structure */
149 int xfs_ialloc_inode_init(struct xfs_mount *mp, struct xfs_trans *tp,
154 int xfs_read_agi(struct xfs_mount *mp, struct xfs_trans *tp,
158 void xfs_inobt_btrec_to_irec(struct xfs_mount *mp, union xfs_btree_rec *rec,
[all …]
Dxfs_alloc.h11 struct xfs_mount;
17 unsigned int xfs_agfl_size(struct xfs_mount *mp);
54 struct xfs_mount *mp; /* file system mount point */
103 unsigned int xfs_alloc_set_aside(struct xfs_mount *mp);
104 unsigned int xfs_alloc_ag_max_usable(struct xfs_mount *mp);
108 unsigned int xfs_alloc_min_freelist(struct xfs_mount *mp,
116 struct xfs_mount *mp); /* file system mount structure */
143 struct xfs_mount *mp, /* file system mount structure */
164 struct xfs_mount *mp, /* mount point structure */
221 int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp,
[all …]
Dxfs_types.h153 struct xfs_mount;
155 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno);
156 bool xfs_verify_agbno(struct xfs_mount *mp, xfs_agnumber_t agno,
158 bool xfs_verify_fsbno(struct xfs_mount *mp, xfs_fsblock_t fsbno);
160 void xfs_agino_range(struct xfs_mount *mp, xfs_agnumber_t agno,
162 bool xfs_verify_agino(struct xfs_mount *mp, xfs_agnumber_t agno,
164 bool xfs_verify_ino(struct xfs_mount *mp, xfs_ino_t ino);
165 bool xfs_internal_inum(struct xfs_mount *mp, xfs_ino_t ino);
166 bool xfs_verify_dir_ino(struct xfs_mount *mp, xfs_ino_t ino);
167 bool xfs_verify_rtbno(struct xfs_mount *mp, xfs_rtblock_t rtbno);
[all …]
Dxfs_types.c27 struct xfs_mount *mp, in xfs_ag_block_count()
43 struct xfs_mount *mp, in xfs_verify_agbno()
63 struct xfs_mount *mp, in xfs_verify_fsbno()
76 struct xfs_mount *mp, in xfs_agino_range()
108 struct xfs_mount *mp, in xfs_verify_agino()
125 struct xfs_mount *mp, in xfs_verify_ino()
141 struct xfs_mount *mp, in xfs_internal_inum()
155 struct xfs_mount *mp, in xfs_verify_dir_ino()
169 struct xfs_mount *mp, in xfs_verify_rtbno()
178 struct xfs_mount *mp, in xfs_icount_range()
[all …]
Dxfs_inode_buf.h53 int xfs_imap_to_bp(struct xfs_mount *, struct xfs_trans *,
56 int xfs_iread(struct xfs_mount *, struct xfs_trans *,
58 void xfs_dinode_calc_crc(struct xfs_mount *, struct xfs_dinode *);
65 bool xfs_dinode_good_version(struct xfs_mount *mp, __u8 version);
68 void xfs_inobp_check(struct xfs_mount *, struct xfs_buf *);
73 xfs_failaddr_t xfs_dinode_verify(struct xfs_mount *mp, xfs_ino_t ino,
75 xfs_failaddr_t xfs_inode_validate_extsize(struct xfs_mount *mp,
77 xfs_failaddr_t xfs_inode_validate_cowextsize(struct xfs_mount *mp,
Dxfs_refcount_btree.h15 struct xfs_mount;
46 extern struct xfs_btree_cur *xfs_refcountbt_init_cursor(struct xfs_mount *mp,
50 extern void xfs_refcountbt_compute_maxlevels(struct xfs_mount *mp);
52 extern xfs_extlen_t xfs_refcountbt_calc_size(struct xfs_mount *mp,
54 extern xfs_extlen_t xfs_refcountbt_max_size(struct xfs_mount *mp,
57 extern int xfs_refcountbt_calc_reserves(struct xfs_mount *mp,
Dxfs_ialloc_btree.h15 struct xfs_mount;
48 extern struct xfs_btree_cur *xfs_inobt_init_cursor(struct xfs_mount *,
51 extern int xfs_inobt_maxrecs(struct xfs_mount *, int, int);
57 int xfs_inobt_rec_check_count(struct xfs_mount *,
63 int xfs_finobt_calc_reserves(struct xfs_mount *mp, struct xfs_trans *tp,
65 extern xfs_extlen_t xfs_iallocbt_calc_size(struct xfs_mount *mp,
Dxfs_rmap_btree.h11 struct xfs_mount;
43 struct xfs_btree_cur *xfs_rmapbt_init_cursor(struct xfs_mount *mp,
47 extern void xfs_rmapbt_compute_maxlevels(struct xfs_mount *mp);
49 extern xfs_extlen_t xfs_rmapbt_calc_size(struct xfs_mount *mp,
51 extern xfs_extlen_t xfs_rmapbt_max_size(struct xfs_mount *mp,
54 extern int xfs_rmapbt_calc_reserves(struct xfs_mount *mp, struct xfs_trans *tp,
Dxfs_shared.h17 struct xfs_mount;
49 int xfs_log_calc_unit_res(struct xfs_mount *mp, int unit_bytes);
50 int xfs_log_calc_minimum_size(struct xfs_mount *);
53 void xfs_log_get_max_trans_res(struct xfs_mount *mp,
128 int xfs_symlink_blocks(struct xfs_mount *mp, int pathlen);
129 int xfs_symlink_hdr_set(struct xfs_mount *mp, xfs_ino_t ino, uint32_t offset,
Dxfs_dquot_buf.c40 struct xfs_mount *mp, in xfs_dquot_verify()
98 struct xfs_mount *mp, in xfs_dqblk_verify()
115 struct xfs_mount *mp, in xfs_dqblk_repair()
142 struct xfs_mount *mp, in xfs_dquot_buf_verify_crc()
177 struct xfs_mount *mp, in xfs_dquot_buf_verify()
229 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dquot_buf_verify_struct()
238 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dquot_buf_read_verify()
255 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dquot_buf_readahead_verify()
273 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dquot_buf_write_verify()

1234567