Lines Matching defs:start_lba
947 __u64 start_lba;
951 err = get_dev_geometry(fd, NULL, NULL, NULL, &start_lba, NULL);
962 if (start_lba == 0ULL)
964 if (start_lba == START_LBA_UNKNOWN || fd_is_raid(fd)) {
969 fprintf(stderr, "Device %s has non-zero LBA starting offset of %llu.\n", devname, start_lba);
972 fprintf(stderr, "The absolute LBA of sector %llu from %s should be %llu\n", lba, devname, start_lba + lba);
2117 __u64 start_lba = 0, nsectors = 0;
2118 err = get_dev_geometry (fd, &cyls, &heads, §s, &start_lba, &nsectors);
2121 if (start_lba == START_LBA_UNKNOWN)
2124 printf("%lld\n", start_lba);