Searched refs:unlikely (Results 1 - 25 of 3818) sorted by relevance

1234567891011>>

/linux-master/tools/include/asm/
H A Dbug.h12 if (unlikely(__ret_warn_on)) \
14 unlikely(__ret_warn_on); \
19 if (unlikely(__ret_warn_on)) \
22 unlikely(__ret_warn_on); \
29 if (unlikely(__ret_warn_once && !__warned)) { \
33 unlikely(__ret_warn_once); \
40 if (unlikely(__ret_warn_once)) \
43 unlikely(__ret_warn_once); \
/linux-master/include/linux/sched/
H A Didle.h41 return unlikely(tif_need_resched());
59 return unlikely(tif_need_resched());
68 return unlikely(tif_need_resched());
72 return unlikely(tif_need_resched());
/linux-master/include/linux/
H A Donce_lite.h17 if (unlikely(__ret_do_once && !__already_done)) { \
21 unlikely(__ret_do_once); \
H A Dprocessor.h51 if (unlikely(!(cond))) { \
H A Dpage_idle.h21 if (unlikely(!page_ext))
31 if (unlikely(!page_ext))
41 if (unlikely(!page_ext))
51 if (unlikely(!page_ext))
61 if (unlikely(!page_ext))
71 if (unlikely(!page_ext))
H A Derr.h22 #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO)
41 return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr);
H A Dmmdebug.h20 if (unlikely(cond)) { \
27 if (unlikely(cond)) { \
34 if (unlikely(cond)) { \
41 if (unlikely(cond)) { \
50 if (unlikely(__ret_warn_once && !__warned)) { \
55 unlikely(__ret_warn_once); \
61 if (unlikely(__ret_warn_once && !__warned)) { \
66 unlikely(__ret_warn_once); \
H A Dresume_user_mode.h48 if (unlikely(task_work_pending(current)))
52 if (unlikely(current->cached_requested_key)) {
/linux-master/lib/
H A Dwin_minmax.c34 if (unlikely(dt > win)) {
45 if (unlikely(val->t - m->s[0].t > win)) {
50 } else if (unlikely(m->s[1].t == m->s[0].t) && dt > win/4) {
56 } else if (unlikely(m->s[2].t == m->s[1].t) && dt > win/2) {
71 if (unlikely(val.v >= m->s[0].v) || /* found new max? */
72 unlikely(val.t - m->s[2].t > win)) /* nothing left in window? */
75 if (unlikely(val.v >= m->s[1].v))
77 else if (unlikely(val.v >= m->s[2].v))
89 if (unlikely(val.v <= m->s[0].v) || /* found new min? */
90 unlikely(va
[all...]
H A Dsyscall.c21 if (unlikely(!regs)) {
78 if (unlikely(!state))
82 if (unlikely(!ncsw) ||
83 unlikely(collect_syscall(target, info)) ||
84 unlikely(wait_task_inactive(target, state) != ncsw))
H A Dasn1_decoder.c66 if (unlikely(datalen - dp < 2)) {
86 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) {
88 if (unlikely(datalen - dp < 2))
99 if (unlikely(len == ASN1_INDEFINITE_LENGTH)) {
101 if (unlikely((tag & ASN1_CONS_BIT) == ASN1_PRIM << 5))
108 if (unlikely(n > sizeof(len) - 1))
110 if (unlikely(n > datalen - dp))
203 if (unlikely(pc >= machlen))
206 if (unlikely(pc + asn1_op_lengths[op] > machlen))
227 if (unlikely(datale
[all...]
H A Dis_single_threaded.c31 if (unlikely(p->flags & PF_KTHREAD))
33 if (unlikely(p == task->group_leader))
37 if (unlikely(t->mm == mm))
/linux-master/arch/sh/kernel/cpu/
H A Dclock.c26 if (unlikely(ret)) {
34 if (unlikely(ret)) {
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dnorm_desc.c24 if (unlikely(tdes0 & TDES0_OWN))
31 if (unlikely(tdes0 & TDES0_ERROR_SUMMARY)) {
32 if (unlikely(tdes0 & TDES0_UNDERFLOW_ERROR)) {
36 if (unlikely(tdes0 & TDES0_NO_CARRIER)) {
40 if (unlikely(tdes0 & TDES0_LOSS_CARRIER)) {
44 if (unlikely((tdes0 & TDES0_EXCESSIVE_DEFERRAL) ||
58 if (unlikely(tdes0 & TDES0_DEFERRED))
80 if (unlikely(rdes0 & RDES0_OWN))
83 if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) {
88 if (unlikely(rdes
[all...]
/linux-master/arch/microblaze/mm/
H A Dfault.c100 if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) {
109 if (unlikely(faulthandler_disabled() || !mm)) {
142 if (unlikely(!mmap_read_trylock(mm))) {
151 if (unlikely(!vma))
157 if (unlikely(!(vma->vm_flags & VM_GROWSDOWN)))
160 if (unlikely(!is_write))
172 if (unlikely(address + 0x100000 < vma->vm_end)) {
202 if (unlikely(is_write)) {
203 if (unlikely(!(vma->vm_flags & VM_WRITE)))
209 if (unlikely(error_cod
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dselq.h30 while (unlikely(txq >= num_channels))
37 if (unlikely(txq >= num_channels)) {
38 if (unlikely(txq >= num_channels << 3))
/linux-master/net/sunrpc/auth_gss/
H A Dauth_gss_internal.h19 if (unlikely(q > end || q < p))
35 if (unlikely(q > end || q < p))
39 if (unlikely(dest->data == NULL))
/linux-master/include/asm-generic/
H A Dbug.h71 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
111 if (unlikely(__ret_warn_on)) \
114 unlikely(__ret_warn_on); \
123 if (unlikely(__ret_warn_on)) \
125 unlikely(__ret_warn_on); \
132 if (unlikely(__ret_warn_on)) \
134 unlikely(__ret_warn_on); \
140 if (unlikely(__ret_warn_on)) \
142 unlikely(__ret_warn_on); \
162 #define BUG_ON(condition) do { if (unlikely(conditio
[all...]
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_debug.h30 if (unlikely(bnx2fc_debug_level & LOG_ELS)) \
36 if (unlikely(bnx2fc_debug_level & LOG_MISC)) \
/linux-master/tools/include/linux/
H A Derr.h33 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)
52 return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr);
/linux-master/arch/s390/include/asm/
H A Dbug.h59 if (unlikely(__ret_warn_on)) \
62 unlikely(__ret_warn_on); \
/linux-master/fs/btrfs/
H A Dtree-checker.c104 if (unlikely(!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), \
208 if (unlikely(!IS_ALIGNED(key->offset, sectorsize))) {
221 if (unlikely(!check_prev_ino(leaf, key, slot, prev_key)))
230 if (unlikely(item_size < BTRFS_FILE_EXTENT_INLINE_DATA_START)) {
237 if (unlikely(btrfs_file_extent_type(leaf, fi) >=
250 if (unlikely(btrfs_file_extent_compression(leaf, fi) >=
258 if (unlikely(btrfs_file_extent_encryption(leaf, fi))) {
266 if (unlikely(key->offset)) {
279 if (unlikely(item_size != BTRFS_FILE_EXTENT_INLINE_DATA_START +
291 if (unlikely(item_siz
[all...]
/linux-master/net/caif/
H A Dcfpkt_skbuff.c84 if (unlikely(skb == NULL))
123 if (unlikely(is_erronous(pkt)))
126 if (unlikely(len > skb->len)) {
131 if (unlikely(len > skb_headlen(skb))) {
132 if (unlikely(skb_linearize(skb) != 0)) {
150 if (unlikely(is_erronous(pkt)))
153 if (unlikely(skb_linearize(skb) != 0)) {
157 if (unlikely(skb->data + len > skb_tail_pointer(skb))) {
180 if (unlikely(is_erronous(pkt)))
186 if (unlikely(skb_tailroo
[all...]
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_recv.c18 if (unlikely(!qp->valid))
25 if (unlikely(pkt_type != IB_OPCODE_RC)) {
31 if (unlikely(pkt_type != IB_OPCODE_UC)) {
39 if (unlikely(pkt_type != IB_OPCODE_UD)) {
50 if (unlikely(qp->resp.state != QP_STATE_READY))
52 } else if (unlikely(qp->req.state < QP_STATE_READY ||
96 if (unlikely(deth_qkey(pkt) != qkey)) {
118 if (unlikely(pkt->port_num != qp->attr.port_num)) {
179 if (unlikely(bth_tver(pkt) != BTH_TVER)) {
184 if (unlikely(qp
[all...]
/linux-master/arch/sh/include/asm/
H A Dbug.h74 if (unlikely(__ret_warn_on)) \
77 unlikely(__ret_warn_on); \
99 if (unlikely(__ret_unwinder_on)) \
102 unlikely(__ret_unwinder_on); \

Completed in 219 milliseconds

1234567891011>>