Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:block

46 	blk_t		block, orig;
49 block = orig = *block_nr;
55 if (ext2fs_test_block_bitmap(pb->reserve, block)) {
57 if (++block >= fs->super->s_blocks_count)
58 block = fs->super->s_first_data_block;
59 if (block == orig) {
63 } while (ext2fs_test_block_bitmap(pb->reserve, block) ||
64 ext2fs_test_block_bitmap(pb->alloc_map, block));
71 retval = io_channel_write_blk(fs->io, block, 1, pb->buf);
76 *block_nr = block;
77 ext2fs_mark_block_bitmap(pb->alloc_map, block);
81 blockcnt, orig, block);
85 block, (int) blockcnt);
122 * gather directory block information while we're doing the
123 * block move.