Lines Matching refs:gd
158 struct ext2_group_desc gd;160 if (read(blk_fd, &gd, sizeof(gd)) != sizeof(gd)) {164 if (gd.bg_free_blocks_count) {169 gd.bg_free_blocks_count--;171 if (lseek(blk_fd, -sizeof(gd), SEEK_CUR) == -1) {176 if (write(blk_fd, &gd, sizeof(gd)) != sizeof(gd)) {