Searched refs:blk (Results 1 – 2 of 2) sorted by relevance
253 static void write_block(int blk, char *buffer) in write_block() argument255 xlseek(dev_fd, blk * BLOCK_SIZE, SEEK_SET); in write_block()261 int blk; in get_free_block() local266 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 …]
613 char blk[BLOCK_SIZE]; in get_dirsize() local622 read_block(block, blk); in get_dirsize()624 if (strcmp(blk + size + 2, "..") == 0) { in get_dirsize()