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

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkpi_mbuf.c982 mbuf_allocpacket(mbuf_how_t how, size_t packetlen, unsigned int *maxchunks, mbuf_t *mbuf) argument
987 unsigned int numchunks = maxchunks ? *maxchunks : 0;
993 m = m_allocpacket_internal(&numpkts, packetlen, maxchunks ? &numchunks : NULL, how, 1, 0);
995 if (maxchunks && *maxchunks && numchunks > *maxchunks)
1000 if (maxchunks)
1001 *maxchunks = numchunks;
1010 mbuf_allocpacket_list(unsigned int numpkts, mbuf_how_t how, size_t packetlen, unsigned int *maxchunks, mbuf_ argument
[all...]
H A Duipc_syscalls.c1957 alloc_sendpkt(int how, size_t pktlen, unsigned int *maxchunks, argument
1993 *maxchunks = needed;
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dkpi_mbuf.h491 @param maxchunks An input/output pointer to the maximum number of mbufs
492 segments making up the chain. On input, if maxchunks is NULL,
493 or the value pointed to by maxchunks is zero, the packet will
499 maxchunks is non-NULL, it will point to the actual number
502 the caller may pass a non-NULL maxchunks and initialize it
506 pointed to by maxchunks. E.g. a request for 9018 bytes may
516 errno_t mbuf_allocpacket(mbuf_how_t how, size_t packetlen, unsigned int * maxchunks, mbuf_t *mbuf);
529 @param maxchunks An input/output pointer to the maximum number of
530 mbufs segments making up the chain. On input, if maxchunks is
531 zero, or the value pointed to by maxchunks i
[all...]

Completed in 52 milliseconds