Searched refs:sectors (Results 1 – 14 of 14) sorted by relevance
/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | tapdisk-utils.c | 116 uint64_t sectors; in tapdisk_get_image_size() local 119 sectors = 0; in tapdisk_get_image_size() 131 if (blk_getimagesize(fd, §ors) != 0) in tapdisk_get_image_size() 139 sectors = (stat.st_size >> SECTOR_SHIFT); in tapdisk_get_image_size() 143 if (sectors == 0) { in tapdisk_get_image_size() 144 sectors = 16836057ULL; in tapdisk_get_image_size()
|
A D | block-remus.c | 413 uint64_t* sectors; in ramdisk_get_sectors() local 423 sectors = *psectors; in ramdisk_get_sectors() 506 uint64_t* sectors; in ramdisk_flush() local 527 qsort(sectors, count, sizeof(*sectors), uint64_compare); in ramdisk_flush() 530 base = sectors[i++]; in ramdisk_flush() 531 while (i < count && sectors[i] == sectors[i-1] + 1) in ramdisk_flush() 541 free(sectors); in ramdisk_flush() 567 free(sectors); in ramdisk_flush() 581 uint64_t* sectors; in ramdisk_start_flush() local 602 free(sectors); in ramdisk_start_flush() [all …]
|
A D | block-cache.c | 124 uint64_t sectors; member 145 radix_tree_calculate_height(uint64_t sectors) in radix_tree_calculate_height() argument 152 while (sectors > tree_size) in radix_tree_calculate_height() 355 uint64_t sector, uint64_t sectors) in radix_tree_add_leaves() argument 361 sectors << RADIX_TREE_NODE_SHIFT); in radix_tree_add_leaves() 365 for (i = 0; i < sectors; i++) in radix_tree_add_leaves() 475 radix_tree_initialize(radix_tree_t *tree, uint64_t sectors) in radix_tree_initialize() argument 477 tree->height = radix_tree_calculate_height(sectors); in radix_tree_initialize() 537 cache->sectors = driver->info.size; in block_cache_open() 540 err = radix_tree_initialize(tree, cache->sectors); in block_cache_open() [all …]
|
A D | block-qcow.c | 304 uint64_t sectors; in qtruncate() local 318 sectors = (length + DEFAULT_SECTOR_SIZE - 1)/DEFAULT_SECTOR_SIZE; in qtruncate() 326 if(st.st_size < sectors * DEFAULT_SECTOR_SIZE) { in qtruncate() 349 for (i = current; i < sectors; i++ ) { in qtruncate() 359 } else if(sparse && (st.st_size > sectors * DEFAULT_SECTOR_SIZE)) in qtruncate() 360 if (ftruncate(fd, (off_t)sectors * DEFAULT_SECTOR_SIZE)==-1) { in qtruncate()
|
A D | tapdisk-control.c | 484 response.u.image.sectors = image.size; in tapdisk_control_open_image()
|
/xen-4.10.0-shim-comet/tools/blktap2/include/ |
A D | tapdisk-message.h | 65 uint64_t sectors; member
|
A D | libvhd.h | 169 vhd_sectors_to_bytes(uint64_t sectors) in vhd_sectors_to_bytes() argument 171 return sectors << VHD_SECTOR_SHIFT; in vhd_sectors_to_bytes()
|
/xen-4.10.0-shim-comet/stubdom/grub/ |
A D | mini-os.c | 99 geometry->sectors = 63; in get_diskinfo() 101 geometry->total_sectors = blk_info[i].sectors; in get_diskinfo()
|
/xen-4.10.0-shim-comet/xen/arch/x86/boot/ |
A D | edd.S | 39 # bytes are used to store the legacy cylinders, heads, and sectors from fn08.
|
/xen-4.10.0-shim-comet/stubdom/vtpm/ |
A D | vtpmblk.c | 49 slot_size = blkinfo.sectors * blkinfo.sector_size / 2; in init_vtpmblk()
|
/xen-4.10.0-shim-comet/tools/firmware/rombios/ |
A D | rombios.c | 3563 Bit32u sectors; 3621 sectors = (Bit32u) buf[0] << 24 3626 BX_DEBUG_ATA("sectors=%u\n", sectors); 3630 printf("%dMB medium detected\n", sectors>>(20-9)); 7000 mul al, ah ;; ax = heads * sectors 9041 ;; 23 sectors/track E 9089 mov dl, al ;; DL = sectors 9099 mov (0x003d + 0x0E), dl ;; number of physical sectors 9106 mov (0x003d + 0x04), dl ;; number of physical sectors 9189 ;; 0x2c sectors/track E [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/ |
A D | README | 276 sectors), sector_size (the size of each sector in bytes, and set
|
/xen-4.10.0-shim-comet/stubdom/grub.patches/ |
A D | 00cvs | 794 geom->sectors = hdg.sectors;
|
A D | 99minios | 97 " Print the number of sectors which STAGE1_5 occupies if successful."
|
Completed in 31 milliseconds