Lines Matching defs:bytes
315 * Lanai needs DMA buffers aligned to 256 bytes of at least 1024 bytes -
324 * Note that the size will be rounded up 2^n bytes, and
329 size_t bytes, size_t minbytes, struct pci_dev *pci)
333 if (bytes > (128 * 1024)) /* max lanai buffer size */
334 bytes = 128 * 1024;
335 for (size = LANAI_PAGE_SIZE; size < bytes; size *= 2)
362 /* size of buffer in bytes */
671 /* How many bytes will an AAL5 PDU take to transmit - remember that:
672 * o we need to add 8 bytes for length, CPI, UU, and CRC
673 * o we need to round up to 48 bytes for cells
1132 /* space left in tx buffer in bytes */
1275 * space available. "pdusize" is the number of bytes the PDU will take
1446 int bytes = (lanai->num_vci) * sizeof(struct lanai_vcc *);
1447 lanai->vccs = vzalloc(bytes);
1490 printk(KERN_WARNING DEV_LABEL "(itf %d): wanted %d bytes "
1666 int bytes;
1671 bytes = (SERVICE_GET_END(s) * 16) -
1674 if (bytes < 0)
1675 bytes += lanai_buf_size(&lvcc->rx.buf);
1676 lanai->stats.ovfl_trash += (bytes / 48);