Home
last modified time | relevance | path

Searched refs:segcount (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_pcl.c28 static struct svc_rdma_chunk *pcl_alloc_chunk(u32 segcount, u32 position) in pcl_alloc_chunk() argument
32 chunk = kmalloc(struct_size(chunk, ch_segments, segcount), GFP_KERNEL); in pcl_alloc_chunk()
105 unsigned int i, segcount = pcl->cl_count; in pcl_alloc_call() local
108 for (i = 0; i < segcount; i++) { in pcl_alloc_call()
120 chunk = pcl_alloc_chunk(segcount, position); in pcl_alloc_call()
159 unsigned int i, segcount = pcl->cl_count; in pcl_alloc_read() local
162 for (i = 0; i < segcount; i++) { in pcl_alloc_read()
175 chunk = pcl_alloc_chunk(segcount, position); in pcl_alloc_read()
207 u32 segcount; in pcl_alloc_write() local
211 segcount = be32_to_cpup(p++); in pcl_alloc_write()
[all …]
H A Drpc_rdma.c400 __be32 *segcount; in rpcrdma_encode_write_list() local
414 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_write_list()
415 if (unlikely(!segcount)) in rpcrdma_encode_write_list()
448 *segcount = cpu_to_be32(nchunks); in rpcrdma_encode_write_list()
477 __be32 *segcount; in rpcrdma_encode_reply_chunk() local
492 segcount = xdr_reserve_space(xdr, sizeof(*segcount)); in rpcrdma_encode_reply_chunk()
493 if (unlikely(!segcount)) in rpcrdma_encode_reply_chunk()
514 *segcount = cpu_to_be32(nchunks); in rpcrdma_encode_reply_chunk()
1185 u32 segcount, seglength; in decode_write_chunk() local
1193 segcount = be32_to_cpup(p); in decode_write_chunk()
[all …]
H A Dsvc_rdma_recvfrom.c475 u32 segcount; in xdr_check_write_chunk() local
478 if (xdr_stream_decode_u32(&rctxt->rc_stream, &segcount)) in xdr_check_write_chunk()
485 if (unlikely(segcount > RPCSVC_MAXPAGES)) in xdr_check_write_chunk()
489 segcount * rpcrdma_segment_maxsz * sizeof(*p)); in xdr_check_write_chunk()
/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h1099 stbtt_uint16 segcount = ttUSHORT(data+index_map+6) >> 1; in stbtt_FindGlyphIndex() local
1133 start = ttUSHORT(data + index_map + 14 + segcount*2 + 2 + 2*item); in stbtt_FindGlyphIndex()
1137 offset = ttUSHORT(data + index_map + 14 + segcount*6 + 2 + 2*item); in stbtt_FindGlyphIndex()
1139 …return (stbtt_uint16) (unicode_codepoint + ttSHORT(data + index_map + 14 + segcount*4 + 2 + 2*item… in stbtt_FindGlyphIndex()
1141 …return ttUSHORT(data + offset + (unicode_codepoint-start)*2 + index_map + 14 + segcount*6 + 2 + 2*… in stbtt_FindGlyphIndex()