Home
last modified time | relevance | path

Searched refs:pg_start (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.3-rc2/drivers/char/agp/
A Di460-agp.c294 off_t pg_start, int type) in i460_insert_memory_small_io_page() argument
306 io_pg_start = I460_IOPAGES_PER_KPAGE * pg_start; in i460_insert_memory_small_io_page()
337 off_t pg_start, int type) in i460_remove_memory_small_io_page() argument
342 mem, pg_start, type); in i460_remove_memory_small_io_page()
344 pg_start = I460_IOPAGES_PER_KPAGE * pg_start; in i460_remove_memory_small_io_page()
346 for (i = pg_start; i < (pg_start + I460_IOPAGES_PER_KPAGE * mem->page_count); i++) in i460_remove_memory_small_io_page()
401 off_t pg_start, int type) in i460_insert_memory_large_io_page() argument
416 start_offset = pg_start % I460_KPAGES_PER_IOPAGE; in i460_insert_memory_large_io_page()
462 off_t pg_start, int type) in i460_remove_memory_large_io_page() argument
501 off_t pg_start, int type) in i460_insert_memory() argument
[all …]
A Defficeon-agp.c236 static int efficeon_insert_memory(struct agp_memory * mem, off_t pg_start, int type) in efficeon_insert_memory() argument
243 printk(KERN_DEBUG PFX "efficeon_insert_memory(%lx, %d)\n", pg_start, count); in efficeon_insert_memory()
246 if ((pg_start + mem->page_count) > num_entries) in efficeon_insert_memory()
258 int index = pg_start + i; in efficeon_insert_memory()
285 static int efficeon_remove_memory(struct agp_memory * mem, off_t pg_start, int type) in efficeon_remove_memory() argument
289 printk(KERN_DEBUG PFX "efficeon_remove_memory(%lx, %d)\n", pg_start, count); in efficeon_remove_memory()
293 if ((pg_start + mem->page_count) > num_entries) in efficeon_remove_memory()
299 int index = pg_start + i; in efficeon_remove_memory()
A Dalpha-agp.c84 static int alpha_core_agp_insert_memory(struct agp_memory *mem, off_t pg_start, in alpha_core_agp_insert_memory() argument
96 if ((pg_start + mem->page_count) > num_entries) in alpha_core_agp_insert_memory()
99 status = agp->ops->bind(agp, pg_start, mem); in alpha_core_agp_insert_memory()
106 static int alpha_core_agp_remove_memory(struct agp_memory *mem, off_t pg_start, in alpha_core_agp_remove_memory() argument
112 status = agp->ops->unbind(agp, pg_start, mem); in alpha_core_agp_remove_memory()
A Dgeneric.c408 int agp_bind_memory(struct agp_memory *curr, off_t pg_start) in agp_bind_memory() argument
430 curr->pg_start = pg_start; in agp_bind_memory()
466 curr->pg_start = 0; in agp_unbind_memory()
1076 if (((pg_start + mem->page_count) > num_entries) || in agp_generic_insert_memory()
1077 ((pg_start + mem->page_count) < pg_start)) in agp_generic_insert_memory()
1080 j = pg_start; in agp_generic_insert_memory()
1082 while (j < (pg_start + mem->page_count)) { in agp_generic_insert_memory()
1093 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { in agp_generic_insert_memory()
1124 if (((pg_start + mem->page_count) > num_entries) || in agp_generic_remove_memory()
1125 ((pg_start + mem->page_count) < pg_start)) in agp_generic_remove_memory()
[all …]
A Dnvidia-agp.c201 static int nvidia_insert_memory(struct agp_memory *mem, off_t pg_start, int type) in nvidia_insert_memory() argument
213 if ((pg_start + mem->page_count) > in nvidia_insert_memory()
217 for (j = pg_start; j < (pg_start + mem->page_count); j++) { in nvidia_insert_memory()
226 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { in nvidia_insert_memory()
240 static int nvidia_remove_memory(struct agp_memory *mem, off_t pg_start, int type) in nvidia_remove_memory() argument
253 for (i = pg_start; i < (mem->page_count + pg_start); i++) in nvidia_remove_memory()
A Damd-k7-agp.c285 static int amd_insert_memory(struct agp_memory *mem, off_t pg_start, int type) in amd_insert_memory() argument
297 if ((pg_start + mem->page_count) > num_entries) in amd_insert_memory()
300 j = pg_start; in amd_insert_memory()
301 while (j < (pg_start + mem->page_count)) { in amd_insert_memory()
314 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { in amd_insert_memory()
327 static int amd_remove_memory(struct agp_memory *mem, off_t pg_start, int type) in amd_remove_memory() argument
337 for (i = pg_start; i < (mem->page_count + pg_start); i++) { in amd_remove_memory()
A Dsworks-agp.c318 off_t pg_start, int type) in serverworks_insert_memory() argument
329 if ((pg_start + mem->page_count) > num_entries) { in serverworks_insert_memory()
333 j = pg_start; in serverworks_insert_memory()
334 while (j < (pg_start + mem->page_count)) { in serverworks_insert_memory()
347 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { in serverworks_insert_memory()
358 static int serverworks_remove_memory(struct agp_memory *mem, off_t pg_start, in serverworks_remove_memory() argument
372 for (i = pg_start; i < (mem->page_count + pg_start); i++) { in serverworks_remove_memory()
A Dati-agp.c260 off_t pg_start, int type) in ati_insert_memory() argument
276 if ((pg_start + mem->page_count) > num_entries) in ati_insert_memory()
279 j = pg_start; in ati_insert_memory()
280 while (j < (pg_start + mem->page_count)) { in ati_insert_memory()
294 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { in ati_insert_memory()
307 static int ati_remove_memory(struct agp_memory * mem, off_t pg_start, in ati_remove_memory() argument
322 for (i = pg_start; i < (mem->page_count + pg_start); i++) { in ati_remove_memory()
A Dintel-gtt.c218 if ((pg_start + mem->page_count) in i810_insert_dcache_entries()
225 for (i = pg_start; i < (pg_start + mem->page_count); i++) { in i810_insert_dcache_entries()
856 unsigned int pg_start, in intel_gmch_gtt_insert_sg_entries() argument
863 j = pg_start; in intel_gmch_gtt_insert_sg_entries()
898 off_t pg_start, int type) in intel_fake_agp_insert_entries() argument
910 return i810_insert_dcache_entries(mem, pg_start, type); in intel_fake_agp_insert_entries()
915 if (pg_start + mem->page_count > intel_private.gtt_total_entries) in intel_fake_agp_insert_entries()
934 intel_gmch_gtt_insert_sg_entries(&st, pg_start, type); in intel_fake_agp_insert_entries()
938 intel_gmch_gtt_insert_pages(pg_start, mem->page_count, mem->pages, in intel_fake_agp_insert_entries()
963 off_t pg_start, int type) in intel_fake_agp_remove_entries() argument
[all …]
A Dcompat_ioctl.h59 compat_off_t pg_start; /* starting page to populate */ member
82 compat_off_t pg_start; /* starting page to populate */ member
A Dparisc-agp.c121 parisc_agp_insert_memory(struct agp_memory *mem, off_t pg_start, int type) in parisc_agp_insert_memory() argument
133 io_pg_start = info->io_pages_per_kpage * pg_start; in parisc_agp_insert_memory()
170 parisc_agp_remove_memory(struct agp_memory *mem, off_t pg_start, int type) in parisc_agp_remove_memory() argument
180 io_pg_start = info->io_pages_per_kpage * pg_start; in parisc_agp_remove_memory()
A Dcompat_ioctl.c123 ksegment[seg].pg_start = usegment[seg].pg_start; in compat_agpioc_reserve_wrap()
190 return agp_bind_memory(memory, bind_info.pg_start); in compat_agpioc_bind_wrap()
A Duninorth-agp.c149 static int uninorth_insert_memory(struct agp_memory *mem, off_t pg_start, int type) in uninorth_insert_memory() argument
171 if ((pg_start + mem->page_count) > num_entries) in uninorth_insert_memory()
174 gp = (u32 *) &agp_bridge->gatt_table[pg_start]; in uninorth_insert_memory()
199 static int uninorth_remove_memory(struct agp_memory *mem, off_t pg_start, int type) in uninorth_remove_memory() argument
217 gp = (u32 *) &agp_bridge->gatt_table[pg_start]; in uninorth_remove_memory()
A Dfrontend.c107 off_t pg_start; in agp_find_seg_in_client() local
110 pg_start = offset / 4096; in agp_find_seg_in_client()
115 if ((seg[i].pg_start == pg_start) && in agp_find_seg_in_client()
179 seg[i].pg_start = user_seg[i].pg_start; in agp_create_segment()
929 return agp_bind_memory(memory, bind_info.pg_start); in agpioc_bind_wrap()
A Damd64-agp.c45 static int amd64_insert_memory(struct agp_memory *mem, off_t pg_start, int type) in amd64_insert_memory() argument
64 if (((unsigned long)pg_start + mem->page_count) > num_entries) in amd64_insert_memory()
67 j = pg_start; in amd64_insert_memory()
70 while (j < (pg_start + mem->page_count)) { in amd64_insert_memory()
81 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { in amd64_insert_memory()
A Dhp-agp.c329 hp_zx1_insert_memory (struct agp_memory *mem, off_t pg_start, int type) in hp_zx1_insert_memory() argument
341 io_pg_start = hp->io_pages_per_kpage * pg_start; in hp_zx1_insert_memory()
376 hp_zx1_remove_memory (struct agp_memory *mem, off_t pg_start, int type) in hp_zx1_remove_memory() argument
386 io_pg_start = hp->io_pages_per_kpage * pg_start; in hp_zx1_remove_memory()
/linux-6.3-rc2/include/linux/
A Dagpgart.h52 off_t pg_start; /* starting page to populate */ member
58 off_t pg_start; member
81 off_t pg_start; /* starting page to populate */ member
/linux-6.3-rc2/arch/alpha/kernel/
A Dcore_titan.c585 long pg_start; member
603 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup()
605 if (aper->pg_start < 0) { in titan_agp_setup()
612 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in titan_agp_setup()
625 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup()
629 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup()
630 status = iommu_release(aper->arena, aper->pg_start, in titan_agp_cleanup()
683 titan_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in titan_agp_bind_memory() argument
686 return iommu_bind(aper->arena, aper->pg_start + pg_start, in titan_agp_bind_memory()
691 titan_agp_unbind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in titan_agp_unbind_memory() argument
[all …]
A Dcore_marvel.c855 long pg_start; member
872 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup()
875 if (aper->pg_start < 0) { in marvel_agp_setup()
882 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in marvel_agp_setup()
895 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup()
899 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup()
900 status = iommu_release(aper->arena, aper->pg_start, in marvel_agp_cleanup()
975 marvel_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in marvel_agp_bind_memory() argument
978 return iommu_bind(aper->arena, aper->pg_start + pg_start, in marvel_agp_bind_memory()
983 marvel_agp_unbind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in marvel_agp_unbind_memory() argument
[all …]
A Dpci_iommu.c860 iommu_release(struct pci_iommu_arena *arena, long pg_start, long pg_count) in iommu_release() argument
870 for(i = pg_start; i < pg_start + pg_count; i++) in iommu_release()
874 iommu_arena_free(arena, pg_start, pg_count); in iommu_release()
879 iommu_bind(struct pci_iommu_arena *arena, long pg_start, long pg_count, in iommu_bind() argument
892 for(j = pg_start; j < pg_start + pg_count; j++) { in iommu_bind()
899 for(i = 0, j = pg_start; i < pg_count; i++, j++) in iommu_bind()
908 iommu_unbind(struct pci_iommu_arena *arena, long pg_start, long pg_count) in iommu_unbind() argument
915 p = arena->ptes + pg_start; in iommu_unbind()
/linux-6.3-rc2/include/uapi/linux/
A Dagpgart.h80 __kernel_off_t pg_start; /* starting page to populate */ member
103 __kernel_off_t pg_start;/* starting page to populate */ member
/linux-6.3-rc2/arch/arc/include/asm/
A Dptrace.h149 unsigned long pg_start = (sp & ~(THREAD_SIZE - 1)); \
150 (struct pt_regs *)(pg_start + THREAD_SIZE) - 1; \
/linux-6.3-rc2/drivers/hv/
A Dhv_balloon.c860 static unsigned long handle_pg_range(unsigned long pg_start, in handle_pg_range() argument
863 unsigned long start_pfn = pg_start; in handle_pg_range()
872 pg_start); in handle_pg_range()
956 covered = pfn_covered(pg_start, pfn_cnt); in process_hot_add()
978 ha_region->covered_start_pfn = pg_start; in process_hot_add()
979 ha_region->covered_end_pfn = pg_start; in process_hot_add()
992 return handle_pg_range(pg_start, pfn_cnt); in process_hot_add()
1001 unsigned long pg_start, pfn_cnt; in hot_add_req() local
1011 pg_start = dm->ha_wrk.ha_page_range.finfo.start_page; in hot_add_req()
1032 region_start = (pg_start / HA_CHUNK) * HA_CHUNK; in hot_add_req()
[all …]
/linux-6.3-rc2/fs/f2fs/
A Dfile.c1092 pg_start); in f2fs_truncate_hole()
1106 pg_start += count; in f2fs_truncate_hole()
1113 pgoff_t pg_start, pg_end; in f2fs_punch_hole() local
1127 if (pg_start == pg_end) { in f2fs_punch_hole()
1145 if (pg_start < pg_end) { in f2fs_punch_hole()
1530 if (pg_start == pg_end) { in f2fs_zero_range()
1658 nr = idx - pg_start; in f2fs_insert_range()
1696 pgoff_t pg_start, pg_end; in f2fs_expand_inode_data() local
1716 map.m_lblk = pg_start; in f2fs_expand_inode_data()
2614 map.m_lblk = pg_start; in f2fs_defragment_range()
[all …]
/linux-6.3-rc2/include/drm/
A Dintel-gtt.h28 unsigned int pg_start,

Completed in 47 milliseconds

12