Searched refs:bitmap (Results 1 – 5 of 5) sorted by relevance
/kernel/dma/ |
D | coherent.c | 17 unsigned long *bitmap; member 65 dma_mem->bitmap = kzalloc(bitmap_size, GFP_KERNEL); in dma_init_coherent_memory() 66 if (!dma_mem->bitmap) { in dma_init_coherent_memory() 93 kfree(mem->bitmap); in dma_release_coherent_memory() 140 pageno = bitmap_find_free_region(mem->bitmap, mem->size, order); in __dma_alloc_from_coherent() 202 bitmap_release_region(mem->bitmap, page, order); in __dma_release_from_coherent()
|
/kernel/events/ |
D | uprobes.c | 101 unsigned long *bitmap; /* 0 = free slot */ member 1493 area->bitmap = kcalloc(BITS_TO_LONGS(UINSNS_PER_PAGE), sizeof(long), in __create_xol_area() 1495 if (!area->bitmap) in __create_xol_area() 1509 set_bit(0, area->bitmap); in __create_xol_area() 1518 kfree(area->bitmap); in __create_xol_area() 1559 kfree(area->bitmap); in uprobe_clear_state() 1591 slot_nr = find_first_zero_bit(area->bitmap, UINSNS_PER_PAGE); in xol_take_insn_slot() 1593 if (!test_and_set_bit(slot_nr, area->bitmap)) in xol_take_insn_slot() 1660 clear_bit(slot_nr, area->bitmap); in xol_free_insn_slot()
|
/kernel/ |
D | sysctl.c | 3182 unsigned long *bitmap = *(unsigned long **) table->data; in proc_do_large_bitmap() local 3186 if (!bitmap || !bitmap_len || !left || (*ppos && !write)) { in proc_do_large_bitmap() 3279 bit_a = find_next_bit(bitmap, bitmap_len, bit_b); in proc_do_large_bitmap() 3282 bit_b = find_next_zero_bit(bitmap, bitmap_len, in proc_do_large_bitmap() 3311 bitmap_or(bitmap, bitmap, tmp_bitmap, bitmap_len); in proc_do_large_bitmap() 3313 bitmap_copy(bitmap, tmp_bitmap, bitmap_len); in proc_do_large_bitmap()
|
/kernel/sched/ |
D | rt.c | 84 __clear_bit(i, array->bitmap); in init_rt_rq() 87 __set_bit(MAX_RT_PRIO, array->bitmap); in init_rt_rq() 1145 sched_find_first_bit(array->bitmap); in dec_rt_prio() 1265 __clear_bit(rt_se_prio(rt_se), array->bitmap); in __delist_rt_entity() 1296 __set_bit(rt_se_prio(rt_se), array->bitmap); in __enqueue_rt_entity() 1593 idx = sched_find_first_bit(array->bitmap); in pick_next_rt_entity()
|
D | sched.h | 229 DECLARE_BITMAP(bitmap, MAX_RT_PRIO+1); /* include 1 bit for delimiter */
|