| /linux-6.15/drivers/mmc/core/ |
| H A D | sdio_io.c | 237 unsigned chunk_sz; in sdio_align_size() local 291 chunk_sz = _sdio_align_size(sdio_max_byte_size(func)); in sdio_align_size() 292 if (chunk_sz == sdio_max_byte_size(func)) { in sdio_align_size() 296 byte_sz = orig_sz % chunk_sz; in sdio_align_size() 301 return (orig_sz / chunk_sz) * chunk_sz + byte_sz; in sdio_align_size()
|
| /linux-6.15/drivers/staging/media/atomisp/pci/base/circbuf/src/ |
| H A D | circbuf.c | 287 int chunk_sz; in ia_css_circbuf_shift_chunk() local 293 chunk_sz = ia_css_circbuf_get_offset(cb, cb->desc->start, chunk_src) + 1; in ia_css_circbuf_shift_chunk() 296 for (i = 0; i < chunk_sz; i++) { in ia_css_circbuf_shift_chunk()
|
| /linux-6.15/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_virtchnl.c | 1443 u32 config_sz, chunk_sz, buf_sz; in idpf_send_config_tx_queues_msg() local 1514 chunk_sz = sizeof(struct virtchnl2_txq_info); in idpf_send_config_tx_queues_msg() 1532 memcpy(ctq->qinfo, &qi[k], chunk_sz * num_chunks); in idpf_send_config_tx_queues_msg() 1562 u32 config_sz, chunk_sz, buf_sz; in idpf_send_config_rx_queues_msg() local 1666 chunk_sz = sizeof(struct virtchnl2_rxq_info); in idpf_send_config_rx_queues_msg() 1684 memcpy(crq->qinfo, &qi[k], chunk_sz * num_chunks); in idpf_send_config_rx_queues_msg() 1718 u32 config_sz, chunk_sz, buf_sz; in idpf_send_ena_dis_queues_msg() local 1806 chunk_sz = sizeof(struct virtchnl2_queue_chunk); in idpf_send_ena_dis_queues_msg() 1830 memcpy(qcs->chunks, &qc[k], chunk_sz * num_chunks); in idpf_send_ena_dis_queues_msg() 1862 u32 config_sz, chunk_sz, buf_sz; in idpf_send_map_unmap_queue_vector_msg() local [all …]
|
| H A D | idpf.h | 36 #define IDPF_NUM_CHUNKS_PER_MSG(struct_sz, chunk_sz) \ argument 37 ((IDPF_CTLQ_MAX_BUF_LEN - (struct_sz)) / (chunk_sz))
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | test_sockmap.c | 549 static int msg_verify_data(struct msghdr *msg, int size, int chunk_sz, in msg_verify_data() argument 593 if (bytes_cnt == chunk_sz) { in msg_verify_data() 613 if (bytes_cnt == chunk_sz) { in msg_verify_data() 786 int chunk_sz = opt->sendpage ? in msg_loop() local 790 errno = msg_verify_data(&msg, recv, chunk_sz, &k, &bytes_cnt, in msg_loop() 799 chunk_sz, in msg_loop()
|
| /linux-6.15/fs/btrfs/ |
| H A D | space-info.c | 1936 u64 chunk_sz = calc_effective_data_chunk_size(fs_info); in calc_unalloc_target() local 1938 return BTRFS_UNALLOC_BLOCK_GROUP_TARGET * chunk_sz; in calc_unalloc_target() 2055 u64 chunk_sz = calc_effective_data_chunk_size(space_info->fs_info); in btrfs_space_info_update_reclaimable() local 2060 if (space_info->reclaimable_bytes >= chunk_sz) in btrfs_space_info_update_reclaimable()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/pcie/ |
| H A D | trans.c | 719 u32 offset, chunk_sz = min_t(u32, FH_MEM_TB_MAX_LENGTH, section->len); in iwl_pcie_load_section() local 725 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, &p_addr, in iwl_pcie_load_section() 729 chunk_sz = PAGE_SIZE; in iwl_pcie_load_section() 730 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, in iwl_pcie_load_section() 736 for (offset = 0; offset < section->len; offset += chunk_sz) { in iwl_pcie_load_section() 740 copy_size = min_t(u32, chunk_sz, section->len - offset); in iwl_pcie_load_section() 767 dma_free_coherent(trans->dev, chunk_sz, v_addr, p_addr); in iwl_pcie_load_section()
|
| /linux-6.15/kernel/bpf/ |
| H A D | helpers.c | 2814 u32 chunk_sz = min_t(u32, sizeof(buf), size - off); in bpf_dynptr_copy() local 2817 err = __bpf_dynptr_read(buf, chunk_sz, src, src_off + off, 0); in bpf_dynptr_copy() 2820 err = __bpf_dynptr_write(dst, dst_off + off, buf, chunk_sz, 0); in bpf_dynptr_copy() 2824 off += chunk_sz; in bpf_dynptr_copy()
|
| /linux-6.15/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_device.h | 849 u32 chunk_sz; /* chunk size in non multihop mode */ member
|
| H A D | hns_roce_hem.c | 744 table->table_chunk_size = hr_dev->caps.chunk_sz; in hns_roce_init_hem_table()
|
| H A D | hns_roce_hw_v2.c | 2276 caps->chunk_sz = 1 << hr_reg_read(resp_e, PF_CAPS_E_CHUNK_SIZE_SHIFT); in hns_roce_query_caps()
|