Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/xfs/scrub/
H A Drtbitmap.c49 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 Dtrace.h737 __field(xfs_agblock_t, startblock)
744 __entry->startblock = irec->rc_startblock;
751 __entry->startblock,
/OK3568_Linux_fs/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()
480 from = (loff_t)startblock << this->bbt_erase_shift; in create_bbt()
486 for (i = startblock; i < numblocks; i++) { in create_bbt()
528 int startblock, block, dir; in search_bbt() local
535 startblock = (mtd->size >> this->bbt_erase_shift) - 1; in search_bbt()
538 startblock = 0; in search_bbt()
546 startblock &= bbtblocks - 1; in search_bbt()
[all …]
/OK3568_Linux_fs/u-boot/fs/fat/
H A Dfat_write.c112 __u32 startblock = mydata->fatbufnum * FATBUFBLOCKS; in flush_dirty_fat_buffer() local
121 if (startblock + getsize > fatlength) in flush_dirty_fat_buffer()
122 getsize = fatlength - startblock; in flush_dirty_fat_buffer()
124 startblock += mydata->fat_sect; in flush_dirty_fat_buffer()
127 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer()
134 startblock += mydata->fatlength; in flush_dirty_fat_buffer()
135 if (disk_write(startblock, getsize, bufptr) < 0) { in flush_dirty_fat_buffer()
394 __u32 startblock = bufnum * FATBUFBLOCKS; in set_fatent_value() local
397 if (startblock + getsize > fatlength) in set_fatent_value()
398 getsize = fatlength - startblock; in set_fatent_value()
[all …]
H A Dfat.c206 __u32 startblock = bufnum * FATBUFBLOCKS; in get_fatent() local
209 if (startblock + getsize > fatlength) in get_fatent()
210 getsize = fatlength - startblock; in get_fatent()
212 startblock += mydata->fat_sect; /* Offset from start of disk */ in get_fatent()
218 if (disk_read(startblock, getsize, bufptr) < 0) { in get_fatent()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dnand_bbt.c466 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 &= bbtblocks - 1; in search_bbt()
[all …]
/OK3568_Linux_fs/kernel/fs/xfs/libxfs/
H A Dxfs_bmap.h183 #define xfs_valid_startblock(ip, startblock) \ argument
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 Dxfs_refcount.c1135 xfs_fsblock_t startblock, in xfs_refcount_finish_one() argument
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()
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() argument
1240 XFS_FSB_TO_AGNO(tp->t_mountp, startblock), in __xfs_refcount_add()
1241 type, XFS_FSB_TO_AGBNO(tp->t_mountp, startblock), in __xfs_refcount_add()
[all …]
H A Dxfs_refcount.h40 enum xfs_refcount_intent_type type, xfs_fsblock_t startblock,
H A Dxfs_rmap.h181 xfs_fsblock_t startblock, xfs_filblks_t blockcount,
H A Dxfs_rmap.c2359 xfs_fsblock_t startblock, in xfs_rmap_finish_one() argument
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()
2416 bno = XFS_FSB_TO_AGBNO(rcur->bc_mp, startblock); in xfs_rmap_finish_one()
H A Dxfs_bmap.c4626 xfs_fsblock_t startblock, in xfs_bmapi_remap() argument
4675 got.br_startblock = startblock; in xfs_bmapi_remap()
6183 xfs_fsblock_t startblock, in xfs_bmap_finish_one() argument
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()
/OK3568_Linux_fs/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/fs/ext4/
H A Dext4_common.c197 uint64_t startblock; in put_ext4() local
204 startblock = off >> log2blksz; in put_ext4()
205 startblock += part_offset; in put_ext4()
211 if ((startblock + (size >> log2blksz)) > in put_ext4()
220 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
223 blk_dwrite(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
226 blk_dwrite(fs->dev_desc, startblock, size >> log2blksz, in put_ext4()
229 blk_dread(fs->dev_desc, startblock, 1, sec_buf); in put_ext4()
232 blk_dwrite(fs->dev_desc, startblock, 1, in put_ext4()
1634 long int startblock, endblock; in read_allocated_block() local
[all …]
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_bmap_item.c242 xfs_fsblock_t startblock, in xfs_trans_log_finish_bmap_update() argument
249 startblock, blockcount, state); in xfs_trans_log_finish_bmap_update()
H A 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()
H A 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()
H A Dxfs_trace.h231 __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;
1342 (int64_t)__entry->startblock,
2794 __field(xfs_agblock_t, startblock)
2801 __entry->startblock = irec->rc_startblock;
2808 __entry->startblock,
2827 __field(xfs_agblock_t, startblock)
[all …]