Home
last modified time | relevance | path

Searched refs:subbuf (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/net/sunrpc/
H A Dxdr.c1689 subbuf->buflen = subbuf->len = len; in xdr_buf_subsegment()
1699 subbuf->head[0].iov_len = 0; in xdr_buf_subsegment()
1707 len -= subbuf->page_len; in xdr_buf_subsegment()
1711 subbuf->pages = buf->pages; in xdr_buf_subsegment()
1712 subbuf->page_base = 0; in xdr_buf_subsegment()
1713 subbuf->page_len = 0; in xdr_buf_subsegment()
1725 subbuf->tail[0].iov_len = 0; in xdr_buf_subsegment()
1886 _copy_from_pages(obj, subbuf->pages, subbuf->page_base, this_len); in __read_bytes_from_xdr_buf()
1897 struct xdr_buf subbuf; in read_bytes_from_xdr_buf() local
1918 _copy_to_pages(subbuf->pages, subbuf->page_base, obj, this_len); in __write_bytes_to_xdr_buf()
[all …]
/openbmc/linux/fs/nfsd/
H A Dnfscache.c371 struct xdr_buf subbuf; in nfsd_cache_csum() local
378 if (xdr_buf_subsegment(buf, &subbuf, start, remaining)) in nfsd_cache_csum()
382 if (subbuf.head[0].iov_len) { in nfsd_cache_csum()
383 len = min_t(unsigned int, subbuf.head[0].iov_len, remaining); in nfsd_cache_csum()
384 csum = csum_partial(subbuf.head[0].iov_base, len, csum); in nfsd_cache_csum()
389 idx = subbuf.page_base / PAGE_SIZE; in nfsd_cache_csum()
390 base = subbuf.page_base & ~PAGE_MASK; in nfsd_cache_csum()
392 p = page_address(subbuf.pages[idx]) + base; in nfsd_cache_csum()
/openbmc/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c87 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 Dgss_krb5_crypto.c865 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
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()
/openbmc/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_pcl.c237 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 Dsvc_rdma_sendto.c1040 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()
/openbmc/linux/drivers/net/wwan/t7xx/
H A Dt7xx_port_trace.c35 static int t7xx_trace_subbuf_start_handler(struct rchan_buf *buf, void *subbuf, in t7xx_trace_subbuf_start_handler() argument
/openbmc/linux/include/linux/
H A Drelay.h102 void *subbuf,
/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_trace.c53 static int ipc_trace_subbuf_start_handler(struct rchan_buf *buf, void *subbuf, in ipc_trace_subbuf_start_handler() argument
/openbmc/linux/kernel/
H A Drelay.c252 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()
/openbmc/linux/Documentation/filesystems/
H A Drelay.rst184 subbuf_start(buf, subbuf, prev_subbuf, prev_padding)
352 void *subbuf,
383 void *subbuf,
/openbmc/linux/include/linux/sunrpc/
H A Dxdr.h267 extern bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf,
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log.c222 void *subbuf, in subbuf_start_callback() argument
/openbmc/linux/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;
/openbmc/linux/kernel/trace/
H A Dblktrace.c463 static int blk_subbuf_start_callback(struct rchan_buf *buf, void *subbuf, in blk_subbuf_start_callback() argument