Searched refs:kerninfo (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/char/agp/
H A Dcompat_ioctl.c41 struct agp_kern_info kerninfo; compat_agpioc_info_wrap() local
43 agp_copy_info(agp_bridge, &kerninfo); compat_agpioc_info_wrap()
45 userinfo.version.major = kerninfo.version.major; compat_agpioc_info_wrap()
46 userinfo.version.minor = kerninfo.version.minor; compat_agpioc_info_wrap()
47 userinfo.bridge_id = kerninfo.device->vendor | compat_agpioc_info_wrap()
48 (kerninfo.device->device << 16); compat_agpioc_info_wrap()
49 userinfo.agp_mode = kerninfo.mode; compat_agpioc_info_wrap()
50 userinfo.aper_base = (compat_long_t)kerninfo.aper_base; compat_agpioc_info_wrap()
51 userinfo.aper_size = kerninfo.aper_size; compat_agpioc_info_wrap()
52 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; compat_agpioc_info_wrap()
53 userinfo.pg_used = kerninfo.current_memory; compat_agpioc_info_wrap()
H A Dfrontend.c571 struct agp_kern_info kerninfo; agp_mmap() local
581 agp_copy_info(agp_bridge, &kerninfo); agp_mmap()
583 current_size = kerninfo.aper_size; agp_mmap()
600 DBG("client vm_ops=%p", kerninfo.vm_ops); agp_mmap()
601 if (kerninfo.vm_ops) { agp_mmap()
602 vma->vm_ops = kerninfo.vm_ops; agp_mmap()
604 (kerninfo.aper_base + offset) >> PAGE_SHIFT, agp_mmap()
617 DBG("controller vm_ops=%p", kerninfo.vm_ops); agp_mmap()
618 if (kerninfo.vm_ops) { agp_mmap()
619 vma->vm_ops = kerninfo.vm_ops; agp_mmap()
621 kerninfo.aper_base >> PAGE_SHIFT, agp_mmap()
716 struct agp_kern_info kerninfo; agpioc_info_wrap() local
718 agp_copy_info(agp_bridge, &kerninfo); agpioc_info_wrap()
721 userinfo.version.major = kerninfo.version.major; agpioc_info_wrap()
722 userinfo.version.minor = kerninfo.version.minor; agpioc_info_wrap()
723 userinfo.bridge_id = kerninfo.device->vendor | agpioc_info_wrap()
724 (kerninfo.device->device << 16); agpioc_info_wrap()
725 userinfo.agp_mode = kerninfo.mode; agpioc_info_wrap()
726 userinfo.aper_base = kerninfo.aper_base; agpioc_info_wrap()
727 userinfo.aper_size = kerninfo.aper_size; agpioc_info_wrap()
728 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; agpioc_info_wrap()
729 userinfo.pg_used = kerninfo.current_memory; agpioc_info_wrap()

Completed in 104 milliseconds