Searched refs:startblock (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_bmap_btree.c142 * Extract the startblock field from an in memory bmap extent record.
203 xfs_fsblock_t startblock, xfs_bmbt_set_allf()
213 ASSERT((startblock & xfs_mask64hi(64-BMBT_STARTBLOCK_BITLEN)) == 0); xfs_bmbt_set_allf()
217 ((xfs_bmbt_rec_base_t)startblock >> 43); xfs_bmbt_set_allf()
218 r->l1 = ((xfs_bmbt_rec_base_t)startblock << 21) | xfs_bmbt_set_allf()
243 xfs_fsblock_t startblock, xfs_bmbt_disk_set_allf()
252 ASSERT((startblock & xfs_mask64hi(64-BMBT_STARTBLOCK_BITLEN)) == 0); xfs_bmbt_disk_set_allf()
257 ((xfs_bmbt_rec_base_t)startblock >> 43)); xfs_bmbt_disk_set_allf()
259 ((xfs_bmbt_rec_base_t)startblock << 21) | xfs_bmbt_disk_set_allf()
290 * Set the startblock field in a bmap extent record.
200 xfs_bmbt_set_allf( xfs_bmbt_rec_host_t *r, xfs_fileoff_t startoff, xfs_fsblock_t startblock, xfs_filblks_t blockcount, xfs_exntst_t state) xfs_bmbt_set_allf() argument
240 xfs_bmbt_disk_set_allf( xfs_bmbt_rec_t *r, xfs_fileoff_t startoff, xfs_fsblock_t startblock, xfs_filblks_t blockcount, xfs_exntst_t state) xfs_bmbt_disk_set_allf() argument
H A Dxfs_format.h1336 * l0:0-8 and l1:21-63 are startblock.
1356 * Values and macros for delayed-allocation startblock fields.
H A Dxfs_alloc.c330 xfs_agblock_t nfbno1; /* first new free startblock */ xfs_alloc_fixup_trees()
331 xfs_agblock_t nfbno2; /* second new free startblock */ xfs_alloc_fixup_trees()
H A Dxfs_bmap.c3417 * Figure the startblock based on the previous block's xfs_bmap_adjacent()
3453 * Figure the startblock based on the next block's xfs_bmap_adjacent()
/linux-4.4.14/drivers/mtd/nand/
H A Dnand_bbt.c459 int startblock; create_bbt() local
471 startblock = 0; create_bbt()
480 startblock = chip * numblocks; create_bbt()
481 numblocks += startblock; create_bbt()
482 from = (loff_t)startblock << this->bbt_erase_shift; create_bbt()
488 for (i = startblock; i < numblocks; i++) { create_bbt()
528 int startblock, block, dir; search_bbt() local
535 startblock = (mtd->size >> this->bbt_erase_shift) - 1; search_bbt()
538 startblock = 0; search_bbt()
546 startblock &= bbtblocks - 1; search_bbt()
559 int actblock = startblock + dir * block; search_bbt()
573 startblock += this->chipsize >> this->bbt_erase_shift; search_bbt()
624 int bits, startblock, dir, page, offs, numblocks, sft, sftmsk; write_bbt() local
671 startblock = numblocks * (chip + 1) - 1; write_bbt()
674 startblock = chip * numblocks; write_bbt()
679 int block = startblock + dir * i; write_bbt()
/linux-4.4.14/drivers/mtd/onenand/
H A Donenand_bbt.c62 int startblock; create_bbt() local
81 startblock = 0; create_bbt()
89 for (i = startblock; i < numblocks; ) { create_bbt()
/linux-4.4.14/fs/xfs/
H A Dxfs_trace.h224 __field(xfs_fsblock_t, startblock)
235 __entry->startblock = r->br_startblock;
248 (__int64_t)__entry->startblock,
263 __field(xfs_fsblock_t, startblock)
279 __entry->startblock = r.br_startblock;
292 (__int64_t)__entry->startblock,
1237 __field(xfs_fsblock_t, startblock)
1248 __entry->startblock = irec ? irec->br_startblock : 0;
1252 "type %s startoff 0x%llx startblock %lld blockcount 0x%llx",
1260 (__int64_t)__entry->startblock,
H A Dxfs_bmap_util.c474 xfs_fsblock_t startblock) xfs_getbmapx_fix_eof_hole()
482 if (startblock == HOLESTARTBLOCK) { xfs_getbmapx_fix_eof_hole()
494 if (startblock == DELAYSTARTBLOCK) xfs_getbmapx_fix_eof_hole()
497 out->bmv_block = xfs_fsb_to_db(ip, startblock); xfs_getbmapx_fix_eof_hole()
468 xfs_getbmapx_fix_eof_hole( xfs_inode_t *ip, struct getbmapx *out, int prealloced, __int64_t end, xfs_fsblock_t startblock) xfs_getbmapx_fix_eof_hole() argument

Completed in 327 milliseconds