Searched refs:ksegment (Results 1 – 2 of 2) sorted by relevance
95 struct agp_segment *ksegment; in compat_agpioc_reserve_wrap() local107 ksegment = kmalloc_array(kreserve.seg_count, in compat_agpioc_reserve_wrap()108 sizeof(*ksegment), in compat_agpioc_reserve_wrap()110 if (!ksegment) { in compat_agpioc_reserve_wrap()118 kfree(ksegment); in compat_agpioc_reserve_wrap()123 ksegment[seg].pg_start = usegment[seg].pg_start; in compat_agpioc_reserve_wrap()124 ksegment[seg].pg_count = usegment[seg].pg_count; in compat_agpioc_reserve_wrap()125 ksegment[seg].prot = usegment[seg].prot; in compat_agpioc_reserve_wrap()129 kreserve.seg_list = ksegment; in compat_agpioc_reserve_wrap()136 kfree(ksegment); in compat_agpioc_reserve_wrap()
388 struct kexec_segment *ksegment; in SYSCALL_DEFINE5() local390 ksegment = &image->segment[i]; in SYSCALL_DEFINE5()392 i, ksegment->buf, ksegment->bufsz, ksegment->mem, in SYSCALL_DEFINE5()393 ksegment->memsz); in SYSCALL_DEFINE5()635 struct kexec_segment *ksegment; in kexec_add_buffer() local668 ksegment->kbuf = kbuf->buffer; in kexec_add_buffer()669 ksegment->bufsz = kbuf->bufsz; in kexec_add_buffer()670 ksegment->mem = kbuf->mem; in kexec_add_buffer()671 ksegment->memsz = kbuf->memsz; in kexec_add_buffer()744 ksegment->bufsz); in kexec_calculate_store_digests()[all …]