Home
last modified time | relevance | path

Searched refs:newblk (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/sbin/fsck_v7fs/
H A Ddatablock.c240 v7fs_daddr_t newblk) in replace_block_direct() argument
245 p->addr[dupidx] = newblk; in replace_block_direct()
248 copy_block(fs, newblk, oldblk); in replace_block_direct()
263 v7fs_daddr_t newblk) in replace_block_indexed() argument
273 list[dupidx] = V7FS_VAL32(fs, newblk); in replace_block_indexed()
277 copy_block(fs, newblk, oldblk); in replace_block_indexed()
278 pwarn("dup block replaced by %d\n", newblk); in replace_block_indexed()
283 v7fs_daddr_t newblk) in dupfind_loop1() argument
291 replace_block_indexed(fs, listblk, i, newblk); in dupfind_loop1()
301 v7fs_daddr_t newblk) in dupfind_loop2() argument
[all …]
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dzap.c149 uint64_t b, newblk; in zap_table_grow() local
161 newblk = tbl->zt_nextblk; in zap_table_grow()
163 newblk = zap_allocate_blocks(zap, tbl->zt_numblks * 2); in zap_table_grow()
164 tbl->zt_nextblk = newblk; in zap_table_grow()
183 (newblk + 2*b+0) << bs, FTAG, &db_new, DMU_READ_NO_PREFETCH)); in zap_table_grow()
190 (newblk + 2*b+1) << bs, FTAG, &db_new, DMU_READ_NO_PREFETCH)); in zap_table_grow()
207 tbl->zt_blk = newblk; in zap_table_grow()
348 uint64_t newblk; in zap_grow_ptrtbl() local
356 newblk = zap_allocate_blocks(zap, 1); in zap_grow_ptrtbl()
358 newblk << FZAP_BLOCK_SHIFT(zap), FTAG, &db_new, in zap_grow_ptrtbl()
[all …]
/netbsd-src/sbin/fsck_ffs/
H A Dinode.c955 daddr_t newblk, blkno, iblkno, nblks; in expandfile() local
969 if ((bp = getnewblk(&newblk)) == NULL) { in expandfile()
975 dp->dp2.di_db[blkno] = iswap64(newblk); in expandfile()
977 dp->dp1.di_db[blkno] = iswap32(newblk); in expandfile()
997 if ((ibp = getnewblk(&newblk)) == NULL) in expandfile()
1001 dp->dp2.di_ib[ilevel - 1] = iswap64(newblk); in expandfile()
1003 dp->dp1.di_ib[ilevel - 1] = iswap32(newblk); in expandfile()
1016 if ((bp = getnewblk(&newblk)) == NULL) in expandfile()
1021 iswap64(newblk); in expandfile()
1024 iswap32(newblk); in expandfile()
H A Ddir.c754 daddr_t lastbn, newblk, dirblk; in expanddir() local
774 if ((newblk = allocblk(sblock->fs_frag)) == 0) in expanddir()
778 dp2->di_db[lastbn] = iswap64(newblk); in expanddir()
785 dp1->di_db[lastbn] = iswap32((int32_t)newblk); in expanddir()
795 bp = getdirblk(newblk, sblock->fs_bsize); in expanddir()
831 freeblk(newblk, sblock->fs_frag); in expanddir()
/netbsd-src/sys/fs/v7fs/
H A Dv7fs_datablock.c523 v7fs_daddr_t newblk; in v7fs_add_leaf() local
533 if ((error = v7fs_datablock_allocate(fs, &newblk))) in v7fs_add_leaf()
538 daddr_list[idx] = V7FS_VAL32(fs, newblk); in v7fs_add_leaf()
540 newblk = 0; in v7fs_add_leaf()
543 return newblk; in v7fs_add_leaf()
/netbsd-src/sbin/fsck_ext2fs/
H A Ddir.c557 daddr_t lastbn, newblk; in expanddir() local
566 if ((newblk = allocblk()) == 0) { in expanddir()
570 dp->e2di_blocks[lastbn] = h2fs32(newblk); in expanddir()
580 bp = getdirblk(newblk, sblock.e2fs_bsize); in expanddir()
607 freeblk(newblk); in expanddir()
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/
H A Diolib.c582 uint32_t newblk = __collector_cas_32 (&hndl->nblk, oldblk, oldblk + 1); in remapBlock() local
583 if (newblk == oldblk) in remapBlock()
585 oldblk = newblk; in remapBlock()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Diolib.c585 uint32_t newblk = __collector_cas_32 (&hndl->nblk, oldblk, oldblk + 1); in remapBlock() local
586 if (newblk == oldblk) in remapBlock()
588 oldblk = newblk; in remapBlock()