Searched refs:bio_size (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c538 int bio_size; local
574 bio_size = io_size;
578 if (bio_size <= 0)
594 abd_nr_pages_off(zio->io_abd, bio_size, abd_offset)));
597 MIN(abd_nr_pages_off(zio->io_abd, bio_size, abd_offset),
615 bio_size = abd_bio_map_off(dr->dr_bio[i], zio->io_abd,
616 bio_size, abd_offset);
H A Dabd_os.c951 bio_map(struct bio *bio, void *buf_ptr, unsigned int bio_size) argument
960 if (bio_size <= 0)
963 if (size > bio_size)
964 size = bio_size;
982 bio_size -= size;
986 return (bio_size);
/freebsd-13-stable/stand/i386/libi386/
H A Dbiosdisk.c967 size_t blks, blkoff, bsize, bio_size, rest; local
1043 bio_size = min(BIO_BUFFER_SIZE, size);
1044 while (bio_size > bd->bd_sectorsize) {
1045 bbuf = bio_alloc(bio_size);
1048 bio_size -= bd->bd_sectorsize;
1051 bio_size = V86_IO_BUFFER_SIZE;
1052 if (bio_size / bd->bd_sectorsize == 0)
1061 int x = min(blks, bio_size / bd->bd_sectorsize);
1128 bio_free(bbuf, bio_size);
/freebsd-13-stable/stand/efi/libefi/
H A Defipart.c1082 size_t blkoff, blksz, bio_size; local
1148 for (bio_size = BIO_BUFFER_SIZE; bio_size > 0;
1149 bio_size -= blkio->Media->BlockSize) {
1150 blkbuf = memalign(ioalign, bio_size);
1156 bio_size = size;
1170 size_t x = min(size, bio_size);

Completed in 121 milliseconds