/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | rtbitmap.c | 49 xfs_rtblock_t startblock; in xchk_rtbitmap_rec() local 52 startblock = rec->ar_startext * tp->t_mountp->m_sb.sb_rextsize; in xchk_rtbitmap_rec() 55 if (startblock + blockcount <= startblock || in xchk_rtbitmap_rec() 56 !xfs_verify_rtbno(sc->mp, startblock) || in xchk_rtbitmap_rec() 57 !xfs_verify_rtbno(sc->mp, startblock + blockcount - 1)) in xchk_rtbitmap_rec()
|
H A D | trace.h | 737 __field(xfs_agblock_t, startblock) 744 __entry->startblock = irec->rc_startblock; 751 __entry->startblock,
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_notify_failure.c | 27 xfs_agblock_t startblock; member 41 if (notify->startblock > rec->rm_startblock) in xfs_failure_pgoff() 43 notify->startblock - rec->rm_startblock); in xfs_failure_pgoff() 58 start_cross = max(rec->rm_startblock, notify->startblock); in xfs_failure_pgcnt() 61 end_notify = notify->startblock + notify->blockcount; in xfs_failure_pgcnt() 153 notify.startblock = ri_low.rm_startblock; in xfs_dax_notify_ddev_failure()
|
H A D | xfs_trace.h | 17 * startblock: physical block number for file mappings. This is either a 370 __field(xfs_fsblock_t, startblock) 387 __entry->startblock = r.br_startblock; 394 "fileoff 0x%llx startblock 0x%llx fsbcount 0x%llx flag %d caller %pS", 401 (int64_t)__entry->startblock, 1455 __field(xfs_fsblock_t, startblock) 1466 __entry->startblock = irec ? irec->br_startblock : 0; 1470 "fork %s startoff 0x%llx startblock 0x%llx fsbcount 0x%llx", 1478 (int64_t)__entry->startblock, 2974 __field(xfs_agblock_t, startblock) [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | rtbitmap.c | 50 xfs_rtblock_t startblock; in xchk_rtbitmap_rec() local 53 startblock = rec->ar_startext * mp->m_sb.sb_rextsize; in xchk_rtbitmap_rec() 56 if (!xfs_verify_rtext(mp, startblock, blockcount)) in xchk_rtbitmap_rec()
|
H A D | trace.h | 757 __field(xfs_agblock_t, startblock) 766 __entry->startblock = irec->rc_startblock; 775 __entry->startblock, 1186 __field(xfs_agblock_t, startblock) 1193 __entry->startblock = irec->rc_startblock; 1200 __entry->startblock,
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_bmap.h | 183 #define xfs_valid_startblock(ip, startblock) \ 184 ((startblock) != 0 || XFS_IS_REALTIME_INODE(ip)) 268 xfs_fileoff_t startoff, xfs_fsblock_t startblock, 291 xfs_fileoff_t bno, xfs_filblks_t len, xfs_fsblock_t startblock,
|
H A D | xfs_refcount.c | 1135 xfs_fsblock_t startblock, in xfs_refcount_finish_one() 1151 agno = 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() 1165 * the startblock, get one now. in xfs_refcount_finish_one() 1203 *new_fsb = startblock + blockcount; in xfs_refcount_finish_one() 1208 *new_fsb = startblock + blockcount; in xfs_refcount_finish_one() 1234 xfs_fsblock_t startblock, in __xfs_refcount_add() 1240 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1132 xfs_refcount_finish_one( struct xfs_trans *tp, enum xfs_refcount_intent_type type, xfs_fsblock_t startblock, xfs_extlen_t blockcount, xfs_fsblock_t *new_fsb, xfs_extlen_t *new_len, struct xfs_btree_cur **pcur) xfs_refcount_finish_one() argument 1231 __xfs_refcount_add( struct xfs_trans *tp, enum xfs_refcount_intent_type type, xfs_fsblock_t startblock, xfs_extlen_t blockcount) __xfs_refcount_add() argument [all...] |
H A D | xfs_refcount.h | 40 enum xfs_refcount_intent_type type, xfs_fsblock_t startblock,
|
H A D | xfs_rmap.h | 181 xfs_fsblock_t startblock, xfs_filblks_t blockcount,
|
H A D | xfs_rmap.c | 719 * the unwritten, attr_fork, and bmbt flags. The startblock and 2359 xfs_fsblock_t startblock, in xfs_rmap_finish_one() 2373 agno = XFS_FSB_TO_AGNO(mp, startblock); in xfs_rmap_finish_one() 2375 bno = XFS_FSB_TO_AGBNO(mp, startblock); in xfs_rmap_finish_one() 2386 * the startblock, get one now. in xfs_rmap_finish_one() 2416 bno = XFS_FSB_TO_AGBNO(rcur->bc_mp, startblock); in xfs_rmap_finish_one() 2353 xfs_rmap_finish_one( struct xfs_trans *tp, enum xfs_rmap_intent_type type, uint64_t owner, int whichfork, xfs_fileoff_t startoff, xfs_fsblock_t startblock, xfs_filblks_t blockcount, xfs_exntst_t state, struct xfs_btree_cur **pcur) xfs_rmap_finish_one() argument
|
H A D | xfs_bmap.c | 3195 * Figure the startblock based on the previous block's in xfs_bmap_adjacent() 3231 * Figure the startblock based on the next block's in xfs_bmap_adjacent() 4626 xfs_fsblock_t startblock, in xfs_bmapi_remap() 4675 got.br_startblock = startblock; in xfs_bmapi_remap() 6183 xfs_fsblock_t startblock, in xfs_bmap_finish_one() 6192 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), type, in xfs_bmap_finish_one() 6193 XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in xfs_bmap_finish_one() 6206 startblock, 0); in xfs_bmap_finish_one() 4621 xfs_bmapi_remap( struct xfs_trans *tp, struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len, xfs_fsblock_t startblock, int flags) xfs_bmapi_remap() argument 6177 xfs_bmap_finish_one( struct xfs_trans *tp, struct xfs_inode *ip, enum xfs_bmap_intent_type type, int whichfork, xfs_fileoff_t startoff, xfs_fsblock_t startblock, xfs_filblks_t *blockcount, xfs_exntst_t state) xfs_bmap_finish_one() argument
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | nand_bbt.c | 466 int i, numblocks, startblock; in create_bbt() local 473 startblock = 0; in create_bbt() 482 startblock = chip * numblocks; in create_bbt() 483 numblocks += startblock; in create_bbt() 484 from = (loff_t)startblock << this->bbt_erase_shift; in create_bbt() 487 for (i = startblock; i < numblocks; i++) { in create_bbt() 529 int startblock, block, dir; in search_bbt() local 536 startblock = (mtd->size >> this->bbt_erase_shift) - 1; in search_bbt() 539 startblock = 0; in search_bbt() 547 startblock in search_bbt() 625 int startblock, dir, page, numblocks, i; get_bbt_block() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | nand_bbt.c | 495 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 in search_bbt() 658 int startblock, dir, page, numblocks, i; get_bbt_block() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/ |
H A D | onenand_bbt.c | 61 int startblock; in create_bbt() local 80 startblock = 0; in create_bbt() 88 for (i = startblock; i < numblocks; ) { in create_bbt()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/onenand/ |
H A D | onenand_bbt.c | 61 int startblock; in create_bbt() local 80 startblock = 0; in create_bbt() 88 for (i = startblock; i < numblocks; ) { in create_bbt()
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_bmap.h | 169 #define xfs_valid_startblock(ip, startblock) \ 170 ((startblock) != 0 || XFS_IS_REALTIME_INODE(ip)) 272 xfs_fileoff_t bno, xfs_filblks_t len, xfs_fsblock_t startblock,
|
H A D | xfs_refcount.h | 27 xfs_agblock_t startblock, in xfs_refcount_encode_startblock() 37 start = startblock & ~XFS_REFC_COWFLAG; in xfs_refcount_encode_startblock() 26 xfs_refcount_encode_startblock( xfs_agblock_t startblock, enum xfs_refc_domain domain) xfs_refcount_encode_startblock() argument
|
H A D | xfs_refcount.c | 1375 * the startblock, get one now. in xfs_refcount_finish_one() 1443 xfs_fsblock_t startblock, in __xfs_refcount_add() 1449 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1450 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add() 1457 ri->ri_startblock = startblock; in __xfs_refcount_add() 1440 __xfs_refcount_add( struct xfs_trans *tp, enum xfs_refcount_intent_type type, xfs_fsblock_t startblock, xfs_extlen_t blockcount) __xfs_refcount_add() argument
|
H A D | xfs_bmap.c | 3110 * Figure the startblock based on the previous block's in xfs_bmap_adjacent() 3139 * Figure the startblock based on the next block's in xfs_bmap_adjacent() 4640 xfs_fsblock_t startblock, in xfs_bmapi_remap() 4687 got.br_startblock = startblock; in xfs_bmapi_remap() 4635 xfs_bmapi_remap( struct xfs_trans *tp, struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len, xfs_fsblock_t startblock, uint32_t flags) xfs_bmapi_remap() argument
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_refcount_item.c | 244 xfs_fsblock_t startblock, in xfs_trans_log_finish_refcount_update() 252 error = xfs_refcount_finish_one(tp, type, startblock, in xfs_trans_log_finish_refcount_update() 240 xfs_trans_log_finish_refcount_update( struct xfs_trans *tp, struct xfs_cud_log_item *cudp, enum xfs_refcount_intent_type type, xfs_fsblock_t startblock, xfs_extlen_t blockcount, xfs_fsblock_t *new_fsb, xfs_extlen_t *new_len, struct xfs_btree_cur **pcur) xfs_trans_log_finish_refcount_update() argument
|
H A D | xfs_bmap_item.c | 242 xfs_fsblock_t startblock, in xfs_trans_log_finish_bmap_update() 249 startblock, blockcount, state); in xfs_trans_log_finish_bmap_update() 235 xfs_trans_log_finish_bmap_update( struct xfs_trans *tp, struct xfs_bud_log_item *budp, enum xfs_bmap_intent_type type, struct xfs_inode *ip, int whichfork, xfs_fileoff_t startoff, xfs_fsblock_t startblock, xfs_filblks_t *blockcount, xfs_exntst_t state) xfs_trans_log_finish_bmap_update() argument
|
H A D | xfs_rmap_item.c | 313 xfs_fsblock_t startblock, in xfs_trans_log_finish_rmap_update() 321 startblock, blockcount, state, pcur); in xfs_trans_log_finish_rmap_update() 306 xfs_trans_log_finish_rmap_update( struct xfs_trans *tp, struct xfs_rud_log_item *rudp, enum xfs_rmap_intent_type type, uint64_t owner, int whichfork, xfs_fileoff_t startoff, xfs_fsblock_t startblock, xfs_filblks_t blockcount, xfs_exntst_t state, struct xfs_btree_cur **pcur) xfs_trans_log_finish_rmap_update() argument
|
H A D | xfs_trace.h | 231 __field(xfs_fsblock_t, startblock) 248 __entry->startblock = r.br_startblock; 262 (int64_t)__entry->startblock, 1319 __field(xfs_fsblock_t, startblock) 1330 __entry->startblock = irec ? irec->br_startblock : 0; 1334 "fork %s startoff 0x%llx startblock %lld blockcount 0x%llx", 1342 (int64_t)__entry->startblock, 2794 __field(xfs_agblock_t, startblock) 2801 __entry->startblock = irec->rc_startblock; 2808 __entry->startblock, [all...] |