/linux-6.1.9/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 | 4172 struct ocfs2_mem_dqinfo *oinfo = ocfs2_lock_res_qinfo(lockres); in ocfs2_set_qinfo_lvb() local 4173 struct mem_dqinfo *info = sb_dqinfo(oinfo->dqi_gi.dqi_sb, in ocfs2_set_qinfo_lvb() 4174 oinfo->dqi_gi.dqi_type); in ocfs2_set_qinfo_lvb() 4180 lvb->lvb_syncms = cpu_to_be32(oinfo->dqi_syncms); in ocfs2_set_qinfo_lvb() 4181 lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); in ocfs2_set_qinfo_lvb() 4182 lvb->lvb_free_blk = cpu_to_be32(oinfo->dqi_gi.dqi_free_blk); in ocfs2_set_qinfo_lvb() 4183 lvb->lvb_free_entry = cpu_to_be32(oinfo->dqi_gi.dqi_free_entry); in ocfs2_set_qinfo_lvb() 4186 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_qinfo_unlock() argument 4188 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_unlock() 4189 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 955 oinfo = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_disable_quotas() 956 cancel_delayed_work_sync(&oinfo->dqi_sync_work); in ocfs2_disable_quotas()
|
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_rmap.h | 85 const struct xfs_owner_info *oinfo, in xfs_owner_info_unpack() argument 92 *owner = oinfo->oi_owner; in xfs_owner_info_unpack() 93 *offset = oinfo->oi_offset; in xfs_owner_info_unpack() 94 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK) in xfs_owner_info_unpack() 96 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK) in xfs_owner_info_unpack() 103 struct xfs_owner_info *oinfo, in xfs_owner_info_pack() argument 108 oinfo->oi_owner = owner; in xfs_owner_info_pack() 109 oinfo->oi_offset = XFS_RMAP_OFF(offset); in xfs_owner_info_pack() 110 oinfo->oi_flags = 0; in xfs_owner_info_pack() 112 oinfo->oi_flags |= XFS_OWNER_INFO_ATTR_FORK; in xfs_owner_info_pack() [all …]
|
D | xfs_alloc.h | 76 struct xfs_owner_info oinfo; /* owner of blocks being allocated */ member 135 const struct xfs_owner_info *oinfo, /* extent owner */ 144 const struct xfs_owner_info *oinfo, in xfs_free_extent() argument 147 return __xfs_free_extent(tp, bno, len, oinfo, type, false); in xfs_free_extent() 215 xfs_filblks_t len, const struct xfs_owner_info *oinfo, 239 const struct xfs_owner_info *oinfo) in xfs_free_extent_later() argument 241 __xfs_free_extent_later(tp, bno, len, oinfo, false); in xfs_free_extent_later()
|
D | xfs_rmap.c | 543 const struct xfs_owner_info *oinfo) in xfs_rmap_unmap() argument 555 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_unmap() 561 unwritten, oinfo); in xfs_rmap_unmap() 734 unwritten, oinfo); in xfs_rmap_unmap() 752 const struct xfs_owner_info *oinfo) in xfs_rmap_free() argument 763 error = xfs_rmap_unmap(cur, bno, len, false, oinfo); in xfs_rmap_free() 808 const struct xfs_owner_info *oinfo) in xfs_rmap_map() argument 822 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); in xfs_rmap_map() 829 unwritten, oinfo); in xfs_rmap_map() 830 ASSERT(!xfs_rmap_should_skip_owner_update(oinfo)); in xfs_rmap_map() [all …]
|
D | xfs_alloc.c | 1183 if (!xfs_rmap_should_skip_owner_update(&args->oinfo)) { in xfs_alloc_ag_vextent() 1185 args->agbno, args->len, &args->oinfo); in xfs_alloc_ag_vextent() 1897 const struct xfs_owner_info *oinfo, in xfs_free_ag_extent() argument 1918 if (!xfs_rmap_should_skip_owner_update(oinfo)) { in xfs_free_ag_extent() 1919 error = xfs_rmap_free(tp, agbp, pag, bno, len, oinfo); in xfs_free_ag_extent() 2349 struct xfs_owner_info *oinfo) in xfs_free_agfl_block() argument 2354 error = xfs_free_ag_extent(tp, agbp, agno, agbno, 1, oinfo, in xfs_free_agfl_block() 2472 struct xfs_owner_info *oinfo) in xfs_defer_agfl_block() argument 2478 ASSERT(oinfo != NULL); in xfs_defer_agfl_block() 2484 new->xefi_owner = oinfo->oi_owner; in xfs_defer_agfl_block() [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() 288 struct xfs_owner_info oinfo; in xfs_bmbt_free_block() local 290 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, cur->bc_ino.whichfork); in xfs_bmbt_free_block() 291 xfs_free_extent_later(cur->bc_tp, fsbno, 1, &oinfo); in xfs_bmbt_free_block()
|
D | xfs_refcount_btree.c | 73 args.oinfo = XFS_RMAP_OINFO_REFC; in xfs_refcountbt_alloc_block()
|
/linux-6.1.9/fs/xfs/scrub/ |
D | rmap.c | 178 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()
|
D | btree.h | 37 const struct xfs_owner_info *oinfo; member 59 xchk_btree_rec_fn scrub_fn, const struct xfs_owner_info *oinfo,
|
D | repair.c | 289 const struct xfs_owner_info *oinfo, in xrep_alloc_ag_block() argument 317 args.oinfo = *oinfo; in xrep_alloc_ag_block() 534 const struct xfs_owner_info *oinfo, in xrep_reap_block() argument 561 error = xfs_rmap_has_other_keys(cur, agbno, 1, oinfo, &has_other_rmap); in xrep_reap_block() 581 1, oinfo); in xrep_reap_block() 585 error = xfs_free_extent(sc->tp, fsbno, 1, oinfo, resv); in xrep_reap_block() 606 const struct xfs_owner_info *oinfo, in xrep_reap_extents() argument 623 error = xrep_reap_block(sc, fsbno, oinfo, type); in xrep_reap_extents()
|
D | repair.h | 27 const struct xfs_owner_info *oinfo, xfs_fsblock_t *fsbno, 38 const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type);
|
D | common.c | 322 const struct xfs_owner_info *oinfo; member 337 oinfo_attr = sroi->oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK; in xchk_count_rmap_ownedby_irec() 339 if (rec->rm_owner != sroi->oinfo->oi_owner) in xchk_count_rmap_ownedby_irec() 356 const struct xfs_owner_info *oinfo, in xchk_count_rmap_ownedby_ag() argument 360 .oinfo = oinfo, in xchk_count_rmap_ownedby_ag()
|
D | scrub.h | 148 xfs_extlen_t len, const struct xfs_owner_info *oinfo); 150 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
|
D | btree.c | 392 xchk_xref_is_owned_by(bs->sc, agbno, 1, bs->oinfo); in xchk_btree_check_block_owner() 627 const struct xfs_owner_info *oinfo, in xchk_btree() argument 657 bs->oinfo = oinfo; in xchk_btree()
|
D | bmap.c | 428 struct xfs_owner_info oinfo; in xchk_bmap_btree() local 444 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork); in xchk_bmap_btree() 445 error = xchk_btree(sc, cur, xchk_bmapbt_rec, &oinfo, info); in xchk_bmap_btree()
|
D | common.h | 132 const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks);
|
/linux-6.1.9/fs/xfs/ |
D | xfs_extfree_item.c | 350 const struct xfs_owner_info *oinfo, in xfs_trans_free_extent() argument 364 oinfo, XFS_AG_RESV_NONE, skip_discard); in xfs_trans_free_extent() 466 struct xfs_owner_info oinfo = { }; in xfs_extent_free_finish_item() local 471 oinfo.oi_owner = free->xefi_owner; in xfs_extent_free_finish_item() 473 oinfo.oi_flags |= XFS_OWNER_INFO_ATTR_FORK; in xfs_extent_free_finish_item() 475 oinfo.oi_flags |= XFS_OWNER_INFO_BMBT_BLOCK; in xfs_extent_free_finish_item() 479 &oinfo, free->xefi_flags & XFS_EFI_SKIP_DISCARD); in xfs_extent_free_finish_item() 523 struct xfs_owner_info oinfo = { }; in xfs_agfl_free_finish_item() local 539 oinfo.oi_owner = free->xefi_owner; in xfs_agfl_free_finish_item() 546 error = xfs_free_agfl_block(tp, agno, agbno, agbp, &oinfo); in xfs_agfl_free_finish_item()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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()
|