Home
last modified time | relevance | path

Searched refs:mem_page (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/s390/block/
Dxpram.c146 unsigned long mem_page; in xpram_present() local
149 mem_page = (unsigned long) __get_free_page(GFP_KERNEL); in xpram_present()
150 if (!mem_page) in xpram_present()
152 rc = xpram_page_in(mem_page, 0); in xpram_present()
153 free_page(mem_page); in xpram_present()
163 unsigned long mem_page; in xpram_highest_page_index() local
165 mem_page = (unsigned long) __get_free_page(GFP_KERNEL); in xpram_highest_page_index()
166 if (!mem_page) in xpram_highest_page_index()
172 if (xpram_page_in(mem_page, page_index | add_bit) == 0) in xpram_highest_page_index()
177 free_page (mem_page); in xpram_highest_page_index()
/Linux-v5.10/drivers/scsi/qla4xxx/
Dql4_nx.c720 unsigned long mem_page; in qla4_82xx_pci_mem_read_direct() local
741 mem_page = start & PAGE_MASK; in qla4_82xx_pci_mem_read_direct()
745 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla4_82xx_pci_mem_read_direct()
746 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla4_82xx_pci_mem_read_direct()
748 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_read_direct()
793 unsigned long mem_page; in qla4_82xx_pci_mem_write_direct() local
814 mem_page = start & PAGE_MASK; in qla4_82xx_pci_mem_write_direct()
818 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla4_82xx_pci_mem_write_direct()
819 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla4_82xx_pci_mem_write_direct()
821 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_write_direct()
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_nx.c659 unsigned long mem_page; in qla82xx_pci_mem_read_direct() local
681 mem_page = start & PAGE_MASK; in qla82xx_pci_mem_read_direct()
685 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla82xx_pci_mem_read_direct()
686 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla82xx_pci_mem_read_direct()
688 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_read_direct()
731 unsigned long mem_page; in qla82xx_pci_mem_write_direct() local
753 mem_page = start & PAGE_MASK; in qla82xx_pci_mem_write_direct()
757 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla82xx_pci_mem_write_direct()
758 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla82xx_pci_mem_write_direct()
760 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_write_direct()