Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/libs/
Didr.c890 for (int ary_id = 0; ary_id < IDA_BITMAP_LONGS; ary_id++) in __get_id_from_bitmap() local
892 if (bmp->bitmap[ary_id] != IDR_FULL) in __get_id_from_bitmap()
894 int bmp_id = __lowbit_id(~bmp->bitmap[ary_id]); in __get_id_from_bitmap()
895 bmp->bitmap[ary_id] |= (1ull << bmp_id); in __get_id_from_bitmap()
898 if (unlikely((unsigned long long)ary_id * IDA_BMP_SIZE + bmp_id > INT32_MAX)) in __get_id_from_bitmap()
905 return ary_id * IDA_BMP_SIZE + bmp_id; in __get_id_from_bitmap()
973 int ary_id = (__id % IDA_BITMAP_BITS) / IDA_BMP_SIZE; in ida_count() local
980 return ((bmp->bitmap[ary_id] >> bmp_id) & 1); in ida_count()
996 int64_t ary_id = (__id % IDA_BITMAP_BITS) / IDA_BMP_SIZE; in ida_remove() local
1008 if (unlikely(NULL == b_p || 0 == ((b_p->bitmap[ary_id] >> bmp_id) & 1))) in ida_remove()
[all …]