Home
last modified time | relevance | path

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

12

/openbmc/linux/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.c697 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()
733 oinfo->dqi_libh = bh; in ocfs2_local_read_info()
774 if (oinfo) { in ocfs2_local_read_info()
782 kfree(oinfo); in ocfs2_local_read_info()
842 if (oinfo->dqi_rec) { in ocfs2_local_free_info()
853 oinfo->dqi_libh, in ocfs2_local_free_info()
862 kfree(oinfo); in ocfs2_local_free_info()
1059 oinfo->dqi_chunks++; in ocfs2_local_quota_add_chunk()
[all …]
H A 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);
H A Ddlmglue.c4176 oinfo->dqi_gi.dqi_type); in ocfs2_set_qinfo_lvb()
4182 lvb->lvb_syncms = cpu_to_be32(oinfo->dqi_syncms); in ocfs2_set_qinfo_lvb()
4190 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_unlock()
4201 oinfo->dqi_gi.dqi_type); in ocfs2_refresh_qinfo()
4202 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_refresh_qinfo()
4212 oinfo->dqi_syncms = be32_to_cpu(lvb->lvb_syncms); in ocfs2_refresh_qinfo()
4215 oinfo->dqi_gi.dqi_free_entry = in ocfs2_refresh_qinfo()
4219 oinfo->dqi_giblk, &bh); in ocfs2_refresh_qinfo()
4231 oinfo->dqi_gi.dqi_free_entry = in ocfs2_refresh_qinfo()
4267 status = ocfs2_refresh_qinfo(oinfo); in ocfs2_qinfo_lock()
[all …]
H A Ddlmglue.h178 int ocfs2_qinfo_lock(struct ocfs2_mem_dqinfo *oinfo, int ex);
179 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex);
H A Dsuper.c887 struct ocfs2_mem_dqinfo *oinfo; in ocfs2_susp_quotas() local
890 oinfo = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_susp_quotas()
891 cancel_delayed_work_sync(&oinfo->dqi_sync_work); in ocfs2_susp_quotas()
948 struct ocfs2_mem_dqinfo *oinfo; in ocfs2_disable_quotas() local
956 oinfo = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_disable_quotas()
957 cancel_delayed_work_sync(&oinfo->dqi_sync_work); in ocfs2_disable_quotas()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_rmap.h86 const struct xfs_owner_info *oinfo, in xfs_owner_info_unpack() argument
93 *owner = oinfo->oi_owner; in xfs_owner_info_unpack()
94 *offset = oinfo->oi_offset; in xfs_owner_info_unpack()
104 struct xfs_owner_info *oinfo, in xfs_owner_info_pack() argument
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->oi_flags |= XFS_OWNER_INFO_ATTR_FORK; in xfs_owner_info_pack()
115 oinfo->oi_flags |= XFS_OWNER_INFO_BMBT_BLOCK; in xfs_owner_info_pack()
120 const struct xfs_owner_info *oinfo);
[all …]
H A Dxfs_alloc.h56 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() argument
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() argument
267 return __xfs_free_extent_later(tp, bno, len, oinfo, type, false); in xfs_free_extent_later()
H A Dxfs_rmap.c610 unwritten, oinfo); in xfs_rmap_unmap()
783 unwritten, oinfo); in xfs_rmap_unmap()
878 unwritten, oinfo); in xfs_rmap_map()
1030 unwritten, oinfo); in xfs_rmap_map()
1108 unwritten, oinfo); in xfs_rmap_convert()
1556 unwritten, oinfo); in xfs_rmap_convert()
1597 unwritten, oinfo); in xfs_rmap_convert_shared()
1971 unwritten, oinfo); in xfs_rmap_convert_shared()
2340 oinfo.oi_flags = 0; in xfs_rmap_map_raw()
2350 &oinfo); in xfs_rmap_map_raw()
[all …]
H A Dxfs_alloc.c1899 const struct xfs_owner_info *oinfo, in xfs_free_ag_extent() argument
2372 struct xfs_owner_info *oinfo) in xfs_free_agfl_block() argument
2495 struct xfs_owner_info *oinfo) in xfs_defer_agfl_block() argument
2502 ASSERT(oinfo != NULL); in xfs_defer_agfl_block()
2511 xefi->xefi_owner = oinfo->oi_owner; in xfs_defer_agfl_block()
2530 const struct xfs_owner_info *oinfo, in __xfs_free_extent_later() argument
2564 if (oinfo) { in __xfs_free_extent_later()
2565 ASSERT(oinfo->oi_offset == 0); in __xfs_free_extent_later()
2571 xefi->xefi_owner = oinfo->oi_owner; in __xfs_free_extent_later()
2735 targs.oinfo = XFS_RMAP_OINFO_AG; in xfs_alloc_fix_freelist()
[all …]
H A Dxfs_bmap_btree.c210 xfs_rmap_ino_bmbt_owner(&args.oinfo, cur->bc_ino.ip->i_ino, in xfs_bmbt_alloc_block()
270 struct xfs_owner_info oinfo; in xfs_bmbt_free_block() local
273 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, cur->bc_ino.whichfork); in xfs_bmbt_free_block()
274 error = xfs_free_extent_later(cur->bc_tp, fsbno, 1, &oinfo, in xfs_bmbt_free_block()
H A Dxfs_refcount_btree.c71 args.oinfo = XFS_RMAP_OINFO_REFC; in xfs_refcountbt_alloc_block()
/openbmc/linux/fs/xfs/scrub/
H A Dreap.c87 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() argument
482 .oinfo = oinfo, in xrep_reap_agblocks()
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 Dbmap.c304 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()
H A Dreap.h10 const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type);
H A Dscrub.h180 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
182 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
H A Dcommon.c324 const struct xfs_owner_info *oinfo; member
339 oinfo_attr = sroi->oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK; in xchk_count_rmap_ownedby_irec()
341 if (rec->rm_owner != sroi->oinfo->oi_owner) in xchk_count_rmap_ownedby_irec()
358 const struct xfs_owner_info *oinfo, in xchk_count_rmap_ownedby_ag() argument
362 .oinfo = oinfo, in xchk_count_rmap_ownedby_ag()
H A Drmap.c579 const struct xfs_owner_info *oinfo) in xchk_xref_is_only_owned_by() argument
587 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res); in xchk_xref_is_only_owned_by()
604 const struct xfs_owner_info *oinfo) in xchk_xref_is_not_owned_by() argument
612 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res); in xchk_xref_is_not_owned_by()
H A Dbtree.c410 xchk_xref_is_only_owned_by(bs->sc, agbno, 1, bs->oinfo); in xchk_btree_check_block_owner()
694 const struct xfs_owner_info *oinfo, in xchk_btree() argument
724 bs->oinfo = oinfo; in xchk_btree()
H A Dcommon.h141 const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks);
/openbmc/linux/fs/xfs/
H A Dxfs_extfree_item.c378 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()
/openbmc/linux/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()
/openbmc/linux/drivers/regulator/
H A Dti-abb-regulator.c309 struct ti_abb_info *info, *oinfo; in ti_abb_set_voltage_sel() local
348 oinfo = &abb->info[abb->current_info_idx]; in ti_abb_set_voltage_sel()
349 if (!memcmp(info, oinfo, sizeof(*info))) { in ti_abb_set_voltage_sel()
/openbmc/linux/sound/usb/caiaq/
H A Daudio.c668 struct snd_usb_caiaq_cb_info *oinfo = out->context; in read_completed() local
669 clear_bit(oinfo->index, &cdev->outurb_active_mask); in read_completed()

12