| /Linux-v5.4/include/linux/ |
| D | agpgart.h | 55 size_t pg_count; /* number of pages */ member 61 size_t pg_count; member 73 size_t pg_count; /* number of pages */ member
|
| D | nfs_page.h | 83 size_t pg_count; member
|
| /Linux-v5.4/drivers/char/agp/ |
| D | compat_ioctl.h | 60 compat_size_t pg_count; /* number of pages */ member 72 compat_size_t pg_count; /* number of pages */ member 102 struct agp_memory *agp_allocate_memory_wrap(size_t pg_count, u32 type);
|
| D | frontend.c | 107 size_t pg_count; in agp_find_seg_in_client() local 110 pg_count = size / 4096; in agp_find_seg_in_client() 116 (seg[i].pg_count == pg_count) && in agp_find_seg_in_client() 180 seg[i].pg_count = user_seg[i].pg_count; in agp_create_segment() 276 struct agp_memory *agp_allocate_memory_wrap(size_t pg_count, u32 type) in agp_allocate_memory_wrap() argument 280 memory = agp_allocate_memory(agp_bridge, pg_count, type); in agp_allocate_memory_wrap() 886 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); in agpioc_allocate_wrap()
|
| D | intel-gtt.c | 239 static struct agp_memory *alloc_agpphysmem_i8xx(size_t pg_count, int type) in alloc_agpphysmem_i8xx() argument 244 switch (pg_count) { in alloc_agpphysmem_i8xx() 258 new = agp_create_memory(pg_count); in alloc_agpphysmem_i8xx() 263 if (pg_count == 4) { in alloc_agpphysmem_i8xx() 269 new->page_count = pg_count; in alloc_agpphysmem_i8xx() 270 new->num_scratch_pages = pg_count; in alloc_agpphysmem_i8xx() 978 static struct agp_memory *intel_fake_agp_alloc_by_type(size_t pg_count, in intel_fake_agp_alloc_by_type() argument 984 if (pg_count != intel_private.num_dcache_entries) in intel_fake_agp_alloc_by_type() 992 new->page_count = pg_count; in intel_fake_agp_alloc_by_type() 998 return alloc_agpphysmem_i8xx(pg_count, type); in intel_fake_agp_alloc_by_type()
|
| D | compat_ioctl.c | 124 ksegment[seg].pg_count = usegment[seg].pg_count; in compat_agpioc_reserve_wrap() 161 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); in compat_agpioc_allocate_wrap()
|
| /Linux-v5.4/arch/alpha/kernel/ |
| D | pci_iommu.c | 857 iommu_reserve(struct pci_iommu_arena *arena, long pg_count, long align_mask) in iommu_reserve() argument 869 p = iommu_arena_find_pages(NULL, arena, pg_count, align_mask); in iommu_reserve() 878 for (i = 0; i < pg_count; ++i) in iommu_reserve() 881 arena->next_entry = p + pg_count; in iommu_reserve() 888 iommu_release(struct pci_iommu_arena *arena, long pg_start, long pg_count) in iommu_release() argument 898 for(i = pg_start; i < pg_start + pg_count; i++) in iommu_release() 902 iommu_arena_free(arena, pg_start, pg_count); in iommu_release() 907 iommu_bind(struct pci_iommu_arena *arena, long pg_start, long pg_count, in iommu_bind() argument 920 for(j = pg_start; j < pg_start + pg_count; j++) { in iommu_bind() 927 for(i = 0, j = pg_start; i < pg_count; i++, j++) in iommu_bind() [all …]
|
| D | core_titan.c | 587 long pg_count; member 603 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in titan_agp_setup() 604 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup() 605 aper->pg_count - 1); in titan_agp_setup() 614 agp->aperture.size = aper->pg_count * PAGE_SIZE; in titan_agp_setup() 626 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup() 630 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup() 632 aper->pg_count); in titan_agp_cleanup()
|
| D | core_marvel.c | 904 long pg_count; member 919 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in marvel_agp_setup() 920 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup() 921 aper->pg_count - 1); in marvel_agp_setup() 931 agp->aperture.size = aper->pg_count * PAGE_SIZE; in marvel_agp_setup() 943 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup() 947 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup() 949 aper->pg_count); in marvel_agp_cleanup()
|
| /Linux-v5.4/drivers/infiniband/hw/bnxt_re/ |
| D | qplib_res.c | 64 for (i = 0; i < pbl->pg_count; i++) { in __free_pbl() 81 pbl->pg_count = 0; in __free_pbl() 104 pbl->pg_count = 0; in __alloc_pbl() 115 pbl->pg_count++; in __alloc_pbl() 123 pbl->pg_count++; in __alloc_pbl() 223 for (i = 0; i < hwq->pbl[PBL_LVL_1].pg_count; i++) in bnxt_qplib_alloc_init_hwq() 237 for (i = 0; i < hwq->pbl[PBL_LVL_2].pg_count; i++) { in bnxt_qplib_alloc_init_hwq() 243 i = hwq->pbl[PBL_LVL_2].pg_count; in bnxt_qplib_alloc_init_hwq() 265 for (i = 0; i < hwq->pbl[PBL_LVL_1].pg_count; i++) { in bnxt_qplib_alloc_init_hwq() 271 i = hwq->pbl[PBL_LVL_1].pg_count; in bnxt_qplib_alloc_init_hwq() [all …]
|
| D | qplib_res.h | 82 u32 pg_count; member
|
| D | main.c | 1009 pages = rdev->nq[i].hwq.pbl[rdev->nq[i].hwq.level].pg_count; in bnxt_re_alloc_res() 1388 pages = rdev->rcfw.creq.pbl[rdev->rcfw.creq.level].pg_count; in bnxt_re_ib_reg()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | agpgart.h | 82 __kernel_size_t pg_count; /* number of pages */ member 94 __kernel_size_t pg_count;/* number of pages */ member
|
| /Linux-v5.4/fs/nfs/ |
| D | pagelist.c | 53 hdr->good_bytes = mirror->pg_count; in nfs_pgheader_init() 498 if (mirror->pg_count > mirror->pg_bsize) { in nfs_generic_pg_test() 508 if (((mirror->pg_count + req->wb_bytes) >> PAGE_SHIFT) * in nfs_generic_pg_test() 512 return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); in nfs_generic_pg_test() 684 mirror->pg_count = 0; in nfs_pageio_mirror_init() 772 pagecount = nfs_page_array_len(mirror->pg_base, mirror->pg_count); in nfs_generic_pgio() 813 nfs_pgio_rpcsetup(hdr, mirror->pg_count, desc->pg_ioflags, &cinfo); in nfs_generic_pgio() 975 if (mirror->pg_count != 0) { in nfs_pageio_do_add_request() 996 mirror->pg_count += req->wb_bytes; in nfs_pageio_do_add_request() 1013 mirror->pg_bytes_written += mirror->pg_count; in nfs_pageio_doio() [all …]
|
| /Linux-v5.4/drivers/hv/ |
| D | hv_balloon.c | 849 unsigned long pg_count) in handle_pg_range() argument 852 unsigned long pfn_cnt = pg_count; in handle_pg_range() 859 pr_debug("Hot adding %lu pages starting at pfn 0x%lx.\n", pg_count, in handle_pg_range()
|
| /Linux-v5.4/drivers/md/ |
| D | dm-mpath.c | 1126 unsigned pg_count = 0; in multipath_ctr() local 1180 pg_count++; in multipath_ctr() 1181 pg->pg_num = pg_count; in multipath_ctr() 1186 if (pg_count != m->nr_priority_groups) { in multipath_ctr()
|