Searched refs:max_lba (Results 1 – 2 of 2) sorted by relevance
/external/fio/engines/ |
D | sg.c | 373 unsigned long long *max_lba) in fio_sgio_read_capacity() argument 417 …*max_lba = ((buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]) & MAX_10B_LBA; // for some … in fio_sgio_read_capacity() 423 if (*max_lba == MAX_10B_LBA) { in fio_sgio_read_capacity() 447 *max_lba = ((unsigned long long)buf[0] << 56) | in fio_sgio_read_capacity() 505 unsigned long long max_lba = 0; in fio_sgio_type_check() local 520 ret = fio_sgio_read_capacity(td, &bs, &max_lba); in fio_sgio_type_check() 534 if (max_lba >= MAX_10B_LBA) { in fio_sgio_type_check() 537 MAX_10B_LBA, max_lba); in fio_sgio_type_check() 786 unsigned long long max_lba = 0; in fio_sgio_get_file_size() local 798 ret = fio_sgio_read_capacity(td, &bs, &max_lba); in fio_sgio_get_file_size() [all …]
|
/external/libusb/examples/ |
D | xusb.c | 459 uint32_t i, max_lba, block_size; in test_mass_storage() local 512 max_lba = be_to_int32(&buffer[0]); in test_mass_storage() 514 device_size = ((double)(max_lba+1))*block_size/(1024*1024*1024); in test_mass_storage() 515 printf(" Max LBA: %08X, Block Size: %08X (%.2f GB)\n", max_lba, block_size, device_size); in test_mass_storage()
|