/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | quota_global.c | 117 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 in ocfs2_lock_global_qf() 321 ocfs2_unlock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex) ocfs2_unlock_global_qf() argument 344 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; ocfs2_global_read_info() local 420 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; __ocfs2_global_write_info() local 464 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_global_qinit_alloc() local 601 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_sync_dquot_helper() local 638 struct ocfs2_mem_dqinfo *oinfo = container_of(work, qsync_work_fn() local 685 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_calc_qdel_credits() local 721 struct ocfs2_mem_dqinfo *oinfo = ocfs2_release_dquot() local 920 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_mark_dquot_dirty() local 972 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_write_info() local [all...] |
H A D | quota_local.c | 282 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() 810 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; ocfs2_local_free_info() local 920 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; ocfs2_find_free_entry() local 963 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; ocfs2_local_quota_add_chunk() local 1094 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; ocfs2_extend_local_quota_file() local [all...] |
H A D | quota.h | 111 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);
|
H A D | dlmglue.c | 4175 struct ocfs2_mem_dqinfo *oinfo = ocfs2_lock_res_qinfo(lockres); in ocfs2_set_qinfo_lvb() local 4176 struct mem_dqinfo *info = sb_dqinfo(oinfo->dqi_gi.dqi_sb, in ocfs2_set_qinfo_lvb() 4177 oinfo->dqi_gi.dqi_type); in ocfs2_set_qinfo_lvb() 4183 lvb->lvb_syncms = cpu_to_be32(oinfo->dqi_syncms); in ocfs2_set_qinfo_lvb() 4184 lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); in ocfs2_set_qinfo_lvb() 4185 lvb->lvb_free_blk = cpu_to_be32(oinfo->dqi_gi.dqi_free_blk); in ocfs2_set_qinfo_lvb() 4186 lvb->lvb_free_entry = cpu_to_be32(oinfo->dqi_gi.dqi_free_entry); in ocfs2_set_qinfo_lvb() 4189 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_qinfo_unlock() argument 4191 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_unlock() 4192 struct ocfs2_super *osb = OCFS2_SB(oinfo in ocfs2_qinfo_unlock() 4199 ocfs2_refresh_qinfo(struct ocfs2_mem_dqinfo *oinfo) ocfs2_refresh_qinfo() argument 4244 ocfs2_qinfo_lock(struct ocfs2_mem_dqinfo *oinfo, int ex) ocfs2_qinfo_lock() argument [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | quota_global.c | 117 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 in ocfs2_lock_global_qf() 321 ocfs2_unlock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex) ocfs2_unlock_global_qf() argument 345 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; ocfs2_global_read_info() local 420 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; __ocfs2_global_write_info() local 464 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_global_qinit_alloc() local 601 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_sync_dquot_helper() local 638 struct ocfs2_mem_dqinfo *oinfo = container_of(work, qsync_work_fn() local 685 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_calc_qdel_credits() local 721 struct ocfs2_mem_dqinfo *oinfo = ocfs2_release_dquot() local 920 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_mark_dquot_dirty() local 972 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_write_info() local [all...] |
H A D | quota_local.c | 282 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() 810 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; ocfs2_local_free_info() local 923 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; ocfs2_find_free_entry() local 966 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; ocfs2_local_quota_add_chunk() local 1097 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; ocfs2_extend_local_quota_file() local [all...] |
H A D | quota.h | 111 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);
|
H A D | dlmglue.c | 4154 struct ocfs2_mem_dqinfo *oinfo = ocfs2_lock_res_qinfo(lockres); in ocfs2_set_qinfo_lvb() local 4155 struct mem_dqinfo *info = sb_dqinfo(oinfo->dqi_gi.dqi_sb, in ocfs2_set_qinfo_lvb() 4156 oinfo->dqi_gi.dqi_type); in ocfs2_set_qinfo_lvb() 4162 lvb->lvb_syncms = cpu_to_be32(oinfo->dqi_syncms); in ocfs2_set_qinfo_lvb() 4163 lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); in ocfs2_set_qinfo_lvb() 4164 lvb->lvb_free_blk = cpu_to_be32(oinfo->dqi_gi.dqi_free_blk); in ocfs2_set_qinfo_lvb() 4165 lvb->lvb_free_entry = cpu_to_be32(oinfo->dqi_gi.dqi_free_entry); in ocfs2_set_qinfo_lvb() 4168 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_qinfo_unlock() argument 4170 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_unlock() 4171 struct ocfs2_super *osb = OCFS2_SB(oinfo in ocfs2_qinfo_unlock() 4178 ocfs2_refresh_qinfo(struct ocfs2_mem_dqinfo *oinfo) ocfs2_refresh_qinfo() argument 4223 ocfs2_qinfo_lock(struct ocfs2_mem_dqinfo *oinfo, int ex) ocfs2_qinfo_lock() argument [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_rmap.h | 83 const struct xfs_owner_info *oinfo, in xfs_owner_info_unpack() 90 *owner = oinfo->oi_owner; in xfs_owner_info_unpack() 91 *offset = oinfo->oi_offset; in xfs_owner_info_unpack() 92 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK) in xfs_owner_info_unpack() 94 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK) in xfs_owner_info_unpack() 101 struct xfs_owner_info *oinfo, in xfs_owner_info_pack() 106 oinfo->oi_owner = owner; in xfs_owner_info_pack() 107 oinfo->oi_offset = XFS_RMAP_OFF(offset); in xfs_owner_info_pack() 108 oinfo->oi_flags = 0; in xfs_owner_info_pack() 110 oinfo in xfs_owner_info_pack() 82 xfs_owner_info_unpack( const struct xfs_owner_info *oinfo, uint64_t *owner, uint64_t *offset, unsigned int *flags) xfs_owner_info_unpack() argument 100 xfs_owner_info_pack( struct xfs_owner_info *oinfo, uint64_t owner, uint64_t offset, unsigned int flags) xfs_owner_info_pack() argument [all...] |
H A D | xfs_rmap.c | 484 const struct xfs_owner_info *oinfo) in xfs_rmap_unmap() 496 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_unmap() 502 unwritten, oinfo); in xfs_rmap_unmap() 682 unwritten, oinfo); in xfs_rmap_unmap() 700 const struct xfs_owner_info *oinfo) in xfs_rmap_free() 711 error = xfs_rmap_unmap(cur, bno, len, false, oinfo); in xfs_rmap_free() 756 const struct xfs_owner_info *oinfo) in xfs_rmap_map() 770 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_map() 777 unwritten, oinfo); in xfs_rmap_map() 778 ASSERT(!xfs_rmap_should_skip_owner_update(oinfo)); in xfs_rmap_map() 479 xfs_rmap_unmap( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_unmap() argument 694 xfs_rmap_free( struct xfs_trans *tp, struct xfs_buf *agbp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) xfs_rmap_free() argument 751 xfs_rmap_map( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_map() argument 948 xfs_rmap_alloc( struct xfs_trans *tp, struct xfs_buf *agbp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) xfs_rmap_alloc() argument 987 xfs_rmap_convert( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_convert() argument 1483 xfs_rmap_convert_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_convert_shared() argument 1907 xfs_rmap_unmap_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_unmap_shared() argument 2094 xfs_rmap_map_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_map_shared() argument 2249 struct xfs_owner_info oinfo; xfs_rmap_map_raw() local 2369 struct xfs_owner_info oinfo; xfs_rmap_finish_one() local 2662 xfs_rmap_record_exists( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, bool *has_rmap) xfs_rmap_record_exists() argument 2728 xfs_rmap_has_other_keys( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, bool *has_rmap) xfs_rmap_has_other_keys() argument [all...] |
H A D | xfs_alloc.h | 76 struct xfs_owner_info oinfo; /* owner of blocks being allocated */ member 171 const struct xfs_owner_info *oinfo, /* extent owner */ 180 const struct xfs_owner_info *oinfo, in xfs_free_extent() 183 return __xfs_free_extent(tp, bno, len, oinfo, type, false); in xfs_free_extent() 176 xfs_free_extent( struct xfs_trans *tp, xfs_fsblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) xfs_free_extent() argument
|
H A D | xfs_bmap.h | 193 xfs_filblks_t len, const struct xfs_owner_info *oinfo, 248 const struct xfs_owner_info *oinfo) in xfs_bmap_add_free() 250 __xfs_bmap_add_free(tp, bno, len, oinfo, false); in xfs_bmap_add_free() 244 xfs_bmap_add_free( struct xfs_trans *tp, xfs_fsblock_t bno, xfs_filblks_t len, const struct xfs_owner_info *oinfo) xfs_bmap_add_free() argument
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_rmap.h | 86 const struct xfs_owner_info *oinfo, in xfs_owner_info_unpack() 93 *owner = oinfo->oi_owner; in xfs_owner_info_unpack() 94 *offset = oinfo->oi_offset; in xfs_owner_info_unpack() 95 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK) in xfs_owner_info_unpack() 97 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK) in xfs_owner_info_unpack() 104 struct xfs_owner_info *oinfo, in xfs_owner_info_pack() 109 oinfo->oi_owner = owner; in xfs_owner_info_pack() 110 oinfo->oi_offset = XFS_RMAP_OFF(offset); in xfs_owner_info_pack() 111 oinfo->oi_flags = 0; in xfs_owner_info_pack() 113 oinfo in xfs_owner_info_pack() 85 xfs_owner_info_unpack( const struct xfs_owner_info *oinfo, uint64_t *owner, uint64_t *offset, unsigned int *flags) xfs_owner_info_unpack() argument 103 xfs_owner_info_pack( struct xfs_owner_info *oinfo, uint64_t owner, uint64_t offset, unsigned int flags) xfs_owner_info_pack() argument [all...] |
H A D | xfs_alloc.h | 56 struct xfs_owner_info oinfo; /* owner of blocks being allocated */ member 148 const struct xfs_owner_info *oinfo, /* extent owner */ 158 const struct xfs_owner_info *oinfo, in xfs_free_extent() 161 return __xfs_free_extent(tp, pag, agbno, len, oinfo, type, false); in xfs_free_extent() 235 xfs_filblks_t len, const struct xfs_owner_info *oinfo, 264 const struct xfs_owner_info *oinfo, in xfs_free_extent_later() 267 return __xfs_free_extent_later(tp, bno, len, oinfo, type, false); in xfs_free_extent_later() 153 xfs_free_extent( struct xfs_trans *tp, struct xfs_perag *pag, xfs_agblock_t agbno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) xfs_free_extent() argument 260 xfs_free_extent_later( struct xfs_trans *tp, xfs_fsblock_t bno, xfs_filblks_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) xfs_free_extent_later() argument
|
H A D | xfs_rmap.c | 592 const struct xfs_owner_info *oinfo) in xfs_rmap_unmap() 604 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_unmap() 610 unwritten, oinfo); in xfs_rmap_unmap() 783 unwritten, oinfo); in xfs_rmap_unmap() 801 const struct xfs_owner_info *oinfo) in xfs_rmap_free() 812 error = xfs_rmap_unmap(cur, bno, len, false, oinfo); in xfs_rmap_free() 857 const struct xfs_owner_info *oinfo) in xfs_rmap_map() 871 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_map() 878 unwritten, oinfo); in xfs_rmap_map() 879 ASSERT(!xfs_rmap_should_skip_owner_update(oinfo)); in xfs_rmap_map() 587 xfs_rmap_unmap( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_unmap() argument 795 xfs_rmap_free( struct xfs_trans *tp, struct xfs_buf *agbp, struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) xfs_rmap_free() argument 852 xfs_rmap_map( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_map() argument 1042 xfs_rmap_alloc( struct xfs_trans *tp, struct xfs_buf *agbp, struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) xfs_rmap_alloc() argument 1081 xfs_rmap_convert( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_convert() argument 1570 xfs_rmap_convert_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_convert_shared() argument 1994 xfs_rmap_unmap_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_unmap_shared() argument 2181 xfs_rmap_map_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) xfs_rmap_map_shared() argument 2336 struct xfs_owner_info oinfo; xfs_rmap_map_raw() local 2448 struct xfs_owner_info oinfo; xfs_rmap_finish_one() local 2765 xfs_rmap_ownercount_init( struct xfs_rmap_ownercount *roc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, struct xfs_rmap_matches *results) xfs_rmap_ownercount_init() argument 2845 xfs_rmap_count_owners( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, struct xfs_rmap_matches *results) xfs_rmap_count_owners() argument 2876 xfs_rmap_has_other_keys( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, bool *has_other) xfs_rmap_has_other_keys() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | reap.c | 54 * if the rmapbt says there is an owner of this block other than @oinfo, then 87 const struct xfs_owner_info *oinfo; member 310 error = xfs_rmap_has_other_keys(cur, agbno, 1, rs->oinfo, in xreap_agextent_select() 326 error = xfs_rmap_has_other_keys(cur, bno, 1, rs->oinfo, in xreap_agextent_select() 381 *aglenp, rs->oinfo); in xreap_agextent_iter() 413 error = __xfs_free_extent_later(sc->tp, fsbno, *aglenp, rs->oinfo, in xreap_agextent_iter() 477 const struct xfs_owner_info *oinfo, in xrep_reap_agblocks() 482 .oinfo = oinfo, in xrep_reap_agblocks() 474 xrep_reap_agblocks( struct xfs_scrub *sc, struct xagb_bitmap *bitmap, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) xrep_reap_agblocks() argument
|
H A D | btree.h | 44 const struct xfs_owner_info *oinfo; member 67 xchk_btree_rec_fn scrub_fn, const struct xfs_owner_info *oinfo,
|
H A D | scrub.h | 180 xfs_extlen_t len, const struct xfs_owner_info *oinfo); 182 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
|
H A D | bmap.c | 304 struct xfs_owner_info oinfo; in xchk_bmap_iextent_xref() local 326 xfs_rmap_ino_owner(&oinfo, info->sc->ip->i_ino, in xchk_bmap_iextent_xref() 329 irec->br_blockcount, &oinfo); in xchk_bmap_iextent_xref() 338 xfs_rmap_ino_owner(&oinfo, info->sc->ip->i_ino, in xchk_bmap_iextent_xref() 341 &oinfo); in xchk_bmap_iextent_xref() 503 struct xfs_owner_info oinfo; in xchk_bmap_btree() local 519 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork); in xchk_bmap_btree() 520 error = xchk_btree(sc, cur, xchk_bmapbt_rec, &oinfo, info); in xchk_bmap_btree()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | rmap.c | 178 const struct xfs_owner_info *oinfo, in xchk_xref_check_owner() 187 error = xfs_rmap_record_exists(sc->sa.rmap_cur, bno, len, oinfo, in xchk_xref_check_owner() 201 const struct xfs_owner_info *oinfo) in xchk_xref_is_owned_by() 203 xchk_xref_check_owner(sc, bno, len, oinfo, true); in xchk_xref_is_owned_by() 212 const struct xfs_owner_info *oinfo) in xchk_xref_is_not_owned_by() 214 xchk_xref_check_owner(sc, bno, len, oinfo, false); in xchk_xref_is_not_owned_by() 174 xchk_xref_check_owner( struct xfs_scrub *sc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, bool should_have_rmap) xchk_xref_check_owner() argument 197 xchk_xref_is_owned_by( struct xfs_scrub *sc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) xchk_xref_is_owned_by() argument 208 xchk_xref_is_not_owned_by( struct xfs_scrub *sc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) xchk_xref_is_not_owned_by() argument
|
H A D | btree.h | 37 const struct xfs_owner_info *oinfo; member 48 xchk_btree_rec_fn scrub_fn, const struct xfs_owner_info *oinfo,
|
H A D | repair.c | 287 const struct xfs_owner_info *oinfo, in xrep_alloc_ag_block() 315 args.oinfo = *oinfo; in xrep_alloc_ag_block() 404 * if the rmapbt says there is an owner of this block other than @oinfo, then 529 const struct xfs_owner_info *oinfo, in xrep_reap_block() 557 error = xfs_rmap_has_other_keys(cur, agbno, 1, oinfo, &has_other_rmap); in xrep_reap_block() 576 error = xfs_rmap_free(sc->tp, agf_bp, agno, agbno, 1, oinfo); in xrep_reap_block() 580 error = xfs_free_extent(sc->tp, fsbno, 1, oinfo, resv); in xrep_reap_block() 601 const struct xfs_owner_info *oinfo, in xrep_reap_extents() 618 error = xrep_reap_block(sc, fsbno, oinfo, typ in xrep_reap_extents() 285 xrep_alloc_ag_block( struct xfs_scrub *sc, const struct xfs_owner_info *oinfo, xfs_fsblock_t *fsbno, enum xfs_ag_resv_type resv) xrep_alloc_ag_block() argument 526 xrep_reap_block( struct xfs_scrub *sc, xfs_fsblock_t fsbno, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type resv) xrep_reap_block() argument 598 xrep_reap_extents( struct xfs_scrub *sc, struct xbitmap *bitmap, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) xrep_reap_extents() argument [all...] |
H A D | repair.h | 27 const struct xfs_owner_info *oinfo, xfs_fsblock_t *fsbno, 38 const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type);
|
H A D | scrub.h | 140 xfs_extlen_t len, const struct xfs_owner_info *oinfo); 142 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_extfree_item.c | 378 struct xfs_owner_info oinfo = { }; in xfs_trans_free_extent() local 386 oinfo.oi_owner = xefi->xefi_owner; in xfs_trans_free_extent() 388 oinfo.oi_flags |= XFS_OWNER_INFO_ATTR_FORK; in xfs_trans_free_extent() 390 oinfo.oi_flags |= XFS_OWNER_INFO_BMBT_BLOCK; in xfs_trans_free_extent() 396 xefi->xefi_blockcount, &oinfo, xefi->xefi_agresv, in xfs_trans_free_extent() 590 struct xfs_owner_info oinfo = { }; in xfs_agfl_free_finish_item() local 603 oinfo.oi_owner = xefi->xefi_owner; in xfs_agfl_free_finish_item() 611 agbno, agbp, &oinfo); in xfs_agfl_free_finish_item()
|