Searched refs:first_page (Results 1 - 25 of 42) sorted by relevance

12

/linux-master/sound/pci/emu10k1/
H A Dmemory.c83 blk->first_page = get_aligned_page(blk->mem.offset);
85 blk->pages = blk->last_page - blk->first_page + 1;
152 for (pg = blk->first_page; pg <= blk->last_page; pg++) {
192 for (pg = blk->first_page; pg <= blk->last_page; pg++) {
216 if (page + psize <= blk->first_page)
328 for (page = blk->first_page; page <= blk->last_page; page++, idx++) {
458 int first_page, last_page; local
459 first_page = blk->first_page;
463 if (q->last_page == first_page)
478 __synth_free_pages(struct snd_emu10k1 *emu, int first_page, int last_page) argument
512 int page, first_page, last_page; local
544 int first_page, last_page; local
[all...]
/linux-master/drivers/edac/
H A Dpasemi_edac.c102 mci->csrows[cs]->first_page, 0, 0,
109 mci->csrows[cs]->first_page, 0, 0,
167 csrow->first_page = last_page_in_mmc;
168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1;
H A Damd76x_edac.c148 mci->csrows[row]->first_page, 0, 0,
163 mci->csrows[row]->first_page, 0, 0,
208 csrow->first_page = mba_base >> PAGE_SHIFT;
210 csrow->last_page = csrow->first_page + dimm->nr_pages - 1;
H A Daspeed_edac.c119 csrow->first_page + page, offset, syndrome,
140 csrow->first_page + page, offset, syndrome,
260 csrow->first_page = r.start >> PAGE_SHIFT;
262 csrow->last_page = csrow->first_page + nr_pages - 1;
272 dev_dbg(mci->pdev, "initialized dimm with first_page=0x%lx and nr_pages=0x%x\n",
273 csrow->first_page, nr_pages);
H A Dcell_edac.c53 csrow->first_page + pfn, offset, syndrome,
75 csrow->first_page + pfn, offset, 0,
148 csrow->first_page = r.start >> PAGE_SHIFT;
150 csrow->last_page = csrow->first_page + nr_pages - 1;
160 " first_page=0x%lx, nr_pages=0x%x\n",
162 csrow->first_page, nr_pages);
H A Dr82600_edac.c251 csrow->first_page = row_base >> PAGE_SHIFT;
254 dimm->nr_pages = csrow->last_page - csrow->first_page + 1;
H A Di82443bxgx_edac.c217 csrow->first_page = row_base >> PAGE_SHIFT;
219 dimm->nr_pages = csrow->last_page - csrow->first_page + 1;
H A Di82860_edac.c173 csrow->first_page = last_cumul_size;
H A Dedac_mc.c112 edac_dbg(4, " csrow->first_page = 0x%lx\n", csrow->first_page);
774 csrow->first_page, page, csrow->last_page,
777 if ((page >= csrow->first_page) &&
780 (csrow->first_page & csrow->page_mask))) {
H A Dcpc925_edac.c340 csrow->first_page = last_nr_pages;
342 csrow->last_page = csrow->first_page + nr_pages - 1;
452 if (mci->csrows[rank]->first_page == 0) {
460 pa = mci->csrows[rank]->first_page << PAGE_SHIFT;
H A Dfsl_ddr_edac.c319 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page))
460 csrow->first_page = start;
H A Di3000_edac.c402 csrow->first_page = last_cumul_size;
/linux-master/drivers/platform/goldfish/
H A Dgoldfish_pipe.c257 static int goldfish_pin_pages(unsigned long first_page, argument
265 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1;
274 ret = pin_user_pages_fast(first_page, requested_pages,
290 unsigned long first_page,
304 int size_on_page = first_page == last_page
334 unsigned long first_page = address & PAGE_MASK; local
342 pages_count = goldfish_pin_pages(first_page, last_page,
351 first_page, last_page, iter_last_page_size, is_write,
286 populate_rw_params(struct page **pages, int pages_count, unsigned long address, unsigned long address_end, unsigned long first_page, unsigned long last_page, unsigned int iter_last_page_size, int is_write, struct goldfish_pipe_command *command) argument
/linux-master/drivers/staging/media/meson/vdec/
H A Dcodec_hevc_common.c286 u32 first_page; local
290 first_page = comm->fbc_buffer_paddr[vb->index] >> PAGE_SHIFT;
292 first_page = vb2_dma_contig_plane_dma_addr(vb, 0) >> PAGE_SHIFT;
295 mmu_map[i] = first_page + i;
/linux-master/arch/sparc/kernel/
H A Diommu.c201 unsigned long order, first_page; local
218 first_page = (unsigned long) page_address(page);
219 memset((char *)first_page, 0, PAGE_SIZE << order);
226 free_pages(first_page, order);
232 ret = (void *) first_page;
234 first_page = __pa(first_page);
238 (first_page & IOPTE_PAGE));
240 first_page += IO_PAGE_SIZE;
H A Dpci_sun4v.c186 unsigned long flags, order, first_page, npages, n; local
210 first_page = (unsigned long) page_address(page);
211 memset((char *)first_page, 0, PAGE_SIZE << order);
227 ret = (void *) first_page;
228 first_page = __pa(first_page);
238 long err = iommu_batch_add(first_page + (n * PAGE_SIZE), mask);
255 free_pages(first_page, order);
/linux-master/mm/
H A Dmemremap.c114 struct page *first_page; local
117 first_page = pfn_to_page(pfn_first(pgmap, range_id));
121 remove_pfn_range_from_zone(page_zone(first_page), PHYS_PFN(range->start),
H A Dzsmalloc.c252 struct page *first_page; member in struct:zspage
447 struct page *first_page = zspage->first_page; local
449 VM_BUG_ON_PAGE(!is_first_page(first_page), first_page);
450 return first_page;
932 zspage->first_page = page;
1307 zspage->first_page->index = handle;
/linux-master/sound/pci/trident/
H A Dtrident_memory.c101 #define firstpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->first_page)
H A Dtrident.h248 short first_page, last_page; member in struct:snd_trident_memblk_arg
/linux-master/fs/ntfs3/
H A Dfslog.c1014 u32 first_page; member in struct:ntfs_log
1071 return off >= log->l_size ? log->first_page : off;
1302 log->first_page = major_ver >= 2 ? 0x22 * log->page_size :
1319 log->next_page = log->first_page;
1358 log->total_avail_pages = log->l_size - log->first_page;
1474 if (hdr_off == log->first_page)
1515 log->first_page :
1525 log->next_page == log->first_page ? log->l_size :
1566 (lsn_seq == seq - 1 && log->first_page == vbo &&
1618 second_off = log->first_page
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c254 int first_page, page_offset; local
258 first_page = (int)(ofs >> chip->page_shift) & chip->pagemask;
262 res = chip->ecc.read_oob(chip, first_page + page_offset);
1227 first_lun = chip->cont_read.first_page / ppl;
1236 if (chip->cont_read.first_page == chip->cont_read.pause_page) {
1237 chip->cont_read.first_page++;
1242 if (chip->cont_read.first_page >= chip->cont_read.last_page)
1300 if (page == chip->cont_read.first_page)
1313 chip->cont_read.first_page++;
1322 return chip->cont_read.ongoing && page >= chip->cont_read.first_page;
3483 unsigned int first_page, last_page; local
[all...]
/linux-master/include/linux/
H A Dedac.h434 unsigned long first_page; /* first page number in csrow */ member in struct:csrow_info
/linux-master/tools/testing/selftests/kvm/include/
H A Dkvm_util_base.h466 uint64_t first_page, uint32_t num_pages)
471 .first_page = first_page,
465 kvm_vm_clear_dirty_log(struct kvm_vm *vm, int slot, void *log, uint64_t first_page, uint32_t num_pages) argument
/linux-master/fs/ext4/
H A Dinode.c1529 pgoff_t first_page; /* The first page to write */ member in struct:mpage_da_data
1533 * Extent to map - this can be after first_page because that can be
1554 if (mpd->first_page >= mpd->next_page)
1558 index = mpd->first_page;
1582 if (folio->index < mpd->first_page)
1839 mpd->first_page += folio_nr_pages(folio);
1849 BUG_ON(folio->index != mpd->first_page);
2264 disksize = ((loff_t)mpd->first_page) << PAGE_SHIFT;
2367 pgoff_t index = mpd->first_page;
2460 mpd->first_page
[all...]

Completed in 1312 milliseconds

12