Searched refs:ureserve (Results 1 – 1 of 1) sorted by relevance
63 struct agp_region32 ureserve; in compat_agpioc_reserve_wrap() local69 if (copy_from_user(&ureserve, arg, sizeof(ureserve))) in compat_agpioc_reserve_wrap()72 if ((unsigned) ureserve.seg_count >= ~0U/sizeof(struct agp_segment32)) in compat_agpioc_reserve_wrap()75 kreserve.pid = ureserve.pid; in compat_agpioc_reserve_wrap()76 kreserve.seg_count = ureserve.seg_count; in compat_agpioc_reserve_wrap()98 if (ureserve.seg_count >= 16384) in compat_agpioc_reserve_wrap()101 usegment = kmalloc_array(ureserve.seg_count, in compat_agpioc_reserve_wrap()115 if (copy_from_user(usegment, (void __user *) ureserve.seg_list, in compat_agpioc_reserve_wrap()116 sizeof(*usegment) * ureserve.seg_count)) { in compat_agpioc_reserve_wrap()122 for (seg = 0; seg < ureserve.seg_count; seg++) { in compat_agpioc_reserve_wrap()
Completed in 3 milliseconds