Searched refs:mem_bitmap (Results 1 – 7 of 7) sorted by relevance
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr.c | 48 start = bitmap_find_next_zero_area(dev->mem_bitmap, bits, 0, count, align); in s5p_mfc_alloc_priv_buf() 52 bitmap_set(dev->mem_bitmap, start, count); in s5p_mfc_alloc_priv_buf() 105 bitmap_clear(dev->mem_bitmap, start, count); in s5p_mfc_release_priv_buf()
|
D | s5p_mfc.c | 1198 mfc_dev->mem_bitmap = kzalloc(bitmap_size, GFP_KERNEL); in s5p_mfc_configure_common_memory() 1199 if (!mfc_dev->mem_bitmap) in s5p_mfc_configure_common_memory() 1205 kfree(mfc_dev->mem_bitmap); in s5p_mfc_configure_common_memory() 1221 bitmap_set(mfc_dev->mem_bitmap, 0, offset >> PAGE_SHIFT); in s5p_mfc_configure_common_memory() 1244 kfree(mfc_dev->mem_bitmap); in s5p_mfc_unconfigure_common_memory()
|
D | s5p_mfc_common.h | 322 unsigned long *mem_bitmap; member
|
/drivers/net/wireless/ath/carl9170/ |
D | main.c | 311 ar->mem_bitmap[i] = 0; in carl9170_zap_queues() 1969 if (WARN_ON(ar->mem_bitmap)) in carl9170_register() 1972 ar->mem_bitmap = kcalloc(roundup(ar->fw.mem_blocks, BITS_PER_LONG), in carl9170_register() 1976 if (!ar->mem_bitmap) in carl9170_register() 2089 kfree(ar->mem_bitmap); in carl9170_free() 2090 ar->mem_bitmap = NULL; in carl9170_free()
|
D | debug.c | 222 ar->fw.mem_blocks, ar->mem_bitmap); in carl9170_debugfs_mem_usage_read() 225 bitmap_weight(ar->mem_bitmap, ar->fw.mem_blocks), in carl9170_debugfs_mem_usage_read()
|
D | carl9170.h | 416 unsigned long *mem_bitmap; member
|
D | tx.c | 205 cookie = bitmap_find_free_region(ar->mem_bitmap, ar->fw.mem_blocks, 0); in carl9170_alloc_dev_space() 257 bitmap_release_region(ar->mem_bitmap, cookie - 1, 0); in carl9170_release_dev_space()
|