Lines Matching refs:sendsz
292 uint_t sendsz = 0;
296 * clnt_door_call() alloca()s sendsz bytes (twice too, once for
298 * we want to pick a sendsz that will be large enough, but not
306 if ((char *)&sendsz < (char *)st.ss_sp)
308 sendsz = ((char *)st.ss_sp - (char *)&sendsz);
311 sendsz = ((char *)&sendsz - (char *)st.ss_sp);
313 if (sendsz <= MIN_STACK_NEEDS) {
314 sendsz = 0; /* RPC call may fail */
317 sendsz -= MIN_STACK_NEEDS;
320 sendsz = RNDUP(sendsz / 2);
322 /* Limit sendsz to 256KB */
323 if (sendsz > IDMAP_MAX_DOOR_RPC)
324 sendsz = IDMAP_MAX_DOOR_RPC;
328 idmap_handle.client = clnt_door_create(IDMAP_PROG, IDMAP_V1, sendsz);