Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/filesystems/mount_cycle/
H A Dloop_cycle_test.c158 #define MINIX_BLOCK 1024 macro
161 #define MINIX_ITABLE (MINIX_INODES * 32 / MINIX_BLOCK)
183 .s_max_size = (7 + 512 + 512 * 512) * MINIX_BLOCK, in write_minix()
198 unsigned char imap[MINIX_BLOCK], zmap[MINIX_BLOCK], dir[MINIX_BLOCK] = {}; in write_minix()
214 if (pwrite(fd, &sb, sizeof(sb), 1 * MINIX_BLOCK) != sizeof(sb) || in write_minix()
215 pwrite(fd, imap, sizeof(imap), 2 * MINIX_BLOCK) != sizeof(imap) || in write_minix()
216 pwrite(fd, zmap, sizeof(zmap), 3 * MINIX_BLOCK) != sizeof(zmap) || in write_minix()
217 pwrite(fd, &root, sizeof(root), 4 * MINIX_BLOCK) != sizeof(root) || in write_minix()
218 pwrite(fd, dir, sizeof(dir), MINIX_FIRSTDATA * MINIX_BLOCK) != sizeof(dir)) in write_minix()
220 return ftruncate(fd, (off_t)MINIX_BLOCKS * MINIX_BLOCK); in write_minix()