Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/eth/
H A Dmcs7830.c529 int rc, wantlen, gotlen; in mcs7830_recv_common() local
535 wantlen = MCS7830_RX_URB_SIZE; in mcs7830_recv_common()
538 &buf[0], wantlen, &gotlen, in mcs7830_recv_common()
541 __func__, wantlen, gotlen, rc); in mcs7830_recv_common()
546 if (gotlen > wantlen) { in mcs7830_recv_common()
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_alloc.c366 xfs_extlen_t wantlen, /* target length */ in xfs_alloc_compute_diff() argument
381 ASSERT(freelen >= wantlen); in xfs_alloc_compute_diff()
383 wantend = wantbno + wantlen; in xfs_alloc_compute_diff()
400 newlen1 = XFS_EXTLEN_MIN(wantlen, freeend - newbno1); in xfs_alloc_compute_diff()
404 newlen2 = XFS_EXTLEN_MIN(wantlen, freeend - newbno2); in xfs_alloc_compute_diff()
416 newbno1 = roundup(freeend - wantlen, alignment); in xfs_alloc_compute_diff()
417 if (newbno1 > freeend - wantlen && in xfs_alloc_compute_diff()
423 newbno1 = freeend - wantlen; in xfs_alloc_compute_diff()