/linux/arch/mips/include/asm/octeon/ |
A D | cvmx-cmd-queue.h | 335 if (likely(use_locking)) in cvmx_cmd_queue_write() 346 if (likely(use_locking)) in cvmx_cmd_queue_write() 374 if (likely(use_locking)) in cvmx_cmd_queue_write() 405 if (likely(use_locking)) in cvmx_cmd_queue_write() 433 if (likely(use_locking)) in cvmx_cmd_queue_write2() 444 if (likely(use_locking)) in cvmx_cmd_queue_write2() 477 if (likely(use_locking)) in cvmx_cmd_queue_write2() 487 if (likely(count)) in cvmx_cmd_queue_write2() 504 if (likely(use_locking)) in cvmx_cmd_queue_write2() 534 if (likely(use_locking)) in cvmx_cmd_queue_write3() [all …]
|
/linux/drivers/scsi/qedi/ |
A D | qedi_dbg.c | 22 if (likely(qedi) && likely(qedi->pdev)) in qedi_dbg_err() 46 if (likely(qedi) && likely(qedi->pdev)) in qedi_dbg_warn() 71 if (likely(qedi) && likely(qedi->pdev)) in qedi_dbg_notice() 97 if (likely(qedi) && likely(qedi->pdev)) in qedi_dbg_info()
|
/linux/drivers/scsi/qedf/ |
A D | qedf_dbg.c | 21 if (likely(qedf) && likely(qedf->pdev)) in qedf_dbg_err() 45 if (likely(qedf) && likely(qedf->pdev)) in qedf_dbg_warn() 70 if (likely(qedf) && likely(qedf->pdev)) in qedf_dbg_notice() 96 if (likely(qedf) && likely(qedf->pdev)) in qedf_dbg_info()
|
/linux/include/asm-generic/ |
A D | qrwlock.h | 45 if (likely(!(cnts & _QW_WMASK))) { in queued_read_trylock() 47 if (likely(!(cnts & _QW_WMASK))) in queued_read_trylock() 67 return likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, in queued_write_trylock() 79 if (likely(!(cnts & _QW_WMASK))) in queued_read_lock() 94 if (likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED))) in queued_write_lock()
|
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
A D | object.c | 90 if (likely(object->func->mthd)) in nvkm_object_mthd() 99 if (likely(object->func->ntfy)) in nvkm_object_ntfy() 108 if (likely(object->func->map)) in nvkm_object_map() 116 if (likely(object->func->unmap)) in nvkm_object_unmap() 124 if (likely(object->func->rd08)) in nvkm_object_rd08() 132 if (likely(object->func->rd16)) in nvkm_object_rd16() 140 if (likely(object->func->rd32)) in nvkm_object_rd32() 148 if (likely(object->func->wr08)) in nvkm_object_wr08() 156 if (likely(object->func->wr16)) in nvkm_object_wr16() 164 if (likely(object->func->wr32)) in nvkm_object_wr32()
|
/linux/kernel/locking/ |
A D | semaphore.c | 59 if (likely(sem->count > 0)) in down() 83 if (likely(sem->count > 0)) in down_interruptible() 110 if (likely(sem->count > 0)) in down_killable() 140 if (likely(count >= 0)) in down_trylock() 165 if (likely(sem->count > 0)) in down_timeout() 187 if (likely(list_empty(&sem->wait_list))) in up()
|
A D | mcs_spinlock.h | 80 if (likely(prev == NULL)) { in mcs_spin_lock() 106 if (likely(!next)) { in mcs_spin_unlock() 110 if (likely(cmpxchg_release(lock, node, NULL) == node)) in mcs_spin_unlock()
|
/linux/lib/lzo/ |
A D | lzo1x_decompress_safe.c | 58 if (likely(in_len >= 5) && likely(*ip == 17)) { in lzo1x_decompress_safe() 77 if (likely(state == 0)) { in lzo1x_decompress_safe() 96 if (likely(HAVE_IP(t + 15) && HAVE_OP(t + 15))) { in lzo1x_decompress_safe() 172 likely(bitstream_version)) { in lzo1x_decompress_safe() 216 if (likely(HAVE_OP(t + 15))) { in lzo1x_decompress_safe() 256 if (likely(HAVE_IP(6) && HAVE_OP(4))) { in lzo1x_decompress_safe()
|
/linux/include/linux/ |
A D | indirect_call_wrapper.h | 19 likely(f == f1) ? f1(__VA_ARGS__) : f(__VA_ARGS__); \ 23 likely(f == f2) ? f2(__VA_ARGS__) : \ 28 likely(f == f3) ? f3(__VA_ARGS__) : \ 33 likely(f == f4) ? f4(__VA_ARGS__) : \
|
A D | coresight.h | 374 if (likely(csa->io_mem)) in csdev_access_relaxed_read32() 382 if (likely(csa->io_mem)) in csdev_access_read32() 391 if (likely(csa->io_mem)) in csdev_access_relaxed_write32() 399 if (likely(csa->io_mem)) in csdev_access_write32() 410 if (likely(csa->io_mem)) in csdev_access_relaxed_read64() 418 if (likely(csa->io_mem)) in csdev_access_read64() 427 if (likely(csa->io_mem)) in csdev_access_relaxed_write64() 435 if (likely(csa->io_mem)) in csdev_access_write64()
|
A D | compiler.h | 44 # ifndef likely 45 # define likely(x) (__branch_check__(x, 1, __builtin_constant_p(x))) macro 77 # define likely(x) __builtin_expect(!!(x), 1) macro 79 # define likely_notrace(x) likely(x)
|
/linux/fs/ntfs/ |
A D | runlist.c | 23 if (likely((dst != src) && (size > 0))) in ntfs_rl_mm() 36 if (likely(size > 0)) in ntfs_rl_mc() 74 if (likely(rl != NULL)) { in ntfs_rl_realloc() 119 if (likely(rl != NULL)) { in ntfs_rl_realloc_nofail() 1009 if (likely(rl[i].lcn >= (LCN)0)) in ntfs_rl_vcn_to_lcn() 1018 if (likely(rl[i].lcn < (LCN)0)) in ntfs_rl_vcn_to_lcn() 1044 while (likely(rl->length)) { in ntfs_rl_find_vcn_nolock() 1171 if (likely(rl->lcn >= 0)) in ntfs_get_size_for_mapping_pairs() 1378 if (likely(rl->lcn >= 0)) in ntfs_mapping_pairs_build() 1535 while (likely(trl->length)) in ntfs_rl_truncate_nolock() [all …]
|
A D | lcnalloc.c | 262 if (likely(page)) { in ntfs_cluster_alloc() 380 if (likely(rlpos)) { in ntfs_cluster_alloc() 725 if (likely(rl)) { in ntfs_cluster_alloc() 730 if (likely(page && !IS_ERR(page))) { in ntfs_cluster_alloc() 739 if (likely(!err)) { in ntfs_cluster_alloc() 861 if (likely(!is_rollback)) in __ntfs_cluster_free() 890 if (likely(rl->lcn >= 0)) { in __ntfs_cluster_free() 893 to_free, likely(!is_rollback) ? 0 : 1); in __ntfs_cluster_free() 947 if (likely(rl->lcn >= 0)) { in __ntfs_cluster_free() 950 to_free, likely(!is_rollback) ? 0 : 1); in __ntfs_cluster_free() [all …]
|
A D | aops.c | 58 if (likely(uptodate)) { in ntfs_end_buffer_async_read() 251 if (likely(rl != NULL)) { in ntfs_read_block() 284 if (likely(!err)) in ntfs_read_block() 322 if (likely(!err)) in ntfs_read_block() 352 if (likely(!PageError(page))) in ntfs_read_block() 707 if (likely(rl != NULL)) { in ntfs_write_block() 762 if (likely(!err)) in ntfs_write_block() 1016 if (likely(rl != NULL)) { in ntfs_write_mst_block() 1024 if (likely(lcn >= 0)) { in ntfs_write_mst_block() 1045 if (likely(!err2)) in ntfs_write_mst_block() [all …]
|
/linux/net/llc/ |
A D | llc_s_ac.c | 61 if (likely(!rc)) { in llc_sap_action_send_ui() 86 if (likely(!rc)) { in llc_sap_action_send_xid_c() 118 if (likely(!rc)) in llc_sap_action_send_xid_r() 142 if (likely(!rc)) { in llc_sap_action_send_test_c() 169 if (likely(!rc)) in llc_sap_action_send_test_r()
|
/linux/arch/mips/include/asm/ |
A D | timex.h | 60 else if (likely(!__builtin_constant_p(cpu_has_mips_r) && comp)) in can_use_mips_counter() 65 if (likely(cpu_has_counter && in can_use_mips_counter() 94 else if (likely(imp != PRID_IMP_R6000 && imp != PRID_IMP_R6000A)) in random_get_entropy()
|
/linux/net/core/ |
A D | lwtunnel.c | 127 if (likely(ops && ops->build_state && try_module_get(ops->owner))) in lwtunnel_build_state() 253 if (likely(ops && ops->fill_encap)) in lwtunnel_fill_encap() 287 if (likely(ops && ops->get_encap_size)) in lwtunnel_get_encap_size() 315 if (likely(ops && ops->cmp_encap)) in lwtunnel_cmp_encap() 341 if (likely(ops && ops->output)) in lwtunnel_output() 376 if (likely(ops && ops->xmit)) in lwtunnel_xmit() 410 if (likely(ops && ops->input)) in lwtunnel_input()
|
A D | timestamping.c | 15 if (likely(skb->dev && skb->dev->phydev && in classify() 36 if (likely(mii_ts->txtstamp)) { in skb_clone_tx_timestamp() 66 if (likely(mii_ts->rxtstamp)) in skb_defer_rx_timestamp()
|
/linux/fs/hpfs/ |
A D | buffer.c | 135 if (likely(qbh->bh[1]->b_data == qbh->bh[0]->b_data + 1 * 512) && in hpfs_map_4sectors() 136 likely(qbh->bh[2]->b_data == qbh->bh[0]->b_data + 2 * 512) && in hpfs_map_4sectors() 137 likely(qbh->bh[3]->b_data == qbh->bh[0]->b_data + 3 * 512)) { in hpfs_map_4sectors() 185 if (likely(qbh->bh[1]->b_data == qbh->bh[0]->b_data + 1 * 512) && in hpfs_get_4sectors() 186 likely(qbh->bh[2]->b_data == qbh->bh[0]->b_data + 2 * 512) && in hpfs_get_4sectors() 187 likely(qbh->bh[3]->b_data == qbh->bh[0]->b_data + 3 * 512)) { in hpfs_get_4sectors()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
A D | base.c | 33 if (likely(mc) && mc->func->unk260) in nvkm_mc_unk260() 42 if (likely(mc) && mc->func->intr_mask) { in nvkm_mc_intr_mask() 56 if (likely(mc)) in nvkm_mc_intr_unarm() 64 if (likely(mc)) in nvkm_mc_intr_rearm() 126 if (likely(mc)) { in nvkm_mc_reset_mask()
|
/linux/arch/openrisc/mm/ |
A D | ioremap.c | 55 if (likely(mem_init_done)) { in ioremap() 69 if (likely(mem_init_done)) in ioremap() 120 if (likely(mem_init_done)) { in pte_alloc_one_kernel()
|
/linux/kernel/entry/ |
A D | syscall_user_dispatch.c | 39 if (likely(instruction_pointer(regs) - sd->offset < sd->len)) in syscall_user_dispatch() 45 if (likely(sd->selector)) { in syscall_user_dispatch() 55 if (likely(state == SYSCALL_DISPATCH_FILTER_ALLOW)) in syscall_user_dispatch()
|
/linux/drivers/scsi/bnx2fc/ |
A D | bnx2fc_debug.c | 22 if (likely(!(bnx2fc_debug_level & LOG_IO))) in BNX2FC_IO_DBG() 46 if (likely(!(bnx2fc_debug_level & LOG_TGT))) in BNX2FC_TGT_DBG() 70 if (likely(!(bnx2fc_debug_level & LOG_HBA))) in BNX2FC_HBA_DBG()
|
/linux/drivers/gpu/drm/ |
A D | drm_vma_manager.c | 151 while (likely(iter)) { in drm_vma_offset_lookup_locked() 280 while (likely(*iter)) { in drm_vma_node_allow() 334 while (likely(iter)) { in drm_vma_node_revoke() 375 while (likely(iter)) { in drm_vma_node_is_allowed()
|
/linux/drivers/sh/clk/ |
A D | core.c | 245 if (likely(allow_disable && clk->ops && clk->ops->disable)) in __clk_disable() 247 if (likely(clk->parent)) in __clk_disable() 490 if (likely(clk->ops && clk->ops->set_rate)) { in clk_set_rate() 557 if (likely(clk->ops && clk->ops->round_rate)) { in clk_round_rate() 577 if (likely(clkp->usecount && clkp->ops)) { in clks_core_resume() 580 if (likely(clkp->ops->set_parent)) in clks_core_resume() 583 if (likely(clkp->ops->set_rate)) in clks_core_resume() 585 else if (likely(clkp->ops->recalc)) in clks_core_resume()
|