Lines Matching full:bitmap
3 * This contains the io-permission bitmap code - written by obz, with changes
9 #include <linux/bitmap.h>
27 * Take a refcount on current's bitmap. It can be used by in io_bitmap_share()
28 * both tasks as long as none of them changes the bitmap. in io_bitmap_share()
63 * This changes the io permissions bitmap in the current task.
79 * IO bitmap up. ioperm() is much less timing critical than clone(), in ksys_ioperm()
84 /* No point to allocate a bitmap just to clear permissions */ in ksys_ioperm()
91 memset(iobm->bitmap, 0xff, sizeof(iobm->bitmap)); in ksys_ioperm()
96 * If the bitmap is not shared, then nothing can take a refcount as in ksys_ioperm()
109 * Store the bitmap pointer (might be the same if the task already in ksys_ioperm()
110 * head one). Must be done here so freeing the bitmap when all in ksys_ioperm()
118 * Update the tasks bitmap. The update of the TSS bitmap happens on in ksys_ioperm()
122 bitmap_clear(iobm->bitmap, from, num); in ksys_ioperm()
124 bitmap_set(iobm->bitmap, from, num); in ksys_ioperm()
132 if (iobm->bitmap[i] != ~0UL) in ksys_ioperm()