Home
last modified time | relevance | path

Searched refs:chunk_sz (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/mmc/core/
Dsdio_io.c224 unsigned chunk_sz; in sdio_align_size() local
279 chunk_sz = mmc_align_data_size(func->card, in sdio_align_size()
281 if (chunk_sz == sdio_max_byte_size(func)) { in sdio_align_size()
285 byte_sz = orig_sz % chunk_sz; in sdio_align_size()
291 return (orig_sz / chunk_sz) * chunk_sz + byte_sz; in sdio_align_size()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_sockmap.c341 int chunk_sz; in msg_loop() local
345 chunk_sz = iov_length * cnt; in msg_loop()
347 chunk_sz = iov_length * iov_count; in msg_loop()
407 if (bytes_cnt == chunk_sz) { in msg_loop()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c768 u32 offset, chunk_sz = min_t(u32, FH_MEM_TB_MAX_LENGTH, section->len); in iwl_pcie_load_section() local
774 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, &p_addr, in iwl_pcie_load_section()
778 chunk_sz = PAGE_SIZE; in iwl_pcie_load_section()
779 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, in iwl_pcie_load_section()
785 for (offset = 0; offset < section->len; offset += chunk_sz) { in iwl_pcie_load_section()
789 copy_size = min_t(u32, chunk_sz, section->len - offset); in iwl_pcie_load_section()
816 dma_free_coherent(trans->dev, chunk_sz, v_addr, p_addr); in iwl_pcie_load_section()
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_device.h733 u32 chunk_sz; /* chunk size in non multihop mode*/ member
Dhns_roce_hem.c850 table->table_chunk_size = hr_dev->caps.chunk_sz; in hns_roce_init_hem_table()
Dhns_roce_hw_v2.c1251 caps->chunk_sz = HNS_ROCE_V2_TABLE_CHUNK_SIZE; in hns_roce_v2_profile()
Dhns_roce_hw_v1.c1586 caps->chunk_sz = HNS_ROCE_V1_TABLE_CHUNK_SIZE; in hns_roce_v1_profile()