Searched refs:MAX_FLAGS (Results 1 – 1 of 1) sorted by relevance
19 #define MAX_FLAGS 64 macro38 static DECLARE_BITMAP(flags_free, MAX_FLAGS);378 bit = find_next_bit(flags_free, MAX_FLAGS, 0); in pasemi_dma_alloc_flag()379 if (bit >= MAX_FLAGS) in pasemi_dma_alloc_flag()397 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_free_flag()410 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_set_flag()425 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_clear_flag()443 bit = find_next_bit(fun_free, MAX_FLAGS, 0); in pasemi_dma_alloc_fun()444 if (bit >= MAX_FLAGS) in pasemi_dma_alloc_fun()462 BUG_ON(fun >= MAX_FLAGS); in pasemi_dma_free_fun()[all …]