Searched refs:chunk_sz (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | dynptr_success.c | 867 u32 data_sz, chunk_sz, offset = 0; 897 chunk_sz = min_t(u32, sizeof(buf), data_sz - offset); in test_dynptr_probe() 898 err = bpf_dynptr_read(&buf, chunk_sz, &ptr_xdp, offset, 0); in test_dynptr_probe() 812 u32 data_sz, chunk_sz, offset = 0; test_dynptr_memset_xdp_chunks() local
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_sockmap.c | 470 static int msg_verify_data(struct msghdr *msg, int size, int chunk_sz, in msg_free_iov() 501 if (bytes_cnt == chunk_sz) { in msg_alloc_iov() 521 if (bytes_cnt == chunk_sz) { 694 int chunk_sz = opt->sendpage ? in msg_loop() 698 errno = msg_verify_data(&msg, recv, chunk_sz, &k, &bytes_cnt, in msg_loop() 707 chunk_sz, in msg_loop() 549 msg_verify_data(struct msghdr * msg,int size,int chunk_sz,unsigned char * k_p,int * bytes_cnt_p,int * check_cnt_p,int * push_p) msg_verify_data() argument 786 int chunk_sz = opt->sendpage ? msg_loop() local
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf.h | 42 #define IDPF_NUM_CHUNKS_PER_MSG(struct_sz, chunk_sz) \ argument 43 ((IDPF_CTLQ_MAX_BUF_LEN - (struct_sz)) / (chunk_sz))
|
| H A D | idpf_virtchnl.c | 732 u32 chunk_sz; member 781 params->chunk_sz), totqs); in idpf_send_chunked_msg() 784 buf_sz = params->config_sz + num_chunks * params->chunk_sz; in idpf_send_chunked_msg() 804 pos += num_chunks * params->chunk_sz; in idpf_send_chunked_msg() 808 buf_sz = params->config_sz + num_chunks * params->chunk_sz; in idpf_send_chunked_msg() 1845 .chunk_sz = sizeof(*qi), in idpf_send_config_tx_queue_set_msg() 2034 .chunk_sz = sizeof(*qi), in idpf_send_config_rx_queue_set_msg() 2160 .chunk_sz = sizeof(*qc), in idpf_send_ena_dis_queue_set_msg() 2326 .chunk_sz = sizeof(*vqv), in idpf_send_map_unmap_queue_set_vector_msg()
|