Lines Matching refs:iov_len
624 if (argv->iov_len < 4) in svc_safe_getnetobj()
628 if (argv->iov_len < l) in svc_safe_getnetobj()
632 argv->iov_len -= l; in svc_safe_getnetobj()
641 if (resv->iov_len + 4 > PAGE_SIZE) in svc_safe_putnetobj()
644 p = resv->iov_base + resv->iov_len; in svc_safe_putnetobj()
645 resv->iov_len += round_up_to_quad(o->len); in svc_safe_putnetobj()
646 if (resv->iov_len > PAGE_SIZE) in svc_safe_putnetobj()
671 iov.iov_len = (u8 *)argv->iov_base - (u8 *)rpcstart; in gss_verify_header()
675 if (argv->iov_len < 4) in gss_verify_header()
710 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_null_verf()
732 iov.iov_len = sizeof(xdr_seq); in gss_write_verf()
734 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len; in gss_write_verf()
871 return buf->head[0].iov_len + buf->page_len + buf->tail[0].iov_len; in total_buf_len()
881 buf->head[0].iov_len -= pad; in fix_priv_head()
922 offset = buf->head[0].iov_len % 4; in unwrap_priv_data()
997 if (argv->iov_len < 2 * 4) in gss_read_common_verf()
1063 if (inlen > (argv->iov_len + rqstp->rq_arg.page_len)) in gss_read_proxy_verf()
1078 if (resv->iov_len + 4 > size_limit) in gss_write_resv()
1083 if (resv->iov_len + 3 * 4 > size_limit) in gss_write_resv()
1406 __be32 *reject_stat = resv->iov_base + resv->iov_len; in svcauth_gss_accept()
1411 argv->iov_len); in svcauth_gss_accept()
1434 if (argv->iov_len < 5 * 4) in svcauth_gss_accept()
1486 if (resv->iov_len + 4 > PAGE_SIZE) in svcauth_gss_accept()
1492 svcdata->verf_start = resv->iov_base + resv->iov_len; in svcauth_gss_accept()
1570 resbuf->head[0].iov_len -= 2 * 4; in svcauth_gss_prepare_to_wrap()
1601 if (resbuf->head[0].iov_len + RPC_MAX_AUTH_SIZE > PAGE_SIZE) in svcauth_gss_wrap_resp_integ()
1604 + resbuf->head[0].iov_len; in svcauth_gss_wrap_resp_integ()
1605 resbuf->tail[0].iov_len = 0; in svcauth_gss_wrap_resp_integ()
1608 mic.data = (u8 *)resv->iov_base + resv->iov_len + 4; in svcauth_gss_wrap_resp_integ()
1614 resv->iov_len += XDR_QUADLEN(mic.len) << 2; in svcauth_gss_wrap_resp_integ()
1617 BUG_ON(resv->iov_len > PAGE_SIZE); in svcauth_gss_wrap_resp_integ()
1656 if (resbuf->tail[0].iov_len + resbuf->head[0].iov_len in svcauth_gss_wrap_resp_priv()
1661 resbuf->tail[0].iov_len); in svcauth_gss_wrap_resp_priv()
1672 if (resbuf->head[0].iov_len + 2*RPC_MAX_AUTH_SIZE > PAGE_SIZE) in svcauth_gss_wrap_resp_priv()
1675 + resbuf->head[0].iov_len + RPC_MAX_AUTH_SIZE; in svcauth_gss_wrap_resp_priv()
1676 resbuf->tail[0].iov_len = 0; in svcauth_gss_wrap_resp_priv()
1682 p = (__be32 *)(resbuf->tail[0].iov_base + resbuf->tail[0].iov_len); in svcauth_gss_wrap_resp_priv()
1684 resbuf->tail[0].iov_len += pad; in svcauth_gss_wrap_resp_priv()