Lines Matching refs:need
73 /* Allocate extra in case we need to manually align the pointer */
446 unsigned int need = num;
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)) {
587 (void *)cp, num - need, n);
595 return (num - need);
781 * We need an empty bucket to put our freed objects into
864 * TODO: We need to destroy the zone here, but cannot do it
889 unsigned int need = num;
952 if (--need == 0)
956 return (num - need);