/kernel/linux/linux-5.10/drivers/char/agp/ |
H A D | i460-agp.c | 294 off_t pg_start, int type) in i460_insert_memory_small_io_page() 300 pr_debug("i460_insert_memory_small_io_page(mem=%p, pg_start=%ld, type=%d, paddr0=0x%lx)\n", in i460_insert_memory_small_io_page() 301 mem, pg_start, type, page_to_phys(mem->pages[0])); in i460_insert_memory_small_io_page() 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() 341 pr_debug("i460_remove_memory_small_io_page(mem=%p, pg_start=%ld, type=%d)\n", in i460_remove_memory_small_io_page() 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; in i460_remove_memory_small_io_page() 293 i460_insert_memory_small_io_page(struct agp_memory *mem, off_t pg_start, int type) i460_insert_memory_small_io_page() argument 336 i460_remove_memory_small_io_page(struct agp_memory *mem, off_t pg_start, int type) i460_remove_memory_small_io_page() argument 400 i460_insert_memory_large_io_page(struct agp_memory *mem, off_t pg_start, int type) i460_insert_memory_large_io_page() argument 461 i460_remove_memory_large_io_page(struct agp_memory *mem, off_t pg_start, int type) i460_remove_memory_large_io_page() argument 500 i460_insert_memory(struct agp_memory *mem, off_t pg_start, int type) i460_insert_memory() argument 509 i460_remove_memory(struct agp_memory *mem, off_t pg_start, int type) i460_remove_memory() argument [all...] |
H A D | generic.c | 403 * @pg_start: an offset into the graphics aperture translation table 408 int agp_bind_memory(struct agp_memory *curr, off_t pg_start) in agp_bind_memory() argument 424 ret_val = curr->bridge->driver->insert_memory(curr, pg_start, curr->type); in agp_bind_memory() 430 curr->pg_start = pg_start; in agp_bind_memory() 460 ret_val = curr->bridge->driver->remove_memory(curr, curr->pg_start, curr->type); in agp_unbind_memory() 466 curr->pg_start = 0; in agp_unbind_memory() 1025 int agp_generic_insert_memory(struct agp_memory * mem, off_t pg_start, int type) in agp_generic_insert_memory() argument 1076 if (((pg_start + mem->page_count) > num_entries) || in agp_generic_insert_memory() 1077 ((pg_start in agp_generic_insert_memory() 1107 agp_generic_remove_memory(struct agp_memory *mem, off_t pg_start, int type) agp_generic_remove_memory() argument [all...] |
H A D | efficeon-agp.c | 236 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()
|
H A D | nvidia-agp.c | 201 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()
|
H A D | alpha-agp.c | 84 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()
|
H A D | amd-k7-agp.c | 285 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()
|
H A D | ati-agp.c | 269 off_t pg_start, int type) in ati_insert_memory() 285 if ((pg_start + mem->page_count) > num_entries) in ati_insert_memory() 288 j = pg_start; in ati_insert_memory() 289 while (j < (pg_start + mem->page_count)) { in ati_insert_memory() 303 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { in ati_insert_memory() 316 static int ati_remove_memory(struct agp_memory * mem, off_t pg_start, in ati_remove_memory() argument 331 for (i = pg_start; i < (mem->page_count + pg_start); i++) { in ati_remove_memory() 268 ati_insert_memory(struct agp_memory * mem, off_t pg_start, int type) ati_insert_memory() argument
|
H A D | sworks-agp.c | 321 off_t pg_start, int type) in serverworks_insert_memory() 332 if ((pg_start + mem->page_count) > num_entries) { in serverworks_insert_memory() 336 j = pg_start; in serverworks_insert_memory() 337 while (j < (pg_start + mem->page_count)) { in serverworks_insert_memory() 350 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { in serverworks_insert_memory() 361 static int serverworks_remove_memory(struct agp_memory *mem, off_t pg_start, in serverworks_remove_memory() argument 375 for (i = pg_start; i < (mem->page_count + pg_start); i++) { in serverworks_remove_memory() 320 serverworks_insert_memory(struct agp_memory *mem, off_t pg_start, int type) serverworks_insert_memory() argument
|
H A D | intel-gtt.c | 212 static int i810_insert_dcache_entries(struct agp_memory *mem, off_t pg_start, in i810_insert_dcache_entries() argument 217 if ((pg_start + mem->page_count) in i810_insert_dcache_entries() 224 for (i = pg_start; i < (pg_start + mem->page_count); i++) { in i810_insert_dcache_entries() 858 unsigned int pg_start, in intel_gtt_insert_sg_entries() 865 j = pg_start; in intel_gtt_insert_sg_entries() 900 off_t pg_start, int type) in intel_fake_agp_insert_entries() 912 return i810_insert_dcache_entries(mem, pg_start, type); in intel_fake_agp_insert_entries() 917 if (pg_start + mem->page_count > intel_private.gtt_total_entries) in intel_fake_agp_insert_entries() 936 intel_gtt_insert_sg_entries(&st, pg_start, typ in intel_fake_agp_insert_entries() 857 intel_gtt_insert_sg_entries(struct sg_table *st, unsigned int pg_start, unsigned int flags) intel_gtt_insert_sg_entries() argument 899 intel_fake_agp_insert_entries(struct agp_memory *mem, off_t pg_start, int type) intel_fake_agp_insert_entries() argument 964 intel_fake_agp_remove_entries(struct agp_memory *mem, off_t pg_start, int type) intel_fake_agp_remove_entries() argument [all...] |
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | i460-agp.c | 294 off_t pg_start, int type) in i460_insert_memory_small_io_page() 300 pr_debug("i460_insert_memory_small_io_page(mem=%p, pg_start=%ld, type=%d, paddr0=0x%lx)\n", in i460_insert_memory_small_io_page() 301 mem, pg_start, type, page_to_phys(mem->pages[0])); in i460_insert_memory_small_io_page() 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() 341 pr_debug("i460_remove_memory_small_io_page(mem=%p, pg_start=%ld, type=%d)\n", in i460_remove_memory_small_io_page() 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; in i460_remove_memory_small_io_page() 293 i460_insert_memory_small_io_page(struct agp_memory *mem, off_t pg_start, int type) i460_insert_memory_small_io_page() argument 336 i460_remove_memory_small_io_page(struct agp_memory *mem, off_t pg_start, int type) i460_remove_memory_small_io_page() argument 400 i460_insert_memory_large_io_page(struct agp_memory *mem, off_t pg_start, int type) i460_insert_memory_large_io_page() argument 461 i460_remove_memory_large_io_page(struct agp_memory *mem, off_t pg_start, int type) i460_remove_memory_large_io_page() argument 500 i460_insert_memory(struct agp_memory *mem, off_t pg_start, int type) i460_insert_memory() argument 509 i460_remove_memory(struct agp_memory *mem, off_t pg_start, int type) i460_remove_memory() argument [all...] |
H A D | generic.c | 403 * @pg_start: an offset into the graphics aperture translation table 408 int agp_bind_memory(struct agp_memory *curr, off_t pg_start) in agp_bind_memory() argument 424 ret_val = curr->bridge->driver->insert_memory(curr, pg_start, curr->type); in agp_bind_memory() 430 curr->pg_start = pg_start; in agp_bind_memory() 460 ret_val = curr->bridge->driver->remove_memory(curr, curr->pg_start, curr->type); in agp_unbind_memory() 466 curr->pg_start = 0; in agp_unbind_memory() 1025 int agp_generic_insert_memory(struct agp_memory * mem, off_t pg_start, int type) in agp_generic_insert_memory() argument 1076 if (((pg_start + mem->page_count) > num_entries) || in agp_generic_insert_memory() 1077 ((pg_start in agp_generic_insert_memory() 1107 agp_generic_remove_memory(struct agp_memory *mem, off_t pg_start, int type) agp_generic_remove_memory() argument [all...] |
H A D | efficeon-agp.c | 236 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()
|
H A D | nvidia-agp.c | 201 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()
|
H A D | alpha-agp.c | 84 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()
|
H A D | amd-k7-agp.c | 285 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()
|
H A D | ati-agp.c | 260 off_t pg_start, int type) in ati_insert_memory() 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() 259 ati_insert_memory(struct agp_memory * mem, off_t pg_start, int type) ati_insert_memory() argument
|
H A D | sworks-agp.c | 318 off_t pg_start, int type) in serverworks_insert_memory() 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() 317 serverworks_insert_memory(struct agp_memory *mem, off_t pg_start, int type) serverworks_insert_memory() argument
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | core_titan.c | 590 long pg_start; in titan_agp_setup() 608 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup() 610 if (aper->pg_start < 0) { in titan_agp_setup() 617 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in titan_agp_setup() 630 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup() 634 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup() 635 status = iommu_release(aper->arena, aper->pg_start, in titan_agp_cleanup() 688 titan_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in titan_agp_bind_memory() 691 return iommu_bind(aper->arena, aper->pg_start + pg_start, in titan_agp_unbind_memory() argument 585 long pg_start; global() member 683 titan_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) titan_agp_bind_memory() argument [all...] |
H A D | core_marvel.c | 913 long pg_start; in marvel_agp_setup() 930 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup() 933 if (aper->pg_start < 0) { in marvel_agp_setup() 940 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in marvel_agp_cleanup() 953 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in marvel_agp_cleanup() 957 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); 958 status = iommu_release(aper->arena, aper->pg_start, in marvel_agp_configure() 1033 marvel_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in marvel_agp_unbind_memory() 1036 return iommu_bind(aper->arena, aper->pg_start + pg_start, 902 long pg_start; global() member 1022 marvel_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) marvel_agp_bind_memory() argument 1030 marvel_agp_unbind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) marvel_agp_unbind_memory() argument [all...] |
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | core_titan.c | 590 long pg_start; in titan_agp_setup() 608 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup() 610 if (aper->pg_start < 0) { in titan_agp_setup() 617 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in titan_agp_setup() 630 status = iommu_release(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup() 634 iommu_unbind(aper->arena, aper->pg_start, aper->pg_count); in titan_agp_cleanup() 635 status = iommu_release(aper->arena, aper->pg_start, in titan_agp_cleanup() 688 titan_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) in titan_agp_bind_memory() 691 return iommu_bind(aper->arena, aper->pg_start + pg_start, in titan_agp_unbind_memory() argument 585 long pg_start; global() member 683 titan_agp_bind_memory(alpha_agp_info *agp, off_t pg_start, struct agp_memory *mem) titan_agp_bind_memory() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | agpgart.h | 52 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
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | agpgart.h | 52 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
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | agpgart.h | 48 __kernel_off_t pg_start; member 65 __kernel_off_t pg_start; member
|
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | file.c | 1016 int f2fs_truncate_hole(struct inode *inode, pgoff_t pg_start, pgoff_t pg_end) in f2fs_truncate_hole() argument 1020 while (pg_start < pg_end) { in f2fs_truncate_hole() 1025 err = f2fs_get_dnode_of_data(&dn, pg_start, LOOKUP_NODE); in f2fs_truncate_hole() 1028 pg_start = f2fs_get_next_page_offset(&dn, in f2fs_truncate_hole() 1029 pg_start); in f2fs_truncate_hole() 1036 count = min(end_offset - dn.ofs_in_node, pg_end - pg_start); in f2fs_truncate_hole() 1043 pg_start += count; in f2fs_truncate_hole() 1050 pgoff_t pg_start, pg_end; in punch_hole() local 1058 pg_start = ((unsigned long long) offset) >> PAGE_SHIFT; in punch_hole() 1064 if (pg_start in punch_hole() 1441 pgoff_t index, pg_start, pg_end; f2fs_zero_range() local 1547 pgoff_t nr, pg_start, pg_end, delta, idx; f2fs_insert_range() local 1624 pgoff_t pg_start, pg_end; expand_inode_data() local 2594 pgoff_t pg_start, pg_end, next_pgofs; f2fs_defragment_range() local [all...] |
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | file.c | 1067 int f2fs_truncate_hole(struct inode *inode, pgoff_t pg_start, pgoff_t pg_end) in f2fs_truncate_hole() argument 1071 while (pg_start < pg_end) { in f2fs_truncate_hole() 1076 err = f2fs_get_dnode_of_data(&dn, pg_start, LOOKUP_NODE); in f2fs_truncate_hole() 1079 pg_start = f2fs_get_next_page_offset(&dn, in f2fs_truncate_hole() 1080 pg_start); in f2fs_truncate_hole() 1087 count = min(end_offset - dn.ofs_in_node, pg_end - pg_start); in f2fs_truncate_hole() 1094 pg_start += count; in f2fs_truncate_hole() 1101 pgoff_t pg_start, pg_end; in f2fs_punch_hole() local 1109 pg_start = ((unsigned long long) offset) >> PAGE_SHIFT; in f2fs_punch_hole() 1115 if (pg_start in f2fs_punch_hole() 1495 pgoff_t index, pg_start, pg_end; f2fs_zero_range() local 1602 pgoff_t nr, pg_start, pg_end, delta, idx; f2fs_insert_range() local 1684 pgoff_t pg_start, pg_end; f2fs_expand_inode_data() local 2575 pgoff_t pg_start, pg_end, next_pgofs; f2fs_defragment_range() local [all...] |