/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | xdr.c | 1373 * xdr_buf_subsegment - set subbuf to a portion of buf 1375 * @subbuf: the result buffer 1379 * sets @subbuf to an xdr buffer representing the portion of @buf of 1382 * @buf and @subbuf may be pointers to the same struct xdr_buf. 1387 xdr_buf_subsegment(struct xdr_buf *buf, struct xdr_buf *subbuf, in xdr_buf_subsegment() argument 1390 subbuf->buflen = subbuf->len = len; in xdr_buf_subsegment() 1392 subbuf->head[0].iov_base = buf->head[0].iov_base + base; in xdr_buf_subsegment() 1393 subbuf->head[0].iov_len = min_t(unsigned int, len, in xdr_buf_subsegment() 1395 len -= subbuf in xdr_buf_subsegment() 1476 __read_bytes_from_xdr_buf(struct xdr_buf *subbuf, void *obj, unsigned int len) __read_bytes_from_xdr_buf() argument 1496 struct xdr_buf subbuf; read_bytes_from_xdr_buf() local 1507 __write_bytes_to_xdr_buf(struct xdr_buf *subbuf, void *obj, unsigned int len) __write_bytes_to_xdr_buf() argument 1527 struct xdr_buf subbuf; write_bytes_to_xdr_buf() local [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | xdr.c | 1673 * 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, in xdr_buf_subsegment() argument 1689 subbuf->buflen = subbuf->len = len; in xdr_buf_subsegment() 1691 subbuf->head[0].iov_base = buf->head[0].iov_base + base; in xdr_buf_subsegment() 1692 subbuf->head[0].iov_len = min_t(unsigned int, len, in xdr_buf_subsegment() 1694 len -= subbuf in xdr_buf_subsegment() 1749 xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes) xdr_stream_subsegment() argument 1876 __read_bytes_from_xdr_buf(const struct xdr_buf *subbuf, void *obj, unsigned int len) __read_bytes_from_xdr_buf() argument 1897 struct xdr_buf subbuf; read_bytes_from_xdr_buf() local 1908 __write_bytes_to_xdr_buf(const struct xdr_buf *subbuf, void *obj, unsigned int len) __write_bytes_to_xdr_buf() argument 1929 struct xdr_buf subbuf; write_bytes_to_xdr_buf() local [all...] |
/kernel/linux/linux-5.10/tools/lib/traceevent/ |
H A D | kbuffer-parse.c | 555 * @subbuf: The subbuffer to read from. 559 unsigned long long kbuffer_subbuf_timestamp(struct kbuffer *kbuf, void *subbuf) in kbuffer_subbuf_timestamp() argument 561 return kbuf->read_8(subbuf); in kbuffer_subbuf_timestamp() 765 * @subbuf: Start of mapped subbuffer 772 * The @subbuf is used to know if the info is passed the end of 776 kbuffer_raw_get(struct kbuffer *kbuf, void *subbuf, struct kbuffer_raw_info *info) in kbuffer_raw_get() argument 786 if (!kbuf || !subbuf) in kbuffer_raw_get() 794 flags = read_long(kbuf, subbuf + 8); in kbuffer_raw_get() 797 if (ptr < subbuf || ptr >= subbuf in kbuffer_raw_get() [all...] |
H A D | kbuffer.h | 37 unsigned long long kbuffer_subbuf_timestamp(struct kbuffer *kbuf, void *subbuf); 65 struct kbuffer_raw_info *kbuffer_raw_get(struct kbuffer *kbuf, void *subbuf,
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfscache.c | 392 struct xdr_buf subbuf; in nfsd_cache_csum() local 399 if (xdr_buf_subsegment(buf, &subbuf, start, remaining)) in nfsd_cache_csum() 403 if (subbuf.head[0].iov_len) { in nfsd_cache_csum() 404 len = min_t(unsigned int, subbuf.head[0].iov_len, remaining); in nfsd_cache_csum() 405 csum = csum_partial(subbuf.head[0].iov_base, len, csum); in nfsd_cache_csum() 410 idx = subbuf.page_base / PAGE_SIZE; in nfsd_cache_csum() 411 base = subbuf.page_base & ~PAGE_MASK; in nfsd_cache_csum() 413 p = page_address(subbuf.pages[idx]) + base; in nfsd_cache_csum()
|
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/ |
H A D | gss_krb5_wrap.c | 87 struct xdr_buf subbuf; in rotate_left() local 89 xdr_buf_subsegment(buf, &subbuf, base, buf->len - base); in rotate_left() 90 _rotate_left(&subbuf, shift); in rotate_left()
|
H A D | gss_krb5_crypto.c | 865 struct xdr_buf subbuf; in gss_krb5_aes_decrypt() local 879 xdr_buf_subsegment(buf, &subbuf, offset + GSS_KRB5_TOK_HDR_LEN, in gss_krb5_aes_decrypt() 883 ret = krb5_cbc_cts_decrypt(cipher, aux_cipher, 0, &subbuf); in gss_krb5_aes_decrypt() 889 ret = gss_krb5_checksum(ahash, NULL, 0, &subbuf, 0, &our_hmac_obj); in gss_krb5_aes_decrypt() 1108 struct xdr_buf subbuf; in krb5_etm_decrypt() local 1121 /* Extract the ciphertext into @subbuf. */ in krb5_etm_decrypt() 1122 xdr_buf_subsegment(buf, &subbuf, offset + GSS_KRB5_TOK_HDR_LEN, in krb5_etm_decrypt() 1128 ret = krb5_etm_checksum(cipher, ahash, &subbuf, 0, &our_hmac_obj); in krb5_etm_decrypt() 1140 ret = krb5_cbc_cts_decrypt(cipher, aux_cipher, 0, &subbuf); in krb5_etm_decrypt()
|
/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_pcl.c | 237 struct xdr_buf subbuf; in pcl_process_region() local 241 if (xdr_buf_subsegment(xdr, &subbuf, offset, length)) in pcl_process_region() 243 return actor(&subbuf, data); in pcl_process_region()
|
H A D | svc_rdma_sendto.c | 1040 struct xdr_buf subbuf; in svc_rdma_result_payload() local 1054 if (xdr_buf_subsegment(&rqstp->rq_res, &subbuf, offset, length)) in svc_rdma_result_payload() 1058 ret = svc_rdma_send_write_chunk(rdma, chunk, &subbuf); in svc_rdma_result_payload()
|
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/ |
H A D | gss_krb5_crypto.c | 723 struct xdr_buf subbuf; in gss_krb5_aes_decrypt() local 749 xdr_buf_subsegment(buf, &subbuf, offset + GSS_KRB5_TOK_HDR_LEN, in gss_krb5_aes_decrypt() 753 nblocks = (subbuf.len + blocksize - 1) / blocksize; in gss_krb5_aes_decrypt() 773 ret = xdr_process_buf(&subbuf, 0, cbcbytes, decryptor, &desc); in gss_krb5_aes_decrypt() 780 ret = gss_krb5_cts_crypt(cipher, &subbuf, cbcbytes, desc.iv, NULL, 0); in gss_krb5_aes_decrypt() 789 ret = make_checksum_v2(kctx, NULL, 0, &subbuf, 0, in gss_krb5_aes_decrypt()
|
H A D | gss_krb5_wrap.c | 402 struct xdr_buf subbuf; in rotate_left() local 404 xdr_buf_subsegment(buf, &subbuf, base, buf->len - base); in rotate_left() 405 _rotate_left(&subbuf, shift); in rotate_left()
|
/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/ |
H A D | t7xx_port_trace.c | 35 static int t7xx_trace_subbuf_start_handler(struct rchan_buf *buf, void *subbuf, in t7xx_trace_subbuf_start_handler() argument
|
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_trace.c | 53 static int ipc_trace_subbuf_start_handler(struct rchan_buf *buf, void *subbuf, in ipc_trace_subbuf_start_handler() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | relay.h | 51 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 100 void *subbuf,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | relay.h | 51 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,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_log.c | 77 void *subbuf, in subbuf_start_callback() 76 subbuf_start_callback(struct rchan_buf *buf, void *subbuf, void *prev_subbuf, size_t prev_padding) subbuf_start_callback() argument
|
/kernel/linux/linux-6.6/include/linux/sunrpc/ |
H A D | xdr.h | 267 extern bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf,
|
/kernel/linux/linux-6.6/kernel/ |
H A D | relay.c | 252 static int relay_subbuf_start(struct rchan_buf *buf, void *subbuf, in relay_subbuf_start() argument 258 return buf->chan->cb->subbuf_start(buf, subbuf, in relay_subbuf_start() 1106 * subbuf_splice_actor - splice up to one subbuf's worth of data
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_log.c | 222 void *subbuf, in subbuf_start_callback() 221 subbuf_start_callback(struct rchan_buf *buf, void *subbuf, void *prev_subbuf, size_t prev_padding) subbuf_start_callback() argument
|
/kernel/linux/linux-5.10/sound/pci/au88x0/ |
H A D | au88x0_core.c | 1488 vortex_wtdma_getposition(vortex_t * vortex, int wtdma, int *subbuf, int *pos) 1492 *subbuf = (temp >> WT_SUBBUF_SHIFT) & WT_SUBBUF_MASK;
|
/kernel/linux/linux-6.6/sound/pci/au88x0/ |
H A D | au88x0_core.c | 1488 vortex_wtdma_getposition(vortex_t * vortex, int wtdma, int *subbuf, int *pos) 1492 *subbuf = (temp >> WT_SUBBUF_SHIFT) & WT_SUBBUF_MASK;
|
/kernel/linux/linux-5.10/kernel/ |
H A D | relay.c | 276 void *subbuf, in subbuf_start_default_callback() 1194 * subbuf_splice_actor - splice up to one subbuf's worth of data 275 subbuf_start_default_callback(struct rchan_buf *buf, void *subbuf, void *prev_subbuf, size_t prev_padding) subbuf_start_default_callback() argument
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | blktrace.c | 422 static int blk_subbuf_start_callback(struct rchan_buf *buf, void *subbuf, in blk_subbuf_start_callback() argument
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | blktrace.c | 463 static int blk_subbuf_start_callback(struct rchan_buf *buf, void *subbuf, in blk_subbuf_start_callback() argument
|