Searched refs:io_bitmap (Results 1 – 7 of 7) sorted by relevance
25 if (current->thread.io_bitmap) { in io_bitmap_share()30 refcount_inc(¤t->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()
177 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()
696 struct io_bitmap *iobm = target->thread.io_bitmap; in ioperm_active()705 struct io_bitmap *iobm = target->thread.io_bitmap; in ioperm_get()
10 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; member479 struct io_bitmap *io_bitmap; member
8 struct io_bitmap { struct
2168 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()
567 struct io_bitmap *iobm = t->io_bitmap; in vc_ioio_check()