Searched refs:io_bitmap_ptr (Results 1 – 7 of 7) sorted by relevance
/arch/x86/kernel/ |
D | ioport.c | 44 if (!t->io_bitmap_ptr) { in ksys_ioperm() 51 t->io_bitmap_ptr = bitmap; in ksys_ioperm() 75 bitmap_clear(t->io_bitmap_ptr, from, num); in ksys_ioperm() 77 bitmap_set(t->io_bitmap_ptr, from, num); in ksys_ioperm() 85 if (t->io_bitmap_ptr[i] != ~0UL) in ksys_ioperm() 94 memcpy(tss->io_bitmap, t->io_bitmap_ptr, bytes_updated); in ksys_ioperm()
|
D | process_32.c | 142 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()
|
D | process_64.c | 390 p->thread.io_bitmap_ptr = NULL; in copy_thread_tls() 416 p->thread.io_bitmap_ptr = kmemdup(me->thread.io_bitmap_ptr, in copy_thread_tls() 418 if (!p->thread.io_bitmap_ptr) { in copy_thread_tls() 441 if (err && p->thread.io_bitmap_ptr) { in copy_thread_tls() 442 kfree(p->thread.io_bitmap_ptr); in copy_thread_tls()
|
D | process.c | 113 unsigned long *bp = t->io_bitmap_ptr; in exit_thread() 119 t->io_bitmap_ptr = NULL; in exit_thread() 283 memcpy(tss->io_bitmap, next->io_bitmap_ptr, in switch_to_bitmap()
|
D | ptrace.c | 708 if (!target->thread.io_bitmap_ptr) in ioperm_get() 712 target->thread.io_bitmap_ptr, in ioperm_get()
|
/arch/x86/include/asm/ |
D | processor.h | 484 unsigned long *io_bitmap_ptr; member 825 .io_bitmap_ptr = NULL, \
|
/arch/x86/kvm/ |
D | emulate.c | 3012 u16 tr, io_bitmap_ptr, perm, bit_idx = port & 0x7; in emulator_io_port_access_allowed() local 3033 r = ops->read_std(ctxt, base + 102, &io_bitmap_ptr, 2, NULL, true); in emulator_io_port_access_allowed() 3036 if (io_bitmap_ptr + port/8 > desc_limit_scaled(&tr_seg)) in emulator_io_port_access_allowed() 3038 r = ops->read_std(ctxt, base + io_bitmap_ptr + port/8, &perm, 2, NULL, true); in emulator_io_port_access_allowed()
|