Home
last modified time | relevance | path

Searched refs:first_page (Results 1 – 21 of 21) sorted by relevance

/drivers/edac/
Dcell_edac.c52 csrow->first_page + pfn, offset, syndrome, in cell_edac_count_ce()
74 csrow->first_page + pfn, offset, 0, in cell_edac_count_ue()
148 csrow->first_page = r.start >> PAGE_SHIFT; in cell_edac_init_csrows()
150 csrow->last_page = csrow->first_page + nr_pages - 1; in cell_edac_init_csrows()
162 csrow->first_page, nr_pages); in cell_edac_init_csrows()
Dpasemi_edac.c114 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info()
121 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info()
179 csrow->first_page = last_page_in_mmc; in pasemi_edac_init_csrows()
180 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
Damd76x_edac.c149 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info()
164 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info()
210 csrow->first_page = mba_base >> PAGE_SHIFT; in amd76x_init_csrows()
212 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
Dr82600_edac.c253 csrow->first_page = row_base >> PAGE_SHIFT; in r82600_init_csrows()
256 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in r82600_init_csrows()
Di82443bxgx_edac.c220 csrow->first_page = row_base >> PAGE_SHIFT; in i82443bxgx_init_csrows()
222 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in i82443bxgx_init_csrows()
Dcpc925_edac.c353 csrow->first_page = last_nr_pages; in cpc925_init_csrows()
355 csrow->last_page = csrow->first_page + nr_pages - 1; in cpc925_init_csrows()
465 if (mci->csrows[rank]->first_page == 0) { in cpc925_mc_get_pfn()
473 pa = mci->csrows[rank]->first_page << PAGE_SHIFT; in cpc925_mc_get_pfn()
Dedac_mc.c102 edac_dbg(4, " csrow->first_page = 0x%lx\n", csrow->first_page); in edac_mc_dump_csrow()
894 csrow->first_page, page, csrow->last_page, in edac_mc_find_csrow_by_page()
897 if ((page >= csrow->first_page) && in edac_mc_find_csrow_by_page()
900 (csrow->first_page & csrow->page_mask))) { in edac_mc_find_csrow_by_page()
Di82860_edac.c175 csrow->first_page = last_cumul_size; in i82860_init_csrows()
Di82875p_edac.c378 csrow->first_page = last_cumul_size; in i82875p_init_csrows()
Di3000_edac.c406 csrow->first_page = last_cumul_size; in i3000_probe1()
De7xxx_edac.c390 csrow->first_page = last_cumul_size; in e7xxx_init_csrows()
Di82975x_edac.c432 csrow->first_page = last_cumul_size; in i82975x_init_csrows()
Dmpc85xx_edac.c819 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in mpc85xx_mc_check()
954 csrow->first_page = start; in mpc85xx_init_csrows()
De752x_edac.c1109 csrow->first_page = last_cumul_size; in e752x_init_csrows()
/drivers/platform/goldfish/
Dgoldfish_pipe.c263 long first_page, last_page, requested_pages; in goldfish_pipe_read_write() local
269 first_page = address & PAGE_MASK; in goldfish_pipe_read_write()
271 requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in goldfish_pipe_read_write()
275 ret = get_user_pages_fast(first_page, in goldfish_pipe_read_write()
278 DPRINT("%s: requested pages: %d %d %p\n", __FUNCTION__, ret, requested_pages, first_page); in goldfish_pipe_read_write()
Dgoldfish_pipe_v2.c251 static int pin_user_pages(unsigned long first_page, unsigned long last_page, in pin_user_pages() argument
256 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in pin_user_pages()
265 first_page, requested_pages, !is_write, pages); in pin_user_pages()
290 unsigned long first_page, unsigned long last_page, in populate_rw_params() argument
302 int size_on_page = first_page == last_page in populate_rw_params()
328 unsigned long first_page = address & PAGE_MASK; in transfer_max_buffers() local
330 int pages_count = pin_user_pages(first_page, last_page, in transfer_max_buffers()
341 first_page, last_page, iter_last_page_size, is_write, in transfer_max_buffers()
/drivers/infiniband/core/
Dfmr_pool.c107 static inline u32 ib_fmr_hash(u64 first_page) in ib_fmr_hash() argument
109 return jhash_2words((u32) first_page, (u32) (first_page >> 32), 0) & in ib_fmr_hash()
/drivers/base/
Dmemory.c250 struct page *first_page; in memory_block_action() local
253 first_page = pfn_to_page(phys_index << PFN_SECTION_SHIFT); in memory_block_action()
254 start_pfn = page_to_pfn(first_page); in memory_block_action()
/drivers/block/drbd/
Ddrbd_bitmap.c1520 int first_page; in _drbd_bm_set_bits() local
1542 first_page = sl >> (3 + PAGE_SHIFT); in _drbd_bm_set_bits()
1551 for (page_nr = first_page; page_nr < last_page; page_nr++) { in _drbd_bm_set_bits()
/drivers/scsi/csiostor/
Dcsio_hw.c741 uint8_t first_page[SF_PAGE_SIZE]; in csio_hw_fw_dload() local
798 memcpy(first_page, fw_data, SF_PAGE_SIZE); in csio_hw_fw_dload()
799 ((struct fw_hdr *)first_page)->fw_ver = htonl(0xffffffff); in csio_hw_fw_dload()
800 ret = csio_hw_write_flash(hw, FW_IMG_START, SF_PAGE_SIZE, first_page); in csio_hw_fw_dload()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c1067 u8 first_page[SF_PAGE_SIZE]; in t4_load_fw() local
1113 memcpy(first_page, fw_data, SF_PAGE_SIZE); in t4_load_fw()
1114 ((struct fw_hdr *)first_page)->fw_ver = htonl(0xffffffff); in t4_load_fw()
1115 ret = t4_write_flash(adap, fw_img_start, SF_PAGE_SIZE, first_page); in t4_load_fw()