Home
last modified time | relevance | path

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

12

/linux/fs/ocfs2/
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 …]
A Dquota_local.c700 if (!oinfo) { in ocfs2_local_read_info()
706 info->dqi_priv = oinfo; in ocfs2_local_read_info()
709 oinfo->dqi_rec = NULL; in ocfs2_local_read_info()
738 oinfo->dqi_libh = bh; in ocfs2_local_read_info()
779 if (oinfo) { in ocfs2_local_read_info()
789 kfree(oinfo); in ocfs2_local_read_info()
849 if (oinfo->dqi_rec) { in ocfs2_local_free_info()
860 oinfo->dqi_libh, in ocfs2_local_free_info()
869 kfree(oinfo); in ocfs2_local_free_info()
1066 oinfo->dqi_chunks++; in ocfs2_local_quota_add_chunk()
[all …]
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);
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 …]
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);
/linux/fs/xfs/libxfs/
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()
120 const struct xfs_owner_info *oinfo);
123 const struct xfs_owner_info *oinfo);
[all …]
A Dxfs_rmap.c610 const struct xfs_owner_info *oinfo) in xfs_rmap_unmap() argument
843 const struct xfs_owner_info *oinfo) in xfs_rmap_update_hook() argument
850 .oinfo = *oinfo, /* struct copy */ in xfs_rmap_update_hook()
898 const struct xfs_owner_info *oinfo) in xfs_rmap_free() argument
954 const struct xfs_owner_info *oinfo) in xfs_rmap_map() argument
1142 const struct xfs_owner_info *oinfo) in xfs_rmap_alloc() argument
2452 struct xfs_owner_info oinfo; in xfs_rmap_map_raw() local
2463 &oinfo); in xfs_rmap_map_raw()
2468 &oinfo); in xfs_rmap_map_raw()
2552 oinfo); in __xfs_rmap_finish_intent()
[all …]
A Dxfs_alloc.h57 struct xfs_owner_info oinfo; /* owner of blocks being allocated */ member
83 xfs_extlen_t len, const struct xfs_owner_info *oinfo,
150 const struct xfs_owner_info *oinfo, /* extent owner */
160 const struct xfs_owner_info *oinfo, in xfs_free_extent() argument
163 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,
A Dxfs_alloc.c2043 const struct xfs_owner_info *oinfo, in xfs_free_ag_extent() argument
2065 if (!xfs_rmap_should_skip_owner_update(oinfo)) { in xfs_free_ag_extent()
2636 const struct xfs_owner_info *oinfo, in xfs_defer_extent_free() argument
2658 if (oinfo) { in xfs_defer_extent_free()
2659 ASSERT(oinfo->oi_offset == 0); in xfs_defer_extent_free()
2665 xefi->xefi_owner = oinfo->oi_owner; in xfs_defer_extent_free()
2679 const struct xfs_owner_info *oinfo, in xfs_free_extent_later() argument
2916 targs.oinfo = XFS_RMAP_OINFO_SKIP_UPDATE; in xfs_alloc_fix_freelist()
2918 targs.oinfo = XFS_RMAP_OINFO_AG; in xfs_alloc_fix_freelist()
2939 &targs.oinfo, XFS_AG_RESV_AGFL, 0); in xfs_alloc_fix_freelist()
[all …]
A Dxfs_bmap_btree.c220 xfs_rmap_ino_bmbt_owner(&args.oinfo, cur->bc_ino.ip->i_ino, in xfs_bmbt_alloc_block()
280 struct xfs_owner_info oinfo; in xfs_bmbt_free_block() local
283 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, cur->bc_ino.whichfork); in xfs_bmbt_free_block()
284 error = xfs_free_extent_later(cur->bc_tp, fsbno, 1, &oinfo, in xfs_bmbt_free_block()
/linux/fs/xfs/scrub/
A Dnewbt.c87 const struct xfs_owner_info *oinfo, in xrep_newbt_init_ag() argument
93 xnr->oinfo = *oinfo; /* structure copy */ in xrep_newbt_init_ag()
107 const struct xfs_owner_info *oinfo) in xrep_newbt_init_inode() argument
115 xrep_newbt_init_ag(xnr, sc, oinfo, in xrep_newbt_init_inode()
161 ASSERT(xnr->oinfo.oi_offset == 0); in xrep_newbt_add_blocks()
192 .oinfo = xnr->oinfo, in xrep_newbt_add_extent()
233 .oinfo = xnr->oinfo, in xrep_newbt_alloc_ag_blocks()
257 xnr->oinfo.oi_owner); in xrep_newbt_alloc_ag_blocks()
306 .oinfo = xnr->oinfo, in xrep_newbt_alloc_file_blocks()
331 xnr->oinfo.oi_owner); in xrep_newbt_alloc_file_blocks()
[all …]
A Dreap.c91 const struct xfs_owner_info *oinfo; member
414 if (rs->oinfo == &XFS_RMAP_OINFO_COW) { in xreap_agextent_iter()
425 *aglenp, rs->oinfo); in xreap_agextent_iter()
449 if (rs->oinfo == &XFS_RMAP_OINFO_COW) { in xreap_agextent_iter()
544 const struct xfs_owner_info *oinfo, in xrep_reap_agblocks() argument
549 .oinfo = oinfo, in xrep_reap_agblocks()
657 const struct xfs_owner_info *oinfo) in xrep_reap_fsblocks() argument
661 .oinfo = oinfo, in xrep_reap_fsblocks()
696 struct xfs_owner_info oinfo; in xreap_bmapi_select() local
719 oinfo.oi_offset++; in xreap_bmapi_select()
[all …]
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);
A Dreap.h13 const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type);
15 const struct xfs_owner_info *oinfo);
A Dbtree.h44 const struct xfs_owner_info *oinfo; member
67 xchk_btree_rec_fn scrub_fn, const struct xfs_owner_info *oinfo,
A Dbmap_repair.c619 struct xfs_owner_info oinfo; in xrep_bmap_build_new_fork() local
633 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, rb->whichfork); in xrep_bmap_build_new_fork()
635 &oinfo); in xrep_bmap_build_new_fork()
703 struct xfs_owner_info oinfo; in xrep_bmap_remove_old_tree() local
706 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, rb->whichfork); in xrep_bmap_remove_old_tree()
707 return xrep_reap_fsblocks(sc, &rb->old_bmbt_blocks, &oinfo); in xrep_bmap_remove_old_tree()
A Dbmap.c328 struct xfs_owner_info oinfo; in xchk_bmap_iextent_xref() local
350 xfs_rmap_ino_owner(&oinfo, info->sc->ip->i_ino, in xchk_bmap_iextent_xref()
353 irec->br_blockcount, &oinfo); in xchk_bmap_iextent_xref()
362 xfs_rmap_ino_owner(&oinfo, info->sc->ip->i_ino, in xchk_bmap_iextent_xref()
365 &oinfo); in xchk_bmap_iextent_xref()
527 struct xfs_owner_info oinfo; in xchk_bmap_btree() local
543 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork); in xchk_bmap_btree()
544 error = xchk_btree(sc, cur, xchk_bmapbt_rec, &oinfo, info); in xchk_bmap_btree()
A Drmap_repair.c284 const struct xfs_owner_info *oinfo) in xrep_rmap_stash_bitmap() argument
288 .owner = oinfo->oi_owner, in xrep_rmap_stash_bitmap()
292 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK) in xrep_rmap_stash_bitmap()
294 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK) in xrep_rmap_stash_bitmap()
410 struct xfs_owner_info oinfo; in xrep_rmap_scan_iroot_btree() local
423 xfs_rmap_ino_bmbt_owner(&oinfo, rf->accum.rm_owner, rf->whichfork); in xrep_rmap_scan_iroot_btree()
424 error = xrep_rmap_stash_bitmap(rr, &rf->bmbt_blocks, &oinfo); in xrep_rmap_scan_iroot_btree()
1363 rr->new_btree.oinfo = XFS_RMAP_OINFO_AG; in xrep_rmap_build_new_tree()
1553 if (!xrep_rmapbt_want_live_update(&rr->iscan, &p->oinfo)) in xrep_rmapbt_live_update()
1565 p->blockcount, &p->oinfo, p->unwritten); in xrep_rmapbt_live_update()
A Dscrub.h283 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
285 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
A Dcommon.c361 const struct xfs_owner_info *oinfo; member
376 oinfo_attr = sroi->oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK; in xchk_count_rmap_ownedby_irec()
378 if (rec->rm_owner != sroi->oinfo->oi_owner) in xchk_count_rmap_ownedby_irec()
395 const struct xfs_owner_info *oinfo, in xchk_count_rmap_ownedby_ag() argument
399 .oinfo = oinfo, in xchk_count_rmap_ownedby_ag()
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()
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/fs/xfs/
A Dxfs_extfree_item.c478 struct xfs_owner_info oinfo = { }; in xfs_extent_free_finish_item() local
487 oinfo.oi_owner = xefi->xefi_owner; in xfs_extent_free_finish_item()
489 oinfo.oi_flags |= XFS_OWNER_INFO_ATTR_FORK; in xfs_extent_free_finish_item()
491 oinfo.oi_flags |= XFS_OWNER_INFO_BMBT_BLOCK; in xfs_extent_free_finish_item()
503 xefi->xefi_blockcount, &oinfo, xefi->xefi_agresv, in xfs_extent_free_finish_item()
534 struct xfs_owner_info oinfo = { }; in xfs_agfl_free_finish_item() local
544 oinfo.oi_owner = xefi->xefi_owner; in xfs_agfl_free_finish_item()
551 agbno, 1, &oinfo, XFS_AG_RESV_AGFL); in xfs_agfl_free_finish_item()
/linux/drivers/mtd/
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()
/linux/drivers/regulator/
A Dti-abb-regulator.c308 struct ti_abb_info *info, *oinfo; in ti_abb_set_voltage_sel() local
347 oinfo = &abb->info[abb->current_info_idx]; in ti_abb_set_voltage_sel()
348 if (!memcmp(info, oinfo, sizeof(*info))) { in ti_abb_set_voltage_sel()

Completed in 81 milliseconds

12