Home
last modified time | relevance | path

Searched refs:userinfo (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/char/agp/
Dcompat_ioctl.c40 struct agp_info32 userinfo; in compat_agpioc_info_wrap() local
45 userinfo.version.major = kerninfo.version.major; in compat_agpioc_info_wrap()
46 userinfo.version.minor = kerninfo.version.minor; in compat_agpioc_info_wrap()
47 userinfo.bridge_id = kerninfo.device->vendor | in compat_agpioc_info_wrap()
49 userinfo.agp_mode = kerninfo.mode; in compat_agpioc_info_wrap()
50 userinfo.aper_base = (compat_long_t)kerninfo.aper_base; in compat_agpioc_info_wrap()
51 userinfo.aper_size = kerninfo.aper_size; in compat_agpioc_info_wrap()
52 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in compat_agpioc_info_wrap()
53 userinfo.pg_used = kerninfo.current_memory; in compat_agpioc_info_wrap()
55 if (copy_to_user(arg, &userinfo, sizeof(userinfo))) in compat_agpioc_info_wrap()
Dfrontend.c715 struct agp_info userinfo; in agpioc_info_wrap() local
720 memset(&userinfo, 0, sizeof(userinfo)); in agpioc_info_wrap()
721 userinfo.version.major = kerninfo.version.major; in agpioc_info_wrap()
722 userinfo.version.minor = kerninfo.version.minor; in agpioc_info_wrap()
723 userinfo.bridge_id = kerninfo.device->vendor | in agpioc_info_wrap()
725 userinfo.agp_mode = kerninfo.mode; in agpioc_info_wrap()
726 userinfo.aper_base = kerninfo.aper_base; in agpioc_info_wrap()
727 userinfo.aper_size = kerninfo.aper_size; in agpioc_info_wrap()
728 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in agpioc_info_wrap()
729 userinfo.pg_used = kerninfo.current_memory; in agpioc_info_wrap()
[all …]