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.c152 p->thread.io_bitmap_ptr = NULL; in copy_thread()
165 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.c160 p->thread.io_bitmap_ptr = NULL; in copy_thread()
192 p->thread.io_bitmap_ptr = kmemdup(me->thread.io_bitmap_ptr, in copy_thread()
194 if (!p->thread.io_bitmap_ptr) { in copy_thread()
217 if (err && p->thread.io_bitmap_ptr) { in copy_thread()
218 kfree(p->thread.io_bitmap_ptr); in copy_thread()
Dprocess.c92 unsigned long *bp = t->io_bitmap_ptr; in exit_thread()
97 t->io_bitmap_ptr = NULL; in exit_thread()
217 memcpy(tss->io_bitmap, next->io_bitmap_ptr, in __switch_to_xtra()
Dptrace.c830 if (!target->thread.io_bitmap_ptr) in ioperm_get()
834 target->thread.io_bitmap_ptr, in ioperm_get()
/arch/x86/include/asm/
Dprocessor.h486 unsigned long *io_bitmap_ptr; member
837 .io_bitmap_ptr = NULL, \
/arch/x86/kvm/
Demulate.c2533 u16 tr, io_bitmap_ptr, perm, bit_idx = port & 0x7; in emulator_io_port_access_allowed() local
2546 r = ops->read_std(ctxt, base + 102, &io_bitmap_ptr, 2, NULL); in emulator_io_port_access_allowed()
2549 if (io_bitmap_ptr + port/8 > desc_limit_scaled(&tr_seg)) in emulator_io_port_access_allowed()
2551 r = ops->read_std(ctxt, base + io_bitmap_ptr + port/8, &perm, 2, NULL); in emulator_io_port_access_allowed()