Home
last modified time | relevance | path

Searched refs:num_chunks (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/drivers/staging/android/ion/
Dion_chunk_heap.c46 unsigned long num_chunks; in ion_chunk_heap_allocate() local
53 num_chunks = allocated_size / chunk_heap->chunk_size; in ion_chunk_heap_allocate()
61 ret = sg_alloc_table(table, num_chunks, GFP_KERNEL); in ion_chunk_heap_allocate()
68 for (i = 0; i < num_chunks; i++) { in ion_chunk_heap_allocate()
/linux-4.1.27/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h227 unsigned short num_chunks; member
242 short num_chunks; member
Dqat_uclo.c480 for (i = 0; i < obj_hdr->num_chunks; i++) { in qat_uclo_find_chunk()
527 for (i = 0; i < file_hdr->num_chunks; i++) { in qat_uclo_map_chunk()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_cs.c261 if (!cs->num_chunks) { in radeon_cs_parser_init()
273 p->chunks_array = kcalloc(cs->num_chunks, sizeof(uint64_t), GFP_KERNEL); in radeon_cs_parser_init()
279 sizeof(uint64_t)*cs->num_chunks)) { in radeon_cs_parser_init()
283 p->nchunks = cs->num_chunks; in radeon_cs_parser_init()
/linux-4.1.27/net/sctp/
Dsocket.c5626 u32 num_chunks = 0; in sctp_getsockopt_peer_auth_chunks() local
5648 num_chunks = ntohs(ch->param_hdr.length) - sizeof(sctp_paramhdr_t); in sctp_getsockopt_peer_auth_chunks()
5649 if (len < num_chunks) in sctp_getsockopt_peer_auth_chunks()
5652 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_peer_auth_chunks()
5655 len = sizeof(struct sctp_authchunks) + num_chunks; in sctp_getsockopt_peer_auth_chunks()
5658 if (put_user(num_chunks, &p->gauth_number_of_chunks)) in sctp_getsockopt_peer_auth_chunks()
5671 u32 num_chunks = 0; in sctp_getsockopt_local_auth_chunks() local
5696 num_chunks = ntohs(ch->param_hdr.length) - sizeof(sctp_paramhdr_t); in sctp_getsockopt_local_auth_chunks()
5697 if (len < sizeof(struct sctp_authchunks) + num_chunks) in sctp_getsockopt_local_auth_chunks()
5700 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_local_auth_chunks()
[all …]
/linux-4.1.27/include/uapi/drm/
Dradeon_drm.h980 uint32_t num_chunks; member
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dipw2200.c3836 if (le32_to_cpu(bd->u.data.num_chunks) > NUM_TFD_CHUNKS) { in ipw_queue_tx_free_tfd()
3838 le32_to_cpu(bd->u.data.num_chunks)); in ipw_queue_tx_free_tfd()
3844 for (i = 0; i < le32_to_cpu(bd->u.data.num_chunks); i++) { in ipw_queue_tx_free_tfd()
10238 tfd->u.data.num_chunks = cpu_to_le32(min((u8) (NUM_TFD_CHUNKS - 2), in ipw_tx_skb()
10241 txb->nr_frags, le32_to_cpu(tfd->u.data.num_chunks)); in ipw_tx_skb()
10242 for (i = 0; i < le32_to_cpu(tfd->u.data.num_chunks); i++) { in ipw_tx_skb()
10244 i, le32_to_cpu(tfd->u.data.num_chunks), in ipw_tx_skb()
10247 i, tfd->u.data.num_chunks, in ipw_tx_skb()
10291 le32_add_cpu(&tfd->u.data.num_chunks, 1); in ipw_tx_skb()
Dipw2200.h502 __le32 num_chunks; member