Searched refs:need (Results 1 - 5 of 5) sorted by relevance
/xnu-2422.115.4/bsd/kern/ |
H A D | mcache.c | 73 /* Allocate extra in case we need to manually align the pointer */ 446 unsigned int need = num; local 478 objs = MIN((unsigned int)ccp->cc_objs, need); 488 if ((need -= objs) == 0) { 541 need -= (*cp->mc_slab_alloc)(cp->mc_private, &list, need, wait); 547 if (need > 0) { 563 (*cp->mc_slab_log)((num - need), *top, TRUE); 566 return (num - need); 584 if (n != (num - need)) { 889 unsigned int need = num; local [all...] |
H A D | uipc_mbuf.c | 1970 unsigned int need = num; local 1974 ASSERT(need > 0); 1983 if (--need == 0) { 2030 mbuf_sleep(class, need, wait)) 2037 m_alloc_cnt(class) += num - need; 2040 return (num - need); 2045 * layer when one or more elements need to be returned to the appropriate 2158 unsigned int need = num; local 2164 VERIFY(need > 0); 2204 if (--need [all...] |
/xnu-2422.115.4/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...] |
/xnu-2422.115.4/bsd/net/ |
H A D | if_bond.c | 1602 /* XXX need to take a reference on bond_ifp */ 1812 /* XXX need to take a reference on bond_ifp */ 2170 /* check if we need to generate a link status event */ 2317 /* check if we need to generate a link status event */ 2480 /* check if we need to generate a link status event */ 2984 /* XXX need to take a reference on bond_ifp */ 3365 int need = 0; local 3369 need = bond->ifb_max_active; 3381 if (need > 0) { 3383 need [all...] |
/xnu-2422.115.4/libkern/c++/ |
H A D | OSKext.cpp | 327 * When both sKextLock and sKextInnerLock need to be taken, 329 * locks in an entry point to OSKext; if you need to do so, you must 346 * Backtraces can be printed at various times so we need a tight lock 388 #pragma mark OSData callbacks (need to move to OSData) 745 * This could be in OSKextLib.cpp but we need to hold a lock 784 * Dispose of unnecessary stuff that the booter didn't need to load. 1057 * OSKextLib.cpp might need access to this someday but for now it's 1398 /* Don't need the paths to be in the info dictionary any more. 2605 /* No need to free uncompressedDataBuffer here, either. */ 2614 * xxx - need t [all...] |
Completed in 60 milliseconds