Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H A Dxfs_notify_failure.c27 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 Dxfs_trace.h370 __field(xfs_fsblock_t, startblock)
387 __entry->startblock = r.br_startblock;
401 (int64_t)__entry->startblock,
1455 __field(xfs_fsblock_t, startblock)
1478 (int64_t)__entry->startblock,
2974 __field(xfs_agblock_t, startblock)
2982 __entry->startblock = irec->rc_startblock;
2990 __entry->startblock,
3010 __field(xfs_agblock_t, startblock)
3019 __entry->startblock = irec->rc_startblock;
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_bbt.c457 int startblock; in create_bbt() local
469 startblock = 0; in create_bbt()
478 startblock = chip * numblocks; in create_bbt()
479 numblocks += startblock; in create_bbt()
486 for (i = startblock; i < numblocks; i++) { in create_bbt()
526 int startblock, block, dir; in search_bbt() local
536 startblock = 0; in search_bbt()
544 startblock &= bbtblocks - 1; in search_bbt()
557 int actblock = startblock + dir * block; in search_bbt()
672 startblock = chip * numblocks; in write_bbt()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A 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()
558 int startblock, block, dir; in search_bbt() local
568 startblock = 0; in search_bbt()
576 startblock &= bbtblocks - 1; in search_bbt()
658 int startblock, dir, page, numblocks, i; in get_bbt_block() local
678 startblock = numblocks * (chip + 1) - 1; in get_bbt_block()
681 startblock = chip * numblocks; in get_bbt_block()
[all …]
/openbmc/linux/fs/xfs/scrub/
H A Drtbitmap.c51 xfs_rtblock_t startblock; in xchk_rtbitmap_rec() local
54 startblock = rec->ar_startext * mp->m_sb.sb_rextsize; in xchk_rtbitmap_rec()
57 if (!xfs_verify_rtext(mp, startblock, blockcount)) in xchk_rtbitmap_rec()
H A Dtrace.h757 __field(xfs_agblock_t, startblock)
766 __entry->startblock = irec->rc_startblock;
775 __entry->startblock,
1187 __field(xfs_agblock_t, startblock)
1194 __entry->startblock = irec->rc_startblock;
1201 __entry->startblock,
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_bbt.c68 int startblock; in create_bbt() local
87 startblock = 0; in create_bbt()
95 for (i = startblock; i < numblocks;) { in create_bbt()
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_bbt.c61 int startblock; in create_bbt() local
80 startblock = 0; in create_bbt()
88 for (i = startblock; i < numblocks; ) { in create_bbt()
/openbmc/u-boot/fs/fat/
H A Dfat_write.c110 __u32 startblock = mydata->fatbufnum * FATBUFBLOCKS; in flush_dirty_fat_buffer() local
119 if (startblock + getsize > fatlength) in flush_dirty_fat_buffer()
120 getsize = fatlength - startblock; in flush_dirty_fat_buffer()
122 startblock += mydata->fat_sect; in flush_dirty_fat_buffer()
125 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer()
132 startblock += mydata->fatlength; in flush_dirty_fat_buffer()
133 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer()
292 __u32 startblock = bufnum * FATBUFBLOCKS; in set_fatent_value() local
295 if (startblock + getsize > fatlength) in set_fatent_value()
296 getsize = fatlength - startblock; in set_fatent_value()
[all …]
H A Dfat.c200 __u32 startblock = bufnum * FATBUFBLOCKS; in get_fatent() local
203 if (startblock + getsize > fatlength) in get_fatent()
204 getsize = fatlength - startblock; in get_fatent()
206 startblock += mydata->fat_sect; /* Offset from start of disk */ in get_fatent()
212 if (disk_read(startblock, getsize, bufptr) < 0) { in get_fatent()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_refcount.h27 xfs_agblock_t startblock, in xfs_refcount_encode_startblock() argument
37 start = startblock & ~XFS_REFC_COWFLAG; in xfs_refcount_encode_startblock()
H A Dxfs_bmap.h169 #define xfs_valid_startblock(ip, startblock) \ argument
170 ((startblock) != 0 || XFS_IS_REALTIME_INODE(ip))
272 xfs_fileoff_t bno, xfs_filblks_t len, xfs_fsblock_t startblock,
H A Dxfs_refcount.c1443 xfs_fsblock_t startblock, in __xfs_refcount_add() argument
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()
H A Dxfs_bmap.c4640 xfs_fsblock_t startblock, in xfs_bmapi_remap() argument
4687 got.br_startblock = startblock; in xfs_bmapi_remap()
/openbmc/u-boot/fs/ext4/
H A Dext4_common.c195 uint64_t startblock; in put_ext4() local
202 startblock = off >> log2blksz; in put_ext4()
203 startblock += part_offset; in put_ext4()
209 if ((startblock + (size >> log2blksz)) > in put_ext4()
218 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
221 blk_dwrite(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
227 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
230 blk_dwrite(fs->dev_desc, startblock, 1, in put_ext4()
1632 long int startblock, endblock; in read_allocated_block() local
1656 if (startblock > fileblock) { in read_allocated_block()
[all …]