Home
last modified time | relevance | path

Searched refs:ind_block_num (Results 1 – 2 of 2) sorted by relevance

/freebsd/stand/libsa/
H A Dufs.c223 ufs2_daddr_t ind_block_num; in block_map() local
273 ind_block_num = DIP(fp, di_ib[level]); in block_map()
276 if (ind_block_num == 0) { in block_map()
281 if (fp->f_blkno[level] != ind_block_num) { in block_map()
287 fsbtodb(fp->f_fs, ind_block_num), in block_map()
295 fp->f_blkno[level] = ind_block_num; in block_map()
305 ind_block_num = ((ufs1_daddr_t *)fp->f_blk[level])[idx]; in block_map()
307 ind_block_num = ((ufs2_daddr_t *)fp->f_blk[level])[idx]; in block_map()
310 *disk_block_p = ind_block_num; in block_map()
H A Dext2fs.c601 daddr_t ind_block_num; in block_map() local
653 ind_block_num = fp->f_di.di_ib[level]; in block_map()
656 if (ind_block_num == 0) { in block_map()
661 if (fp->f_blkno[level] != ind_block_num) { in block_map()
667 fsb_to_db(fp->f_fs, ind_block_num), fs->fs_bsize, in block_map()
673 fp->f_blkno[level] = ind_block_num; in block_map()
684 ind_block_num = ind_p[idx]; in block_map()
687 *disk_block_p = ind_block_num; in block_map()