Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/kernel/ !
Dkexec_file.c385 struct kexec_segment *ksegment; in SYSCALL_DEFINE5() local
387 ksegment = &image->segment[i]; in SYSCALL_DEFINE5()
389 i, ksegment->buf, ksegment->bufsz, ksegment->mem, in SYSCALL_DEFINE5()
390 ksegment->memsz); in SYSCALL_DEFINE5()
632 struct kexec_segment *ksegment; in kexec_add_buffer() local
664 ksegment = &kbuf->image->segment[kbuf->image->nr_segments]; in kexec_add_buffer()
665 ksegment->kbuf = kbuf->buffer; in kexec_add_buffer()
666 ksegment->bufsz = kbuf->bufsz; in kexec_add_buffer()
667 ksegment->mem = kbuf->mem; in kexec_add_buffer()
668 ksegment->memsz = kbuf->memsz; in kexec_add_buffer()
[all …]