Home
last modified time | relevance | path

Searched refs:likely (Results 1 – 25 of 41) sorted by relevance

12

/include/net/netfilter/
Dxt_log.h14 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()
Dnf_conntrack_core.h66 if (likely(ret == NF_ACCEPT)) in nf_conntrack_confirm()
/include/asm-generic/
Dmutex-xchg.h34 if (likely(atomic_xchg(count, -1) != 1)) in __mutex_fastpath_lock()
52 if (likely(atomic_xchg(count, -1) != 1)) in __mutex_fastpath_lock_retval()
Dmutex-dec.h85 if (likely(atomic_cmpxchg(count, 1, 0) == 1)) in __mutex_fastpath_trylock()
Ddiv64.h44 if (likely(((n) >> 32) == 0)) { \
/include/linux/
Datomic.h69 if (likely(v1 == v)) in atomic_inc_unless_negative()
82 if (likely(v1 == v)) in atomic_dec_unless_positive()
Dquicklist.h40 if (likely(p)) { in quicklist_alloc()
46 if (likely(p)) in quicklist_alloc()
Ddevice_cgroup.h8 if (likely(!inode->i_rdev)) in devcgroup_inode_permission()
Deventpoll.h100 if (likely(list_empty(&file->f_ep_links))) in eventpoll_release()
Dcompiler.h114 # ifndef likely
115 # define likely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1)) macro
146 # define likely(x) __builtin_expect(!!(x), 1) macro
Dfreezer.h31 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()
Dradix-tree.h352 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()
Dif_macvlan.h74 if (likely(success)) { in macvlan_count_rx()
Djump_label.h164 if (likely(atomic_read(&key->enabled)) > 0) in static_key_true()
Dasync_tx.h100 if (likely(tx)) { in async_tx_issue_pending()
Dpagemap.h192 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()
Dipv6.h493 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()
Dif_vlan.h319 if (likely(protop)) in vlan_get_protocol()
/include/net/
Diw_handler.h523 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()
Dipip.h56 if (likely(net_xmit_eval(err) == 0)) { \
Dsch_generic.h501 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()
Dipv6.h125 if (likely(_idev != NULL)) \
134 if (likely(_idev != NULL)) \
143 if (likely(_idev != NULL)) \
151 if (likely(_idev != NULL)) \
159 if (likely(_idev != NULL)) \
Dpkt_cls.h326 return likely((ptr + len) <= skb_tail_pointer(skb) && in tcf_valid_offset()
/include/crypto/
Dskcipher.h76 if (likely(req)) in skcipher_givcrypt_alloc()
Daead.h65 if (likely(req)) in aead_givcrypt_alloc()

12