Searched refs:page_count (Results 1 – 11 of 11) sorted by relevance
/fs/orangefs/ |
D | orangefs-bufmap.c | 151 int page_count; member 172 for (i = 0; i < bufmap->page_count; i++) in orangefs_bufmap_unmap() 262 bufmap->page_count = bufmap->total_size / PAGE_SIZE; in orangefs_bufmap_alloc() 266 kcalloc(bufmap->page_count, sizeof(struct page *), GFP_KERNEL); in orangefs_bufmap_alloc() 291 bufmap->page_count, 1, bufmap->page_array); in orangefs_bufmap_map() 296 if (ret != bufmap->page_count) { in orangefs_bufmap_map() 298 bufmap->page_count, ret); in orangefs_bufmap_map() 313 for (i = 0; i < bufmap->page_count; i++) in orangefs_bufmap_map()
|
/fs/btrfs/ |
D | scrub.c | 106 int page_count; member 113 int page_count; member 431 for (i = 0; i < sbio->page_count; i++) { in scrub_free_ctx() 482 sbio->page_count = 0; in scrub_setup_ctx() 619 WARN_ON(sblock->page_count < 1); in scrub_print_warning() 900 BUG_ON(sblock_to_check->page_count < 1); in scrub_handle_errored_block() 913 length = sblock_to_check->page_count * PAGE_SIZE; in scrub_handle_errored_block() 1086 sblocks_for_recheck[mirror_index].page_count > 0; in scrub_handle_errored_block() 1140 for (page_num = 0; page_num < sblock_bad->page_count; in scrub_handle_errored_block() 1153 sblocks_for_recheck[mirror_index].page_count > 0; in scrub_handle_errored_block() [all …]
|
/fs/xfs/ |
D | xfs_buf.c | 279 int page_count) in _xfs_buf_get_pages() argument 283 bp->b_page_count = page_count; in _xfs_buf_get_pages() 284 if (page_count <= XB_PAGES) { in _xfs_buf_get_pages() 288 page_count, KM_NOFS); in _xfs_buf_get_pages() 292 memset(bp->b_pages, 0, sizeof(struct page *) * page_count); in _xfs_buf_get_pages() 355 unsigned short page_count, i; in xfs_buf_allocate_memory() local 391 page_count = end - start; in xfs_buf_allocate_memory() 392 error = _xfs_buf_get_pages(bp, page_count); in xfs_buf_allocate_memory() 839 int page_count; in xfs_buf_associate_memory() local 844 page_count = buflen >> PAGE_SHIFT; in xfs_buf_associate_memory() [all …]
|
/fs/pstore/ |
D | ram_core.c | 397 unsigned int page_count; in persistent_ram_vmap() local 403 page_count = DIV_ROUND_UP(size + offset_in_page(start), PAGE_SIZE); in persistent_ram_vmap() 410 pages = kmalloc_array(page_count, sizeof(struct page *), GFP_KERNEL); in persistent_ram_vmap() 413 __func__, page_count); in persistent_ram_vmap() 417 for (i = 0; i < page_count; i++) { in persistent_ram_vmap() 421 vaddr = vmap(pages, page_count, VM_MAP, prot); in persistent_ram_vmap()
|
/fs/ceph/ |
D | super.c | 541 int page_count; in create_fs_client() local 593 page_count = fsc->mount_options->wsize >> PAGE_SHIFT; in create_fs_client() 594 size = sizeof (struct page *) * (page_count ? page_count : 1); in create_fs_client()
|
/fs/ |
D | pipe.c | 135 if (page_count(page) == 1 && !pipe->tmp_page) in anon_pipe_buf_release() 146 if (page_count(page) == 1) { in anon_pipe_buf_steal() 177 if (page_count(page) == 1) { in generic_pipe_buf_steal()
|
D | aio.c | 306 page_count(ctx->ring_pages[i])); in aio_free_ring() 492 current->pid, i, page_count(page)); in aio_setup_ring()
|
/fs/proc/ |
D | page.c | 151 else if (page_count(page) == 0 && is_free_buddy_page(page)) in stable_page_flags()
|
D | task_mmu.c | 525 if (page_count(page) == 1) { in smaps_account()
|
/fs/cachefiles/ |
D | rdwr.c | 238 netpage, netpage->index, page_count(netpage)); in cachefiles_read_backing_file_one() 478 netpage, netpage->index, page_count(netpage)); in cachefiles_read_backing_file()
|
/fs/fuse/ |
D | dev.c | 810 page_count(page) != 1 || in fuse_check_page() 819 … count=%i, mapcount=%i, mapping=%p\n", page, page->index, page->flags, page_count(page), page_mapc… in fuse_check_page()
|