Searched refs:page_count (Results 51 - 75 of 137) sorted by relevance

123456

/linux-master/net/ceph/
H A Dmessenger.c835 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 Dfirewire.h490 int page_count; member in struct:fw_iso_buffer
495 int page_count, enum dma_data_direction direction);
H A Dnet.h311 * __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 Dmthca_cmd.h279 int mthca_UNMAP_ICM(struct mthca_dev *dev, u64 virt, u32 page_count);
/linux-master/drivers/md/dm-vdo/
H A Dblock-map.h53 page_count_t page_count; member in struct:vdo_page_cache
H A Dblock-map.c185 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 Dbinder_alloc.c892 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 Dalpha-agp.c96 if ((pg_start + mem->page_count) > num_entries)
/linux-master/drivers/firewire/
H A Dcore.h158 int fw_iso_buffer_alloc(struct fw_iso_buffer *buffer, int page_count);
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dsetup.c282 .page_count = hyp_page_count,
/linux-master/drivers/hv/
H A Dhv_balloon.c361 * 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 Dsmc_abi.c684 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 Dsiena_sriov.c810 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 Dcore_titan.c692 mem->page_count, mem->pages);
700 mem->page_count);
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_ggtt_fencing.c813 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 Divtv-driver.h284 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 Ddenali.c551 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 Dpage_isolation.c98 * 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 Dkvm_pgtable.h159 * @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 Dpage.c170 else if (page_count(page) == 0 && is_free_buddy_page(page))
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.h282 __u32 page_count; member in struct:i40e_rx_buffer
/linux-master/arch/arm64/kvm/hyp/
H A Dpgtable.c526 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 Dsnapshot.c1250 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 Dnetvsc.c950 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 Dpipe.c125 if (page_count(page) == 1 && !pipe->tmp_page)
136 if (page_count(page) != 1)
165 if (page_count(page) == 1) {

Completed in 324 milliseconds

123456