| /linux/fs/ocfs2/ |
| 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() 462 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() 561 ocfs2_unlock_global_qf(oinfo, 1); in ocfs2_recover_local_quota_file() 686 struct ocfs2_mem_dqinfo *oinfo; in ocfs2_local_read_info() local 695 oinfo = kmalloc_obj(struct ocfs2_mem_dqinfo, GFP_NOFS); in ocfs2_local_read_info() 696 if (!oinfo) { in ocfs2_local_read_info() [all …]
|
| H A D | dlmglue.c | 4171 struct ocfs2_mem_dqinfo *oinfo = ocfs2_lock_res_qinfo(lockres); in ocfs2_set_qinfo_lvb() local 4172 struct mem_dqinfo *info = sb_dqinfo(oinfo->dqi_gi.dqi_sb, in ocfs2_set_qinfo_lvb() 4173 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() 4180 lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); in ocfs2_set_qinfo_lvb() 4181 lvb->lvb_free_blk = cpu_to_be32(oinfo->dqi_gi.dqi_free_blk); in ocfs2_set_qinfo_lvb() 4182 lvb->lvb_free_entry = cpu_to_be32(oinfo->dqi_gi.dqi_free_entry); in ocfs2_set_qinfo_lvb() 4185 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_qinfo_unlock() argument 4187 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_unlock() 4188 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_unlock() [all …]
|
| H A D | quota.h | 110 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 D | super.c | 891 struct ocfs2_mem_dqinfo *oinfo; in ocfs2_susp_quotas() local 894 oinfo = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_susp_quotas() 895 cancel_delayed_work_sync(&oinfo->dqi_sync_work); in ocfs2_susp_quotas() 952 struct ocfs2_mem_dqinfo *oinfo; in ocfs2_disable_quotas() local 960 oinfo = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_disable_quotas() 961 cancel_delayed_work_sync(&oinfo->dqi_sync_work); in ocfs2_disable_quotas()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_rmap.h | 87 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() 96 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK) in xfs_owner_info_unpack() 98 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK) 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() [all …]
|
| H A D | xfs_alloc.h | 57 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 D | xfs_ag.c | 751 .oinfo = XFS_RMAP_OINFO_SKIP_UPDATE, in xfs_ag_shrink_space()
|
| H A D | xfs_ialloc.c | 716 args.oinfo = XFS_RMAP_OINFO_INODES; in xfs_ialloc_ag_alloc()
|
| /linux/fs/xfs/scrub/ |
| H A D | newbt.c | 98 const struct xfs_owner_info *oinfo, in xrep_newbt_init_ag() argument 104 xnr->oinfo = *oinfo; /* structure copy */ in xrep_newbt_init_ag() 118 const struct xfs_owner_info *oinfo) in xrep_newbt_init_inode() argument 126 xrep_newbt_init_ag(xnr, sc, oinfo, in xrep_newbt_init_inode() 144 struct xfs_owner_info oinfo; in xrep_newbt_init_metadir_inode() local 149 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, XFS_DATA_FORK); in xrep_newbt_init_metadir_inode() 163 xrep_newbt_init_ag(xnr, sc, &oinfo, in xrep_newbt_init_metadir_inode() 209 ASSERT(xnr->oinfo.oi_offset == 0); in xrep_newbt_add_blocks() 239 .oinfo = xnr->oinfo, in xrep_newbt_add_extent() 281 .oinfo = xnr->oinfo, in xrep_newbt_alloc_ag_blocks() [all …]
|
| H A D | reap.h | 13 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 D | newbt.h | 48 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 D | scrub.h | 314 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 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 | rmap_repair.c | 284 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() 1426 rr->new_btree.oinfo = XFS_RMAP_OINFO_AG; in xrep_rmap_build_new_tree() 1615 if (!xrep_rmapbt_want_live_update(&rr->iscan, &p->oinfo)) in xrep_rmapbt_live_update() 1625 p->blockcount, &p->oinfo, p->unwritten); in xrep_rmapbt_live_update()
|
| H A D | bmap_repair.c | 749 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 D | rmap.c | 588 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 D | rtrmap_repair.c | 451 const struct xfs_owner_info *oinfo) in xrep_rtrmap_stash_bitmap() argument 455 .owner = oinfo->oi_owner, in xrep_rtrmap_stash_bitmap() 849 if (!xrep_rtrmapbt_want_live_update(&rr->iscan, &p->oinfo)) in xrep_rtrmapbt_live_update() 859 p->blockcount, &p->oinfo, p->unwritten); in xrep_rtrmapbt_live_update()
|
| H A D | btree.c | 409 xchk_xref_is_only_owned_by(bs->sc, agbno, 1, bs->oinfo); in xchk_btree_check_block_owner() 686 const struct xfs_owner_info *oinfo, in xchk_btree() argument 716 bs->oinfo = oinfo; in xchk_btree()
|
| H A D | alloc_repair.c | 558 ra->new_bnobt.oinfo.oi_owner); in xrep_abt_dispose_one() 561 &ra->new_bnobt.oinfo, XFS_AG_RESV_IGNORE, true); in xrep_abt_dispose_one()
|
| H A D | cow_repair.c | 416 .oinfo = XFS_RMAP_OINFO_SKIP_UPDATE, in xrep_cow_alloc()
|
| H A D | trace.h | 2787 xfs_owner_info_unpack(&p->oinfo, &__entry->owner,
|
| /linux/drivers/mtd/ |
| H A D | mtdchar.c | 1144 struct otp_info oinfo; in mtdchar_ioctl() local 1148 if (copy_from_user(&oinfo, argp, sizeof(oinfo))) in mtdchar_ioctl() 1151 ret = mtd_lock_user_prot_reg(mtd, oinfo.start, oinfo.length); in mtdchar_ioctl() 1153 ret = mtd_erase_user_prot_reg(mtd, oinfo.start, oinfo.length); in mtdchar_ioctl()
|
| /linux/drivers/regulator/ |
| H A D | ti-abb-regulator.c | 308 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()
|
| /linux/sound/usb/caiaq/ |
| H A D | audio.c | 644 struct snd_usb_caiaq_cb_info *oinfo = out->context; in read_completed() local 645 clear_bit(oinfo->index, &cdev->outurb_active_mask); in read_completed()
|