Home
last modified time | relevance | path

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

/busybox-1.35.0/util-linux/
Dmkfs_minix.c253 static void write_block(int blk, char *buffer) in write_block() argument
255 xlseek(dev_fd, blk * BLOCK_SIZE, SEEK_SET); in write_block()
261 int blk; in get_free_block() local
266 blk = G.good_blocks_table[G.used_good_blocks - 1] + 1; in get_free_block()
268 blk = SB_FIRSTZONE; in get_free_block()
269 while (blk < SB_ZONES && zone_in_use(blk)) in get_free_block()
270 blk++; in get_free_block()
271 if (blk >= SB_ZONES) in get_free_block()
273 G.good_blocks_table[G.used_good_blocks] = blk; in get_free_block()
275 return blk; in get_free_block()
[all …]
Dfsck_minix.c613 char blk[BLOCK_SIZE]; in get_dirsize() local
622 read_block(block, blk); in get_dirsize()
624 if (strcmp(blk + size + 2, "..") == 0) { in get_dirsize()