Lines Matching refs:len
92 int okm_process_req(okms_t *okmsp, okm_req_hdr_t *reqp, uint32_t len,
469 uint32_t len;
483 len = okmsp->km_reqlen;
490 okmsp->km_key, &len)) != 0)) {
510 ASSERT(len != 0);
511 msgbuf = kmem_alloc(len, KM_SLEEP);
513 okmsp->km_sg_rcv.msc_len = len;
516 ret = scf_mb_getmsg(okmsp->km_target, okmsp->km_key, len, 1,
519 kmem_free(msgbuf, len);
523 kmem_free(msgbuf, len);
531 if (len < sizeof (okm_req_hdr_t)) {
533 kmem_free(msgbuf, len);
549 kmem_free(msgbuf, len);
558 ret = okm_process_req(okmsp, reqp, len, ireqp, data, flag);
563 kmem_free(reqp, len);
578 okm_process_req(okms_t *okmsp, okm_req_hdr_t *reqp, uint32_t len,
582 int sadb_msglen = len - sizeof (okm_req_hdr_t);
585 DUMP_REQ(reqp, len);
601 okmsp->km_reqlen = len;
603 if (ireqp->buf_len < len) {
1083 okm_print_req(okm_req_hdr_t *reqp, uint32_t len)
1086 int msglen = len - sizeof (okm_req_hdr_t);