Home
last modified time | relevance | path

Searched refs:oinfo (Results 1 – 25 of 37) sorted by relevance

12

/linux-4.19.296/fs/ocfs2/
Dquota_global.c117 struct ocfs2_mem_dqinfo *oinfo = in ocfs2_global_is_id() local
120 if (qtree_entry_unused(&oinfo->dqi_gi, dp)) in ocfs2_global_is_id()
170 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_quota_read() local
171 struct inode *gqinode = oinfo->dqi_gqinode; in ocfs2_quota_read()
220 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; in ocfs2_quota_write() local
221 struct inode *gqinode = oinfo->dqi_gqinode; in ocfs2_quota_write()
246 oinfo->dqi_gqi_bh, in ocfs2_quota_write()
294 ocfs2_mark_inode_dirty(handle, gqinode, oinfo->dqi_gqi_bh); in ocfs2_quota_write()
298 int ocfs2_lock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_lock_global_qf() argument
303 status = ocfs2_inode_lock(oinfo->dqi_gqinode, &bh, ex); in ocfs2_lock_global_qf()
[all …]
Dquota_local.c282 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; in olq_update_info() local
288 ldinfo->dqi_flags = cpu_to_le32(oinfo->dqi_flags); in olq_update_info()
289 ldinfo->dqi_chunks = cpu_to_le32(oinfo->dqi_chunks); in olq_update_info()
290 ldinfo->dqi_blocks = cpu_to_le32(oinfo->dqi_blocks); in olq_update_info()
463 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_recover_local_quota_file() local
510 status = ocfs2_lock_global_qf(oinfo, 1); in ocfs2_recover_local_quota_file()
559 ocfs2_unlock_global_qf(oinfo, 1); in ocfs2_recover_local_quota_file()
687 struct ocfs2_mem_dqinfo *oinfo; in ocfs2_local_read_info() local
696 oinfo = kmalloc(sizeof(struct ocfs2_mem_dqinfo), GFP_NOFS); in ocfs2_local_read_info()
697 if (!oinfo) { in ocfs2_local_read_info()
[all …]
Dquota.h111 int ocfs2_lock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex);
112 void ocfs2_unlock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex);
Ddlmglue.c4126 struct ocfs2_mem_dqinfo *oinfo = ocfs2_lock_res_qinfo(lockres); in ocfs2_set_qinfo_lvb() local
4127 struct mem_dqinfo *info = sb_dqinfo(oinfo->dqi_gi.dqi_sb, in ocfs2_set_qinfo_lvb()
4128 oinfo->dqi_gi.dqi_type); in ocfs2_set_qinfo_lvb()
4134 lvb->lvb_syncms = cpu_to_be32(oinfo->dqi_syncms); in ocfs2_set_qinfo_lvb()
4135 lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); in ocfs2_set_qinfo_lvb()
4136 lvb->lvb_free_blk = cpu_to_be32(oinfo->dqi_gi.dqi_free_blk); in ocfs2_set_qinfo_lvb()
4137 lvb->lvb_free_entry = cpu_to_be32(oinfo->dqi_gi.dqi_free_entry); in ocfs2_set_qinfo_lvb()
4140 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_qinfo_unlock() argument
4142 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_unlock()
4143 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_unlock()
[all …]
Ddlmglue.h194 int ocfs2_qinfo_lock(struct ocfs2_mem_dqinfo *oinfo, int ex);
195 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex);
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_rmap.h106 struct xfs_owner_info *oinfo, in xfs_owner_info_unpack() argument
113 *owner = oinfo->oi_owner; in xfs_owner_info_unpack()
114 *offset = oinfo->oi_offset; in xfs_owner_info_unpack()
115 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK) in xfs_owner_info_unpack()
117 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK) in xfs_owner_info_unpack()
124 struct xfs_owner_info *oinfo, in xfs_owner_info_pack() argument
129 oinfo->oi_owner = owner; in xfs_owner_info_pack()
130 oinfo->oi_offset = XFS_RMAP_OFF(offset); in xfs_owner_info_pack()
131 oinfo->oi_flags = 0; in xfs_owner_info_pack()
133 oinfo->oi_flags |= XFS_OWNER_INFO_ATTR_FORK; in xfs_owner_info_pack()
[all …]
Dxfs_rmap.c465 struct xfs_owner_info *oinfo) in xfs_rmap_unmap() argument
477 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_unmap()
483 unwritten, oinfo); in xfs_rmap_unmap()
643 unwritten, oinfo); in xfs_rmap_unmap()
661 struct xfs_owner_info *oinfo) in xfs_rmap_free() argument
672 error = xfs_rmap_unmap(cur, bno, len, false, oinfo); in xfs_rmap_free()
717 struct xfs_owner_info *oinfo) in xfs_rmap_map() argument
731 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_map()
738 unwritten, oinfo); in xfs_rmap_map()
739 ASSERT(!xfs_rmap_should_skip_owner_update(oinfo)); in xfs_rmap_map()
[all …]
Dxfs_alloc.h77 struct xfs_owner_info oinfo; /* owner of blocks being allocated */ member
185 struct xfs_owner_info *oinfo, /* extent owner */
194 struct xfs_owner_info *oinfo, in xfs_free_extent() argument
197 return __xfs_free_extent(tp, bno, len, oinfo, type, false); in xfs_free_extent()
Dxfs_bmap.h189 xfs_filblks_t len, struct xfs_owner_info *oinfo,
237 struct xfs_owner_info *oinfo) in xfs_bmap_add_free() argument
239 __xfs_bmap_add_free(tp, bno, len, oinfo, false); in xfs_bmap_add_free()
Dxfs_refcount_btree.c73 xfs_rmap_ag_owner(&args.oinfo, XFS_RMAP_OWN_REFC); in xfs_refcountbt_alloc_block()
109 struct xfs_owner_info oinfo; in xfs_refcountbt_free_block() local
114 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_REFC); in xfs_refcountbt_free_block()
117 error = xfs_free_extent(cur->bc_tp, fsbno, 1, &oinfo, in xfs_refcountbt_free_block()
Dxfs_ialloc_btree.c87 xfs_rmap_ag_owner(&args.oinfo, XFS_RMAP_OWN_INOBT); in __xfs_inobt_alloc_block()
139 struct xfs_owner_info oinfo; in __xfs_inobt_free_block() local
141 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_INOBT); in __xfs_inobt_free_block()
144 &oinfo, resv); in __xfs_inobt_free_block()
Dxfs_ag.c417 struct xfs_owner_info oinfo; in xfs_ag_extend_space() local
454 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_NULL); in xfs_ag_extend_space()
457 len, &oinfo); in xfs_ag_extend_space()
463 len, &oinfo, XFS_AG_RESV_NONE); in xfs_ag_extend_space()
Dxfs_alloc.c749 if (!xfs_rmap_should_skip_owner_update(&args->oinfo)) { in xfs_alloc_ag_vextent()
751 args->agbno, args->len, &args->oinfo); in xfs_alloc_ag_vextent()
1597 struct xfs_owner_info oinfo; in xfs_alloc_ag_vextent_small() local
1651 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_AG); in xfs_alloc_ag_vextent_small()
1653 fbno, 1, &oinfo); in xfs_alloc_ag_vextent_small()
1702 struct xfs_owner_info *oinfo, in xfs_free_ag_extent() argument
1723 if (!xfs_rmap_should_skip_owner_update(oinfo)) { in xfs_free_ag_extent()
1724 error = xfs_rmap_free(tp, agbp, agno, bno, len, oinfo); in xfs_free_ag_extent()
2083 struct xfs_owner_info *oinfo) in xfs_free_agfl_block() argument
2088 error = xfs_free_ag_extent(tp, agbp, agno, agbno, 1, oinfo, in xfs_free_agfl_block()
[all …]
/linux-4.19.296/fs/xfs/scrub/
Dialloc.c85 struct xfs_owner_info oinfo; in xchk_iallocbt_chunk_xref() local
92 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_INODES); in xchk_iallocbt_chunk_xref()
93 xchk_xref_is_owned_by(sc, agbno, len, &oinfo); in xchk_iallocbt_chunk_xref()
189 struct xfs_owner_info oinfo; in xchk_iallocbt_check_freemask() local
208 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_INODES); in xchk_iallocbt_check_freemask()
233 blks_per_cluster, &oinfo); in xchk_iallocbt_check_freemask()
238 &oinfo); in xchk_iallocbt_check_freemask()
369 struct xfs_owner_info oinfo; in xchk_iallocbt_xref_rmap_btreeblks() local
391 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_INOBT); in xchk_iallocbt_xref_rmap_btreeblks()
392 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, &oinfo, in xchk_iallocbt_xref_rmap_btreeblks()
[all …]
Drmap.c177 struct xfs_owner_info oinfo; in xchk_rmapbt() local
179 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_AG); in xchk_rmapbt()
181 &oinfo, NULL); in xchk_rmapbt()
190 struct xfs_owner_info *oinfo, in xchk_xref_check_owner() argument
199 error = xfs_rmap_record_exists(sc->sa.rmap_cur, bno, len, oinfo, in xchk_xref_check_owner()
213 struct xfs_owner_info *oinfo) in xchk_xref_is_owned_by() argument
215 xchk_xref_check_owner(sc, bno, len, oinfo, true); in xchk_xref_is_owned_by()
224 struct xfs_owner_info *oinfo) in xchk_xref_is_not_owned_by() argument
226 xchk_xref_check_owner(sc, bno, len, oinfo, false); in xchk_xref_is_not_owned_by()
Drefcount.c384 struct xfs_owner_info *oinfo, in xchk_refcount_xref_rmap() argument
398 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, oinfo, in xchk_refcount_xref_rmap()
406 xfs_rmap_ag_owner(oinfo, XFS_RMAP_OWN_COW); in xchk_refcount_xref_rmap()
407 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, oinfo, in xchk_refcount_xref_rmap()
420 struct xfs_owner_info oinfo; in xchk_refcountbt() local
424 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_REFC); in xchk_refcountbt()
426 &oinfo, &cow_blocks); in xchk_refcountbt()
430 xchk_refcount_xref_rmap(sc, &oinfo, cow_blocks); in xchk_refcountbt()
Drepair.c301 struct xfs_owner_info *oinfo, in xrep_alloc_ag_block() argument
329 args.oinfo = *oinfo; in xrep_alloc_ag_block()
506 struct xfs_owner_info oinfo; in xrep_put_freelist() local
519 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_AG); in xrep_put_freelist()
521 &oinfo); in xrep_put_freelist()
541 struct xfs_owner_info *oinfo, in xrep_reap_block() argument
571 error = xfs_rmap_has_other_keys(cur, agbno, 1, oinfo, &has_other_rmap); in xrep_reap_block()
590 error = xfs_rmap_free(sc->tp, agf_bp, agno, agbno, 1, oinfo); in xrep_reap_block()
594 error = xfs_free_extent(sc->tp, fsbno, 1, oinfo, resv); in xrep_reap_block()
615 struct xfs_owner_info *oinfo, in xrep_reap_extents() argument
[all …]
Dagheader.c35 struct xfs_owner_info oinfo; in xchk_superblock_xref() local
52 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_FS); in xchk_superblock_xref()
53 xchk_xref_is_owned_by(sc, agbno, 1, &oinfo); in xchk_superblock_xref()
487 struct xfs_owner_info oinfo; in xchk_agf_xref() local
505 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_FS); in xchk_agf_xref()
506 xchk_xref_is_owned_by(sc, agbno, 1, &oinfo); in xchk_agf_xref()
601 struct xfs_owner_info oinfo; member
613 struct xfs_owner_info *oinfo) in xchk_agfl_block_xref() argument
620 xchk_xref_is_owned_by(sc, agbno, 1, oinfo); in xchk_agfl_block_xref()
665 struct xfs_owner_info oinfo; in xchk_agfl_xref() local
[all …]
Dbtree.h37 struct xfs_owner_info *oinfo; member
48 xchk_btree_rec_fn scrub_fn, struct xfs_owner_info *oinfo,
Dalloc.c128 struct xfs_owner_info oinfo; in xchk_allocbt() local
131 xfs_rmap_ag_owner(&oinfo, XFS_RMAP_OWN_AG); in xchk_allocbt()
133 return xchk_btree(sc, cur, xchk_allocbt_rec, &oinfo, NULL); in xchk_allocbt()
Drepair.h24 int xrep_alloc_ag_block(struct xfs_scrub *sc, struct xfs_owner_info *oinfo,
35 struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type);
Dscrub.h125 xfs_extlen_t len, struct xfs_owner_info *oinfo);
127 xfs_extlen_t len, struct xfs_owner_info *oinfo);
Dcommon.c316 struct xfs_owner_info *oinfo; member
331 oinfo_attr = sroi->oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK; in xchk_count_rmap_ownedby_irec()
333 if (rec->rm_owner != sroi->oinfo->oi_owner) in xchk_count_rmap_ownedby_irec()
350 struct xfs_owner_info *oinfo, in xchk_count_rmap_ownedby_ag() argument
355 sroi.oinfo = oinfo; in xchk_count_rmap_ownedby_ag()
/linux-4.19.296/fs/xfs/
Dxfs_extfree_item.c497 struct xfs_owner_info oinfo; in xfs_efi_recover() local
529 xfs_rmap_any_owner_update(&oinfo); in xfs_efi_recover()
533 extp->ext_len, &oinfo, false); in xfs_efi_recover()
Dxfs_trans_extfree.c59 struct xfs_owner_info *oinfo, in xfs_trans_free_extent() argument
72 oinfo, XFS_AG_RESV_NONE, skip_discard); in xfs_trans_free_extent()

12