/linux-master/fs/xfs/scrub/ |
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);
|
H A D | btree.h | 44 const struct xfs_owner_info *oinfo; member in struct:xchk_btree 67 xchk_btree_rec_fn scrub_fn, const struct xfs_owner_info *oinfo,
|
H A D | newbt.h | 48 struct xfs_owner_info oinfo; member in struct:xrep_newbt 62 const struct xfs_owner_info *oinfo, xfs_fsblock_t alloc_hint, 65 int whichfork, const struct xfs_owner_info *oinfo);
|
H A D | newbt.c | 87 const struct xfs_owner_info *oinfo, 93 xnr->oinfo = *oinfo; /* structure copy */ 107 const struct xfs_owner_info *oinfo) 115 xrep_newbt_init_ag(xnr, sc, oinfo, 161 ASSERT(xnr->oinfo.oi_offset == 0); 191 .oinfo = xnr->oinfo, 232 .oinfo = xnr->oinfo, 84 xrep_newbt_init_ag( struct xrep_newbt *xnr, struct xfs_scrub *sc, const struct xfs_owner_info *oinfo, xfs_fsblock_t alloc_hint, enum xfs_ag_resv_type resv) argument 103 xrep_newbt_init_inode( struct xrep_newbt *xnr, struct xfs_scrub *sc, int whichfork, const struct xfs_owner_info *oinfo) argument [all...] |
H A D | reap.c | 58 * if the rmapbt says there is an owner of this block other than @oinfo, then 91 const struct xfs_owner_info *oinfo; member in struct:xreap_state 314 error = xfs_rmap_has_other_keys(cur, agbno, 1, rs->oinfo, 330 error = xfs_rmap_has_other_keys(cur, bno, 1, rs->oinfo, 385 if (rs->oinfo == &XFS_RMAP_OINFO_COW) { 396 *aglenp, rs->oinfo); 420 if (rs->oinfo == &XFS_RMAP_OINFO_COW) { 450 error = xfs_free_extent_later(sc->tp, fsbno, *aglenp, rs->oinfo, 515 const struct xfs_owner_info *oinfo, 520 .oinfo 512 xrep_reap_agblocks( struct xfs_scrub *sc, struct xagb_bitmap *bitmap, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) argument 625 xrep_reap_fsblocks( struct xfs_scrub *sc, struct xfsb_bitmap *bitmap, const struct xfs_owner_info *oinfo) argument [all...] |
H A D | scrub.h | 203 xfs_extlen_t len, const struct xfs_owner_info *oinfo); 205 xfs_extlen_t len, const struct xfs_owner_info *oinfo);
|
H A D | bmap_repair.c | 619 struct xfs_owner_info oinfo; local 633 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, rb->whichfork); 635 &oinfo); 703 struct xfs_owner_info oinfo; local 706 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, rb->whichfork); 707 return xrep_reap_fsblocks(sc, &rb->old_bmbt_blocks, &oinfo);
|
H A D | bmap.c | 328 struct xfs_owner_info oinfo; local 350 xfs_rmap_ino_owner(&oinfo, info->sc->ip->i_ino, 353 irec->br_blockcount, &oinfo); 362 xfs_rmap_ino_owner(&oinfo, info->sc->ip->i_ino, 365 &oinfo); 527 struct xfs_owner_info oinfo; local 543 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork); 544 error = xchk_btree(sc, cur, xchk_bmapbt_rec, &oinfo, info);
|
H A D | rmap_repair.c | 284 const struct xfs_owner_info *oinfo) 288 .owner = oinfo->oi_owner, 292 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK) 294 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK) 410 struct xfs_owner_info oinfo; local 423 xfs_rmap_ino_bmbt_owner(&oinfo, rf->accum.rm_owner, rf->whichfork); 424 error = xrep_rmap_stash_bitmap(rr, &rf->bmbt_blocks, &oinfo); 1385 rr->new_btree.oinfo = XFS_RMAP_OINFO_AG; 1575 if (!xrep_rmapbt_want_live_update(&rr->iscan, &p->oinfo)) 1587 p->blockcount, &p->oinfo, 281 xrep_rmap_stash_bitmap( struct xrep_rmap *rr, struct xagb_bitmap *bitmap, const struct xfs_owner_info *oinfo) argument [all...] |
H A D | rmap.c | 588 const struct xfs_owner_info *oinfo) 596 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res); 613 const struct xfs_owner_info *oinfo) 621 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res); 584 xchk_xref_is_only_owned_by( struct xfs_scrub *sc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) argument 609 xchk_xref_is_not_owned_by( struct xfs_scrub *sc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) argument
|
H A D | btree.c | 404 xchk_xref_is_only_owned_by(bs->sc, agbno, 1, bs->oinfo); 681 const struct xfs_owner_info *oinfo, 711 bs->oinfo = oinfo; 677 xchk_btree( struct xfs_scrub *sc, struct xfs_btree_cur *cur, xchk_btree_rec_fn scrub_fn, const struct xfs_owner_info *oinfo, void *private) argument
|
H A D | common.c | 358 const struct xfs_owner_info *oinfo; member in struct:xchk_rmap_ownedby_info 373 oinfo_attr = sroi->oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK; 375 if (rec->rm_owner != sroi->oinfo->oi_owner) 392 const struct xfs_owner_info *oinfo, 396 .oinfo = oinfo, 389 xchk_count_rmap_ownedby_ag( struct xfs_scrub *sc, struct xfs_btree_cur *cur, const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks) argument
|
/linux-master/fs/ocfs2/ |
H A D | quota_global.c | 117 struct ocfs2_mem_dqinfo *oinfo = local 120 if (qtree_entry_unused(&oinfo->dqi_gi, dp)) 170 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; local 171 struct inode *gqinode = oinfo->dqi_gqinode; 220 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; local 221 struct inode *gqinode = oinfo->dqi_gqinode; 246 oinfo->dqi_gqi_bh, 294 ocfs2_mark_inode_dirty(handle, gqinode, oinfo->dqi_gqi_bh); 298 int ocfs2_lock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex) argument 303 status = ocfs2_inode_lock(oinfo 321 ocfs2_unlock_global_qf(struct ocfs2_mem_dqinfo *oinfo, int ex) argument 344 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; local 420 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; local 467 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; local 604 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; local 644 struct ocfs2_mem_dqinfo *oinfo = container_of(work, local 694 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; local 730 struct ocfs2_mem_dqinfo *oinfo = local 929 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; local 984 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; local [all...] |
H A D | quota_local.c | 282 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; local 288 ldinfo->dqi_flags = cpu_to_le32(oinfo->dqi_flags); 289 ldinfo->dqi_chunks = cpu_to_le32(oinfo->dqi_chunks); 290 ldinfo->dqi_blocks = cpu_to_le32(oinfo->dqi_blocks); 463 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; local 511 status = ocfs2_lock_global_qf(oinfo, 1); 562 ocfs2_unlock_global_qf(oinfo, 1); 690 struct ocfs2_mem_dqinfo *oinfo; local 699 oinfo = kmalloc(sizeof(struct ocfs2_mem_dqinfo), GFP_NOFS); 700 if (!oinfo) { 813 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; local 923 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; local 966 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; local 1097 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; local [all...] |
H A 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);
|
H A 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);
|
H A D | dlmglue.c | 4174 struct ocfs2_mem_dqinfo *oinfo = ocfs2_lock_res_qinfo(lockres); local 4175 struct mem_dqinfo *info = sb_dqinfo(oinfo->dqi_gi.dqi_sb, 4176 oinfo->dqi_gi.dqi_type); 4182 lvb->lvb_syncms = cpu_to_be32(oinfo->dqi_syncms); 4183 lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); 4184 lvb->lvb_free_blk = cpu_to_be32(oinfo->dqi_gi.dqi_free_blk); 4185 lvb->lvb_free_entry = cpu_to_be32(oinfo->dqi_gi.dqi_free_entry); 4188 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex) argument 4190 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; 4191 struct ocfs2_super *osb = OCFS2_SB(oinfo 4198 ocfs2_refresh_qinfo(struct ocfs2_mem_dqinfo *oinfo) argument 4243 ocfs2_qinfo_lock(struct ocfs2_mem_dqinfo *oinfo, int ex) argument [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_rmap.h | 86 const struct xfs_owner_info *oinfo, 93 *owner = oinfo->oi_owner; 94 *offset = oinfo->oi_offset; 95 if (oinfo->oi_flags & XFS_OWNER_INFO_ATTR_FORK) 97 if (oinfo->oi_flags & XFS_OWNER_INFO_BMBT_BLOCK) 104 struct xfs_owner_info *oinfo, 109 oinfo->oi_owner = owner; 110 oinfo->oi_offset = XFS_RMAP_OFF(offset); 111 oinfo->oi_flags = 0; 113 oinfo 85 xfs_owner_info_unpack( const struct xfs_owner_info *oinfo, uint64_t *owner, uint64_t *offset, unsigned int *flags) argument 103 xfs_owner_info_pack( struct xfs_owner_info *oinfo, uint64_t owner, uint64_t offset, unsigned int flags) argument 249 struct xfs_owner_info oinfo; member in struct:xfs_rmap_update_params [all...] |
H A D | xfs_rmap.c | 620 const struct xfs_owner_info *oinfo) 632 xfs_owner_info_unpack(oinfo, &owner, &offset, &flags); 638 unwritten, oinfo); 816 unwritten, oinfo); 859 const struct xfs_owner_info *oinfo) 866 .oinfo = *oinfo, /* struct copy */ 914 const struct xfs_owner_info *oinfo) 924 xfs_rmap_update_hook(tp, pag, XFS_RMAP_UNMAP, bno, len, false, oinfo); 925 error = xfs_rmap_unmap(cur, bno, len, false, oinfo); 615 xfs_rmap_unmap( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument 852 xfs_rmap_update_hook( struct xfs_trans *tp, struct xfs_perag *pag, enum xfs_rmap_intent_type op, xfs_agblock_t startblock, xfs_extlen_t blockcount, bool unwritten, const struct xfs_owner_info *oinfo) argument 908 xfs_rmap_free( struct xfs_trans *tp, struct xfs_buf *agbp, struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) argument 965 xfs_rmap_map( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument 1160 xfs_rmap_alloc( struct xfs_trans *tp, struct xfs_buf *agbp, struct xfs_perag *pag, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo) argument 1200 xfs_rmap_convert( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument 1712 xfs_rmap_convert_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument 2148 xfs_rmap_unmap_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument 2343 xfs_rmap_map_shared( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, bool unwritten, const struct xfs_owner_info *oinfo) argument 2500 struct xfs_owner_info oinfo; local 2594 __xfs_rmap_finish_intent( struct xfs_btree_cur *rcur, enum xfs_rmap_intent_type op, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, bool unwritten) argument 2641 struct xfs_owner_info oinfo; local 2937 xfs_rmap_ownercount_init( struct xfs_rmap_ownercount *roc, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, struct xfs_rmap_matches *results) argument 3017 xfs_rmap_count_owners( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, struct xfs_rmap_matches *results) argument 3048 xfs_rmap_has_other_keys( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, bool *has_other) argument [all...] |
H A D | xfs_alloc.h | 56 struct xfs_owner_info oinfo; /* owner of blocks being allocated */ member in struct:xfs_alloc_arg 148 const struct xfs_owner_info *oinfo, /* extent owner */ 158 const struct xfs_owner_info *oinfo, 161 return __xfs_free_extent(tp, pag, agbno, len, oinfo, type, false); 235 xfs_filblks_t len, const struct xfs_owner_info *oinfo, 153 xfs_free_extent( struct xfs_trans *tp, struct xfs_perag *pag, xfs_agblock_t agbno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) argument
|
H A D | xfs_alloc.c | 1944 const struct xfs_owner_info *oinfo, 1965 if (!xfs_rmap_should_skip_owner_update(oinfo)) { 1966 error = xfs_rmap_free(tp, agbp, pag, bno, len, oinfo); 2433 struct xfs_owner_info *oinfo) 2438 error = xfs_free_ag_extent(tp, agbp, agno, agbno, 1, oinfo, 2556 struct xfs_owner_info *oinfo) 2563 ASSERT(oinfo != NULL); 2572 xefi->xefi_owner = oinfo->oi_owner; 2591 const struct xfs_owner_info *oinfo, 2626 if (oinfo) { 1938 xfs_free_ag_extent( struct xfs_trans *tp, struct xfs_buf *agbp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type) argument 2428 xfs_free_agfl_block( struct xfs_trans *tp, xfs_agnumber_t agno, xfs_agblock_t agbno, struct xfs_buf *agbp, struct xfs_owner_info *oinfo) argument 2552 xfs_defer_agfl_block( struct xfs_trans *tp, xfs_agnumber_t agno, xfs_agblock_t agbno, struct xfs_owner_info *oinfo) argument 2587 xfs_defer_extent_free( struct xfs_trans *tp, xfs_fsblock_t bno, xfs_filblks_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type, bool skip_discard, struct xfs_defer_pending **dfpp) argument 2647 xfs_free_extent_later( struct xfs_trans *tp, xfs_fsblock_t bno, xfs_filblks_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type, bool skip_discard) argument 3933 __xfs_free_extent( struct xfs_trans *tp, struct xfs_perag *pag, xfs_agblock_t agbno, xfs_extlen_t len, const struct xfs_owner_info *oinfo, enum xfs_ag_resv_type type, bool skip_discard) argument [all...] |
H A D | xfs_bmap_btree.c | 220 xfs_rmap_ino_bmbt_owner(&args.oinfo, cur->bc_ino.ip->i_ino, 280 struct xfs_owner_info oinfo; local 283 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, cur->bc_ino.whichfork); 284 error = xfs_free_extent_later(cur->bc_tp, fsbno, 1, &oinfo,
|
/linux-master/fs/xfs/ |
H A D | xfs_extfree_item.c | 449 struct xfs_owner_info oinfo = { }; local 461 oinfo.oi_owner = xefi->xefi_owner; 463 oinfo.oi_flags |= XFS_OWNER_INFO_ATTR_FORK; 465 oinfo.oi_flags |= XFS_OWNER_INFO_BMBT_BLOCK; 478 xefi->xefi_blockcount, &oinfo, xefi->xefi_agresv, 530 struct xfs_owner_info oinfo = { }; local 543 oinfo.oi_owner = xefi->xefi_owner; 551 agbno, agbp, &oinfo);
|
/linux-master/drivers/mtd/ |
H A D | mtdchar.c | 1142 struct otp_info oinfo; local 1146 if (copy_from_user(&oinfo, argp, sizeof(oinfo))) 1149 ret = mtd_lock_user_prot_reg(mtd, oinfo.start, oinfo.length); 1151 ret = mtd_erase_user_prot_reg(mtd, oinfo.start, oinfo.length);
|
/linux-master/drivers/regulator/ |
H A D | ti-abb-regulator.c | 308 struct ti_abb_info *info, *oinfo; local 347 oinfo = &abb->info[abb->current_info_idx]; 348 if (!memcmp(info, oinfo, sizeof(*info))) {
|