/Linux-v6.6/fs/ocfs2/ |
D | quota_global.c | 117 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 …]
|
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() 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 …]
|
D | quota.h | 111 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);
|
D | dlmglue.c | 4175 struct ocfs2_mem_dqinfo *oinfo = ocfs2_lock_res_qinfo(lockres); in ocfs2_set_qinfo_lvb() local 4176 struct mem_dqinfo *info = sb_dqinfo(oinfo->dqi_gi.dqi_sb, in ocfs2_set_qinfo_lvb() 4177 oinfo->dqi_gi.dqi_type); in ocfs2_set_qinfo_lvb() 4183 lvb->lvb_syncms = cpu_to_be32(oinfo->dqi_syncms); in ocfs2_set_qinfo_lvb() 4184 lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); in ocfs2_set_qinfo_lvb() 4185 lvb->lvb_free_blk = cpu_to_be32(oinfo->dqi_gi.dqi_free_blk); in ocfs2_set_qinfo_lvb() 4186 lvb->lvb_free_entry = cpu_to_be32(oinfo->dqi_gi.dqi_free_entry); in ocfs2_set_qinfo_lvb() 4189 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_qinfo_unlock() argument 4191 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_unlock() 4192 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_unlock() [all …]
|
D | dlmglue.h | 178 int ocfs2_qinfo_lock(struct ocfs2_mem_dqinfo *oinfo, int ex); 179 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex);
|
D | super.c | 887 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()
|
/Linux-v6.6/fs/xfs/libxfs/ |
D | xfs_rmap.h | 86 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() 95 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK) in xfs_owner_info_unpack() 97 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK) 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() [all …]
|
D | xfs_alloc.h | 56 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()
|
D | xfs_rmap.c | 592 const struct xfs_owner_info *oinfo) in xfs_rmap_unmap() argument 604 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_unmap() 610 unwritten, oinfo); in xfs_rmap_unmap() 783 unwritten, oinfo); in xfs_rmap_unmap() 801 const struct xfs_owner_info *oinfo) in xfs_rmap_free() argument 812 error = xfs_rmap_unmap(cur, bno, len, false, oinfo); in xfs_rmap_free() 857 const struct xfs_owner_info *oinfo) in xfs_rmap_map() argument 871 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_map() 878 unwritten, oinfo); in xfs_rmap_map() 879 ASSERT(!xfs_rmap_should_skip_owner_update(oinfo)); in xfs_rmap_map() [all …]
|
D | xfs_alloc.c | 1899 const struct xfs_owner_info *oinfo, in xfs_free_ag_extent() argument 1920 if (!xfs_rmap_should_skip_owner_update(oinfo)) { in xfs_free_ag_extent() 1921 error = xfs_rmap_free(tp, agbp, pag, bno, len, oinfo); in xfs_free_ag_extent() 2351 struct xfs_owner_info *oinfo) in xfs_free_agfl_block() argument 2356 error = xfs_free_ag_extent(tp, agbp, agno, agbno, 1, oinfo, in xfs_free_agfl_block() 2474 struct xfs_owner_info *oinfo) in xfs_defer_agfl_block() argument 2481 ASSERT(oinfo != NULL); in xfs_defer_agfl_block() 2490 xefi->xefi_owner = oinfo->oi_owner; in xfs_defer_agfl_block() 2509 const struct xfs_owner_info *oinfo, in __xfs_free_extent_later() argument 2543 if (oinfo) { in __xfs_free_extent_later() [all …]
|
D | xfs_bmap_btree.c | 210 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()
|
D | xfs_refcount_btree.c | 71 args.oinfo = XFS_RMAP_OINFO_REFC; in xfs_refcountbt_alloc_block()
|
/Linux-v6.6/fs/xfs/scrub/ |
D | reap.c | 87 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()
|
D | btree.h | 44 const struct xfs_owner_info *oinfo; member 67 xchk_btree_rec_fn scrub_fn, const struct xfs_owner_info *oinfo,
|
D | bmap.c | 304 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()
|
D | scrub.h | 180 xfs_extlen_t len, const struct xfs_owner_info *oinfo); 182 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
|
D | reap.h | 10 const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type);
|
D | common.c | 324 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()
|
D | rmap.c | 579 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()
|
D | btree.c | 405 xchk_xref_is_only_owned_by(bs->sc, agbno, 1, bs->oinfo); in xchk_btree_check_block_owner() 689 const struct xfs_owner_info *oinfo, in xchk_btree() argument 719 bs->oinfo = oinfo; in xchk_btree()
|
D | common.h | 141 const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks);
|
/Linux-v6.6/fs/xfs/ |
D | xfs_extfree_item.c | 378 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()
|
/Linux-v6.6/drivers/mtd/ |
D | mtdchar.c | 1142 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-v6.6/drivers/regulator/ |
D | ti-abb-regulator.c | 309 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()
|
/Linux-v6.6/sound/usb/caiaq/ |
D | audio.c | 668 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()
|