Searched refs:mem_page (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/drivers/s390/block/ |
D | xpram.c | 145 unsigned long mem_page; in xpram_present() local 148 mem_page = (unsigned long) __get_free_page(GFP_KERNEL); in xpram_present() 149 if (!mem_page) in xpram_present() 151 rc = xpram_page_in(mem_page, 0); in xpram_present() 152 free_page(mem_page); in xpram_present() 162 unsigned long mem_page; in xpram_highest_page_index() local 164 mem_page = (unsigned long) __get_free_page(GFP_KERNEL); in xpram_highest_page_index() 165 if (!mem_page) in xpram_highest_page_index() 171 if (xpram_page_in(mem_page, page_index | add_bit) == 0) in xpram_highest_page_index() 176 free_page (mem_page); in xpram_highest_page_index()
|
/linux-3.4.99/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 669 unsigned long mem_page; in qla4_8xxx_pci_mem_read_direct() local 690 mem_page = start & PAGE_MASK; in qla4_8xxx_pci_mem_read_direct() 694 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla4_8xxx_pci_mem_read_direct() 695 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla4_8xxx_pci_mem_read_direct() 697 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_8xxx_pci_mem_read_direct() 742 unsigned long mem_page; in qla4_8xxx_pci_mem_write_direct() local 763 mem_page = start & PAGE_MASK; in qla4_8xxx_pci_mem_write_direct() 767 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla4_8xxx_pci_mem_write_direct() 768 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla4_8xxx_pci_mem_write_direct() 770 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla4_8xxx_pci_mem_write_direct()
|
/linux-3.4.99/drivers/scsi/qla2xxx/ |
D | qla_nx.c | 685 unsigned long mem_page; in qla82xx_pci_mem_read_direct() local 707 mem_page = start & PAGE_MASK; in qla82xx_pci_mem_read_direct() 711 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla82xx_pci_mem_read_direct() 712 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE * 2); in qla82xx_pci_mem_read_direct() 714 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_read_direct() 757 unsigned long mem_page; in qla82xx_pci_mem_write_direct() local 779 mem_page = start & PAGE_MASK; in qla82xx_pci_mem_write_direct() 783 if (mem_page != ((start + size - 1) & PAGE_MASK)) in qla82xx_pci_mem_write_direct() 784 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE*2); in qla82xx_pci_mem_write_direct() 786 mem_ptr = ioremap(mem_base + mem_page, PAGE_SIZE); in qla82xx_pci_mem_write_direct()
|