/Linux-v5.4/arch/mips/include/asm/octeon/ |
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() 356 if (likely(qptr->index + cmd_count < qptr->pool_size_m1)) { 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() 454 if (likely(qptr->index + 2 < qptr->pool_size_m1)) { in cvmx_cmd_queue_write2() 477 if (likely(use_locking)) in cvmx_cmd_queue_write2() 487 if (likely(count)) in cvmx_cmd_queue_write2() [all …]
|
/Linux-v5.4/drivers/scsi/qedi/ |
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-v5.4/drivers/scsi/qedf/ |
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-v5.4/include/asm-generic/ |
D | qrwlock.h | 43 if (likely(!(cnts & _QW_WMASK))) { in queued_read_trylock() 45 if (likely(!(cnts & _QW_WMASK))) in queued_read_trylock() 65 return likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, in queued_write_trylock() 77 if (likely(!(cnts & _QW_WMASK))) in queued_read_lock() 92 if (likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED))) in queued_write_lock()
|
/Linux-v5.4/kernel/locking/ |
D | semaphore.c | 58 if (likely(sem->count > 0)) in down() 81 if (likely(sem->count > 0)) in down_interruptible() 107 if (likely(sem->count > 0)) in down_killable() 137 if (likely(count >= 0)) in down_trylock() 161 if (likely(sem->count > 0)) in down_timeout() 183 if (likely(list_empty(&sem->wait_list))) in up()
|
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-v5.4/drivers/gpu/drm/nouveau/nvkm/core/ |
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-v5.4/lib/lzo/ |
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-v5.4/arch/mips/include/asm/ |
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-v5.4/net/llc/ |
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-v5.4/arch/mips/loongson64/lemote-2f/ |
D | clock.c | 61 if (likely(clkp->parent != clk)) in propagate_rate() 63 if (likely(clkp->ops && clkp->ops->recalc)) in propagate_rate() 102 if (likely(clk->ops && clk->ops->set_rate)) { in clk_set_rate() 131 if (likely(clk->ops && clk->ops->round_rate)) { in clk_round_rate()
|
/Linux-v5.4/net/core/ |
D | timestamping.c | 15 if (likely(skb->dev && skb->dev->phydev && in classify() 36 if (likely(phydev->drv->txtstamp)) { in skb_clone_tx_timestamp() 66 if (likely(phydev->drv->rxtstamp)) in skb_defer_rx_timestamp()
|
D | lwtunnel.c | 120 if (likely(ops && ops->build_state && try_module_get(ops->owner))) in lwtunnel_build_state() 242 if (likely(ops && ops->fill_encap)) in lwtunnel_fill_encap() 276 if (likely(ops && ops->get_encap_size)) in lwtunnel_get_encap_size() 304 if (likely(ops && ops->cmp_encap)) in lwtunnel_cmp_encap() 330 if (likely(ops && ops->output)) in lwtunnel_output() 365 if (likely(ops && ops->xmit)) in lwtunnel_xmit() 399 if (likely(ops && ops->input)) in lwtunnel_input()
|
/Linux-v5.4/fs/ntfs/ |
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() 548 for (dend = 0; likely(drl[dend].length); dend++) in ntfs_runlists_merge() 1007 for (i = 0; likely(rl[i].length); i++) { in ntfs_rl_vcn_to_lcn() 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() 1046 if (likely(rl->lcn >= LCN_HOLE)) in ntfs_rl_find_vcn_nolock() [all …]
|
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 …]
|
/Linux-v5.4/arch/openrisc/mm/ |
D | ioremap.c | 56 if (likely(mem_init_done)) { in ioremap() 70 if (likely(mem_init_done)) in ioremap() 121 if (likely(mem_init_done)) { in pte_alloc_one_kernel()
|
/Linux-v5.4/fs/hpfs/ |
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-v5.4/drivers/scsi/bnx2fc/ |
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-v5.4/arch/powerpc/include/asm/ |
D | spinlock.h | 144 if (likely(__arch_spin_trylock(lock) == 0)) in arch_spin_lock() 161 if (likely(__arch_spin_trylock(lock) == 0)) in arch_spin_lock_flags() 253 if (likely(__arch_read_trylock(rw) > 0)) in arch_read_lock() 267 if (likely(__arch_write_trylock(rw) == 0)) in arch_write_lock()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
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() 123 if (likely(mc)) { in nvkm_mc_reset_mask()
|
/Linux-v5.4/lib/vdso/ |
D | gettimeofday.c | 99 if (likely(msk & VDSO_HRES)) { in __cvdso_clock_gettime_common() 136 if (likely(!ret)) { in __cvdso_clock_gettime32() 148 if (likely(tv != NULL)) { in __cvdso_gettimeofday() 217 if (likely(res)) { in __cvdso_clock_getres_common() 249 if (likely(!ret && res)) { in __cvdso_clock_getres_time32()
|
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_irq.c | 88 if (likely(status)) in vmw_irq_handler() 136 if (likely(dev_priv->last_read_seqno - seqno < VMW_FENCE_WRAP)) in vmw_seqno_passed() 141 if (likely(dev_priv->last_read_seqno - seqno < VMW_FENCE_WRAP)) in vmw_seqno_passed() 292 if (likely(dev_priv->last_read_seqno - seqno < VMW_FENCE_WRAP)) in vmw_wait_seqno() 295 if (likely(vmw_seqno_passed(dev_priv, seqno))) in vmw_wait_seqno() 325 else if (likely(ret > 0)) in vmw_wait_seqno()
|
/Linux-v5.4/drivers/misc/cb710/ |
D | sgbuf2.c | 63 if (likely(len >= 4 && !needs_unaligned_copy( in sg_dwiter_get_next_block() 94 if (likely(sg_dwiter_get_next_block(miter, &ptr))) in cb710_sg_dwiter_read_next_block() 134 if (likely(sg_dwiter_get_next_block(miter, &ptr))) { in cb710_sg_dwiter_write_next_block()
|
/Linux-v5.4/include/linux/ |
D | iversion.h | 133 if (likely(old == cur)) in inode_set_max_iversion_raw() 223 if (likely(old == cur)) in inode_maybe_inc_iversion() 324 if (likely(old == cur)) in inode_query_iversion()
|
/Linux-v5.4/drivers/gpu/drm/ |
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()
|