Lines Matching refs:need
564 uint32_t left, need, mblen, cplen, padlen;
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);
678 /* update pointer/need */
680 need -= cplen;
683 if (need)
688 if (need) {
689 mbuf_setlen(mbcur, mbuf_len(mbcur) - need);
724 /* loop through mbufs copying all the data we need */
726 /* copy as much as we need/can */
768 /* loop through mbufs copying all the data we need */
770 /* copy as much as we need/can */
943 /* we need valid attributes in order to call nfs_nget() */
1389 * there may be type-specific fields that need to be
1428 /* no need to do all the checking if it's already set */;
1485 /* NFS_FFLAG_IS_ATTR and NFS_FFLAG_TRIGGER_REFERRAL need to be sticky... */
1548 * n_size is protected by the data lock, so we need to
1670 * n_size is protected by the data lock, so we need to
1778 int needmore; /* set when we know we need more input (e.g. after colon, period) */
1879 if (dci >= 0) { /* got a double-colon at i, need to insert a range of zeroes */
2508 * do not need to make a new entry but do continue.
2566 * In order to properly track an export's netopt count, we need to pass