Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dioport.c39 if (!t->io_bitmap_ptr) { in sys_ioperm()
46 t->io_bitmap_ptr = bitmap; in sys_ioperm()
60 bitmap_clear(t->io_bitmap_ptr, from, num); in sys_ioperm()
62 bitmap_set(t->io_bitmap_ptr, from, num); in sys_ioperm()
70 if (t->io_bitmap_ptr[i] != ~0UL) in sys_ioperm()
79 memcpy(tss->io_bitmap, t->io_bitmap_ptr, bytes_updated); in sys_ioperm()
Dprocess_32.c156 p->thread.io_bitmap_ptr = NULL; in copy_thread()
167 p->thread.io_bitmap_ptr = NULL; in copy_thread()
172 p->thread.io_bitmap_ptr = kmemdup(tsk->thread.io_bitmap_ptr, in copy_thread()
174 if (!p->thread.io_bitmap_ptr) { in copy_thread()
190 if (err && p->thread.io_bitmap_ptr) { in copy_thread()
191 kfree(p->thread.io_bitmap_ptr); in copy_thread()
Dprocess_64.c167 p->thread.io_bitmap_ptr = NULL; in copy_thread()
197 p->thread.io_bitmap_ptr = kmemdup(me->thread.io_bitmap_ptr, in copy_thread()
199 if (!p->thread.io_bitmap_ptr) { in copy_thread()
222 if (err && p->thread.io_bitmap_ptr) { in copy_thread()
223 kfree(p->thread.io_bitmap_ptr); in copy_thread()
Dprocess.c96 unsigned long *bp = t->io_bitmap_ptr; in exit_thread()
101 t->io_bitmap_ptr = NULL; in exit_thread()
221 memcpy(tss->io_bitmap, next->io_bitmap_ptr, in __switch_to_xtra()
Dptrace.c796 if (!target->thread.io_bitmap_ptr) in ioperm_get()
800 target->thread.io_bitmap_ptr, in ioperm_get()
/arch/x86/include/asm/
Dprocessor.h512 unsigned long *io_bitmap_ptr; member
814 .io_bitmap_ptr = NULL, \
/arch/x86/kvm/
Demulate.c2460 u16 tr, io_bitmap_ptr, perm, bit_idx = port & 0x7; in emulator_io_port_access_allowed() local
2473 r = ops->read_std(ctxt, base + 102, &io_bitmap_ptr, 2, NULL); in emulator_io_port_access_allowed()
2476 if (io_bitmap_ptr + port/8 > desc_limit_scaled(&tr_seg)) in emulator_io_port_access_allowed()
2478 r = ops->read_std(ctxt, base + io_bitmap_ptr + port/8, &perm, 2, NULL); in emulator_io_port_access_allowed()