Home
last modified time | relevance | path

Searched refs:cur_page (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/fs/ntfs/
Dcompress.c519 unsigned int xpage, max_page, cur_page, cur_ofs, i; in ntfs_read_compressed_block() local
603 cur_page = 0; in ntfs_read_compressed_block()
738 cb_max_page = (cur_page << PAGE_CACHE_SHIFT) + cur_ofs + cb_size; in ntfs_read_compressed_block()
753 for (; cur_page < cb_max_page; cur_page++) { in ntfs_read_compressed_block()
754 page = pages[cur_page]; in ntfs_read_compressed_block()
771 if (cur_page == xpage) in ntfs_read_compressed_block()
775 pages[cur_page] = NULL; in ntfs_read_compressed_block()
784 page = pages[cur_page]; in ntfs_read_compressed_block()
796 unsigned int cur2_page = cur_page; in ntfs_read_compressed_block()
815 for (; cur_page < cb_max_page; cur_page++) { in ntfs_read_compressed_block()
[all …]
/linux-3.4.99/drivers/gpu/drm/ttm/
Dttm_tt.c107 struct page *cur_page; in ttm_tt_set_caching() local
123 cur_page = ttm->pages[i]; in ttm_tt_set_caching()
124 if (likely(cur_page != NULL)) { in ttm_tt_set_caching()
125 ret = ttm_tt_set_page_caching(cur_page, in ttm_tt_set_caching()
139 cur_page = ttm->pages[j]; in ttm_tt_set_caching()
140 if (likely(cur_page != NULL)) { in ttm_tt_set_caching()
141 (void)ttm_tt_set_page_caching(cur_page, c_state, in ttm_tt_set_caching()
/linux-3.4.99/fs/
Ddirect-io.c94 struct page *cur_page; /* The page */ member
663 ret = bio_add_page(sdio->bio, sdio->cur_page, in dio_bio_add_page()
671 page_cache_get(sdio->cur_page); in dio_bio_add_page()
778 if (sdio->cur_page == page && in submit_page_section()
790 page_cache_release(sdio->cur_page); in submit_page_section()
791 sdio->cur_page = NULL; in submit_page_section()
799 if (sdio->cur_page) { in submit_page_section()
801 page_cache_release(sdio->cur_page); in submit_page_section()
802 sdio->cur_page = NULL; in submit_page_section()
808 sdio->cur_page = page; in submit_page_section()
[all …]
Dbio.c973 int cur_page = 0; in __bio_map_user_iov() local
1014 const int page_limit = cur_page + local_nr_pages; in __bio_map_user_iov()
1017 write_to_vm, &pages[cur_page]); in __bio_map_user_iov()
1024 for (j = cur_page; j < page_limit; j++) { in __bio_map_user_iov()
1044 cur_page = j; in __bio_map_user_iov()
/linux-3.4.99/drivers/infiniband/ulp/iser/
Diser_memory.c179 int i, new_chunk, cur_page, last_ent = data->dma_nents - 1; in iser_sg_to_page_vec() local
185 cur_page = 0; in iser_sg_to_page_vec()
206 page_vec->pages[cur_page++] = page; in iser_sg_to_page_vec()
212 iser_dbg("page_vec->data_size:%d cur_page %d\n", page_vec->data_size,cur_page); in iser_sg_to_page_vec()
213 return cur_page; in iser_sg_to_page_vec()