Lines Matching refs:unlikely

102         if (unlikely(new_one == NULL))  in idr_preload()
177 if (unlikely(pos < 0)) in __idr_get_empty_slot()
216 if (unlikely(NULL == stk[0] || NULL == idp->top)) in __idr_mark_full()
251 if (unlikely(idp->top == NULL || __id < 0)) in __idr_get_path()
261 if (unlikely((__id >> ((layer + 1ull) * IDR_BITS)) > 0)) in __idr_get_path()
273 if (unlikely(((cur_layer->bitmap >> layer_id) & 1) == 0)) in __idr_get_path()
297 if (unlikely(NULL == stk[0] || NULL == idp->top)) in __idr_erase_full()
403 if (unlikely(idp->top == NULL || __id < 0)) in idr_remove()
425 if (unlikely(NULL == idp->top)) in __idr_remove_all_with_free()
492 if (unlikely(NULL == idp->top)) in idr_remove_all()
522 if (unlikely(idp->top == NULL || __id < 0)) in idr_find()
561 if (unlikely(idp->top == NULL)) in idr_find_next_getid()
674 if (unlikely(old_ptr == NULL)) in idr_replace_get_old()
681 if (unlikely(idp->top == NULL || __id < 0)) in idr_replace_get_old()
694 if (unlikely(NULL == cur_layer->ary[layer_id])) in idr_replace_get_old()
792 if (unlikely(idp == NULL || idp->top == NULL || __id < 0)) in idr_count()
801 if (unlikely((__id >> ((layer + 1ull) * IDR_BITS)) > 0)) in idr_count()
898 if (unlikely((unsigned long long)ary_id * IDA_BMP_SIZE + bmp_id > INT32_MAX)) in __get_id_from_bitmap()
932 if (unlikely(NULL == stk[0])) in ida_alloc()
935 if (unlikely(idr_id < 0)) in ida_alloc()
943 if (unlikely(NULL == stk[0]->ary[layer_id])) in ida_alloc()
949 if (unlikely(low_id < 0)) in ida_alloc()
969 if (unlikely(NULL == ida_p || NULL == ida_p->idr.top || id < 0)) in ida_count()
992 if (unlikely(NULL == ida_p || NULL == ida_p->idr.top || id < 0)) in ida_remove()
1008 if (unlikely(NULL == b_p || 0 == ((b_p->bitmap[ary_id] >> bmp_id) & 1))) in ida_remove()
1029 if (unlikely(ida_p == NULL)) in ida_destroy()