Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance

/busybox-1.35.0/util-linux/
Dminix.h55 #undef BLOCK_SIZE
58 BLOCK_SIZE = 1024, enumerator
59 BITS_PER_BLOCK = BLOCK_SIZE << 3,
78 MINIX1_INODES_PER_BLOCK = BLOCK_SIZE / sizeof(struct minix1_inode),
79 MINIX2_INODES_PER_BLOCK = BLOCK_SIZE / sizeof(struct minix2_inode),
Dmkfs_minix.c143 char root_block[BLOCK_SIZE];
145 char superblock_buffer[BLOCK_SIZE];
151 char check_blocks_buffer[BLOCK_SIZE * TEST_BUFFER_BLOCKS];
153 unsigned short ind_block1[BLOCK_SIZE >> 1];
154 unsigned short dind_block1[BLOCK_SIZE >> 1];
155 unsigned long ind_block2[BLOCK_SIZE >> 2];
156 unsigned long dind_block2[BLOCK_SIZE >> 2];
190 #define INODE_BUFFER_SIZE (INODE_BLOCKS * BLOCK_SIZE)
236 xlseek(dev_fd, BLOCK_SIZE, SEEK_SET); in write_tables()
239 xwrite(dev_fd, G.u.superblock_buffer, BLOCK_SIZE); in write_tables()
[all …]
Dfsck_minix.c124 char BUG_bad_inode1_size[(INODE_SIZE1 * MINIX1_INODES_PER_BLOCK != BLOCK_SIZE) ? -1 : 1];
126 char BUG_bad_inode2_size[(INODE_SIZE2 * MINIX2_INODES_PER_BLOCK != BLOCK_SIZE) ? -1 : 1];
177 char superblock_buffer[BLOCK_SIZE];
180 char add_zone_ind_blk[BLOCK_SIZE];
181 char add_zone_dind_blk[BLOCK_SIZE];
182 IF_FEATURE_MINIX2(char add_zone_tind_blk[BLOCK_SIZE];)
183 char check_file_blk[BLOCK_SIZE];
281 #define INODE_BUFFER_SIZE (INODE_BLOCKS * BLOCK_SIZE)
470 memset(addr, 0, BLOCK_SIZE); in read_block()
473 xlseek(dev_fd, BLOCK_SIZE * nr, SEEK_SET); in read_block()
[all …]
Dmkfs_vfat.c56 #define SECTORS_PER_BLOCK (BLOCK_SIZE / SECTOR_SIZE)
580 char *blkbuf = xmalloc(BLOCK_SIZE * TEST_BUFFER_BLOCKS); in mkfs_vfat_main()
596 xlseek(dev, currently_testing * BLOCK_SIZE, SEEK_SET); in mkfs_vfat_main()
598 got = read(dev, blkbuf, try * BLOCK_SIZE); in mkfs_vfat_main()
601 if (got & (BLOCK_SIZE - 1)) in mkfs_vfat_main()
603 got /= BLOCK_SIZE; in mkfs_vfat_main()