Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
H A Dioport.c55 struct io_bitmap *iobm = tsk->thread.io_bitmap; in io_bitmap_exit() local
64 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_obj(*iobm); in ksys_ioperm()
94 if (!iobm) in ksys_ioperm()
97 memset(iobm->bitmap, 0xff, sizeof(iobm->bitmap)); in ksys_ioperm()
98 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
[all …]
H 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()