Home
last modified time | relevance | path

Searched refs:page_size (Results 1 – 25 of 26) sorted by relevance

12

/linux-4.19.296/drivers/pci/endpoint/
Dpci-epc-mem.c26 unsigned int page_shift = ilog2(mem->page_size); in pci_epc_mem_get_order()
49 size_t page_size) in __pci_epc_mem_init() argument
58 if (page_size < PAGE_SIZE) in __pci_epc_mem_init()
59 page_size = PAGE_SIZE; in __pci_epc_mem_init()
61 page_shift = ilog2(page_size); in __pci_epc_mem_init()
79 mem->page_size = page_size; in __pci_epc_mem_init()
128 unsigned int page_shift = ilog2(mem->page_size); in pci_epc_mem_alloc_addr()
131 size = ALIGN(size, mem->page_size); in pci_epc_mem_alloc_addr()
164 unsigned int page_shift = ilog2(mem->page_size); in pci_epc_mem_free_addr()
169 size = ALIGN(size, mem->page_size); in pci_epc_mem_free_addr()
/linux-4.19.296/include/asm-generic/
Dtlb.h117 int page_size; member
130 int page_size);
161 struct page *page, int page_size) in tlb_remove_page_size() argument
163 if (__tlb_remove_page_size(tlb, page, page_size)) in tlb_remove_page_size()
184 unsigned int page_size) in tlb_remove_check_page_size_change() argument
192 tlb->page_size = page_size; in tlb_remove_check_page_size_change()
/linux-4.19.296/drivers/misc/cxl/
Dcxllib.c209 unsigned long *page_size) in get_vma_info() argument
221 *page_size = vma_kernel_pagesize(vma); in get_vma_info()
233 unsigned long page_size; in cxllib_handle_fault() local
244 rc = get_vma_info(mm, addr, &vma_start, &vma_end, &page_size); in cxllib_handle_fault()
248 for (dar = (addr & ~(page_size - 1)); dar < (addr + size); in cxllib_handle_fault()
249 dar += page_size) { in cxllib_handle_fault()
266 &page_size); in cxllib_handle_fault()
/linux-4.19.296/drivers/misc/
Dvmw_balloon.c529 struct vmballoon_page_size *page_size = in vmballoon_pop() local
533 list_for_each_entry_safe(page, next, &page_size->pages, lru) { in vmballoon_pop()
557 struct vmballoon_page_size *page_size = &b->page_sizes[false]; in vmballoon_lock_page() local
578 if (page_size->n_refused_pages < VMW_BALLOON_MAX_REFUSED) { in vmballoon_lock_page()
579 page_size->n_refused_pages++; in vmballoon_lock_page()
580 list_add(&page->lru, &page_size->refused_pages); in vmballoon_lock_page()
588 list_add(&page->lru, &page_size->pages); in vmballoon_lock_page()
618 struct vmballoon_page_size *page_size = in vmballoon_lock_batched_page() local
625 list_add(&p->lru, &page_size->pages); in vmballoon_lock_batched_page()
630 if (page_size->n_refused_pages in vmballoon_lock_batched_page()
[all …]
/linux-4.19.296/drivers/memstick/core/
Dms_block.c437 msb->page_size); in h_msb_read_page()
445 msb->current_sg_offset += msb->page_size; in h_msb_read_page()
456 msb->current_sg_offset += msb->page_size; in h_msb_read_page()
563 msb->page_size) < msb->page_size) in h_msb_write_block()
573 msb->current_sg_offset += msb->page_size; in h_msb_write_block()
867 size_t len = msb->page_size; in msb_read_page()
987 NULL, &sg, page * msb->page_size); in msb_verify_block()
1004 BUG_ON(sg->length < msb->page_size); in msb_write_block()
1180 p->attr.page_size = be16_to_cpu(p->attr.page_size); in msb_fix_boot_page_endianness()
1276 page = data_offset / msb->page_size; in msb_read_bad_block_table()
[all …]
Dmspro_block.c78 __be16 page_size; member
147 unsigned short page_size; member
345 be16_to_cpu(x_sys->page_size)); in mspro_block_attr_show_sysinfo()
612 / msb->page_size)) { in h_mspro_block_transfer_data()
636 t_offset += msb->current_page * msb->page_size; in h_mspro_block_transfer_data()
641 msb->page_size, offset_in_page(t_offset)); in h_mspro_block_transfer_data()
680 .data_count = cpu_to_be16((uint16_t)(length / msb->page_size)), in h_mspro_block_setup_cmd()
686 do_div(offset, msb->page_size); in h_mspro_block_setup_cmd()
764 / msb->page_size; in mspro_block_complete_req()
769 t_len *= msb->page_size; in mspro_block_complete_req()
[all …]
Dms_block.h83 unsigned short page_size; member
116 unsigned short page_size; member
173 unsigned short page_size; member
/linux-4.19.296/drivers/misc/mic/host/
Dmic_smpt.c39 return mdev->smpt->info.base + (index * mdev->smpt->info.page_size); in mic_smpt_to_pa()
50 mdev->smpt->info.page_size); in mic_smpt_align_low()
55 return ALIGN(pa, mdev->smpt->info.page_size); in mic_smpt_align_high()
61 return mdev->smpt->info.num_reg * mdev->smpt->info.page_size; in mic_max_system_memory()
85 addr += smpt_info->info.page_size) { in mic_add_smpt_entry()
116 addr += smpt_info->info.page_size; in mic_smpt_op()
374 dma_addr = i * smpt_info->info.page_size; in mic_smpt_init()
Dmic_smpt.h53 u64 page_size; member
Dmic_x100.c545 info->page_size = (1ULL << info->page_shift); in mic_x100_smpt_hw_init()
/linux-4.19.296/drivers/misc/eeprom/
Dat24.c74 u16 page_size; member
336 next_page = roundup(offset + 1, at24->page_size); in at24_adjust_write_count()
508 chip->page_size = val; in at24_properties_to_pdata()
515 chip->page_size = 1; in at24_properties_to_pdata()
642 pdata.page_size = 1; in at24_probe()
644 if (!pdata.page_size) { in at24_probe()
649 if (!is_power_of_2(pdata.page_size)) in at24_probe()
679 at24->page_size = pdata.page_size; in at24_probe()
693 pdata.page_size, at24_io_limit); in at24_probe()
Dat25.c149 buf_size = at25->chip.page_size; in at25_ee_write()
268 chip->page_size = (u16)val; in at25_fw_to_chip()
378 at25->chip.page_size); in at25_probe()
/linux-4.19.296/include/linux/spi/
Deeprom.h17 u16 page_size; /* for writes */ member
/linux-4.19.296/drivers/pci/controller/dwc/
Dpcie-designware-ep.c414 aligned_offset = msg_addr_lower & (epc->mem->page_size - 1); in dw_pcie_ep_raise_msi_irq()
418 epc->mem->page_size); in dw_pcie_ep_raise_msi_irq()
475 epc->mem->page_size); in dw_pcie_ep_raise_msix_irq()
491 epc->mem->page_size); in dw_pcie_ep_exit()
567 ep->page_size); in dw_pcie_ep_init()
574 epc->mem->page_size); in dw_pcie_ep_init()
Dpcie-designware.h191 size_t page_size; member
/linux-4.19.296/include/linux/platform_data/
Dat24.h45 u16 page_size; /* for writes */ member
/linux-4.19.296/include/linux/
Dpci-epc.h78 size_t page_size; member
168 size_t page_size);
/linux-4.19.296/include/uapi/rdma/
Docrdma-abi.h87 __u32 page_size; member
/linux-4.19.296/include/linux/mtd/
Dsh_flctl.h164 unsigned page_size:1; /* NAND page size (0 = 512, 1 = 2048) */ member
Dspi-nor.h288 u32 page_size; member
/linux-4.19.296/include/linux/mlx4/
Dqp.h397 __be32 page_size; member
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_nodeqp.c369 scif_p2p_setsg(phys_addr_t pa, int page_size, int page_cnt) in scif_p2p_setsg() argument
381 sg_set_page(&sg[i], page, page_size, 0); in scif_p2p_setsg()
382 pa += page_size; in scif_p2p_setsg()
/linux-4.19.296/include/linux/mlx5/
Dqp.h195 __be32 page_size; member
/linux-4.19.296/include/linux/qed/
Dqed_rdma_if.h302 u16 page_size; member
/linux-4.19.296/include/rdma/
Dib_verbs.h1806 unsigned int page_size; member
3916 unsigned int *sg_offset, unsigned int page_size);
3920 unsigned int *sg_offset, unsigned int page_size) in ib_map_mr_sg_zbva() argument
3924 n = ib_map_mr_sg(mr, sg, sg_nents, sg_offset, page_size); in ib_map_mr_sg_zbva()

12