Home
last modified time | relevance | path

Searched refs:pg_count (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/include/linux/
Dagpgart.h55 size_t pg_count; /* number of pages */ member
61 size_t pg_count; member
73 size_t pg_count; /* number of pages */ member
Dnfs_page.h81 size_t pg_count; member
/linux-4.4.14/drivers/char/agp/
Dcompat_ioctl.h60 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);
Dfrontend.c107 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()
Dintel-gtt.c238 static struct agp_memory *alloc_agpphysmem_i8xx(size_t pg_count, int type) in alloc_agpphysmem_i8xx() argument
243 switch (pg_count) { in alloc_agpphysmem_i8xx()
257 new = agp_create_memory(pg_count); in alloc_agpphysmem_i8xx()
262 if (pg_count == 4) { in alloc_agpphysmem_i8xx()
268 new->page_count = pg_count; in alloc_agpphysmem_i8xx()
269 new->num_scratch_pages = pg_count; in alloc_agpphysmem_i8xx()
963 static struct agp_memory *intel_fake_agp_alloc_by_type(size_t pg_count, in intel_fake_agp_alloc_by_type() argument
969 if (pg_count != intel_private.num_dcache_entries) in intel_fake_agp_alloc_by_type()
977 new->page_count = pg_count; in intel_fake_agp_alloc_by_type()
983 return alloc_agpphysmem_i8xx(pg_count, type); in intel_fake_agp_alloc_by_type()
Dcompat_ioctl.c120 ksegment[seg].pg_count = usegment[seg].pg_count; in compat_agpioc_reserve_wrap()
157 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); in compat_agpioc_allocate_wrap()
/linux-4.4.14/arch/alpha/kernel/
Dpci_iommu.c844 iommu_reserve(struct pci_iommu_arena *arena, long pg_count, long align_mask) in iommu_reserve() argument
856 p = iommu_arena_find_pages(NULL, arena, pg_count, align_mask); in iommu_reserve()
865 for (i = 0; i < pg_count; ++i) in iommu_reserve()
868 arena->next_entry = p + pg_count; in iommu_reserve()
875 iommu_release(struct pci_iommu_arena *arena, long pg_start, long pg_count) in iommu_release() argument
885 for(i = pg_start; i < pg_start + pg_count; i++) in iommu_release()
889 iommu_arena_free(arena, pg_start, pg_count); in iommu_release()
894 iommu_bind(struct pci_iommu_arena *arena, long pg_start, long pg_count, in iommu_bind() argument
907 for(j = pg_start; j < pg_start + pg_count; j++) { in iommu_bind()
914 for(i = 0, j = pg_start; i < pg_count; i++, j++) in iommu_bind()
[all …]
Dcore_titan.c582 long pg_count; member
598 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in titan_agp_setup()
599 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup()
600 aper->pg_count - 1); in titan_agp_setup()
609 agp->aperture.size = aper->pg_count * PAGE_SIZE; in titan_agp_setup()
621 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup()
625 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup()
627 aper->pg_count); in titan_agp_cleanup()
Dcore_marvel.c896 long pg_count; member
911 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in marvel_agp_setup()
912 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup()
913 aper->pg_count - 1); in marvel_agp_setup()
923 agp->aperture.size = aper->pg_count * PAGE_SIZE; in marvel_agp_setup()
935 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup()
939 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup()
941 aper->pg_count); in marvel_agp_cleanup()
/linux-4.4.14/include/uapi/linux/
Dagpgart.h81 __kernel_size_t pg_count; /* number of pages */ member
93 __kernel_size_t pg_count;/* number of pages */ member
/linux-4.4.14/fs/nfs/
Dpagelist.c65 hdr->good_bytes = mirror->pg_count; in nfs_pgheader_init()
500 if (mirror->pg_count > mirror->pg_bsize) { in nfs_generic_pg_test()
510 if (((mirror->pg_count + req->wb_bytes) >> PAGE_SHIFT) * in nfs_generic_pg_test()
514 return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); in nfs_generic_pg_test()
701 mirror->pg_count = 0; in nfs_pageio_mirror_init()
802 pagecount = nfs_page_array_len(mirror->pg_base, mirror->pg_count); in nfs_generic_pgio()
830 nfs_pgio_rpcsetup(hdr, mirror->pg_count, 0, desc->pg_ioflags, &cinfo); in nfs_generic_pgio()
980 if (mirror->pg_count != 0) { in nfs_pageio_do_add_request()
991 mirror->pg_count += req->wb_bytes; in nfs_pageio_do_add_request()
1008 mirror->pg_bytes_written += mirror->pg_count; in nfs_pageio_doio()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Drw.c558 unsigned long pg_count; in stride_pg_count() local
577 pg_count = end_left - (st_pgs - start_left); in stride_pg_count()
579 pg_count = start_left + st_pgs * (end - start - 1) + end_left; in stride_pg_count()
582 st_off, st_len, st_pgs, off, length, pg_count); in stride_pg_count()
584 return pg_count; in stride_pg_count()
/linux-4.4.14/drivers/md/
Ddm-mpath.c821 unsigned pg_count = 0; in multipath_ctr() local
868 pg_count++; in multipath_ctr()
869 pg->pg_num = pg_count; in multipath_ctr()
874 if (pg_count != m->nr_priority_groups) { in multipath_ctr()
/linux-4.4.14/drivers/hv/
Dhv_balloon.c751 unsigned long pg_count) in handle_pg_range() argument
754 unsigned long pfn_cnt = pg_count; in handle_pg_range()
/linux-4.4.14/fs/nfs/objlayout/
Dobjio_osd.c542 if (!size || mirror->pg_count + req->wb_bytes > in objio_pg_test()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_request.c1152 static u32 osc_checksum_bulk(int nob, u32 pg_count, in osc_checksum_bulk() argument
1163 LASSERT(pg_count > 0); in osc_checksum_bulk()
1172 while (nob > 0 && pg_count > 0) { in osc_checksum_bulk()
1196 pg_count--; in osc_checksum_bulk()