Lines Matching refs:alloc_hint
622 * 1) call_rep->alloc_hint is not 0 - just use that value
623 * 2) call_rep->alloc_hint is 0 AND both first/last frag flags set -
624 calculate alloc_hint
625 * 3) call_rep->alloc_hint is 0 AND both first/last frag flags not set -
626 leave alloc_hint at 0 so its ignored and print warning
629 if (call_rep->alloc_hint != 0)
631 RPC_CN_PKT_ALLOC_HINT (header_p) = call_rep->alloc_hint;
632 call_rep->alloc_hint -= (RPC_CN_CREP_ACC_BYTCNT (call_rep) - RPC_CN_CREP_SIZEOF_HDR (call_rep));
639 /* single fragment being set, so we can calculate alloc_hint */
645 /* not a single fragment, yet call_rep->alloc_hint is 0
648 ("(rpc__cn_transmit_buffers) setting alloc_hint is 0\n"));
915 ** The total amount is the alloc_hint.
929 ** FUNCTION VALUE: sum of the data lengths which is alloc_hint
943 unsigned32 alloc_hint = 0;
949 alloc_hint += iov_elt_p->data_len;
952 return (alloc_hint);