Searched refs:subbuf (Results 1 – 3 of 3) sorted by relevance
/net/sunrpc/ |
D | xdr.c | 1113 xdr_buf_subsegment(struct xdr_buf *buf, struct xdr_buf *subbuf, in xdr_buf_subsegment() argument 1116 subbuf->buflen = subbuf->len = len; in xdr_buf_subsegment() 1118 subbuf->head[0].iov_base = buf->head[0].iov_base + base; in xdr_buf_subsegment() 1119 subbuf->head[0].iov_len = min_t(unsigned int, len, in xdr_buf_subsegment() 1121 len -= subbuf->head[0].iov_len; in xdr_buf_subsegment() 1125 subbuf->head[0].iov_base = buf->head[0].iov_base; in xdr_buf_subsegment() 1126 subbuf->head[0].iov_len = 0; in xdr_buf_subsegment() 1130 subbuf->page_len = min(buf->page_len - base, len); in xdr_buf_subsegment() 1132 subbuf->page_base = base & ~PAGE_MASK; in xdr_buf_subsegment() 1133 subbuf->pages = &buf->pages[base >> PAGE_SHIFT]; in xdr_buf_subsegment() [all …]
|
/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 857 struct xdr_buf subbuf; in gss_krb5_aes_decrypt() local 883 xdr_buf_subsegment(buf, &subbuf, offset + GSS_KRB5_TOK_HDR_LEN, in gss_krb5_aes_decrypt() 887 nblocks = (subbuf.len + blocksize - 1) / blocksize; in gss_krb5_aes_decrypt() 907 ret = xdr_process_buf(&subbuf, 0, cbcbytes, decryptor, &desc); in gss_krb5_aes_decrypt() 914 ret = gss_krb5_cts_crypt(cipher, &subbuf, cbcbytes, desc.iv, NULL, 0); in gss_krb5_aes_decrypt() 923 ret = make_checksum_v2(kctx, NULL, 0, &subbuf, 0, in gss_krb5_aes_decrypt()
|
D | gss_krb5_wrap.c | 439 struct xdr_buf subbuf; in rotate_left() local 441 xdr_buf_subsegment(buf, &subbuf, base, buf->len - base); in rotate_left() 442 _rotate_left(&subbuf, shift); in rotate_left()
|