Searched refs:e2di_blocks (Results 1 – 9 of 9) sorted by relevance
| /netbsd-src/sbin/fsck_ext2fs/ |
| H A D | pass1.c | 172 memcmp(dp->e2di_blocks, zino.e2di_blocks, in checkinode() 255 if (dp->e2di_blocks[j] != 0) { in checkinode() 258 fs2h32(dp->e2di_blocks[j])); in checkinode() 264 if (dp->e2di_blocks[j+EXT2FS_NDADDR] != 0) { in checkinode() 267 fs2h32(dp->e2di_blocks[j+EXT2FS_NDADDR])); in checkinode()
|
| H A D | dir.c | 562 if (lastbn >= EXT2FS_NDADDR - 1 || fs2h32(dp->e2di_blocks[lastbn]) == 0 || in expanddir() 569 dp->e2di_blocks[lastbn + 1] = dp->e2di_blocks[lastbn]; in expanddir() 570 dp->e2di_blocks[lastbn] = h2fs32(newblk); in expanddir() 573 bp = getdirblk(fs2h32(dp->e2di_blocks[lastbn + 1]), in expanddir() 588 bp = getdirblk(fs2h32(dp->e2di_blocks[lastbn + 1]), in expanddir() 603 dp->e2di_blocks[lastbn] = dp->e2di_blocks[lastbn + 1]; in expanddir() 604 dp->e2di_blocks[lastbn + 1] = 0; in expanddir() 641 bp = getdirblk(fs2h32(dp->e2di_blocks[0]), sblock.e2fs_bsize); in allocdir()
|
| H A D | inode.c | 186 for (ap = &dino.e2di_blocks[0]; ap < &dino.e2di_blocks[EXT2FS_NDADDR]; in ckinode() 199 (ap - &dino.e2di_blocks[0]) * in ckinode() 220 for (ap = &dino.e2di_blocks[EXT2FS_NDADDR], n = 1; n <= EXT2FS_NIADDR; ap++, n++) { in ckinode() 521 memcpy(&inp->i_blks[0], &dp->e2di_blocks[0], (size_t)inp->i_numblks); in cacheino() 719 dp->e2di_blocks[0] = h2fs32(allocblk()); in allocino() 720 if (dp->e2di_blocks[0] == 0) { in allocino()
|
| H A D | pass2.c | 182 memcpy(&dino.e2di_blocks[0], &inp->i_blks[0], (size_t)inp->i_numblks); in pass2()
|
| /netbsd-src/sbin/newfs_ext2fs/ |
| H A D | mke2fs.c | 953 node.e2di_blocks[0] = alloc(sblock.e2fs_bsize, node.e2di_mode); in fsinit() 954 if (node.e2di_blocks[0] == 0) { in fsinit() 965 node.e2di_blocks[i] = blk; in fsinit() 967 wtfs(EXT2_FSBTODB(&sblock, node.e2di_blocks[0]), in fsinit() 973 wtfs(EXT2_FSBTODB(&sblock, node.e2di_blocks[i]), in fsinit() 1000 node.e2di_blocks[0] = alloc(node.e2di_size, node.e2di_mode); in fsinit() 1001 if (node.e2di_blocks[0] == 0) { in fsinit() 1005 wtfs(EXT2_FSBTODB(&sblock, node.e2di_blocks[0]), in fsinit() 1150 node.e2di_blocks[i] = 0; in init_resizeino() 1152 node.e2di_blocks[EXT2FS_NDADD in init_resizeino() [all...] |
| /netbsd-src/sys/ufs/ext2fs/ |
| H A D | ext2fs_dinode.h | 123 uint32_t e2di_blocks[EXT2FS_NDADDR+EXT2FS_NIADDR]; member 158 #define i_e2fs_blocks i_din.e2fs_din->e2di_blocks 271 #define e2di_rdev e2di_blocks[0] 272 #define e2di_shortlink e2di_blocks
|
| H A D | ext2fs_extents.c | 189 ehp = (struct ext4_extent_header *)ip->i_din.e2fs_din->e2di_blocks; in ext4_ext_find_extent()
|
| /netbsd-src/usr.sbin/installboot/ |
| H A D | ext2fs.c | 250 level[0].blknums = &inode->e2di_blocks[0]; in ext2fs_find_disk_blocks() 252 level[1].blknums = &inode->e2di_blocks[UFS_NDADDR + 0]; in ext2fs_find_disk_blocks() 254 level[2].blknums = &inode->e2di_blocks[UFS_NDADDR + 1]; in ext2fs_find_disk_blocks() 256 level[3].blknums = &inode->e2di_blocks[UFS_NDADDR + 2]; in ext2fs_find_disk_blocks()
|
| /netbsd-src/sys/lib/libsa/ |
| H A D | ext2fs.c | 245 *disk_block_p = fs2h32(fp->f_di.e2di_blocks[file_block]); in block_map() 269 fs2h32(fp->f_di.e2di_blocks[EXT2FS_NDADDR + in block_map() 633 memcpy(namebuf, fp->f_di.e2di_blocks, link_len); in ext2fs_open()
|