Searched refs:oinfo (Results 1 - 25 of 37) sorted by path

12

/linux-master/fs/ocfs2/
H 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);
H A Ddlmglue.c4174 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...]
H 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);
H A Dquota_global.c117 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 Dquota_local.c282 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 Dsuper.c887 struct ocfs2_mem_dqinfo *oinfo; local
890 oinfo = sb_dqinfo(sb, type)->dqi_priv;
891 cancel_delayed_work_sync(&oinfo->dqi_sync_work);
948 struct ocfs2_mem_dqinfo *oinfo; local
956 oinfo = sb_dqinfo(sb, type)->dqi_priv;
957 cancel_delayed_work_sync(&oinfo->dqi_sync_work);
/linux-master/drivers/mtd/
H A Dmtdchar.c1142 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 Dti-abb-regulator.c308 struct ti_abb_info *info, *oinfo; local
347 oinfo = &abb->info[abb->current_info_idx];
348 if (!memcmp(info, oinfo, sizeof(*info))) {
/linux-master/fs/xfs/libxfs/
H A Dxfs_ag.c923 .oinfo = XFS_RMAP_OINFO_SKIP_UPDATE,
H A Dxfs_alloc.c1944 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 Dxfs_alloc.h56 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 Dxfs_bmap.c575 struct xfs_owner_info oinfo; local
605 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork);
606 error = xfs_free_extent_later(cur->bc_tp, cbno, 1, &oinfo,
680 xfs_rmap_ino_bmbt_owner(&args.oinfo, ip->i_ino, whichfork);
823 xfs_rmap_ino_owner(&args.oinfo, ip->i_ino, whichfork, 0);
3516 args.oinfo = XFS_RMAP_OINFO_SKIP_UPDATE;
3782 .oinfo = XFS_RMAP_OINFO_SKIP_UPDATE,
H A Dxfs_bmap_btree.c220 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,
H A Dxfs_ialloc.c717 args.oinfo = XFS_RMAP_OINFO_INODES;
H A Dxfs_ialloc_btree.c116 args.oinfo = XFS_RMAP_OINFO_INOBT;
H A Dxfs_refcount_btree.c72 args.oinfo = XFS_RMAP_OINFO_REFC;
H A Dxfs_rmap.c620 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 Dxfs_rmap.h86 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...]
/linux-master/fs/xfs/scrub/
H A Dalloc_repair.c558 free_aglen, ra->new_bnobt.oinfo.oi_owner);
561 &ra->new_bnobt.oinfo, XFS_AG_RESV_IGNORE, true);
H A Dbmap.c328 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 Dbmap_repair.c619 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 Dbtree.c404 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 Dbtree.h44 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 Dcommon.c358 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
H A Dcommon.h160 const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks);

Completed in 368 milliseconds

12