Searched refs:ksegment (Results 1 – 1 of 1) sorted by relevance
95 struct agp_segment *ksegment; in compat_agpioc_reserve_wrap() local105 ksegment = kmalloc(sizeof(*ksegment) * kreserve.seg_count, GFP_KERNEL); in compat_agpioc_reserve_wrap()106 if (!ksegment) { in compat_agpioc_reserve_wrap()114 kfree(ksegment); in compat_agpioc_reserve_wrap()119 ksegment[seg].pg_start = usegment[seg].pg_start; in compat_agpioc_reserve_wrap()120 ksegment[seg].pg_count = usegment[seg].pg_count; in compat_agpioc_reserve_wrap()121 ksegment[seg].prot = usegment[seg].prot; in compat_agpioc_reserve_wrap()125 kreserve.seg_list = ksegment; in compat_agpioc_reserve_wrap()132 kfree(ksegment); in compat_agpioc_reserve_wrap()