Home
last modified time | relevance | path

Searched refs:bio_size (Results 1 – 3 of 3) sorted by relevance

/freebsd/stand/i386/libi386/
H A Dbiosdisk.c972 size_t blks, blkoff, bsize, bio_size, rest; in bd_realstrategy() local
1049 bio_size = min(BIO_BUFFER_SIZE, size); in bd_realstrategy()
1050 while (bio_size > bd->bd_sectorsize) { in bd_realstrategy()
1051 bbuf = bio_alloc(bio_size); in bd_realstrategy()
1054 bio_size -= bd->bd_sectorsize; in bd_realstrategy()
1057 bio_size = V86_IO_BUFFER_SIZE; in bd_realstrategy()
1058 if (bio_size / bd->bd_sectorsize == 0) in bd_realstrategy()
1067 int x = min(blks, bio_size / bd->bd_sectorsize); in bd_realstrategy()
1134 bio_free(bbuf, bio_size); in bd_realstrategy()
/freebsd/stand/efi/libefi/
H A Defipart.c1087 size_t blkoff, blksz, bio_size; in efipart_realstrategy() local
1153 for (bio_size = BIO_BUFFER_SIZE; bio_size > 0; in efipart_realstrategy()
1154 bio_size -= blkio->Media->BlockSize) { in efipart_realstrategy()
1155 blkbuf = memalign(ioalign, bio_size); in efipart_realstrategy()
1161 bio_size = size; in efipart_realstrategy()
1175 size_t x = min(size, bio_size); in efipart_realstrategy()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dabd_os.c1252 bio_map(struct bio *bio, void *buf_ptr, unsigned int bio_size) in bio_map() argument
1261 if (bio_size <= 0) in bio_map()
1264 if (size > bio_size) in bio_map()
1265 size = bio_size; in bio_map()
1283 bio_size -= size; in bio_map()
1287 return (bio_size); in bio_map()