Searched refs:zone_map (Results 1 – 2 of 2) sorted by relevance
/busybox-1.35.0/util-linux/ |
D | mkfs_minix.c | 138 char *zone_map; member 211 #define zone_in_use(x) minix_bit(G.zone_map,(x)-SB_FIRSTZONE+1) 216 #define mark_zone(x) minix_setbit(G.zone_map,(x)-SB_FIRSTZONE+1) 217 #define unmark_zone(x) minix_clrbit(G.zone_map,(x)-SB_FIRSTZONE+1) 245 xwrite(dev_fd, G.zone_map, SB_ZMAPS * BLOCK_SIZE); in write_tables() 595 G.zone_map = xmalloc(SB_ZMAPS * BLOCK_SIZE); in setup_tables() 597 memset(G.zone_map, 0xff, SB_ZMAPS * BLOCK_SIZE); in setup_tables()
|
D | fsck_minix.c | 165 char *zone_map; member 207 #define zone_map (G.zone_map ) macro 304 #define zone_in_use(x) (minix_bit(zone_map,(x)-FIRSTZONE+1)) 310 #define mark_zone(x) (minix_setbit(zone_map,(x)-FIRSTZONE+1)) 311 #define unmark_zone(x) (minix_clrbit(zone_map,(x)-FIRSTZONE+1)) 604 if (ZMAPS * BLOCK_SIZE != write(dev_fd, zone_map, ZMAPS * BLOCK_SIZE)) in write_tables() 668 zone_map = xzalloc(ZMAPS * BLOCK_SIZE); in read_tables() 674 if (ZMAPS * BLOCK_SIZE != read(dev_fd, zone_map, ZMAPS * BLOCK_SIZE)) in read_tables()
|