Home
last modified time | relevance | path

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

/drivers/edac/
Dcell_edac.c53 csrow->first_page + pfn, offset, syndrome, in cell_edac_count_ce()
75 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.c106 edac_dbg(4, " csrow->first_page = 0x%lx\n", csrow->first_page); in edac_mc_dump_csrow()
904 csrow->first_page, page, csrow->last_page, in edac_mc_find_csrow_by_page()
907 if ((page >= csrow->first_page) && in edac_mc_find_csrow_by_page()
910 (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.c372 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.c861 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in mpc85xx_mc_check()
996 csrow->first_page = start; in mpc85xx_init_csrows()
De752x_edac.c1108 csrow->first_page = last_cumul_size; in e752x_init_csrows()
/drivers/platform/goldfish/
Dgoldfish_pipe_v2.c295 static int pin_user_pages(unsigned long first_page, in pin_user_pages() argument
303 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in pin_user_pages()
312 ret = get_user_pages_fast(first_page, requested_pages, !is_write, in pin_user_pages()
339 unsigned long first_page, in populate_rw_params() argument
353 int size_on_page = first_page == last_page in populate_rw_params()
383 unsigned long first_page = address & PAGE_MASK; in transfer_max_buffers() local
391 pages_count = pin_user_pages(first_page, last_page, in transfer_max_buffers()
400 first_page, last_page, iter_last_page_size, is_write, in transfer_max_buffers()
Dgoldfish_pipe_v1.c284 long first_page; in goldfish_pipe_read_write() local
295 first_page = address & PAGE_MASK; in goldfish_pipe_read_write()
298 min(((last_page - first_page) >> PAGE_SHIFT) + 1, in goldfish_pipe_read_write()
301 ret = get_user_pages_fast(first_page, requested_pages, in goldfish_pipe_read_write()
/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.c229 struct page *first_page; in memory_block_action() local
233 first_page = pfn_to_page(start_pfn); in memory_block_action()
/drivers/gpu/drm/i915/
Di915_cmd_parser.c938 int first_page = start >> PAGE_SHIFT; in vmap_batch() local
940 int npages = last_page - first_page; in vmap_batch()
950 for_each_sg_page(obj->pages->sgl, &sg_iter, obj->pages->nents, first_page) { in vmap_batch()
/drivers/block/drbd/
Ddrbd_bitmap.c1461 int first_page; in _drbd_bm_set_bits() local
1483 first_page = sl >> (3 + PAGE_SHIFT); in _drbd_bm_set_bits()
1492 for (page_nr = first_page; page_nr < last_page; page_nr++) { in _drbd_bm_set_bits()
/drivers/scsi/csiostor/
Dcsio_hw.c674 uint8_t first_page[SF_PAGE_SIZE]; in csio_hw_fw_dload() local
731 memcpy(first_page, fw_data, SF_PAGE_SIZE); in csio_hw_fw_dload()
732 ((struct fw_hdr *)first_page)->fw_ver = htonl(0xffffffff); in csio_hw_fw_dload()
733 ret = csio_hw_write_flash(hw, FLASH_FW_START, SF_PAGE_SIZE, first_page); in csio_hw_fw_dload()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c3250 u8 first_page[SF_PAGE_SIZE]; in t4_load_fw() local
3298 memcpy(first_page, fw_data, SF_PAGE_SIZE); in t4_load_fw()
3299 ((struct fw_hdr *)first_page)->fw_ver = cpu_to_be32(0xffffffff); in t4_load_fw()
3300 ret = t4_write_flash(adap, fw_img_start, SF_PAGE_SIZE, first_page); in t4_load_fw()
/drivers/infiniband/hw/nes/
Dnes_verbs.c2319 int first_page = 1; in nes_reg_user_mr() local
2603 if (first_page) { in nes_reg_user_mr()
2605 first_page = 0; in nes_reg_user_mr()