Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libc/gen/
H A Ddisklabel.c70 char p, max, psize[3], pbsize[3], in getdiskbyname() local
122 strcpy(pbsize, "bx"); in getdiskbyname()
130 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p; in getdiskbyname()
141 if (cgetnum(buf, pbsize, &bsize) == 0) in getdiskbyname()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_disk.c289 uint64_t capacity = 0, blksz = 0, pbsize; in vdev_disk_open() local
557 pbsize = dkmext->dki_pbsize; in vdev_disk_open()
565 pbsize = blksz; in vdev_disk_open()
570 pbsize = DEV_BSIZE; in vdev_disk_open()
573 *ashift = highbit64(MAX(pbsize, SPA_MINBLOCKSIZE)) - 1; in vdev_disk_open()
/freebsd-12.1/sys/dev/ixgbe/
H A Dixgbe_common.c4737 u32 pbsize = hw->mac.rx_pb_size; in ixgbe_set_rxpba_generic() local
4742 pbsize -= headroom; in ixgbe_set_rxpba_generic()
4755 rxpktsize = (pbsize * 5) / (num_pb * 4); in ixgbe_set_rxpba_generic()
4756 pbsize -= rxpktsize * (num_pb / 2); in ixgbe_set_rxpba_generic()
4763 rxpktsize = (pbsize / (num_pb - i)) << IXGBE_RXPBSIZE_SHIFT; in ixgbe_set_rxpba_generic()