Searched refs:unlikely (Results 151 - 175 of 4103) sorted by relevance

1234567891011>>

/linux-master/arch/riscv/mm/
H A Dfault.c251 unlikely(addr >= VMALLOC_START && addr < VMALLOC_END)) {
264 if (unlikely(faulthandler_disabled() || !mm)) {
273 if (!user_mode(regs) && addr < TASK_SIZE && unlikely(!(regs->status & SR_SUM))) {
293 if (unlikely(access_error(cause, vma))) {
319 if (unlikely(!vma)) {
331 if (unlikely(access_error(cause, vma))) {
359 if (unlikely(fault & VM_FAULT_RETRY)) {
373 if (unlikely(fault & VM_FAULT_ERROR)) {
/linux-master/arch/riscv/kernel/
H A Dsys_riscv.c17 if (unlikely(offset & (~PAGE_MASK >> page_shift_offset)))
64 if (unlikely(flags & ~SYS_RISCV_FLUSH_ICACHE_ALL))
H A Dstacktrace.c47 if (unlikely(!__kernel_text_address(pc) || (level++ >= 0 && !fn(arg, pc))))
53 if (unlikely(fp < low || fp > high || fp & 0x7))
66 if (unlikely(!__kernel_text_address(pc) || !fn(arg, pc)))
97 if (unlikely(sp & 0x7))
102 if (__kernel_text_address(pc) && unlikely(!fn(arg, pc)))
/linux-master/kernel/trace/
H A Dtrace_seq.c35 if (unlikely(!s->seq.size))
93 if (unlikely(seq_buf_has_overflowed(&s->seq))) {
120 if (unlikely(seq_buf_has_overflowed(&s->seq))) {
151 if (unlikely(seq_buf_has_overflowed(&s->seq))) {
185 if (unlikely(seq_buf_has_overflowed(&s->seq))) {
302 if (unlikely(seq_buf_has_overflowed(&s->seq))) {
338 if (unlikely(seq_buf_has_overflowed(&s->seq))) {
399 if (unlikely(seq_buf_has_overflowed(&s->seq))) {
/linux-master/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_def.h29 if (unlikely(__cond)) \
41 if (unlikely(!(x))) { \
/linux-master/drivers/gpu/drm/
H A Ddrm_exec.c144 if (unlikely(exec->num_objects == exec->max_objects)) {
176 if (unlikely(ret))
183 if (unlikely(ret))
213 if (unlikely(ret))
227 if (unlikely(ret == -EDEADLK)) {
233 if (unlikely(ret == -EALREADY) &&
237 if (unlikely(ret))
331 if (unlikely(ret))
/linux-master/drivers/md/
H A Ddm-switch.c169 if (unlikely(path_nr >= sctx->nr_paths))
388 if (unlikely(*string == ',')) {
393 if (unlikely(*string != ',')) {
398 if (unlikely(!*string)) {
403 if (unlikely(*string)) {
408 if (unlikely(!cycle_length) || unlikely(cycle_length - 1 > region_index)) {
413 if (unlikely(region_index + num_write < region_index) ||
414 unlikely(region_index + num_write >= sctx->nr_regions)) {
433 if (unlikely(*strin
[all...]
/linux-master/arch/powerpc/mm/
H A Dfault.c263 if (unlikely(!(vma->vm_flags & VM_WRITE)))
274 if (unlikely(!vma_is_accessible(vma)))
418 if (unlikely(debugger_fault_handler(regs) || kprobe_fault))
421 if (unlikely(page_fault_is_bad(error_code))) {
437 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) {
448 if (unlikely(faulthandler_disabled() || !mm)) {
480 if (unlikely(access_pkey_error(is_write, is_exec,
486 if (unlikely(access_error(is_write, is_exec, vma))) {
519 if (unlikely(!vma))
522 if (unlikely(access_pkey_erro
[all...]
/linux-master/net/psample/
H A Dpsample.c401 if (unlikely(!nl_skb))
406 if (unlikely(!data))
411 if (unlikely(ret < 0))
417 if (unlikely(ret < 0))
422 if (unlikely(ret < 0))
426 if (unlikely(ret < 0))
430 if (unlikely(ret < 0))
434 if (unlikely(ret < 0))
439 if (unlikely(ret < 0))
446 if (unlikely(re
[all...]
/linux-master/tools/testing/scatterlist/linux/
H A Dmm.h13 #define unlikely macro
19 unlikely(__ret_warn_on); \
24 if (unlikely(__ret_warn_on)) \
26 unlikely(__ret_warn_on); \
134 #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO)
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Den_accel.h129 if (unlikely(!mlx5e_ktls_handle_tx_skb(dev, sq, skb,
136 if (unlikely(!mlx5e_ipsec_handle_tx_skb(dev, skb, &state->ipsec)))
142 if (unlikely(mlx5e_macsec_skb_is_offload(skb))) {
145 if (unlikely(!mlx5e_macsec_handle_tx_skb(priv->macsec, skb)))
177 if (unlikely(mlx5e_macsec_skb_is_offload(skb)))
/linux-master/include/linux/sunrpc/
H A Dxdr.h327 if (unlikely(xdr->scratch.iov_len))
400 if (unlikely(!p))
419 if (unlikely(!p))
453 if (unlikely(!p))
474 if (unlikely(!p))
495 if (unlikely(!p))
516 if (unlikely(!p))
538 if (unlikely(!p)) {
562 if (unlikely(!p))
584 if (unlikely(!
[all...]
/linux-master/arch/powerpc/mm/book3s64/
H A Dhugetlbpage.c51 if (unlikely(old_pte & H_PAGE_BUSY))
54 if (unlikely(!check_pte_access(access, old_pte)))
71 if (unlikely(mmu_psize == MMU_PAGE_16G))
85 if (unlikely(old_pte & H_PAGE_HASHPTE)) {
110 if (unlikely(slot == -2)) {
/linux-master/net/ife/
H A Dife.c47 if (unlikely(err))
79 if (unlikely(ifehdrln < 2))
82 if (unlikely(!pskb_may_pull(skb, total_pull)))
105 if (unlikely(skbdata + sizeof(*tlv) > ifehdr_end))
119 if (unlikely(skbdata + NLA_ALIGN(tlvlen) > ifehdr_end))
/linux-master/io_uring/
H A Dfiletable.c43 if (unlikely(!table->files))
47 if (unlikely(!table->bitmap)) {
104 if (unlikely(ret < 0))
130 if (unlikely(ret < 0))
140 if (unlikely(!ctx->file_data))
/linux-master/net/dsa/
H A Dtag_rtl8_4.c163 if (unlikely(etype != ETH_P_REALTEK)) {
171 if (unlikely(proto != RTL8_4_PROTOCOL_RTL8365MB)) {
200 if (unlikely(!pskb_may_pull(skb, RTL8_4_TAG_LEN)))
203 if (unlikely(rtl8_4_read_tag(skb, dev, dsa_etype_header_pos_rx(skb))))
220 if (unlikely(rtl8_4_read_tag(skb, dev, skb_tail_pointer(skb) - RTL8_4_TAG_LEN)))
/linux-master/include/linux/
H A Drefcount.h152 if (unlikely(old < 0 || old + i < 0))
189 if (unlikely(!old))
191 else if (unlikely(old < 0 || old + i < 0))
274 if (unlikely(old < 0 || old - i < 0))
335 if (unlikely(old <= 1))
/linux-master/arch/sh/kernel/cpu/sh4/
H A Dsq.c153 if (unlikely(!size || end < phys))
156 if (unlikely(phys < virt_to_phys(high_memory)))
163 if (unlikely(!map))
172 if (unlikely(page < 0)) {
180 if (unlikely(ret != 0))
216 if (unlikely(!map)) {
346 if (unlikely(!sq_kobject[cpu]))
381 if (unlikely(!sq_cache))
385 if (unlikely(!sq_bitmap))
389 if (unlikely(re
[all...]
/linux-master/arch/sh/mm/
H A Dfault.c46 if (unlikely(!pgd))
362 if (unlikely(!(vma->vm_flags & VM_WRITE)))
368 if (unlikely((error_code & FAULT_CODE_ITLB) &&
373 if (unlikely(!vma_is_accessible(vma)))
413 if (unlikely(fault_in_kernel_space(address))) {
423 if (unlikely(kprobe_page_fault(regs, vec)))
436 if (unlikely(faulthandler_disabled() || !mm)) {
443 if (unlikely(!vma)) {
452 if (unlikely(access_error(error_code, vma))) {
471 if (unlikely(faul
[all...]
/linux-master/drivers/scsi/csiostor/
H A Dcsio_isr.c51 if (unlikely(!hw))
54 if (unlikely(pci_channel_offline(hw->pdev))) {
112 if (unlikely(!hw))
115 if (unlikely(pci_channel_offline(hw->pdev))) {
157 if (unlikely(*scsiwr == FW_SCSI_ABRT_CLS_WR)) {
185 if (unlikely(cmnd == NULL))
190 if (unlikely(cmnd == NULL))
223 if (unlikely(csio_wr_process_iq(hw, iq, csio_process_scsi_cmpl,
233 if (unlikely(ioreq->dcopy))
261 if (unlikely(!i
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_mob.c136 if (unlikely(mob == NULL)) {
146 if (unlikely(ret != 0))
154 if (unlikely(cmd == NULL)) {
209 if (unlikely(cmd == NULL))
258 if (unlikely(ret != 0))
270 if (unlikely(ret != 0))
322 if (unlikely(ret != 0))
396 if (unlikely(!mob))
476 if (unlikely(--num_data_pages == 0))
615 if (unlikely(!vmw_piter_nex
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Drx.c79 if (unlikely(skb == NULL)) {
137 } else if (unlikely(n_frags > EFX_RX_MAX_FRAGS) ||
138 unlikely(len <= (n_frags - 1) * efx->rx_dma_len) ||
139 unlikely(len > n_frags * efx->rx_dma_len) ||
140 unlikely(!efx->rx_scatter)) {
158 if (unlikely(rx_buf->flags & EFX_RX_PKT_DISCARD)) {
216 if (unlikely(skb == NULL)) {
269 if (unlikely(channel->rx_pkt_n_frags > 1)) {
314 if (unlikely(err != 1)) {
328 if (unlikely(er
[all...]
/linux-master/fs/
H A Dfile_table.c69 if (unlikely(f->f_mode & FMODE_BACKING)) {
153 if (unlikely(error)) {
203 if (unlikely(!f))
207 if (unlikely(error)) {
237 if (unlikely(!f))
241 if (unlikely(error)) {
264 if (unlikely(!ff))
268 if (unlikely(error)) {
403 if (unlikely(!(file->f_mode & FMODE_OPENED)))
417 if (unlikely(fil
[all...]
/linux-master/mm/kasan/
H A Dgeneric.c49 if (unlikely(shadow_value)) {
51 return unlikely(last_accessible_byte >= shadow_value);
66 if (unlikely((((unsigned long)addr + size - 1) & KASAN_GRANULE_MASK) < size - 1))
77 if (unlikely(!IS_ALIGNED((unsigned long)addr, KASAN_GRANULE_SIZE)))
87 if (unlikely(*start))
109 if (unlikely(ret))
116 if (unlikely(*(u64 *)start))
132 if (unlikely(ret)) {
137 if (unlikely(ret != (unsigned long)last_shadow ||
171 if (unlikely(siz
[all...]
/linux-master/drivers/infiniband/sw/siw/
H A Dsiw_qp_rx.c40 if (unlikely(!p)) {
60 if (unlikely(rv)) {
111 if (unlikely(rv)) {
190 if (unlikely(srx->ddp_stag != sink_stag)) {
196 if (unlikely(srx->ddp_to != sink_to)) {
203 if (unlikely(!frx->more_ddp_segs &&
243 if (unlikely(srx->ddp_stag != sink_stag)) {
250 if (unlikely(srx->ddp_to != sink_to)) {
288 if (unlikely(ddp_qn != RDMAP_UNTAGGED_QN_SEND)) {
294 if (unlikely(ddp_ms
[all...]

Completed in 211 milliseconds

1234567891011>>