Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/char/agp/
Dcompat_ioctl.c95 struct agp_segment *ksegment; in compat_agpioc_reserve_wrap() local
107 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()
/linux-6.6.21/kernel/
Dkexec_file.c388 struct kexec_segment *ksegment; in SYSCALL_DEFINE5() local
390 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() local
667 ksegment = &kbuf->image->segment[kbuf->image->nr_segments]; in kexec_add_buffer()
668 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()
[all …]