Searched refs:need (Results 1 - 5 of 5) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | mcache.c | 73 /* Allocate extra in case we need to manually align the pointer */ 427 unsigned int need = num; local 459 objs = MIN((unsigned int)ccp->cc_objs, need); 469 if ((need -= objs) == 0) { 522 need -= (*cp->mc_slab_alloc)(cp->mc_private, &list, need, wait); 528 if (need > 0) { 544 (*cp->mc_slab_log)((num - need), *top, TRUE); 547 return (num - need); 565 if (n != (num - need)) { 873 unsigned int need = num; local [all...] |
H A D | uipc_mbuf.c | 1923 unsigned int need = num; local 1927 ASSERT(need > 0); 1936 if (--need == 0) { 1983 mbuf_sleep(class, need, wait)) 1990 m_alloc_cnt(class) += num - need; 1993 return (num - need); 1998 * layer when one or more elements need to be returned to the appropriate 2111 unsigned int need = num; local 2117 VERIFY(need > 0); 2157 if (--need [all...] |
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_subs.c | 564 uint32_t left, need, mblen, cplen, padlen; local 591 /* we need (len - left) more bytes */ 594 need = len - left; 596 if (need > mbuf_trailingspace(mbcur)) { 652 * move the next "need" bytes into the current 657 mbuf_setlen(mbcur, mbuf_len(mbcur) + need); 662 while (need && mb) { 663 /* copy as much as we need/can */ 666 cplen = MIN(mblen, need); 675 mbuf_setlen(mbcur, mbuf_len(mbcur) - need); [all...] |
/darwin-on-arm/xnu/bsd/net/ |
H A D | if_bond.c | 1599 /* XXX need to take a reference on bond_ifp */ 1809 /* XXX need to take a reference on bond_ifp */ 2167 /* check if we need to generate a link status event */ 2314 /* check if we need to generate a link status event */ 2477 /* check if we need to generate a link status event */ 2981 /* XXX need to take a reference on bond_ifp */ 3372 int need = 0; local 3376 need = bond->ifb_max_active; 3388 if (need > 0) { 3390 need [all...] |
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSKext.cpp | 325 * When both sKextLock and sKextInnerLock need to be taken, 327 * locks in an entry point to OSKext; if you need to do so, you must 344 * Backtraces can be printed at various times so we need a tight lock 381 #pragma mark OSData callbacks (need to move to OSData) 739 * This could be in OSKextLib.cpp but we need to hold a lock 778 * Dispose of unnecessary stuff that the booter didn't need to load. 1059 * OSKextLib.cpp might need access to this someday but for now it's 1400 /* Don't need the paths to be in the info dictionary any more. 2599 /* No need to free uncompressedDataBuffer here, either. */ 2608 * xxx - need t [all...] |
Completed in 63 milliseconds