• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/lib/talloc/

Lines Matching refs:unlikely

88 #ifndef unlikely
89 #define unlikely(x) __builtin_expect(!!(x), 0)
95 #ifndef unlikely
96 #define unlikely(x) (x)
231 if (unlikely((tc->flags & (TALLOC_FLAG_FREE | ~0xF)) != TALLOC_MAGIC)) {
284 if (unlikely(ptr == NULL)) {
391 if (unlikely(context == NULL)) {
395 if (unlikely(size >= MAX_TALLOC_SIZE)) {
406 if (unlikely(tc == NULL)) return NULL;
446 if (unlikely(result == NULL)) {
481 if (unlikely(!talloc_reference(null_context, ptr))) {
517 if (unlikely(ptr == NULL)) {
539 if (unlikely(ptr == NULL)) return NULL;
545 if (unlikely(handle == NULL)) return NULL;
566 if (unlikely(ptr == NULL)) {
572 if (unlikely(tc->refs)) {
589 if (unlikely(tc->flags & TALLOC_FLAG_LOOP)) {
594 if (unlikely(tc->destructor)) {
627 if (unlikely(tc->child->refs)) {
631 if (unlikely(_talloc_free_internal(child, location) == -1)) {
683 if (unlikely(!ptr)) {
687 if (unlikely(new_ctx == NULL)) {
693 if (unlikely(new_ctx == NULL)) {
710 if (unlikely(tc == new_tc || tc->parent == new_tc)) {
740 if (unlikely(ptr == NULL)) {
746 if (unlikely(tc->refs != NULL) && talloc_parent(ptr) != new_ctx) {
773 if (unlikely(ptr == NULL)) {
805 if (unlikely(context == NULL)) {
918 if (unlikely(ptr == NULL)) return NULL;
924 if (unlikely(name == NULL)) {
938 if (unlikely(tc->name == TALLOC_MAGIC_REFERENCE)) {
955 if (unlikely(ptr == NULL)) return NULL;
985 if (unlikely(ptr == NULL)) {
1016 if (unlikely(ptr == NULL)) return NULL;
1022 if (unlikely(name == NULL)) {
1039 if (unlikely(ptr == NULL)) {
1053 if (unlikely(tc->child->refs)) {
1057 if (unlikely(talloc_free(child) == -1)) {
1114 if (unlikely(ptr == NULL)) {
1120 if (unlikely(tc->refs != NULL)) {
1149 if (unlikely(size == 0)) {
1154 if (unlikely(size >= MAX_TALLOC_SIZE)) {
1166 if (unlikely(tc->refs)) {
1171 if (unlikely(tc->flags & TALLOC_FLAG_POOL)) {
1210 if (unlikely(!new_ptr)) {
1566 if (unlikely(!ret)) return NULL;
1580 if (unlikely(!p)) return NULL;
1589 if (unlikely(!p)) return NULL;
1599 if (unlikely(!ret)) return NULL;
1614 if (unlikely(!s)) {
1618 if (unlikely(!a)) {
1633 if (unlikely(!s)) {
1637 if (unlikely(!a)) {
1654 if (unlikely(!s)) {
1658 if (unlikely(!a)) {
1673 if (unlikely(!s)) {
1677 if (unlikely(!a)) {
1708 if (unlikely(len < 0)) {
1713 if (unlikely(!ret)) return NULL;
1783 if (unlikely(!s)) {
1799 if (unlikely(!s)) {