Home
last modified time | relevance | path

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

/external/syslinux/com32/lib/syslinux/
Dshuffle.c68 int desc_blocks, need_blocks; in syslinux_do_shuffle() local
114 desc_blocks = (nzero + DESC_BLOCK_SIZE - 1) / DESC_BLOCK_SIZE; in syslinux_do_shuffle()
118 addr_t descmem = desc_blocks * in syslinux_do_shuffle()
145 if (desc_blocks >= need_blocks) in syslinux_do_shuffle()
148 desc_blocks = need_blocks; /* Try again... */ in syslinux_do_shuffle()
206 np, nmoves, nzero, desc_blocks); in syslinux_do_shuffle()
/external/e2fsprogs/lib/ext2fs/
Dclosefs.c92 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_super_and_bgd_loc2()
325 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_flush2()
331 fs->desc_blocks); in ext2fs_flush2()
365 if (old_desc_blocks > fs->desc_blocks) in ext2fs_flush2()
366 old_desc_blocks = fs->desc_blocks; in ext2fs_flush2()
368 old_desc_blocks = fs->desc_blocks; in ext2fs_flush2()
488 meta_blks = fs->desc_blocks + 1; in ext2fs_close2()
Dinitialize.c77 rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - fs->desc_blocks; in calc_reserved_gdt_blocks()
292 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_initialize()
396 if (super->s_reserved_gdt_blocks + fs->desc_blocks > in ext2fs_initialize()
403 overhead += fs->desc_blocks; in ext2fs_initialize()
432 overhead += 1 + fs->desc_blocks + super->s_reserved_gdt_blocks; in ext2fs_initialize()
493 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_initialize()
498 memset(fs->group_desc, 0, (size_t) fs->desc_blocks * fs->blocksize); in ext2fs_initialize()
Dopenfs.c390 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in ext2fs_open2()
392 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_open2()
417 if (first_meta_bg > fs->desc_blocks) in ext2fs_open2()
418 first_meta_bg = fs->desc_blocks; in ext2fs_open2()
420 first_meta_bg = fs->desc_blocks; in ext2fs_open2()
436 for (i=first_meta_bg ; i < fs->desc_blocks; i++) { in ext2fs_open2()
Dres_gdt.c117 blk_t goal = sb_blk + fs->desc_blocks + in ext2fs_create_resize_inode()
141 for (rsv_off = 0, gdt_off = fs->desc_blocks, in ext2fs_create_resize_inode()
142 gdt_blk = sb_blk + 1 + fs->desc_blocks; in ext2fs_create_resize_inode()
Ddupfs.c66 retval = ext2fs_get_array(fs->desc_blocks, fs->blocksize, in ext2fs_dup_handle()
71 (size_t) fs->desc_blocks * fs->blocksize); in ext2fs_dup_handle()
Dalloc_sb.c59 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_reserve_super_and_bgd()
Dtst_fs_struct.c50 check_field(desc_blocks); in main()
Dimager.c221 actual = write(fd, cp, fs->blocksize * fs->desc_blocks); in ext2fs_image_super_write()
226 if (actual != (ssize_t) (fs->blocksize * fs->desc_blocks)) { in ext2fs_image_super_write()
Dext2fs.h227 unsigned long desc_blocks; member
/external/e2fsprogs/resize/
Donline.c104 fs->desc_blocks, new_desc_blocks); in online_resize_fs()
112 (new_desc_blocks != fs->desc_blocks)) { in online_resize_fs()
119 new_desc_blocks > (fs->desc_blocks + in online_resize_fs()
240 overhead += 1 + new_fs->desc_blocks + in online_resize_fs()
Dresize2fs.c272 (old_fs->desc_blocks != fs->desc_blocks)) { in adjust_reserved_gdt_blocks()
276 (old_fs->desc_blocks - fs->desc_blocks); in adjust_reserved_gdt_blocks()
315 rfs->new_fs->desc_blocks = ext2fs_div_ceil( in resize_group_descriptors()
318 retval = ext2fs_get_arrayzero(rfs->new_fs->desc_blocks, in resize_group_descriptors()
372 old_desc_blocks = rfs->old_fs->desc_blocks + in move_bg_metadata()
374 new_desc_blocks = rfs->new_fs->desc_blocks + in move_bg_metadata()
713 fs->desc_blocks = ext2fs_div_ceil(fs->group_desc_count, in adjust_fs_info()
737 overhead += 1 + fs->desc_blocks + in adjust_fs_info()
816 old_fs->desc_blocks != fs->desc_blocks) { in adjust_fs_info()
817 retval = ext2fs_resize_mem(old_fs->desc_blocks * in adjust_fs_info()
[all …]
/external/e2fsprogs/e2fsck/
Dsuper.c405 gdt_off = fs->desc_blocks; in check_resize_inode()
406 pblk = fs->super->s_first_data_block + 1 + fs->desc_blocks; in check_resize_inode()
644 (fs->super->s_first_meta_bg > fs->desc_blocks)) { in check_super_block()
645 pctx.group = fs->desc_blocks; in check_super_block()
Dpass1b.c980 (test_block <= first_block + fs->desc_blocks)) in check_if_fs_block()
1018 fs->desc_blocks))) in check_if_fs_cluster()
Dpass1.c3332 block <= (super + fs->desc_blocks)) {
3660 (blk <= first_block + fs->desc_blocks)) { in process_bad_block()
/external/e2fsprogs/misc/
Dmke2fs.c296 must_be_good = fs->super->s_first_data_block + 1 + fs->desc_blocks; in handle_bad_blocks()
319 for (j=0; j < fs->desc_blocks+1; j++) { in handle_bad_blocks()
697 (s->s_reserved_gdt_blocks + fs->desc_blocks) * in show_stats()
931 unsigned long group_desc_count, desc_blocks; in parse_extended_opts() local
966 desc_blocks = (group_desc_count + in parse_extended_opts()
970 desc_blocks; in parse_extended_opts()
De2image.c412 for (j = 0; j < fs->desc_blocks; j++) { in mark_table_blocks()
416 meta_blocks_count += fs->desc_blocks; in mark_table_blocks()
Ddumpe2fs.c188 old_desc_blocks = fs->desc_blocks; in list_desc()
Dfuse2fs.c2354 overhead = fs->desc_blocks + in op_statfs()