Searched refs:last_page (Results 1 - 25 of 51) sorted by relevance

123

/linux-master/fs/squashfs/
H A Dpage_actor.h19 struct page *last_page; member in struct:squashfs_page_actor
35 struct page *last_page = actor->last_page; local
39 return last_page;
H A Dpage_actor.c74 actor->last_page = NULL;
80 actor->last_page = actor->page[actor->next_page];
130 actor->last_page = NULL;
H A Dfile.c562 struct page *last_page; local
602 last_page = squashfs_page_actor_free(actor);
609 if (index == file_end && bytes && last_page)
610 memzero_page(last_page, bytes,
/linux-master/sound/pci/emu10k1/
H A Dmemory.c84 blk->last_page = get_aligned_page(blk->mem.offset + blk->mem.size - 1);
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++) {
218 page = blk->last_page + 1;
328 for (page = blk->first_page; page <= blk->last_page; page++, idx++) {
458 int first_page, last_page; local
463 if (q->last_page == first_page)
466 last_page = blk->last_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/md/dm-vdo/indexer/
H A Dchapter-index.h47 bool last_page, u32 *lists_packed);
H A Dchapter-index.c118 * @last_page: If true, this is the last page of the chapter index and all the remaining lists must
123 u8 *memory, u32 first_list, bool last_page,
154 } else if (last_page) {
122 uds_pack_open_chapter_index_page(struct open_chapter_index *chapter_index, u8 *memory, u32 first_list, bool last_page, u32 *lists_packed) argument
/linux-master/drivers/char/agp/
H A Defficeon-agp.c239 unsigned int *page, *last_page; local
256 last_page = NULL;
270 if (last_page &&
271 (((unsigned long)page^(unsigned long)last_page) &
273 clflush(last_page);
275 last_page = page;
278 if ( last_page )
279 clflush(last_page);
/linux-master/drivers/platform/goldfish/
H A Dgoldfish_pipe.c258 unsigned long last_page,
265 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1;
291 unsigned long last_page,
304 int size_on_page = first_page == last_page
329 unsigned long last_page,
342 pages_count = goldfish_pin_pages(first_page, last_page,
351 first_page, last_page, iter_last_page_size, is_write,
396 unsigned long address, address_end, last_page; local
411 last_page = (address_end - 1) & PAGE_MASK;
419 last_page, last_page_siz
257 goldfish_pin_pages(unsigned long first_page, unsigned long last_page, unsigned int last_page_size, int is_write, struct page *pages[MAX_BUFFERS_PER_COMMAND], unsigned int *iter_last_page_size) argument
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
325 transfer_max_buffers(struct goldfish_pipe *pipe, unsigned long address, unsigned long address_end, int is_write, unsigned long last_page, unsigned int last_page_size, s32 *consumed_size, int *status) argument
[all...]
/linux-master/drivers/gpu/drm/ttm/tests/
H A Dttm_pool_test.c141 struct page *fst_page, *last_page; local
165 last_page = tt->pages[tt->num_pages - 1];
170 KUNIT_ASSERT_NOT_NULL(test, (void *)last_page->private);
177 KUNIT_ASSERT_NULL(test, (void *)last_page->private);
186 KUNIT_ASSERT_EQ(test, last_page->private, 0);
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-novatek-nt35950.c61 u8 last_page; member in struct:nt35950
119 nt->last_page = page;
135 u8 last_page = nt->last_page; local
139 if (last_page != 0) {
167 return nt35950_set_cmd2_page(nt, last_page);
/linux-master/drivers/edac/
H A Dr82600_edac.c252 csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1;
254 dimm->nr_pages = csrow->last_page - csrow->first_page + 1;
H A Di82443bxgx_edac.c218 csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1;
219 dimm->nr_pages = csrow->last_page - csrow->first_page + 1;
H A Dpasemi_edac.c168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1;
H A Damd76x_edac.c210 csrow->last_page = csrow->first_page + dimm->nr_pages - 1;
H A Di82860_edac.c174 csrow->last_page = cumul_size - 1;
H A Dfsl_ddr_edac.c319 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page))
461 csrow->last_page = end;
/linux-master/drivers/media/i2c/
H A Drdacm21.c86 u16 last_page; member in struct:rdacm21_device
218 if (page == dev->last_page)
221 if (page_high != (dev->last_page >> 8)) {
227 if (page_low != (u8)dev->last_page) {
233 dev->last_page = page;
/linux-master/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-sg.c63 unsigned int last_page = 0; local
84 while (last_page--)
85 __free_page(buf->pages[last_page]);
93 buf->pages[last_page++] = &pages[i];
/linux-master/fs/f2fs/
H A Dnode.c1543 struct page *last_page = NULL; local
1558 f2fs_put_page(last_page, 0);
1583 if (last_page)
1584 f2fs_put_page(last_page, 0);
1587 last_page = page;
1593 return last_page;
1760 struct page *last_page = NULL; local
1767 last_page = last_fsync_dnode(sbi, ino);
1768 if (IS_ERR_OR_NULL(last_page))
1769 return PTR_ERR_OR_ZERO(last_page);
[all...]
/linux-master/fs/netfs/
H A Dbuffered_read.c22 pgoff_t last_page = ((rreq->start + rreq->len) / PAGE_SIZE) - 1; local
48 xas_for_each(&xas, folio, last_page) {
/linux-master/sound/pci/trident/
H A Dtrident_memory.c102 #define lastpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->last_page)
/linux-master/sound/pci/hda/
H A Dpatch_cs8409.h313 unsigned int last_page; member in struct:sub_codec
/linux-master/drivers/iommu/intel/
H A Dsvm.c580 * specific requirement thus we set last_page as a workaround.
741 bool last_page; local
748 last_page = prm->flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE;
756 if (last_page || private_present) {
764 desc.qw1 = QI_PGRP_IDX(prm->grpid) | QI_PGRP_LPIG(last_page);
/linux-master/fs/nfs/
H A Dpagelist.c991 *last_page; local
1016 last_page = NULL;
1026 last_page = NULL;
1030 if (last_page != page) {
1034 *pages++ = last_page = page;
/linux-master/fs/erofs/
H A Dfscache.c60 pgoff_t last_page = ((req->start + req->len) / PAGE_SIZE) - 1; local
65 xas_for_each(&xas, folio, last_page) {

Completed in 230 milliseconds

123