Lines Matching refs:userinfo
715 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()
731 if (copy_to_user(arg, &userinfo, sizeof(struct agp_info))) in agpioc_info_wrap()