Lines Matching refs:max_lba
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()
805 f->real_file_size = (max_lba + 1) * bs; in fio_sgio_get_file_size()