Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/common/
Didr.h51 #define __lowbit_id(x) ((x) ? (__ctzll(x)) : -1) macro
/DragonOS-0.1.2/kernel/src/libs/
Didr.c175 int pos = __lowbit_id(~cur_layer->full); in __idr_get_empty_slot()
444 int64_t id = __lowbit_id(cur_layer->bitmap); in __idr_remove_all_with_free()
613 int64_t layer_id = __lowbit_id(t_bitmap) + pos_i[layer]; in idr_find_next_getid()
894 int bmp_id = __lowbit_id(~bmp->bitmap[ary_id]); in __get_id_from_bitmap()
/DragonOS-0.1.2/kernel/src/ktest/
Dtest-idr.c42 int id = __lowbit_id(i), chk_id = -1; in ktest_idr_case0()