Lines Matching refs:userinfo
713 struct agp_info userinfo; in agpioc_info_wrap() local
718 memset(&userinfo, 0, sizeof(userinfo)); in agpioc_info_wrap()
719 userinfo.version.major = kerninfo.version.major; in agpioc_info_wrap()
720 userinfo.version.minor = kerninfo.version.minor; in agpioc_info_wrap()
721 userinfo.bridge_id = kerninfo.device->vendor | in agpioc_info_wrap()
723 userinfo.agp_mode = kerninfo.mode; in agpioc_info_wrap()
724 userinfo.aper_base = kerninfo.aper_base; in agpioc_info_wrap()
725 userinfo.aper_size = kerninfo.aper_size; in agpioc_info_wrap()
726 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in agpioc_info_wrap()
727 userinfo.pg_used = kerninfo.current_memory; in agpioc_info_wrap()
729 if (copy_to_user(arg, &userinfo, sizeof(struct agp_info))) in agpioc_info_wrap()