Home
last modified time | relevance | path

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

12

/Linux-v4.19/sound/pci/emu10k1/
Dmemory.c98 blk->first_page = get_aligned_page(blk->mem.offset); in emu10k1_memblk_init()
100 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init()
167 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in map_memblk()
203 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in unmap_memblk()
227 if (page + psize <= blk->first_page) in search_empty()
340 for (page = blk->first_page; page <= blk->last_page; page++, idx++) { in snd_emu10k1_alloc_pages()
470 int first_page, last_page; in get_single_page_range() local
471 first_page = blk->first_page; in get_single_page_range()
474 if (q->last_page == first_page) in get_single_page_range()
475 first_page++; /* first page was already allocated */ in get_single_page_range()
[all …]
/Linux-v4.19/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.c148 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info()
163 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info()
209 csrow->first_page = mba_base >> PAGE_SHIFT; in amd76x_init_csrows()
211 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
Dr82600_edac.c252 csrow->first_page = row_base >> PAGE_SHIFT; in r82600_init_csrows()
255 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in r82600_init_csrows()
Di82443bxgx_edac.c218 csrow->first_page = row_base >> PAGE_SHIFT; in i82443bxgx_init_csrows()
220 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in i82443bxgx_init_csrows()
Dcpc925_edac.c352 csrow->first_page = last_nr_pages; in cpc925_init_csrows()
354 csrow->last_page = csrow->first_page + nr_pages - 1; in cpc925_init_csrows()
464 if (mci->csrows[rank]->first_page == 0) { in cpc925_mc_get_pfn()
472 pa = mci->csrows[rank]->first_page << PAGE_SHIFT; in cpc925_mc_get_pfn()
Dedac_mc.c170 edac_dbg(4, " csrow->first_page = 0x%lx\n", csrow->first_page); in edac_mc_dump_csrow()
890 csrow->first_page, page, csrow->last_page, in edac_mc_find_csrow_by_page()
893 if ((page >= csrow->first_page) && in edac_mc_find_csrow_by_page()
896 (csrow->first_page & csrow->page_mask))) { in edac_mc_find_csrow_by_page()
Dfsl_ddr_edac.c318 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page)) in fsl_mc_check()
459 csrow->first_page = start; in fsl_ddr_init_csrows()
Di82860_edac.c174 csrow->first_page = last_cumul_size; in i82860_init_csrows()
Di3000_edac.c403 csrow->first_page = last_cumul_size; in i3000_probe1()
Di82875p_edac.c371 csrow->first_page = last_cumul_size; in i82875p_init_csrows()
Di82975x_edac.c431 csrow->first_page = last_cumul_size; in i82975x_init_csrows()
/Linux-v4.19/arch/sparc/kernel/
Diommu.c202 unsigned long order, first_page; in dma_4u_alloc_coherent() local
219 first_page = (unsigned long) page_address(page); in dma_4u_alloc_coherent()
220 memset((char *)first_page, 0, PAGE_SIZE << order); in dma_4u_alloc_coherent()
227 free_pages(first_page, order); in dma_4u_alloc_coherent()
233 ret = (void *) first_page; in dma_4u_alloc_coherent()
235 first_page = __pa(first_page); in dma_4u_alloc_coherent()
239 (first_page & IOPTE_PAGE)); in dma_4u_alloc_coherent()
241 first_page += IO_PAGE_SIZE; in dma_4u_alloc_coherent()
Dpci_sun4v.c179 unsigned long flags, order, first_page, npages, n; in dma_4v_alloc_coherent() local
204 first_page = (unsigned long) page_address(page); in dma_4v_alloc_coherent()
205 memset((char *)first_page, 0, PAGE_SIZE << order); in dma_4v_alloc_coherent()
223 ret = (void *) first_page; in dma_4v_alloc_coherent()
224 first_page = __pa(first_page); in dma_4v_alloc_coherent()
234 long err = iommu_batch_add(first_page + (n * PAGE_SIZE), mask); in dma_4v_alloc_coherent()
251 free_pages(first_page, order); in dma_4v_alloc_coherent()
/Linux-v4.19/drivers/platform/goldfish/
Dgoldfish_pipe.c310 static int pin_user_pages(unsigned long first_page, unsigned long last_page, in pin_user_pages() argument
316 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in pin_user_pages()
326 first_page, requested_pages, !is_write, pages); in pin_user_pages()
351 unsigned long first_page, unsigned long last_page, in populate_rw_params() argument
363 int size_on_page = first_page == last_page in populate_rw_params()
390 unsigned long first_page = address & PAGE_MASK; in transfer_max_buffers() local
392 int pages_count = pin_user_pages(first_page, last_page, in transfer_max_buffers()
404 first_page, last_page, iter_last_page_size, is_write, in transfer_max_buffers()
/Linux-v4.19/drivers/infiniband/core/
Dfmr_pool.c108 static inline u32 ib_fmr_hash(u64 first_page) in ib_fmr_hash() argument
110 return jhash_2words((u32) first_page, (u32) (first_page >> 32), 0) & in ib_fmr_hash()
/Linux-v4.19/mm/
Dzsmalloc.c282 struct page *first_page; member
485 struct page *first_page = zspage->first_page; in get_first_page() local
487 VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); in get_first_page()
488 return first_page; in get_first_page()
1061 zspage->first_page = page; in create_page_chain()
1450 zspage->first_page->index = handle; in obj_malloc()
/Linux-v4.19/fs/ext4/
Dinode.c1699 pgoff_t first_page; /* The first page to write */ member
1722 if (mpd->first_page >= mpd->next_page) in mpage_release_unused_pages()
1725 index = mpd->first_page; in mpage_release_unused_pages()
2187 BUG_ON(page->index != mpd->first_page); in mpage_submit_page()
2210 mpd->first_page++; in mpage_submit_page()
2552 disksize = ((loff_t)mpd->first_page) << PAGE_SHIFT; in mpage_map_and_submit_extent()
2614 pgoff_t index = mpd->first_page; in mpage_prepare_extent_to_map()
2674 mpd->first_page = page->index; in mpage_prepare_extent_to_map()
2779 mpd.first_page = writeback_index; in ext4_writepages()
2782 mpd.first_page = wbc->range_start >> PAGE_SHIFT; in ext4_writepages()
[all …]
/Linux-v4.19/sound/pci/trident/
Dtrident.h263 short first_page, last_page; member
Dtrident_memory.c133 #define firstpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->first_page)
/Linux-v4.19/include/linux/
Dedac.h483 unsigned long first_page; /* first page number in csrow */ member
/Linux-v4.19/kernel/trace/
Dring_buffer.c1474 struct buffer_page *last_page, *first_page; in rb_remove_pages() local
1503 first_page = list_entry(rb_list_head(to_remove->next), in rb_remove_pages()
1546 tmp_iter_page = first_page; in rb_remove_pages()
1606 struct list_head *last_page, *first_page; in rb_insert_pages() local
1614 first_page = pages->next; in rb_insert_pages()
1621 first_page->prev = prev_page; in rb_insert_pages()
1623 r = cmpxchg(&prev_page->next, head_page_with_bit, first_page); in rb_insert_pages()
/Linux-v4.19/drivers/block/drbd/
Ddrbd_bitmap.c1491 int first_page; in _drbd_bm_set_bits() local
1513 first_page = sl >> (3 + PAGE_SHIFT); in _drbd_bm_set_bits()
1522 for (page_nr = first_page; page_nr < last_page; page_nr++) { in _drbd_bm_set_bits()
/Linux-v4.19/include/trace/events/
Dext4.h413 TP_PROTO(struct inode *inode, pgoff_t first_page,
416 TP_ARGS(inode, first_page, wbc),
421 __field( pgoff_t, first_page )
429 __entry->first_page = first_page;
437 (unsigned long) __entry->ino, __entry->first_page,

12