Searched refs:page_count (Results 1 – 10 of 10) sorted by relevance
/fs/btrfs/ |
D | scrub.c | 97 int page_count; member 104 int page_count; member 549 for (i = 0; i < sbio->page_count; i++) { in scrub_free_ctx() 600 sbio->page_count = 0; in scrub_setup_ctx() 745 WARN_ON(sblock->page_count < 1); in scrub_print_warning() 841 BUG_ON(sblock_to_check->page_count < 1); in scrub_handle_errored_block() 1028 if (!sblocks_for_recheck[mirror_index].page_count) in scrub_handle_errored_block() 1039 if (!sblocks_for_recheck[1].page_count) in scrub_handle_errored_block() 1093 for (page_num = 0; page_num < sblock_bad->page_count; in scrub_handle_errored_block() 1115 sblocks_for_recheck[mirror_index].page_count > 0; in scrub_handle_errored_block() [all …]
|
/fs/orangefs/ |
D | orangefs-bufmap.c | 152 int page_count; member 171 unpin_user_pages(bufmap->page_array, bufmap->page_count); in orangefs_bufmap_unmap() 239 bufmap->page_count = bufmap->total_size / PAGE_SIZE; in orangefs_bufmap_alloc() 243 kcalloc(bufmap->page_count, sizeof(struct page *), GFP_KERNEL); in orangefs_bufmap_alloc() 268 bufmap->page_count, FOLL_WRITE, bufmap->page_array); in orangefs_bufmap_map() 273 if (ret != bufmap->page_count) { in orangefs_bufmap_map() 275 bufmap->page_count, ret); in orangefs_bufmap_map() 290 for (i = 0; i < bufmap->page_count; i++) in orangefs_bufmap_map()
|
/fs/squashfs/ |
D | block.c | 86 const int page_count = DIV_ROUND_UP(total_len + offset, PAGE_SIZE); in squashfs_bio_read() local 90 if (page_count <= BIO_MAX_PAGES) in squashfs_bio_read() 91 bio = bio_alloc(GFP_NOIO, page_count); in squashfs_bio_read() 93 bio = bio_kmalloc(GFP_NOIO, page_count); in squashfs_bio_read() 102 for (i = 0; i < page_count; ++i) { in squashfs_bio_read()
|
/fs/pstore/ |
D | ram_core.c | 408 unsigned int page_count; in persistent_ram_vmap() local 414 page_count = DIV_ROUND_UP(size + offset_in_page(start), PAGE_SIZE); in persistent_ram_vmap() 431 pages = kmalloc_array(page_count, sizeof(struct page *), GFP_KERNEL); in persistent_ram_vmap() 434 __func__, page_count); in persistent_ram_vmap() 438 for (i = 0; i < page_count; i++) { in persistent_ram_vmap() 446 vaddr = vmap(pages, page_count, VM_MAP | VM_IOREMAP, prot); in persistent_ram_vmap()
|
/fs/xfs/ |
D | xfs_buf.c | 282 int page_count) in _xfs_buf_get_pages() argument 286 bp->b_page_count = page_count; in _xfs_buf_get_pages() 287 if (page_count <= XB_PAGES) { in _xfs_buf_get_pages() 291 page_count, KM_NOFS); in _xfs_buf_get_pages() 295 memset(bp->b_pages, 0, sizeof(struct page *) * page_count); in _xfs_buf_get_pages() 361 unsigned short page_count, i; in xfs_buf_allocate_memory() local 408 page_count = end - start; in xfs_buf_allocate_memory() 409 error = _xfs_buf_get_pages(bp, page_count); in xfs_buf_allocate_memory() 953 unsigned long page_count; in xfs_buf_get_uncached() local 965 page_count = PAGE_ALIGN(numblks << BBSHIFT) >> PAGE_SHIFT; in xfs_buf_get_uncached() [all …]
|
/fs/ |
D | pipe.c | 134 if (page_count(page) == 1 && !pipe->tmp_page) in anon_pipe_buf_release() 145 if (page_count(page) != 1) in anon_pipe_buf_try_steal() 174 if (page_count(page) == 1) { in generic_pipe_buf_try_steal()
|
D | aio.c | 314 page_count(ctx->ring_pages[i])); in aio_free_ring() 511 current->pid, i, page_count(page)); in aio_setup_ring()
|
/fs/proc/ |
D | page.c | 172 else if (page_count(page) == 0 && is_free_buddy_page(page)) in stable_page_flags()
|
D | task_mmu.c | 480 if ((page_count(page) == 1) || migration) { in smaps_account()
|
/fs/cachefiles/ |
D | rdwr.c | 241 netpage, netpage->index, page_count(netpage)); in cachefiles_read_backing_file_one() 480 netpage, netpage->index, page_count(netpage)); in cachefiles_read_backing_file()
|