Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
H A Dioport.c25 if (current->thread.io_bitmap) { in io_bitmap_share()
30 refcount_inc(&current->thread.io_bitmap->refcnt); in io_bitmap_share()
31 tsk->thread.io_bitmap = current->thread.io_bitmap; in io_bitmap_share()
40 if (t->iopl_emul == 3 || t->io_bitmap) { in task_update_io_bitmap()
54 struct io_bitmap *iobm = tsk->thread.io_bitmap; in io_bitmap_exit()
56 tsk->thread.io_bitmap = NULL; in io_bitmap_exit()
69 struct io_bitmap *iobm; in ksys_ioperm()
82 iobm = t->io_bitmap; in ksys_ioperm()
113 t->io_bitmap = iobm; in ksys_ioperm()
H A Dprocess.c177 p->thread.io_bitmap = NULL; in copy_thread()
426 static void tss_copy_io_bitmap(struct tss_struct *tss, struct io_bitmap *iobm) in tss_copy_io_bitmap()
436 memcpy(tss->io_bitmap.bitmap, iobm->bitmap, in tss_copy_io_bitmap()
437 max(tss->io_bitmap.prev_max, iobm->max)); in tss_copy_io_bitmap()
443 tss->io_bitmap.prev_max = iobm->max; in tss_copy_io_bitmap()
444 tss->io_bitmap.prev_sequence = iobm->sequence; in tss_copy_io_bitmap()
464 struct io_bitmap *iobm = t->io_bitmap; in native_tss_update_io_bitmap()
470 if (tss->io_bitmap.prev_sequence != iobm->sequence) in native_tss_update_io_bitmap()
H A Dptrace.c696 struct io_bitmap *iobm = target->thread.io_bitmap; in ioperm_active()
705 struct io_bitmap *iobm = target->thread.io_bitmap; in ioperm_get()
/linux/arch/x86/include/asm/
H A Dprocessor.h10 struct io_bitmap;
322 (offsetof(struct tss_struct, io_bitmap.bitmap) - \
326 (offsetof(struct tss_struct, io_bitmap.mapall) - \
392 struct x86_io_bitmap io_bitmap; member
479 struct io_bitmap *io_bitmap; member
H A Dio_bitmap.h8 struct io_bitmap { struct
/linux/arch/x86/kernel/cpu/
H A Dcommon.c2168 tss->io_bitmap.prev_max = 0; in tss_setup_io_bitmap()
2169 tss->io_bitmap.prev_sequence = 0; in tss_setup_io_bitmap()
2170 memset(tss->io_bitmap.bitmap, 0xff, sizeof(tss->io_bitmap.bitmap)); in tss_setup_io_bitmap()
2175 tss->io_bitmap.mapall[IO_BITMAP_LONGS] = ~0UL; in tss_setup_io_bitmap()
/linux/arch/x86/coco/sev/
H A Dcore.c567 struct io_bitmap *iobm = t->io_bitmap; in vc_ioio_check()