Searched refs:wantlen (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/usb/eth/ |
H A D | mcs7830.c | 529 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 D | xfs_alloc.c | 366 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()
|