Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/
Dioport.c42 if (!t->io_bitmap_ptr) { in ksys_ioperm()
49 t->io_bitmap_ptr = bitmap; in ksys_ioperm()
73 bitmap_clear(t->io_bitmap_ptr, from, num); in ksys_ioperm()
75 bitmap_set(t->io_bitmap_ptr, from, num); in ksys_ioperm()
83 if (t->io_bitmap_ptr[i] != ~0UL) in ksys_ioperm()
92 memcpy(tss->io_bitmap, t->io_bitmap_ptr, bytes_updated); in ksys_ioperm()
Dprocess_32.c142 p->thread.io_bitmap_ptr = NULL; in copy_thread_tls()
153 p->thread.io_bitmap_ptr = NULL; in copy_thread_tls()
158 p->thread.io_bitmap_ptr = kmemdup(tsk->thread.io_bitmap_ptr, in copy_thread_tls()
160 if (!p->thread.io_bitmap_ptr) { in copy_thread_tls()
176 if (err && p->thread.io_bitmap_ptr) { in copy_thread_tls()
177 kfree(p->thread.io_bitmap_ptr); in copy_thread_tls()
Dprocess_64.c304 p->thread.io_bitmap_ptr = NULL; in copy_thread_tls()
330 p->thread.io_bitmap_ptr = kmemdup(me->thread.io_bitmap_ptr, in copy_thread_tls()
332 if (!p->thread.io_bitmap_ptr) { in copy_thread_tls()
355 if (err && p->thread.io_bitmap_ptr) { in copy_thread_tls()
356 kfree(p->thread.io_bitmap_ptr); in copy_thread_tls()
Dprocess.c108 unsigned long *bp = t->io_bitmap_ptr; in exit_thread()
114 t->io_bitmap_ptr = NULL; in exit_thread()
265 memcpy(tss->io_bitmap, next->io_bitmap_ptr, in switch_to_bitmap()
Dptrace.c742 if (!target->thread.io_bitmap_ptr) in ioperm_get()
746 target->thread.io_bitmap_ptr, in ioperm_get()
/Linux-v4.19/arch/x86/include/asm/
Dprocessor.h498 unsigned long *io_bitmap_ptr; member
859 .io_bitmap_ptr = NULL, \
/Linux-v4.19/arch/x86/kvm/
Demulate.c2910 u16 tr, io_bitmap_ptr, perm, bit_idx = port & 0x7; in emulator_io_port_access_allowed() local
2931 r = ops->read_std(ctxt, base + 102, &io_bitmap_ptr, 2, NULL, true); in emulator_io_port_access_allowed()
2934 if (io_bitmap_ptr + port/8 > desc_limit_scaled(&tr_seg)) in emulator_io_port_access_allowed()
2936 r = ops->read_std(ctxt, base + io_bitmap_ptr + port/8, &perm, 2, NULL, true); in emulator_io_port_access_allowed()