Home
last modified time | relevance | path

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

12

/linux-6.15/fs/ocfs2/
H A Dquota_global.c307 if (!oinfo->dqi_gqi_count++) in ocfs2_lock_global_qf()
308 oinfo->dqi_gqi_bh = bh; in ocfs2_lock_global_qf()
330 brelse(oinfo->dqi_gqi_bh); in ocfs2_unlock_global_qf()
333 oinfo->dqi_gqi_bh = NULL; in ocfs2_unlock_global_qf()
348 oinfo->dqi_gi.dqi_sb = sb; in ocfs2_global_read_info()
350 ocfs2_qinfo_lock_res_init(&oinfo->dqi_gqlock, oinfo); in ocfs2_global_read_info()
353 oinfo->dqi_gqi_bh = NULL; in ocfs2_global_read_info()
354 oinfo->dqi_gqi_count = 0; in ocfs2_global_read_info()
359 if (!oinfo->dqi_gqinode) { in ocfs2_global_read_info()
372 status = ocfs2_extent_map_get_blocks(oinfo->dqi_gqinode, 0, &oinfo->dqi_giblk, in ocfs2_global_read_info()
[all …]
H A Dquota_local.c696 if (!oinfo) { in ocfs2_local_read_info()
702 info->dqi_priv = oinfo; in ocfs2_local_read_info()
705 oinfo->dqi_rec = NULL; in ocfs2_local_read_info()
734 oinfo->dqi_libh = bh; in ocfs2_local_read_info()
775 if (oinfo) { in ocfs2_local_read_info()
785 kfree(oinfo); in ocfs2_local_read_info()
844 if (oinfo->dqi_rec) { in ocfs2_local_free_info()
855 oinfo->dqi_libh, in ocfs2_local_free_info()
864 kfree(oinfo); in ocfs2_local_free_info()
1062 oinfo->dqi_chunks++; in ocfs2_local_quota_add_chunk()
[all …]
H A Dquota.h110 int ocfs2_lock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex);
111 void ocfs2_unlock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex);
H A Ddlmglue.c4173 oinfo->dqi_gi.dqi_type); in ocfs2_set_qinfo_lvb()
4179 lvb->lvb_syncms = cpu_to_be32(oinfo->dqi_syncms); in ocfs2_set_qinfo_lvb()
4187 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_unlock()
4198 oinfo->dqi_gi.dqi_type); in ocfs2_refresh_qinfo()
4199 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_refresh_qinfo()
4209 oinfo->dqi_syncms = be32_to_cpu(lvb->lvb_syncms); in ocfs2_refresh_qinfo()
4212 oinfo->dqi_gi.dqi_free_entry = in ocfs2_refresh_qinfo()
4216 oinfo->dqi_giblk, &bh); in ocfs2_refresh_qinfo()
4228 oinfo->dqi_gi.dqi_free_entry = in ocfs2_refresh_qinfo()
4264 status = ocfs2_refresh_qinfo(oinfo); in ocfs2_qinfo_lock()
[all …]
H A Ddlmglue.h176 int ocfs2_qinfo_lock(struct ocfs2_mem_dqinfo *oinfo, int ex);
177 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex);
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_rmap.h87 const struct xfs_owner_info *oinfo, in xfs_owner_info_unpack() argument
94 *owner = oinfo->oi_owner; in xfs_owner_info_unpack()
95 *offset = oinfo->oi_offset; in xfs_owner_info_unpack()
105 struct xfs_owner_info *oinfo, in xfs_owner_info_pack() argument
110 oinfo->oi_owner = owner; in xfs_owner_info_pack()
111 oinfo->oi_offset = XFS_RMAP_OFF(offset); in xfs_owner_info_pack()
112 oinfo->oi_flags = 0; in xfs_owner_info_pack()
114 oinfo->oi_flags |= XFS_OWNER_INFO_ATTR_FORK; in xfs_owner_info_pack()
121 const struct xfs_owner_info *oinfo);
124 const struct xfs_owner_info *oinfo);
[all …]
H A Dxfs_rmap.c680 const struct xfs_owner_info *oinfo) in xfs_rmap_unmap() argument
913 const struct xfs_owner_info *oinfo) in xfs_rmap_update_hook() argument
920 .oinfo = *oinfo, /* struct copy */ in xfs_rmap_update_hook()
968 const struct xfs_owner_info *oinfo) in xfs_rmap_free() argument
979 false, oinfo); in xfs_rmap_free()
1224 oinfo); in xfs_rmap_alloc()
2524 struct xfs_owner_info oinfo; in xfs_rmap_map_raw() local
2535 &oinfo); in xfs_rmap_map_raw()
2540 &oinfo); in xfs_rmap_map_raw()
2624 oinfo); in __xfs_rmap_finish_intent()
[all …]
H A Dxfs_alloc.h57 struct xfs_owner_info oinfo; /* owner of blocks being allocated */ member
83 const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type);
149 const struct xfs_owner_info *oinfo, /* extent owner */
159 const struct xfs_owner_info *oinfo, in xfs_free_extent() argument
162 return __xfs_free_extent(tp, pag, agbno, len, oinfo, type, false); in xfs_free_extent()
234 xfs_filblks_t len, const struct xfs_owner_info *oinfo,
H A Dxfs_alloc.c2044 const struct xfs_owner_info *oinfo, in xfs_free_ag_extent() argument
2066 if (!xfs_rmap_should_skip_owner_update(oinfo)) { in xfs_free_ag_extent()
2637 const struct xfs_owner_info *oinfo, in xfs_defer_extent_free() argument
2670 if (oinfo) { in xfs_defer_extent_free()
2671 ASSERT(oinfo->oi_offset == 0); in xfs_defer_extent_free()
2677 xefi->xefi_owner = oinfo->oi_owner; in xfs_defer_extent_free()
2691 const struct xfs_owner_info *oinfo, in xfs_free_extent_later() argument
2928 targs.oinfo = XFS_RMAP_OINFO_SKIP_UPDATE; in xfs_alloc_fix_freelist()
2930 targs.oinfo = XFS_RMAP_OINFO_AG; in xfs_alloc_fix_freelist()
2950 1, &targs.oinfo, XFS_AG_RESV_AGFL, 0); in xfs_alloc_fix_freelist()
[all …]
/linux-6.15/fs/xfs/scrub/
H A Dnewbt.c89 const struct xfs_owner_info *oinfo, in xrep_newbt_init_ag() argument
95 xnr->oinfo = *oinfo; /* structure copy */ in xrep_newbt_init_ag()
117 xrep_newbt_init_ag(xnr, sc, oinfo, in xrep_newbt_init_inode()
135 struct xfs_owner_info oinfo; in xrep_newbt_init_metadir_inode() local
230 .oinfo = xnr->oinfo, in xrep_newbt_add_extent()
272 .oinfo = xnr->oinfo, in xrep_newbt_alloc_ag_blocks()
300 xnr->oinfo.oi_owner); in xrep_newbt_alloc_ag_blocks()
346 .oinfo = xnr->oinfo, in xrep_newbt_alloc_file_blocks()
377 xnr->oinfo.oi_owner); in xrep_newbt_alloc_file_blocks()
428 xnr->oinfo.oi_owner); in xrep_newbt_free_extent()
[all …]
H A Dreap.c95 const struct xfs_owner_info *oinfo; member
433 *aglenp, rs->oinfo); in xreap_agextent_iter()
552 const struct xfs_owner_info *oinfo, in xrep_reap_agblocks() argument
557 .oinfo = oinfo, in xrep_reap_agblocks()
665 const struct xfs_owner_info *oinfo) in xrep_reap_fsblocks() argument
669 .oinfo = oinfo, in xrep_reap_fsblocks()
887 .oinfo = oinfo, in xrep_reap_rtblocks()
920 struct xfs_owner_info oinfo; in xrep_reap_metadir_fsblocks() local
923 .oinfo = &oinfo, in xrep_reap_metadir_fsblocks()
964 struct xfs_owner_info oinfo; in xreap_bmapi_select() local
[all …]
H A Dreap.h13 const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type);
15 const struct xfs_owner_info *oinfo);
22 const struct xfs_owner_info *oinfo);
H A Dnewbt.h48 struct xfs_owner_info oinfo; member
62 const struct xfs_owner_info *oinfo, xfs_fsblock_t alloc_hint,
65 int whichfork, const struct xfs_owner_info *oinfo);
H A Drtrmap.c248 struct xfs_owner_info oinfo; in xchk_rtrmapbt() local
256 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, XFS_DATA_FORK); in xchk_rtrmapbt()
257 return xchk_btree(sc, sc->sr.rmap_cur, xchk_rtrmapbt_rec, &oinfo, &cr); in xchk_rtrmapbt()
306 const struct xfs_owner_info *oinfo) in xchk_xref_is_only_rt_owned_by() argument
314 error = xfs_rmap_count_owners(sc->sr.rmap_cur, bno, len, oinfo, &res); in xchk_xref_is_only_rt_owned_by()
H A Dbtree.h44 const struct xfs_owner_info *oinfo; member
67 xchk_btree_rec_fn scrub_fn, const struct xfs_owner_info *oinfo,
H A Dscrub.h314 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
316 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
333 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
344 # define xchk_xref_is_only_rt_owned_by(sc, bno, len, oinfo) do { } while (0) argument
H A Dbmap.c327 struct xfs_owner_info oinfo; in xchk_bmap_rt_iextent_xref() local
355 xfs_rmap_ino_owner(&oinfo, info->sc->ip->i_ino, in xchk_bmap_rt_iextent_xref()
358 irec->br_blockcount, &oinfo); in xchk_bmap_rt_iextent_xref()
388 struct xfs_owner_info oinfo; in xchk_bmap_iextent_xref() local
410 xfs_rmap_ino_owner(&oinfo, info->sc->ip->i_ino, in xchk_bmap_iextent_xref()
413 irec->br_blockcount, &oinfo); in xchk_bmap_iextent_xref()
422 xfs_rmap_ino_owner(&oinfo, info->sc->ip->i_ino, in xchk_bmap_iextent_xref()
425 &oinfo); in xchk_bmap_iextent_xref()
587 struct xfs_owner_info oinfo; in xchk_bmap_btree() local
603 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork); in xchk_bmap_btree()
[all …]
H A Drmap_repair.c287 const struct xfs_owner_info *oinfo) in xrep_rmap_stash_bitmap() argument
291 .owner = oinfo->oi_owner, in xrep_rmap_stash_bitmap()
295 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK) in xrep_rmap_stash_bitmap()
297 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK) in xrep_rmap_stash_bitmap()
413 struct xfs_owner_info oinfo; in xrep_rmap_scan_iroot_btree() local
426 xfs_rmap_ino_bmbt_owner(&oinfo, rf->accum.rm_owner, rf->whichfork); in xrep_rmap_scan_iroot_btree()
427 error = xrep_rmap_stash_bitmap(rr, &rf->bmbt_blocks, &oinfo); in xrep_rmap_scan_iroot_btree()
1431 rr->new_btree.oinfo = XFS_RMAP_OINFO_AG; in xrep_rmap_build_new_tree()
1621 if (!xrep_rmapbt_want_live_update(&rr->iscan, &p->oinfo)) in xrep_rmapbt_live_update()
1633 p->blockcount, &p->oinfo, p->unwritten); in xrep_rmapbt_live_update()
H A Dbmap_repair.c749 struct xfs_owner_info oinfo; in xrep_bmap_build_new_fork() local
763 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, rb->whichfork); in xrep_bmap_build_new_fork()
765 &oinfo); in xrep_bmap_build_new_fork()
833 struct xfs_owner_info oinfo; in xrep_bmap_remove_old_tree() local
836 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, rb->whichfork); in xrep_bmap_remove_old_tree()
837 return xrep_reap_fsblocks(sc, &rb->old_bmbt_blocks, &oinfo); in xrep_bmap_remove_old_tree()
H A Drmap.c588 const struct xfs_owner_info *oinfo) in xchk_xref_is_only_owned_by() argument
596 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res); in xchk_xref_is_only_owned_by()
613 const struct xfs_owner_info *oinfo) in xchk_xref_is_not_owned_by() argument
621 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res); in xchk_xref_is_not_owned_by()
H A Dcommon.c377 const struct xfs_owner_info *oinfo; member
392 oinfo_attr = sroi->oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK; in xchk_count_rmap_ownedby_irec()
394 if (rec->rm_owner != sroi->oinfo->oi_owner) in xchk_count_rmap_ownedby_irec()
411 const struct xfs_owner_info *oinfo, in xchk_count_rmap_ownedby_ag() argument
415 .oinfo = oinfo, in xchk_count_rmap_ownedby_ag()
H A Drtrmap_repair.c454 const struct xfs_owner_info *oinfo) in xrep_rtrmap_stash_bitmap() argument
458 .owner = oinfo->oi_owner, in xrep_rtrmap_stash_bitmap()
855 if (!xrep_rtrmapbt_want_live_update(&rr->iscan, &p->oinfo)) in xrep_rtrmapbt_live_update()
867 p->blockcount, &p->oinfo, p->unwritten); in xrep_rtrmapbt_live_update()
H A Dbtree.c404 xchk_xref_is_only_owned_by(bs->sc, agbno, 1, bs->oinfo); in xchk_btree_check_block_owner()
681 const struct xfs_owner_info *oinfo, in xchk_btree() argument
711 bs->oinfo = oinfo; in xchk_btree()
/linux-6.15/fs/xfs/
H A Dxfs_extfree_item.c518 struct xfs_owner_info oinfo = { }; in xfs_extent_free_finish_item() local
527 oinfo.oi_owner = xefi->xefi_owner; in xfs_extent_free_finish_item()
529 oinfo.oi_flags |= XFS_OWNER_INFO_ATTR_FORK; in xfs_extent_free_finish_item()
531 oinfo.oi_flags |= XFS_OWNER_INFO_BMBT_BLOCK; in xfs_extent_free_finish_item()
543 xefi->xefi_blockcount, &oinfo, xefi->xefi_agresv, in xfs_extent_free_finish_item()
574 struct xfs_owner_info oinfo = { }; in xfs_agfl_free_finish_item() local
584 oinfo.oi_owner = xefi->xefi_owner; in xfs_agfl_free_finish_item()
590 error = xfs_free_ag_extent(tp, agbp, agbno, 1, &oinfo, in xfs_agfl_free_finish_item()
/linux-6.15/drivers/mtd/
H A Dmtdchar.c1142 struct otp_info oinfo; in mtdchar_ioctl() local
1146 if (copy_from_user(&oinfo, argp, sizeof(oinfo))) in mtdchar_ioctl()
1149 ret = mtd_lock_user_prot_reg(mtd, oinfo.start, oinfo.length); in mtdchar_ioctl()
1151 ret = mtd_erase_user_prot_reg(mtd, oinfo.start, oinfo.length); in mtdchar_ioctl()

12