Searched refs:lbsize (Results 1 – 3 of 3) sorted by relevance
| /src/lib/libc/gen/ |
| H A D | getttyent.c | 44 static size_t lbsize; variable 129 if (!fgets(p = line, lbsize, tf)) in getttyent() 134 lbsize += MALLOCCHUNK; in getttyent() 135 if ((p = realloc(line, lbsize)) == NULL) { in getttyent() 140 if (!fgets(&line[i], lbsize - i, tf)) in getttyent() 264 lbsize = MALLOCCHUNK; in setttyent()
|
| /src/sys/contrib/openzfs/lib/libefi/ |
| H A D | rdwr_efi.c | 161 read_disk_info(int fd, diskaddr_t *capacity, uint_t *lbsize) in read_disk_info() argument 172 *lbsize = (uint_t)sector_size; in read_disk_info() 337 uint_t lbsize = 0; in efi_alloc_and_init() local 344 if (read_disk_info(fd, &capacity, &lbsize) != 0) in efi_alloc_and_init() 358 nblocks = NBLOCKS(nparts, lbsize); in efi_alloc_and_init() 359 if ((nblocks * lbsize) < EFI_MIN_ARRAY_SIZE + lbsize) { in efi_alloc_and_init() 361 nblocks = EFI_MIN_ARRAY_SIZE / lbsize + 1; in efi_alloc_and_init() 383 vptr->efi_lbasize = lbsize; in efi_alloc_and_init() 458 uint_t lbsize; in efi_ioctl() local 464 if (read_disk_info(fd, &capacity, &lbsize) == -1) { in efi_ioctl() [all …]
|
| /src/sys/fs/unionfs/ |
| H A D | union_vfsops.c | 496 uint64_t lbsize; in unionfs_statfs() local 516 lbsize = mstat->f_bsize; in unionfs_statfs() 533 if (mstat->f_bsize != lbsize) in unionfs_statfs() 534 sbp->f_blocks = ((off_t)sbp->f_blocks * lbsize) / in unionfs_statfs()
|