Home
last modified time | relevance | path

Searched refs:chunks (Results 1 – 13 of 13) sorted by relevance

/net/xdp/
Dxdp_umem.c159 u64 chunks, npgs; in xdp_umem_reg() local
194 chunks = div_u64_rem(size, chunk_size, &chunks_rem); in xdp_umem_reg()
195 if (!chunks || chunks > U32_MAX) in xdp_umem_reg()
207 umem->chunks = chunks; in xdp_umem_reg()
Dxsk_buff_pool.c62 pool = kvzalloc(struct_size(pool, free_heads, umem->chunks), in xp_create_and_assign_umem()
67 pool->heads = kvcalloc(umem->chunks, sizeof(*pool->heads), GFP_KERNEL); in xp_create_and_assign_umem()
77 pool->heads_cnt = umem->chunks; in xp_create_and_assign_umem()
78 pool->free_heads_cnt = umem->chunks; in xp_create_and_assign_umem()
/net/sctp/
Dchunk.c43 INIT_LIST_HEAD(&msg->chunks); in sctp_datamsg_init()
65 list_for_each_entry(chunk, &msg->chunks, frag_list) in sctp_datamsg_free()
81 list_for_each_safe(pos, temp, &msg->chunks) { in sctp_datamsg_destroy()
280 list_add_tail(&chunk->frag_list, &msg->chunks); in sctp_datamsg_from_user()
289 list_for_each_safe(pos, temp, &msg->chunks) { in sctp_datamsg_from_user()
Dauth.c186 struct sctp_chunks_param *chunks, in sctp_auth_make_key_vector() argument
197 if (chunks) in sctp_auth_make_key_vector()
198 chunks_len = ntohs(chunks->param_hdr.length); in sctp_auth_make_key_vector()
209 if (chunks) { in sctp_auth_make_key_vector()
210 memcpy(new->data + offset, chunks, chunks_len); in sctp_auth_make_key_vector()
656 switch (param->chunks[i]) { in __sctp_auth_cid()
664 if (param->chunks[i] == chunk) in __sctp_auth_cid()
772 p->chunks[nchunks] = chunk_id; in sctp_auth_ep_add_chunkid()
Dstream_sched_rr.c109 ch = list_first_entry(&msg->chunks, struct sctp_chunk, frag_list); in sctp_sched_rr_enqueue()
Dstream_sched.c235 if (!list_is_last(&ch->frag_list, &ch->msg->chunks) && in sctp_sched_dequeue_done()
Dstream_sched_prio.c248 ch = list_first_entry(&msg->chunks, struct sctp_chunk, frag_list); in sctp_sched_prio_enqueue()
Dsm_make_chunk.c1597 list_for_each_entry(lchunk, &msg->chunks, frag_list) { in sctp_chunk_assign_ssn()
2021 switch (param.ext->chunks[i]) { in sctp_verify_ext_param()
2053 switch (param.ext->chunks[i]) { in sctp_process_ext_param()
Dsm_sideeffect.c1113 list_for_each_entry(chunk, &msg->chunks, frag_list) in sctp_cmd_send_msg()
Doutqueue.c408 list_is_last(&chk->frag_list, &chk->msg->chunks)) in sctp_prsctp_prune_unsent()
Dstream_interleave.c61 list_for_each_entry(lchunk, &chunk->msg->chunks, frag_list) { in sctp_chunk_assign_mid()
Dsocket.c155 list_for_each_entry(c, &msg->chunks, frag_list) { \
1872 list_for_each_entry(chunk, &datamsg->chunks, frag_list) { in sctp_sendmsg_to_asoc()
6996 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_peer_auth_chunks()
7046 if (copy_to_user(to, ch->chunks, num_chunks)) in sctp_getsockopt_local_auth_chunks()
/net/core/
Dskbuff.c6478 memcpy(new, old, old->chunks * SKB_EXT_ALIGN_VALUE); in skb_ext_maybe_cow()
6511 ext->chunks = newlen; in __skb_ext_set()
6547 newoff = new->chunks; in skb_ext_add()
6557 new->chunks = newlen; in skb_ext_add()