Lines Matching refs:kreserve
64 struct agp_region kreserve; in compat_agpioc_reserve_wrap() local
75 kreserve.pid = ureserve.pid; in compat_agpioc_reserve_wrap()
76 kreserve.seg_count = ureserve.seg_count; in compat_agpioc_reserve_wrap()
78 client = agp_find_client_by_pid(kreserve.pid); in compat_agpioc_reserve_wrap()
80 if (kreserve.seg_count == 0) { in compat_agpioc_reserve_wrap()
82 client_priv = agp_find_private(kreserve.pid); in compat_agpioc_reserve_wrap()
92 return agp_remove_client(kreserve.pid); in compat_agpioc_reserve_wrap()
107 ksegment = kmalloc_array(kreserve.seg_count, in compat_agpioc_reserve_wrap()
129 kreserve.seg_list = ksegment; in compat_agpioc_reserve_wrap()
133 client = agp_create_client(kreserve.pid); in compat_agpioc_reserve_wrap()
139 client_priv = agp_find_private(kreserve.pid); in compat_agpioc_reserve_wrap()
146 return agp_create_segment(client, &kreserve); in compat_agpioc_reserve_wrap()