Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/drivers/scsi/qla2xxx/
Dqla_nx.c701 unsigned long mem_page; in qla82xx_pci_mem_read_direct() local
723 mem_page = start & PAGE_MASK; in qla82xx_pci_mem_read_direct()
727 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla82xx_pci_mem_read_direct()
728 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla82xx_pci_mem_read_direct()
730 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_read_direct()
773 unsigned long mem_page; in qla82xx_pci_mem_write_direct() local
795 mem_page = start & PAGE_MASK; in qla82xx_pci_mem_write_direct()
799 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla82xx_pci_mem_write_direct()
800 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla82xx_pci_mem_write_direct()
802 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_write_direct()
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_nx.c721 unsigned long mem_page; in qla4_82xx_pci_mem_read_direct() local
742 mem_page = start & PAGE_MASK; in qla4_82xx_pci_mem_read_direct()
746 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla4_82xx_pci_mem_read_direct()
747 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla4_82xx_pci_mem_read_direct()
749 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_read_direct()
794 unsigned long mem_page; in qla4_82xx_pci_mem_write_direct() local
815 mem_page = start & PAGE_MASK; in qla4_82xx_pci_mem_write_direct()
819 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla4_82xx_pci_mem_write_direct()
820 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla4_82xx_pci_mem_write_direct()
822 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_82xx_pci_mem_write_direct()