Home
last modified time | relevance | path

Searched refs:bytes1 (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted_size.ksh50 bytes1=$(cat $size | tr -d '[[:space:]]')
52 [[ "$bytes1" -eq "$bytes2" ]] || \
53 log_fail "Full sizes differ: estimate $bytes1 and actual $bytes2"
59 bytes1=$(cat $size | tr -d '[[:space:]]')
61 [[ "$bytes1" -eq "$bytes2" ]] || \
62 log_fail "Incremental sizes differ: estimate $bytes1 and actual $bytes2"
/freebsd-13.1/sys/dev/xen/evtchn/
H A Devtchn_dev.c245 unsigned int c, p, bytes1 = 0, bytes2 = 0; in evtchn_read() local
286 bytes1 = (EVTCHN_RING_SIZE - EVTCHN_RING_MASK(c)) * in evtchn_read()
290 bytes1 = (p - c) * sizeof(evtchn_port_t); in evtchn_read()
295 if (bytes1 > count) { in evtchn_read()
296 bytes1 = count; in evtchn_read()
298 } else if ((bytes1 + bytes2) > count) { in evtchn_read()
299 bytes2 = count - bytes1; in evtchn_read()
305 if (uiomove(&u->ring[EVTCHN_RING_MASK(c)], bytes1, uio) || in evtchn_read()
309 u->ring_cons += (bytes1 + bytes2) / sizeof(evtchn_port_t); in evtchn_read()