Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c4152 struct ocfs2_mem_dqinfo *oinfo = ocfs2_lock_res_qinfo(lockres); in ocfs2_set_qinfo_lvb() local
4153 struct mem_dqinfo *info = sb_dqinfo(oinfo->dqi_gi.dqi_sb, in ocfs2_set_qinfo_lvb()
4154 oinfo->dqi_gi.dqi_type); in ocfs2_set_qinfo_lvb()
4160 lvb->lvb_syncms = cpu_to_be32(oinfo->dqi_syncms); in ocfs2_set_qinfo_lvb()
4161 lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); in ocfs2_set_qinfo_lvb()
4162 lvb->lvb_free_blk = cpu_to_be32(oinfo->dqi_gi.dqi_free_blk); in ocfs2_set_qinfo_lvb()
4163 lvb->lvb_free_entry = cpu_to_be32(oinfo->dqi_gi.dqi_free_entry); in ocfs2_set_qinfo_lvb()
4166 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_qinfo_unlock() argument
4168 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_unlock()
4169 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_unlock()
[all …]
Ddlmglue.h180 int ocfs2_qinfo_lock(struct ocfs2_mem_dqinfo *oinfo, int ex);
181 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex);
Dsuper.c890 struct ocfs2_mem_dqinfo *oinfo; in ocfs2_susp_quotas() local
893 oinfo = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_susp_quotas()
894 cancel_delayed_work_sync(&oinfo->dqi_sync_work); in ocfs2_susp_quotas()
951 struct ocfs2_mem_dqinfo *oinfo; in ocfs2_disable_quotas() local
958 oinfo = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_disable_quotas()
959 cancel_delayed_work_sync(&oinfo->dqi_sync_work); in ocfs2_disable_quotas()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_rmap.h83 const struct xfs_owner_info *oinfo, in xfs_owner_info_unpack() argument
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() argument
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->oi_flags |= XFS_OWNER_INFO_ATTR_FORK; in xfs_owner_info_pack()
[all …]
Dxfs_rmap.c484 const struct xfs_owner_info *oinfo) in xfs_rmap_unmap() argument
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() argument
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() argument
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()
[all …]
Dxfs_alloc.h76 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() argument
183 return __xfs_free_extent(tp, bno, len, oinfo, type, false); in xfs_free_extent()
Dxfs_bmap.h193 xfs_filblks_t len, const struct xfs_owner_info *oinfo,
248 const struct xfs_owner_info *oinfo) in xfs_bmap_add_free() argument
250 __xfs_bmap_add_free(tp, bno, len, oinfo, false); in xfs_bmap_add_free()
Dxfs_bmap_btree.c208 xfs_rmap_ino_bmbt_owner(&args.oinfo, cur->bc_ino.ip->i_ino, in xfs_bmbt_alloc_block()
286 struct xfs_owner_info oinfo; in xfs_bmbt_free_block() local
288 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, cur->bc_ino.whichfork); in xfs_bmbt_free_block()
289 xfs_bmap_add_free(cur->bc_tp, fsbno, 1, &oinfo); in xfs_bmbt_free_block()
Dxfs_alloc.c1169 if (!xfs_rmap_should_skip_owner_update(&args->oinfo)) { in xfs_alloc_ag_vextent()
1171 args->agbno, args->len, &args->oinfo); in xfs_alloc_ag_vextent()
1884 const struct xfs_owner_info *oinfo, in xfs_free_ag_extent() argument
1904 if (!xfs_rmap_should_skip_owner_update(oinfo)) { in xfs_free_ag_extent()
1905 error = xfs_rmap_free(tp, agbp, agno, bno, len, oinfo); in xfs_free_ag_extent()
2334 struct xfs_owner_info *oinfo) in xfs_free_agfl_block() argument
2339 error = xfs_free_ag_extent(tp, agbp, agno, agbno, 1, oinfo, in xfs_free_agfl_block()
2457 struct xfs_owner_info *oinfo) in xfs_defer_agfl_block() argument
2463 ASSERT(oinfo != NULL); in xfs_defer_agfl_block()
2469 new->xefi_oinfo = *oinfo; in xfs_defer_agfl_block()
[all …]
Dxfs_refcount.c919 struct xfs_owner_info *oinfo) in xfs_refcount_adjust_extents() argument
977 tmp.rc_blockcount, oinfo); in xfs_refcount_adjust_extents()
1022 oinfo); in xfs_refcount_adjust_extents()
1051 struct xfs_owner_info *oinfo) in xfs_refcount_adjust() argument
1095 adj, oinfo); in xfs_refcount_adjust()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Drmap.c178 const struct xfs_owner_info *oinfo, in xchk_xref_check_owner() argument
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() argument
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() argument
214 xchk_xref_check_owner(sc, bno, len, oinfo, false); in xchk_xref_is_not_owned_by()
Dbtree.h37 const struct xfs_owner_info *oinfo; member
48 xchk_btree_rec_fn scrub_fn, const struct xfs_owner_info *oinfo,
Drepair.c287 const struct xfs_owner_info *oinfo, in xrep_alloc_ag_block() argument
315 args.oinfo = *oinfo; in xrep_alloc_ag_block()
529 const struct xfs_owner_info *oinfo, in xrep_reap_block() argument
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() argument
618 error = xrep_reap_block(sc, fsbno, oinfo, type); in xrep_reap_extents()
Drepair.h27 const struct xfs_owner_info *oinfo, xfs_fsblock_t *fsbno,
38 const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type);
Dcommon.c318 const struct xfs_owner_info *oinfo; member
333 oinfo_attr = sroi->oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK; in xchk_count_rmap_ownedby_irec()
335 if (rec->rm_owner != sroi->oinfo->oi_owner) in xchk_count_rmap_ownedby_irec()
352 const struct xfs_owner_info *oinfo, in xchk_count_rmap_ownedby_ag() argument
356 .oinfo = oinfo, in xchk_count_rmap_ownedby_ag()
Dscrub.h140 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
142 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
Dbtree.c391 xchk_xref_is_owned_by(bs->sc, agbno, 1, bs->oinfo); in xchk_btree_check_block_owner()
600 const struct xfs_owner_info *oinfo, in xchk_btree() argument
606 .oinfo = oinfo, in xchk_btree()
Dbmap.c448 struct xfs_owner_info oinfo; in xchk_bmap_btree() local
465 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork); in xchk_bmap_btree()
466 error = xchk_btree(sc, cur, xchk_bmapbt_rec, &oinfo, info); in xchk_bmap_btree()
Dcommon.h128 const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks);
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdchar.c944 struct otp_info oinfo; in mtdchar_ioctl() local
948 if (copy_from_user(&oinfo, argp, sizeof(oinfo))) in mtdchar_ioctl()
950 ret = mtd_lock_user_prot_reg(mtd, oinfo.start, oinfo.length); in mtdchar_ioctl()
/kernel/linux/linux-5.10/drivers/regulator/
Dti-abb-regulator.c317 struct ti_abb_info *info, *oinfo; in ti_abb_set_voltage_sel() local
356 oinfo = &abb->info[abb->current_info_idx]; in ti_abb_set_voltage_sel()
357 if (!memcmp(info, oinfo, sizeof(*info))) { in ti_abb_set_voltage_sel()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_extfree_item.c361 const struct xfs_owner_info *oinfo, in xfs_trans_free_extent() argument
375 oinfo, XFS_AG_RESV_NONE, skip_discard); in xfs_trans_free_extent()

12