| /freebsd-12-stable/sys/fs/ext2fs/ |
| D | ext2_extents.c | 734 e4fs_daddr_t newblk, oldblk; in ext4_ext_split() local 760 newblk = ext4_ext_alloc_meta(ip); in ext4_ext_split() 761 if (newblk == 0) in ext4_ext_split() 763 ablks[a] = newblk; in ext4_ext_split() 766 newblk = ablks[--a]; in ext4_ext_split() 767 bp = getblk(ip->i_devvp, fsbtodb(fs, newblk), fs->e2fs_bsize, 0, 0, 0); in ext4_ext_split() 818 oldblk = newblk; in ext4_ext_split() 819 newblk = ablks[--a]; in ext4_ext_split() 820 error = bread(ip->i_devvp, fsbtodb(fs, newblk), in ext4_ext_split() 862 error = ext4_ext_insert_index(ip, path + at, border, newblk); in ext4_ext_split() [all …]
|
| D | ext2_balloc.c | 64 daddr_t newblk; in ext2_ext_balloc() local 70 error = ext4_ext_get_blocks(ip, lbn, blks, cred, NULL, &allocated, &newblk); in ext2_ext_balloc() 87 bp->b_blkno = fsbtodb(fs, newblk); in ext2_ext_balloc()
|
| D | ext2_alloc.c | 214 e2fs_daddr_t newblk, blkno; in ext2_reallocblks() local 299 if ((newblk = (e2fs_daddr_t)ext2_hashalloc(ip, dtog(fs, pref), pref, in ext2_reallocblks() 313 blkno = newblk; in ext2_reallocblks() 359 for (blkno = newblk, i = 0; i < len; i++, blkno += fs->e2fs_fpb) { in ext2_reallocblks()
|
| /freebsd-12-stable/sys/ufs/ffs/ |
| D | ffs_softdep.c | 653 SOFTDEP_TYPE(NEWBLK, newblk, "New block or frag allocation dependency"); 790 static struct jnewblk *cancel_newblk(struct newblk *, struct worklist *, 866 static void newblk_freefrag(struct newblk*); 867 static void free_newblk(struct newblk *); 897 struct newblk **); 898 static int newblk_lookup(struct mount *, ufs2_daddr_t, int, struct newblk **); 2265 struct newblk **newblkpp; 2267 struct newblk *newblk; local 2269 LIST_FOREACH(newblk, newblkhd, nb_hash) { 2270 if (newblkno != newblk->nb_newblkno) [all …]
|
| D | softdep.h | 221 #define WK_NEWBLK(wk) ((struct newblk *)(wk)) 251 LIST_HEAD(newblkhd, newblk); 420 struct newblk { struct 423 LIST_ENTRY(newblk) nb_hash; /* Hashed lookup. */ argument 424 LIST_ENTRY(newblk) nb_deps; /* Bmsafemap's list of newblks. */ 462 struct newblk ad_block; /* Common block logic */ 522 struct newblk ai_block; /* Common block area */ 541 struct newblk ab_newblk; 1031 LIST_HEAD(newblk_hashhead, newblk);
|
| D | ffs_alloc.c | 559 ufs1_daddr_t soff, newblk, blkno; local 667 if ((newblk = ffs_clusteralloc(ip, cg, pref, len)) != 0) 677 if (newblk == 0) { 696 blkno = newblk; 762 for (blkno = newblk, i = 0; i < len; i++, blkno += fs->fs_frag) { 825 ufs2_daddr_t soff, newblk, blkno, pref; local 932 if ((newblk = ffs_clusteralloc(ip, cg, pref, len)) != 0) 942 if (newblk == 0) { 960 blkno = newblk; 1026 for (blkno = newblk, i = 0; i < len; i++, blkno += fs->fs_frag) {
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | zap.c | 173 uint64_t newblk; in zap_table_grow() local 183 newblk = tbl->zt_nextblk; in zap_table_grow() 185 newblk = zap_allocate_blocks(zap, tbl->zt_numblks * 2); in zap_table_grow() 186 tbl->zt_nextblk = newblk; in zap_table_grow() 207 (newblk + 2*b+0) << bs, FTAG, &db_new, DMU_READ_NO_PREFETCH)); in zap_table_grow() 214 (newblk + 2*b+1) << bs, FTAG, &db_new, DMU_READ_NO_PREFETCH)); in zap_table_grow() 231 tbl->zt_blk = newblk; in zap_table_grow() 370 uint64_t newblk = zap_allocate_blocks(zap, 1); in zap_grow_ptrtbl() local 373 newblk << FZAP_BLOCK_SHIFT(zap), FTAG, &db_new, in zap_grow_ptrtbl() 382 zap_f_phys(zap)->zap_ptrtbl.zt_blk = newblk; in zap_grow_ptrtbl() [all …]
|
| /freebsd-12-stable/sbin/fsck_ffs/ |
| D | dir.c | 635 ufs2_daddr_t lastbn, newblk; in expanddir() local 643 if ((newblk = allocblk(sblock.fs_frag)) == 0) in expanddir() 646 DIP_SET(dp, di_db[lastbn], newblk); in expanddir() 654 bp = getdirblk(newblk, sblock.fs_bsize); in expanddir() 681 freeblk(newblk, sblock.fs_frag); in expanddir()
|