Home
last modified time | relevance | path

Searched refs:startblock (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/drivers/mtd/nand/raw/
Dnand_bbt.c495 int i, numblocks, startblock; in create_bbt() local
502 startblock = 0; in create_bbt()
511 startblock = chip * numblocks; in create_bbt()
512 numblocks += startblock; in create_bbt()
513 from = (loff_t)startblock << this->bbt_erase_shift; in create_bbt()
516 for (i = startblock; i < numblocks; i++) { in create_bbt()
558 int startblock, block, dir; in search_bbt() local
565 startblock = (mtd->size >> this->bbt_erase_shift) - 1; in search_bbt()
568 startblock = 0; in search_bbt()
576 startblock &= bbtblocks - 1; in search_bbt()
[all …]
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_bmap.h183 #define xfs_valid_startblock(ip, startblock) \ argument
184 ((startblock) != 0 || XFS_IS_REALTIME_INODE(ip))
267 xfs_fileoff_t startoff, xfs_fsblock_t startblock,
290 xfs_fileoff_t bno, xfs_filblks_t len, xfs_fsblock_t startblock,
Dxfs_refcount.c1136 xfs_fsblock_t startblock, in xfs_refcount_finish_one() argument
1152 pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, startblock)); in xfs_refcount_finish_one()
1153 bno = XFS_FSB_TO_AGBNO(mp, startblock); in xfs_refcount_finish_one()
1155 trace_xfs_refcount_deferred(mp, XFS_FSB_TO_AGNO(mp, startblock), in xfs_refcount_finish_one()
1156 type, XFS_FSB_TO_AGBNO(mp, startblock), in xfs_refcount_finish_one()
1200 *new_fsb = startblock + blockcount; in xfs_refcount_finish_one()
1205 *new_fsb = startblock + blockcount; in xfs_refcount_finish_one()
1228 xfs_fsblock_t startblock, in __xfs_refcount_add() argument
1234 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add()
1235 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add()
[all …]
Dxfs_refcount.h47 enum xfs_refcount_intent_type type, xfs_fsblock_t startblock,
Dxfs_rmap.h184 xfs_fsblock_t startblock, xfs_filblks_t blockcount,
Dxfs_rmap.c2361 xfs_fsblock_t startblock, in xfs_rmap_finish_one() argument
2375 pag = xfs_perag_get(mp, XFS_FSB_TO_AGNO(mp, startblock)); in xfs_rmap_finish_one()
2376 bno = XFS_FSB_TO_AGBNO(mp, startblock); in xfs_rmap_finish_one()
2417 bno = XFS_FSB_TO_AGBNO(rcur->bc_mp, startblock); in xfs_rmap_finish_one()
Dxfs_bmap.c4681 xfs_fsblock_t startblock, in xfs_bmapi_remap() argument
4728 got.br_startblock = startblock; in xfs_bmapi_remap()
6240 xfs_fsblock_t startblock, in xfs_bmap_finish_one() argument
6249 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), type, in xfs_bmap_finish_one()
6250 XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in xfs_bmap_finish_one()
6263 startblock, 0); in xfs_bmap_finish_one()
/Linux-v5.15/drivers/mtd/nand/onenand/
Donenand_bbt.c61 int startblock; in create_bbt() local
80 startblock = 0; in create_bbt()
88 for (i = startblock; i < numblocks; ) { in create_bbt()
/Linux-v5.15/fs/xfs/scrub/
Drtbitmap.c48 xfs_rtblock_t startblock; in xchk_rtbitmap_rec() local
51 startblock = rec->ar_startext * tp->t_mountp->m_sb.sb_rextsize; in xchk_rtbitmap_rec()
54 if (!xfs_verify_rtext(sc->mp, startblock, blockcount)) in xchk_rtbitmap_rec()
Dtrace.h743 __field(xfs_agblock_t, startblock)
750 __entry->startblock = irec->rc_startblock;
757 __entry->startblock,
/Linux-v5.15/fs/xfs/
Dxfs_refcount_item.c244 xfs_fsblock_t startblock, in xfs_trans_log_finish_refcount_update() argument
252 error = xfs_refcount_finish_one(tp, type, startblock, in xfs_trans_log_finish_refcount_update()
Dxfs_bmap_item.c241 xfs_fsblock_t startblock, in xfs_trans_log_finish_bmap_update() argument
248 startblock, blockcount, state); in xfs_trans_log_finish_bmap_update()
Dxfs_rmap_item.c313 xfs_fsblock_t startblock, in xfs_trans_log_finish_rmap_update() argument
321 startblock, blockcount, state, pcur); in xfs_trans_log_finish_rmap_update()
Dxfs_trace.h360 __field(xfs_fsblock_t, startblock)
377 __entry->startblock = r.br_startblock;
391 (int64_t)__entry->startblock,
1460 __field(xfs_fsblock_t, startblock)
1471 __entry->startblock = irec ? irec->br_startblock : 0;
1483 (int64_t)__entry->startblock,
2937 __field(xfs_agblock_t, startblock)
2944 __entry->startblock = irec->rc_startblock;
2951 __entry->startblock,
2970 __field(xfs_agblock_t, startblock)
[all …]