/linux-master/net/ceph/ |
H A D | messenger.c | 835 int page_count; local 843 page_count = calc_pages_for(data->alignment, (u64)data->length); 846 BUG_ON(page_count > (int)USHRT_MAX); 847 cursor->page_count = (unsigned short)page_count; 859 BUG_ON(cursor->page_index >= cursor->page_count); 886 BUG_ON(cursor->page_index >= cursor->page_count); 1005 VM_BUG_ON_PAGE(!PageWriteback(page) && page_count(page) < 2, page);
|
/linux-master/include/linux/ |
H A D | firewire.h | 490 int page_count; member in struct:fw_iso_buffer 495 int page_count, enum dma_data_direction direction);
|
H A D | net.h | 311 * __get_free_pages() without __GFP_COMP, which have a page_count 320 return !PageSlab(page) && page_count(page) >= 1;
|
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_cmd.h | 279 int mthca_UNMAP_ICM(struct mthca_dev *dev, u64 virt, u32 page_count);
|
/linux-master/drivers/md/dm-vdo/ |
H A D | block-map.h | 53 page_count_t page_count; member in struct:vdo_page_cache
|
H A D | block-map.c | 185 for (info = cache->infos; info < cache->infos + cache->page_count; info++) { 221 u64 size = cache->page_count * (u64) VDO_BLOCK_SIZE; 224 result = vdo_allocate(cache->page_count, struct page_info, "page infos", 233 result = vdo_int_map_create(cache->page_count, &cache->page_map); 265 if (cache->waiter_count > cache->page_count) { 577 for (info = cache->infos; info < cache->infos + cache->page_count; info++) { 1336 for (info = cache->infos; info < cache->infos + cache->page_count; info++) { 1345 return vdo_int_map_create(cache->page_count, &cache->page_map); 2761 zone->page_cache.page_count = cache_size / map->zone_count; 2762 zone->page_cache.stats.free_pages = zone->page_cache.page_count; [all...] |
/linux-master/drivers/android/ |
H A D | binder_alloc.c | 892 int buffers, page_count; local 923 page_count = 0; 940 page_count++; 950 __func__, alloc->pid, buffers, page_count);
|
/linux-master/drivers/char/agp/ |
H A D | alpha-agp.c | 96 if ((pg_start + mem->page_count) > num_entries)
|
/linux-master/drivers/firewire/ |
H A D | core.h | 158 int fw_iso_buffer_alloc(struct fw_iso_buffer *buffer, int page_count);
|
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | setup.c | 282 .page_count = hyp_page_count,
|
/linux-master/drivers/hv/ |
H A D | hv_balloon.c | 361 * If page_count is less than the requested page count, then the host should 372 * page_count: number of pages that were successfully hot added. 380 __u32 page_count; member in struct:dm_hot_add_response 1035 resp.page_count = process_hot_add(pg_start, pfn_cnt, 1038 dm->num_pages_added += resp.page_count; 1056 if (resp.page_count > 0) 1063 if (!do_hot_add || resp.page_count == 0) {
|
/linux-master/drivers/tee/optee/ |
H A D | smc_abi.c | 684 size_t page_count; local 724 pages = tee_shm_get_pages(shm, &page_count); 728 pages_list = optee_allocate_pages_list(page_count); 735 call_ctx->num_entries = page_count; 747 optee_fill_pages_list(pages_list, pages, page_count,
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | siena_sriov.c | 810 u64 page_count = req->u.set_status_page.peer_page_count; local 816 if (!req->u.set_status_page.dma_addr || page_count > max_page_count) { 832 if (page_count) { 833 vf->peer_page_addrs = kcalloc(page_count, sizeof(u64), 838 page_count * sizeof(u64)); 839 vf->peer_page_count = page_count;
|
/linux-master/arch/alpha/kernel/ |
H A D | core_titan.c | 692 mem->page_count, mem->pages); 700 mem->page_count);
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt_fencing.c | 813 const unsigned int page_count = obj->base.size >> PAGE_SHIFT; local 819 obj->bit_17 = bitmap_zalloc(page_count, GFP_KERNEL);
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-driver.h | 284 int page_count; member in struct:ivtv_user_dma 304 int page_count; member in struct:ivtv_dma_page_info
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | denali.c | 551 const int page_count = 1; local 563 (write ? BIT(8) : 0) | page_count); 576 const int page_count = 1; local 584 0x2000 | (write ? BIT(8) : 0) | page_count);
|
/linux-master/mm/ |
H A D | page_isolation.c | 98 * We can't use page_count without pin a page 111 * page_count() is not 0. 626 !page_count(page))
|
/linux-master/arch/arm64/include/asm/ |
H A D | kvm_pgtable.h | 159 * @page_count: Return the refcount of a page. 176 int (*page_count)(void *addr); member in struct:kvm_pgtable_mm_ops
|
/linux-master/fs/proc/ |
H A D | page.c | 170 else if (page_count(page) == 0 && is_free_buddy_page(page))
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.h | 282 __u32 page_count; member in struct:i40e_rx_buffer
|
/linux-master/arch/arm64/kvm/hyp/ |
H A D | pgtable.c | 526 if (mm_ops->page_count(childp) != 1) 561 if (!pgt->mm_ops->page_count) 1170 if (mm_ops->page_count(childp) != 1) 1656 WARN_ON(mm_ops->page_count(pgtable) != 1);
|
/linux-master/kernel/power/ |
H A D | snapshot.c | 1250 unsigned long pfn, max_zone_pfn, page_count = WD_PAGE_COUNT; local 1265 if (!--page_count) { 1267 page_count = WD_PAGE_COUNT; 1284 if (!--page_count) { 1286 page_count = WD_PAGE_COUNT;
|
/linux-master/drivers/net/hyperv/ |
H A D | netvsc.c | 950 u32 page_count = packet->cp_partial ? packet->rmsg_pgcnt : local 962 for (i = 0; i < page_count; i++) { 1016 u32 page_count = packet->page_buf_cnt; local 1023 packet->dma_range = kcalloc(page_count, 1029 for (i = 0; i < page_count; i++) {
|
/linux-master/fs/ |
H A D | pipe.c | 125 if (page_count(page) == 1 && !pipe->tmp_page) 136 if (page_count(page) != 1) 165 if (page_count(page) == 1) {
|