Home
last modified time | relevance | path

Searched refs:nchunks (Results 1 – 11 of 11) sorted by relevance

/linux-3.4.99/net/sunrpc/xprtrdma/
Dsvc_rdma_marshal.c101 int nchunks; in decode_write_list() local
115 nchunks = ntohl(ary->wc_nchunks); in decode_write_list()
117 (sizeof(struct rpcrdma_write_chunk) * nchunks)) > in decode_write_list()
120 ary, nchunks, vaend); in decode_write_list()
127 return (u32 *)&ary->wc_array[nchunks].wc_target.rs_length; in decode_write_list()
132 int nchunks; in decode_reply_array() local
145 nchunks = ntohl(ary->wc_nchunks); in decode_reply_array()
147 (sizeof(struct rpcrdma_write_chunk) * nchunks)) > in decode_reply_array()
150 ary, nchunks, vaend); in decode_reply_array()
153 return (u32 *)&ary->wc_array[nchunks]; in decode_reply_array()
Drpc_rdma.c175 int nsegs, nchunks = 0; in rpcrdma_create_chunks() local
243 nchunks++; in rpcrdma_create_chunks()
249 req->rl_nchunks = nchunks; in rpcrdma_create_chunks()
251 BUG_ON(nchunks == 0); in rpcrdma_create_chunks()
253 && (nchunks > 3)); in rpcrdma_create_chunks()
265 warray->wc_nchunks = htonl(nchunks); in rpcrdma_create_chunks()
279 for (pos = 0; nchunks--;) in rpcrdma_create_chunks()
Dsvc_rdma_sendto.c460 int nchunks; in send_reply_chunks() local
480 nchunks = ntohl(arg_ary->wc_nchunks); in send_reply_chunks()
482 xfer_len && chunk_no < nchunks; in send_reply_chunks()
/linux-3.4.99/lib/
Dbitmap.c422 int c, old_c, totaldigits, ndigits, nchunks, nbits; in __bitmap_parse() local
428 nchunks = nbits = totaldigits = c = 0; in __bitmap_parse()
473 if (nchunks == 0 && chunk == 0) in __bitmap_parse()
478 nchunks++; in __bitmap_parse()
479 nbits += (nchunks == 1) ? nbits_to_hold_value(chunk) : CHUNKSZ; in __bitmap_parse()
/linux-3.4.99/net/sctp/
Dauth.c762 __u16 nchunks; in sctp_auth_ep_add_chunkid() local
771 nchunks = param_len - sizeof(sctp_paramhdr_t); in sctp_auth_ep_add_chunkid()
772 if (nchunks == SCTP_NUM_CHUNK_TYPES) in sctp_auth_ep_add_chunkid()
775 p->chunks[nchunks] = chunk_id; in sctp_auth_ep_add_chunkid()
/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_cs.c190 p->nchunks = cs->num_chunks; in radeon_cs_parser_init()
191 p->chunks = kcalloc(p->nchunks, sizeof(struct radeon_cs_chunk), GFP_KERNEL); in radeon_cs_parser_init()
195 for (i = 0; i < p->nchunks; i++) { in radeon_cs_parser_init()
327 for (i = 0; i < parser->nchunks; i++) { in radeon_cs_parser_fini()
Dradeon.h823 unsigned nchunks; member
Dr600_cs.c2290 for (i = 0; i < parser->nchunks; i++) { in r600_cs_parser_fini()
/linux-3.4.99/drivers/staging/zcache/
Dzcache-main.c372 unsigned nchunks; in zbud_create() local
376 nchunks = zbud_size_to_chunks(size) ; in zbud_create()
377 for (i = MAX_CHUNK - nchunks + 1; i > 0; i--) { in zbud_create()
397 list_add_tail(&zbpg->bud_list, &zbud_unbuddied[nchunks].list); in zbud_create()
398 zbud_unbuddied[nchunks].count++; in zbud_create()
431 zbud_cumul_chunk_counts[nchunks]++; in zbud_create()
/linux-3.4.99/drivers/staging/ramster/
Dzcache-main.c414 unsigned nchunks; in zbud_create() local
418 nchunks = zbud_size_to_chunks(size) ; in zbud_create()
419 for (i = MAX_CHUNK - nchunks + 1; i > 0; i--) { in zbud_create()
439 list_add_tail(&zbpg->bud_list, &zbud_unbuddied[nchunks].list); in zbud_create()
440 zbud_unbuddied[nchunks].count++; in zbud_create()
472 zbud_cumul_chunk_counts[nchunks]++; in zbud_create()
/linux-3.4.99/sound/drivers/vx/
Dvx_pcm.c695 struct vx_pipe *pipe, int nchunks) in vx_pcm_playback_transfer() argument
702 for (i = 0; i < nchunks; i++) { in vx_pcm_playback_transfer()