Home
last modified time | relevance | path

Searched refs:iobm (Results 1 – 4 of 4) sorted by relevance

/arch/x86/kernel/
A Dioport.c64 if (iobm && refcount_dec_and_test(&iobm->refcnt)) in io_bitmap_exit()
65 kfree(iobm); in io_bitmap_exit()
75 struct io_bitmap *iobm; in ksys_ioperm() local
88 iobm = t->io_bitmap; in ksys_ioperm()
89 if (!iobm) { in ksys_ioperm()
93 iobm = kmalloc(sizeof(*iobm), GFP_KERNEL); in ksys_ioperm()
94 if (!iobm) in ksys_ioperm()
97 memset(iobm->bitmap, 0xff, sizeof(iobm->bitmap)); in ksys_ioperm()
107 iobm = kmemdup(iobm, sizeof(*iobm), GFP_KERNEL); in ksys_ioperm()
108 if (!iobm) in ksys_ioperm()
[all …]
A Dprocess.c436 static void tss_copy_io_bitmap(struct tss_struct *tss, struct io_bitmap *iobm) in tss_copy_io_bitmap() argument
446 memcpy(tss->io_bitmap.bitmap, iobm->bitmap, in tss_copy_io_bitmap()
447 max(tss->io_bitmap.prev_max, iobm->max)); in tss_copy_io_bitmap()
453 tss->io_bitmap.prev_max = iobm->max; in tss_copy_io_bitmap()
454 tss->io_bitmap.prev_sequence = iobm->sequence; in tss_copy_io_bitmap()
474 struct io_bitmap *iobm = t->io_bitmap; in native_tss_update_io_bitmap() local
476 if (WARN_ON_ONCE(!iobm)) { in native_tss_update_io_bitmap()
485 if (tss->io_bitmap.prev_sequence != iobm->sequence) in native_tss_update_io_bitmap()
486 tss_copy_io_bitmap(tss, iobm); in native_tss_update_io_bitmap()
A Dptrace.c696 struct io_bitmap *iobm = target->thread.io_bitmap; in ioperm_active() local
698 return iobm ? DIV_ROUND_UP(iobm->max, regset->size) : 0; in ioperm_active()
705 struct io_bitmap *iobm = target->thread.io_bitmap; in ioperm_get() local
707 if (!iobm) in ioperm_get()
710 return membuf_write(&to, iobm->bitmap, IO_BITMAP_BYTES); in ioperm_get()
/arch/x86/coco/sev/
A Dvc-handle.c79 struct io_bitmap *iobm = t->io_bitmap; in vc_ioio_check() local
82 if (!iobm) in vc_ioio_check()
86 if (test_bit(idx, iobm->bitmap)) in vc_ioio_check()

Completed in 15 milliseconds