Home
last modified time | relevance | path

Searched full:likely (Results 1 – 25 of 4809) sorted by relevance

12345678910>>...193

/kernel/linux/linux-6.6/drivers/scsi/qedi/
Dqedi_dbg.c22 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()
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_dbg.c22 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()
/kernel/linux/linux-5.10/drivers/scsi/qedf/
Dqedf_dbg.c21 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()
/kernel/linux/linux-6.6/drivers/scsi/qedf/
Dqedf_dbg.c21 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/
Dobject.c104 if (likely(object->func->mthd)) in nvkm_object_mthd()
113 if (likely(object->func->ntfy)) in nvkm_object_ntfy()
122 if (likely(object->func->map)) in nvkm_object_map()
130 if (likely(object->func->unmap)) in nvkm_object_unmap()
138 if (likely(object->func->rd08)) in nvkm_object_rd08()
146 if (likely(object->func->rd16)) in nvkm_object_rd16()
154 if (likely(object->func->rd32)) in nvkm_object_rd32()
162 if (likely(object->func->wr08)) in nvkm_object_wr08()
170 if (likely(object->func->wr16)) in nvkm_object_wr16()
178 if (likely(object->func->wr32)) in nvkm_object_wr32()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/
Dobject.c90 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()
/kernel/linux/linux-6.6/arch/mips/include/asm/octeon/
Dcvmx-cmd-queue.h335 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 …]
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-cmd-queue.h335 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 …]
/kernel/linux/linux-5.10/include/asm-generic/
Dqrwlock.h43 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()
/kernel/linux/linux-6.6/include/asm-generic/
Dqrwlock.h49 if (likely(!(cnts & _QW_WMASK))) { in queued_read_trylock()
51 if (likely(!(cnts & _QW_WMASK))) in queued_read_trylock()
71 return likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, in queued_write_trylock()
83 if (likely(!(cnts & _QW_WMASK))) in queued_read_lock()
98 if (likely(atomic_try_cmpxchg_acquire(&lock->cnts, &cnts, _QW_LOCKED))) in queued_write_lock()
/kernel/linux/linux-6.6/include/linux/
Dindirect_call_wrapper.h19 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__) : \
/kernel/linux/linux-5.10/include/linux/
Dindirect_call_wrapper.h19 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__) : \
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
Dbase.c33 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()
73 intr = 0; /* likely fallen off the bus */ in nvkm_mc_intr_stat()
123 if (likely(mc)) { in nvkm_mc_reset_mask()
/kernel/linux/linux-5.10/lib/lzo/
Dlzo1x_decompress_safe.c58 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()
/kernel/linux/linux-6.6/lib/lzo/
Dlzo1x_decompress_safe.c58 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()
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/skylakex/
Dother.json92 …hat are dropped and not written back to L3 as they are deemed to be less likely to be reused short…
95 …hat are dropped and not written back to L3 as they are deemed to be less likely to be reused short…
100 …e allocated and written back to L3 with the intention that they are more likely to be reused short…
103 …e allocated and written back to L3 with the intention that they are more likely to be reused short…
/kernel/linux/linux-5.10/net/core/
Dlwtunnel.c122 if (likely(ops && ops->build_state && try_module_get(ops->owner))) in lwtunnel_build_state()
248 if (likely(ops && ops->fill_encap)) in lwtunnel_fill_encap()
282 if (likely(ops && ops->get_encap_size)) in lwtunnel_get_encap_size()
310 if (likely(ops && ops->cmp_encap)) in lwtunnel_cmp_encap()
336 if (likely(ops && ops->output)) in lwtunnel_output()
371 if (likely(ops && ops->xmit)) in lwtunnel_xmit()
405 if (likely(ops && ops->input)) in lwtunnel_input()
Dtimestamping.c15 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()
/kernel/linux/linux-5.10/kernel/locking/
Dsemaphore.c58 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()
/kernel/linux/linux-6.6/net/core/
Dtimestamping.c15 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()
Dlwtunnel.c132 if (likely(ops && ops->build_state && try_module_get(ops->owner))) in lwtunnel_build_state()
258 if (likely(ops && ops->fill_encap)) in lwtunnel_fill_encap()
292 if (likely(ops && ops->get_encap_size)) in lwtunnel_get_encap_size()
320 if (likely(ops && ops->cmp_encap)) in lwtunnel_cmp_encap()
356 if (likely(ops && ops->output)) { in lwtunnel_output()
404 if (likely(ops && ops->xmit)) { in lwtunnel_xmit()
451 if (likely(ops && ops->input)) { in lwtunnel_input()
/kernel/linux/linux-6.6/fs/hpfs/
Dbuffer.c135 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()
/kernel/linux/linux-5.10/fs/hpfs/
Dbuffer.c135 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()
/kernel/linux/linux-6.6/kernel/locking/
Dsemaphore.c60 if (likely(sem->count > 0)) in down()
84 if (likely(sem->count > 0)) in down_interruptible()
111 if (likely(sem->count > 0)) in down_killable()
141 if (likely(count >= 0)) in down_trylock()
166 if (likely(sem->count > 0)) in down_timeout()
188 if (likely(list_empty(&sem->wait_list))) in up()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c54 if (likely(rq->mpwqe.umr_mode == MLX5E_MPWRQ_UMR_MODE_ALIGNED)) { in mlx5e_xsk_alloc_rx_mpwqe()
75 } else if (likely(rq->mpwqe.umr_mode == MLX5E_MPWRQ_UMR_MODE_TRIPLE)) { in mlx5e_xsk_alloc_rx_mpwqe()
131 if (likely(rq->mpwqe.umr_mode == MLX5E_MPWRQ_UMR_MODE_ALIGNED)) in mlx5e_xsk_alloc_rx_mpwqe()
176 if (likely(alloc == contig)) in mlx5e_xsk_alloc_rx_wqes_batched()
292 if (likely(prog && mlx5e_xdp_handle(rq, prog, mxbuf))) { in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
293 if (likely(__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags))) in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
326 if (likely(prog && mlx5e_xdp_handle(rq, prog, mxbuf))) { in mlx5e_xsk_skb_from_cqe_linear()
327 if (likely(__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags))) in mlx5e_xsk_skb_from_cqe_linear()

12345678910>>...193