Searched refs:packetlen (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dkpi_mbuf.c956 mbuf_allocpacket(mbuf_how_t how, size_t packetlen, unsigned int *maxchunks, mbuf_t *mbuf) argument
963 if (packetlen == 0) {
967 m = m_allocpacket_internal(&numpkts, packetlen, maxchunks ? &numchunks : NULL, how, 1, 0);
984 mbuf_allocpacket_list(unsigned int numpkts, mbuf_how_t how, size_t packetlen, unsigned int *maxchunks, mbuf_t *mbuf) argument
994 if (packetlen == 0) {
998 m = m_allocpacket_internal(&numpkts, packetlen, maxchunks ? &numchunks : NULL, how, 1, 0);
H A Duipc_mbuf.c3741 * each mbuf in the list is controlled by the parameter packetlen. Each
3751 m_allocpacket_internal(unsigned int *numlist, size_t packetlen, argument
3770 if (packetlen <= MINCLSIZE) {
3771 bufsize = packetlen;
3772 } else if (packetlen > m_maxsize(MC_CL)) {
3774 if (packetlen <= m_maxsize(MC_BIGCL) || njcl == 0)
3800 nsegs = ((packetlen - 1) >> (PGSHIFT + 2)) + 1;
3802 nsegs = ((packetlen - 1) >> PGSHIFT) + 1;
3804 nsegs = ((packetlen - 1) >> MCLSHIFT) + 1;
3891 * mbufs + cluster, depending on packetlen
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dkpi_mbuf.h504 @param packetlen The total length of the packet mbuf to be allocated.
516 Additional notes for packetlen greater than 4096 bytes:
531 extern errno_t mbuf_allocpacket(mbuf_how_t how, size_t packetlen,
543 @param packetlen The total length of the packet mbuf to be allocated.
555 Additional notes for packetlen greater than 4096 bytes:
571 size_t packetlen, unsigned int * maxchunks, mbuf_t *mbuf);

Completed in 75 milliseconds