Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dioport.c44 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()
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.c390 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()
Dprocess.c113 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()
Dptrace.c708 if (!target->thread.io_bitmap_ptr) in ioperm_get()
712 target->thread.io_bitmap_ptr, in ioperm_get()
/arch/x86/include/asm/
Dprocessor.h484 unsigned long *io_bitmap_ptr; member
825 .io_bitmap_ptr = NULL, \
/arch/x86/kvm/
Demulate.c3012 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()