Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:block

175 	retval = ext2fs_allocate_block_bitmap(test_fs, "block bitmap",
178 com_err(name, retval, "while allocating block bitmap");
286 printf("block bitmap: ");
293 unsigned int block, num;
301 com_err(argv[0], 0, "Usage: setb <block> [num]");
305 block = parse_ulong(argv[1], argv[0], "block", &err);
315 block, num);
316 printf("Marking blocks %u to %u\n", block, block + num - 1);
320 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block);
321 op_result = ext2fs_mark_block_bitmap2(test_fs->block_map, block);
322 printf("Setting block %u, was %s before\n", block, op_result ?
331 unsigned int block, num;
339 com_err(argv[0], 0, "Usage: clearb <block> [num]");
343 block = parse_ulong(argv[1], argv[0], "block", &err);
353 block, num);
354 printf("Clearing blocks %u to %u\n", block, block + num - 1);
358 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block);
359 op_result = ext2fs_unmark_block_bitmap2(test_fs->block_map, block);
360 printf("Clearing block %u, was %s before\n", block, op_result ?
369 unsigned int block, num;
377 com_err(argv[0], 0, "Usage: testb <block> [num]");
381 block = parse_ulong(argv[1], argv[0], "block", &err);
392 block, num);
394 block, block + num - 1, test_result ? "" : "NOT ");
398 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block);
399 printf("Block %u is %s\n", block, test_result ? "set" : "clear");
432 printf("First unmarked block is %llu\n", out);
465 printf("First marked block is %llu\n", out);
474 printf("Clearing block bitmap.\n");