Searched refs:likely (Results 1 – 25 of 41) sorted by relevance
12
14 if (likely(m->count < S_SIZE)) { in sb_add()18 if (likely(m->count + len < S_SIZE)) { in sb_add()47 if (likely(m != &emergency)) in sb_close()
66 if (likely(ret == NF_ACCEPT)) in nf_conntrack_confirm()
34 if (likely(atomic_xchg(count, -1) != 1)) in __mutex_fastpath_lock()52 if (likely(atomic_xchg(count, -1) != 1)) in __mutex_fastpath_lock_retval()
85 if (likely(atomic_cmpxchg(count, 1, 0) == 1)) in __mutex_fastpath_trylock()
44 if (likely(((n) >> 32) == 0)) { \
69 if (likely(v1 == v)) in atomic_inc_unless_negative()82 if (likely(v1 == v)) in atomic_dec_unless_positive()
40 if (likely(p)) { in quicklist_alloc()46 if (likely(p)) in quicklist_alloc()
8 if (likely(!inode->i_rdev)) in devcgroup_inode_permission()
100 if (likely(list_empty(&file->f_ep_links))) in eventpoll_release()
114 # ifndef likely115 # define likely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1)) macro146 # define likely(x) __builtin_expect(!!(x), 1) macro
31 if (likely(!atomic_read(&system_freezing_cnt))) in freezing()51 if (likely(!freezing(current))) in try_to_freeze_nowarn()63 if (likely(!freezing(current))) in try_to_freeze_unsafe()
352 if (likely(iter->tags & 1ul)) { in radix_tree_next_slot()356 if (!(flags & RADIX_TREE_ITER_CONTIG) && likely(iter->tags)) { in radix_tree_next_slot()369 if (likely(*slot)) in radix_tree_next_slot()
74 if (likely(success)) { in macvlan_count_rx()
164 if (likely(atomic_read(&key->enabled)) > 0) in static_key_true()
100 if (likely(tx)) { in async_tx_issue_pending()
192 return likely(atomic_cmpxchg(&page->_count, count, 0) == count); in page_freeze_refs()321 return (likely(!test_and_set_bit_lock(PG_locked, &page->flags))); in trylock_page()
493 return likely(sk->sk_state != TCP_TIME_WAIT) ? in __inet6_rcv_saddr()504 return likely(sk->sk_state != TCP_TIME_WAIT) ? in inet_v6_ipv6only()
319 if (likely(protop)) in vlan_get_protocol()
523 if(likely((stream + event_len) < ends)) { in iwe_stream_add_event()548 if(likely((stream + event_len) < ends)) { in iwe_stream_add_point()576 if(likely((value + event_len) < ends)) { in iwe_stream_add_value()
56 if (likely(net_xmit_eval(err) == 0)) { \
501 if (likely(skb != NULL)) { in __qdisc_dequeue_head()519 if (likely(skb != NULL)) { in __qdisc_queue_drop_head()539 if (likely(skb != NULL)) in __qdisc_dequeue_tail()605 if (likely(skb != NULL)) { in __qdisc_queue_drop()
125 if (likely(_idev != NULL)) \134 if (likely(_idev != NULL)) \143 if (likely(_idev != NULL)) \151 if (likely(_idev != NULL)) \159 if (likely(_idev != NULL)) \
326 return likely((ptr + len) <= skb_tail_pointer(skb) && in tcf_valid_offset()
76 if (likely(req)) in skcipher_givcrypt_alloc()
65 if (likely(req)) in aead_givcrypt_alloc()