Searched refs:last_page (Results 1 - 25 of 51) sorted by last modified time

123

/linux-master/include/sound/
H A Demu10k1.h1543 int first_page, last_page, pages, mapped_page; member in struct:snd_emu10k1_memblk
/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) {
/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/kernel/trace/
H A Dring_buffer.c1809 struct buffer_page *last_page, *first_page; local
1875 last_page = list_entry(rb_list_head(to_remove), struct buffer_page,
1906 } while (to_remove_page != last_page);
1941 struct list_head *last_page, *first_page; local
1951 last_page = pages->prev;
1956 last_page->next = head_page_with_bit;
1967 head_page->prev = last_page;
/linux-master/fs/cramfs/
H A Dinode.c332 u32 partial, last_page, blockaddr, *blockptrs; local
338 last_page = inode->i_size >> PAGE_SHIFT;
340 blockaddr = blockptrs[last_page] & ~CRAMFS_BLK_FLAGS;
/linux-master/fs/nfsd/
H A Dvfs.c979 struct page *last_page; local
981 last_page = page + (offset + sd->len - 1) / PAGE_SIZE;
982 for (page += offset / PAGE_SIZE; page <= last_page; page++) {
/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/ext4/
H A Dinode.c1531 pgoff_t last_page; /* Last page to examine */ member in struct:mpage_da_data
2368 pgoff_t end = mpd->last_page;
2606 mpd->last_page = -1;
2609 mpd->last_page = wbc->range_end >> PAGE_SHIFT;
2616 mpd->last_page);
2733 mpd->last_page = writeback_index - 1;
/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c228 int last_page = ((mtd->erasesize - mtd->writesize) >> local
239 if (page <= last_page && chip->options & NAND_BBM_LASTPAGE)
240 return last_page;
1228 last_lun = chip->cont_read.last_page / ppl;
1234 chip->cont_read.pause_page = chip->cont_read.last_page;
1238 chip->cont_read.pause_page = min(chip->cont_read.last_page,
1242 if (chip->cont_read.first_page >= chip->cont_read.last_page)
1310 if (page == chip->cont_read.last_page) {
3483 unsigned int first_page, last_page; local
3503 last_page
[all...]
/linux-master/mm/
H A Dswapfile.c2851 unsigned long last_page; local
2861 swab32s(&swap_header->info.last_page);
2880 last_page = swap_header->info.last_page;
2881 if (!last_page) {
2885 if (last_page > maxpages) {
2887 K(maxpages), K(last_page));
2889 if (maxpages > last_page) {
2890 maxpages = last_page + 1;
2940 if (page_nr == 0 || page_nr > swap_header->info.last_page)
[all...]
/linux-master/include/linux/
H A Dswap.h142 __u32 last_page; member in struct:swap_header::__anon1250
H A Dedac.h435 unsigned long last_page; /* last page number in csrow */ member in struct:csrow_info
/linux-master/drivers/md/dm-vdo/indexer/
H A Dvolume.c1110 bool last_page; local
1119 last_page = ((index_page_number + 1) == geometry->index_pages_per_chapter);
1121 delta_list_number, last_page,
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
H A Dchapter-index.h47 bool last_page, u32 *lists_packed);
/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/net/ethernet/google/gve/
H A Dgve_tx.c550 u64 last_page = (iov_offset + iov_len - 1) / PAGE_SIZE; local
554 for (page = first_page; page <= last_page; page++)
/linux-master/sound/pci/hda/
H A Dpatch_cs8409.c180 if (scodec->paged && (scodec->last_page != (i2c_reg >> 8))) {
184 scodec->last_page = i2c_reg >> 8;
942 cs42l42->last_page = 0;
/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/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/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/drivers/infiniband/hw/mlx5/
H A Dmr.c172 struct mlx5_mkeys_page *last_page; local
176 last_page = list_last_entry(&ent->mkeys_queue.pages_list,
178 mkey = last_page->mkeys[tmp];
179 last_page->mkeys[tmp] = 0;
182 list_del(&last_page->list);
184 kfree(last_page);
/linux-master/include/linux/mtd/
H A Drawnand.h1282 * @cont_read.last_page: End of the continuous read operation
1339 unsigned int last_page; member in struct:nand_chip::__anon571
/linux-master/fs/squashfs/
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/drivers/edac/
H A Dfsl_ddr_edac.c319 if ((pfn >= csrow->first_page) && (pfn <= csrow->last_page))
461 csrow->last_page = end;

Completed in 610 milliseconds

123