Searched refs:subbuf (Results 1 - 13 of 13) sorted by relevance

/linux-master/net/sunrpc/
H A Dxdr.c1673 * xdr_buf_subsegment - set subbuf to a portion of buf
1675 * @subbuf: the result buffer
1679 * sets @subbuf to an xdr buffer representing the portion of @buf of
1682 * @buf and @subbuf may be pointers to the same struct xdr_buf.
1686 int xdr_buf_subsegment(const struct xdr_buf *buf, struct xdr_buf *subbuf, argument
1689 subbuf->buflen = subbuf->len = len;
1691 subbuf->head[0].iov_base = buf->head[0].iov_base + base;
1692 subbuf->head[0].iov_len = min_t(unsigned int, len,
1694 len -= subbuf
1749 xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes) argument
1876 __read_bytes_from_xdr_buf(const struct xdr_buf *subbuf, void *obj, unsigned int len) argument
1897 struct xdr_buf subbuf; local
1908 __write_bytes_to_xdr_buf(const struct xdr_buf *subbuf, void *obj, unsigned int len) argument
1929 struct xdr_buf subbuf; local
[all...]
/linux-master/fs/nfsd/
H A Dnfscache.c369 struct xdr_buf subbuf; local
376 if (xdr_buf_subsegment(buf, &subbuf, start, remaining))
380 if (subbuf.head[0].iov_len) {
381 len = min_t(unsigned int, subbuf.head[0].iov_len, remaining);
382 csum = csum_partial(subbuf.head[0].iov_base, len, csum);
387 idx = subbuf.page_base / PAGE_SIZE;
388 base = subbuf.page_base & ~PAGE_MASK;
390 p = page_address(subbuf.pages[idx]) + base;
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_port_trace.c35 static int t7xx_trace_subbuf_start_handler(struct rchan_buf *buf, void *subbuf, argument
/linux-master/net/sunrpc/xprtrdma/
H A Dsvc_rdma_pcl.c237 struct xdr_buf subbuf; local
241 if (xdr_buf_subsegment(xdr, &subbuf, offset, length))
243 return actor(&subbuf, data);
/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c87 struct xdr_buf subbuf; local
89 xdr_buf_subsegment(buf, &subbuf, base, buf->len - base);
90 _rotate_left(&subbuf, shift);
H A Dgss_krb5_crypto.c865 struct xdr_buf subbuf; local
879 xdr_buf_subsegment(buf, &subbuf, offset + GSS_KRB5_TOK_HDR_LEN,
883 ret = krb5_cbc_cts_decrypt(cipher, aux_cipher, 0, &subbuf);
889 ret = gss_krb5_checksum(ahash, NULL, 0, &subbuf, 0, &our_hmac_obj);
1108 struct xdr_buf subbuf; local
1121 /* Extract the ciphertext into @subbuf. */
1122 xdr_buf_subsegment(buf, &subbuf, offset + GSS_KRB5_TOK_HDR_LEN,
1128 ret = krb5_etm_checksum(cipher, ahash, &subbuf, 0, &our_hmac_obj);
1140 ret = krb5_cbc_cts_decrypt(cipher, aux_cipher, 0, &subbuf);
/linux-master/include/linux/
H A Drelay.h51 size_t bytes_consumed; /* bytes consumed in cur read subbuf */
68 size_t last_toobig; /* tried to log event > subbuf size */
85 * @subbuf: the start of the new sub-buffer
102 void *subbuf,
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_trace.c53 static int ipc_trace_subbuf_start_handler(struct rchan_buf *buf, void *subbuf, argument
/linux-master/kernel/
H A Drelay.c252 static int relay_subbuf_start(struct rchan_buf *buf, void *subbuf, argument
258 return buf->chan->cb->subbuf_start(buf, subbuf,
/linux-master/include/linux/sunrpc/
H A Dxdr.h267 extern bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf,
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log.c222 void *subbuf,
221 subbuf_start_callback(struct rchan_buf *buf, void *subbuf, void *prev_subbuf, size_t prev_padding) argument
/linux-master/sound/pci/au88x0/
H A Dau88x0_core.c1488 vortex_wtdma_getposition(vortex_t * vortex, int wtdma, int *subbuf, int *pos)
1492 *subbuf = (temp >> WT_SUBBUF_SHIFT) & WT_SUBBUF_MASK;
/linux-master/kernel/trace/
H A Dblktrace.c463 static int blk_subbuf_start_callback(struct rchan_buf *buf, void *subbuf, argument

Completed in 208 milliseconds