Lines Matching defs:need
545 uint32_t left, need, mblen, cplen, padlen;
572 /* we need (len - left) more bytes */
575 need = len - left;
577 if (need > mbuf_trailingspace(mbcur)) {
633 * move the next "need" bytes into the current
638 mbuf_setlen(mbcur, mbuf_len(mbcur) + need);
643 while (need && mb) {
644 /* copy as much as we need/can */
647 cplen = MIN(mblen, need);
656 mbuf_setlen(mbcur, mbuf_len(mbcur) - need);
659 /* update pointer/need */
661 need -= cplen;
664 if (need)
669 if (need) {
670 mbuf_setlen(mbcur, mbuf_len(mbcur) - need);
705 /* loop through mbufs copying all the data we need */
707 /* copy as much as we need/can */
749 /* loop through mbufs copying all the data we need */
751 /* copy as much as we need/can */
897 /* we need valid attributes in order to call nfs_nget() */
1265 * there may be type-specific fields that need to be
1293 * n_size is protected by the data lock, so we need to
1414 * n_size is protected by the data lock, so we need to
1420 /* need to upgrade shared lock to exclusive */
2073 * do not need to make a new entry but do continue.
2110 * In order to properly track an export's netopt count, we need to pass