Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/agp/
H A Dcompat_ioctl.c64 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()
[all …]