/linux-4.4.14/include/asm-generic/ |
D | bug.h | 55 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) 87 if (unlikely(__ret_warn_on)) \ 89 unlikely(__ret_warn_on); \ 96 if (unlikely(__ret_warn_on)) \ 98 unlikely(__ret_warn_on); \ 104 if (unlikely(__ret_warn_on)) \ 106 unlikely(__ret_warn_on); \ 110 static bool __section(.data.unlikely) __warned; \ 113 if (unlikely(__ret_warn_once)) \ 116 unlikely(__ret_warn_once); \ [all …]
|
D | mutex-xchg.h | 28 if (unlikely(atomic_xchg(count, 0) != 1)) in __mutex_fastpath_lock() 49 if (unlikely(atomic_xchg_acquire(count, 0) != 1)) in __mutex_fastpath_lock_retval() 70 if (unlikely(atomic_xchg_release(count, 1) != 0)) in __mutex_fastpath_unlock() 96 if (unlikely(prev < 0)) { in __mutex_fastpath_trylock()
|
D | mutex-dec.h | 23 if (unlikely(atomic_dec_return_acquire(count) < 0)) in __mutex_fastpath_lock() 38 if (unlikely(atomic_dec_return_acquire(count) < 0)) in __mutex_fastpath_lock_retval() 59 if (unlikely(atomic_inc_return_release(count) <= 0)) in __mutex_fastpath_unlock()
|
D | rwsem.h | 36 if (unlikely(atomic_long_inc_return_acquire((atomic_long_t *)&sem->count) <= 0)) in __down_read() 62 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS)) in __down_write_nested() 88 if (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) == 0)) in __up_read() 97 if (unlikely(atomic_long_sub_return_release(RWSEM_ACTIVE_WRITE_BIAS, in __up_write()
|
D | futex.h | 44 if (unlikely(get_user(oldval, uaddr) != 0)) in futex_atomic_op_inuser() 70 if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) in futex_atomic_op_inuser() 111 if (unlikely(get_user(val, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic() 116 if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/lib/ |
D | asn1_decoder.c | 69 if (unlikely(datalen - dp < 2)) { in asn1_find_indefinite_length() 89 if (unlikely((tag & 0x1f) == ASN1_LONG_TAG)) { in asn1_find_indefinite_length() 91 if (unlikely(datalen - dp < 2)) in asn1_find_indefinite_length() 104 if (unlikely(len == ASN1_INDEFINITE_LENGTH)) { in asn1_find_indefinite_length() 106 if (unlikely((tag & ASN1_CONS_BIT) == ASN1_PRIM << 5)) in asn1_find_indefinite_length() 113 if (unlikely(n > sizeof(size_t) - 1)) in asn1_find_indefinite_length() 115 if (unlikely(n > datalen - dp)) in asn1_find_indefinite_length() 204 if (unlikely(pc >= machlen)) in asn1_ber_decoder() 207 if (unlikely(pc + asn1_op_lengths[op] > machlen)) in asn1_ber_decoder() 228 if (unlikely(dp >= datalen - 1)) in asn1_ber_decoder() [all …]
|
D | syscall.c | 11 if (unlikely(!regs)) in collect_syscall() 57 if (unlikely(maxargs > 6)) in task_current_syscall() 64 if (unlikely(!state)) in task_current_syscall() 68 if (unlikely(!ncsw) || in task_current_syscall() 69 unlikely(collect_syscall(target, callno, args, maxargs, sp, pc)) || in task_current_syscall() 70 unlikely(wait_task_inactive(target, state) != ncsw)) in task_current_syscall()
|
D | iov_iter.c | 22 while (unlikely(!left && n)) { \ 25 if (unlikely(!__v.iov_len)) \ 46 while (unlikely(n)) { \ 49 if (unlikely(!__v.iov_len)) \ 70 while (unlikely(n)) { \ 73 if (unlikely(!__v.bv_len)) \ 86 if (unlikely(i->type & ITER_BVEC)) { \ 90 } else if (unlikely(i->type & ITER_KVEC)) { \ 103 if (unlikely(i->type & ITER_BVEC)) { \ 113 } else if (unlikely(i->type & ITER_KVEC)) { \ [all …]
|
D | stmp_device.c | 49 if (unlikely(ret)) in stmp_reset_block() 62 if (unlikely(!timeout)) in stmp_reset_block() 67 if (unlikely(ret)) in stmp_reset_block() 72 if (unlikely(ret)) in stmp_reset_block()
|
D | strnlen_user.c | 48 if (unlikely(__get_user(c,(unsigned long __user *)src))) in do_strnlen_user() 61 if (unlikely(max <= sizeof(unsigned long))) in do_strnlen_user() 64 if (unlikely(__get_user(c,(unsigned long __user *)(src+res)))) in do_strnlen_user() 108 if (unlikely(count <= 0)) in strnlen_user()
|
D | is_single_threaded.c | 34 if (unlikely(p->flags & PF_KTHREAD)) in current_is_single_threaded() 36 if (unlikely(p == task->group_leader)) in current_is_single_threaded() 40 if (unlikely(t->mm == mm)) in current_is_single_threaded()
|
D | strncpy_from_user.c | 42 if (unlikely(__get_user(c,(unsigned long __user *)(src+res)))) in do_strncpy_from_user() 58 if (unlikely(__get_user(c,src+res))) in do_strncpy_from_user() 103 if (unlikely(count <= 0)) in strncpy_from_user()
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
D | enh_desc.c | 35 if (unlikely(p->des01.etx.error_summary)) { in enh_desc_get_tx_status() 36 if (unlikely(p->des01.etx.jabber_timeout)) in enh_desc_get_tx_status() 39 if (unlikely(p->des01.etx.frame_flushed)) { in enh_desc_get_tx_status() 44 if (unlikely(p->des01.etx.loss_carrier)) { in enh_desc_get_tx_status() 48 if (unlikely(p->des01.etx.no_carrier)) { in enh_desc_get_tx_status() 52 if (unlikely(p->des01.etx.late_collision)) in enh_desc_get_tx_status() 55 if (unlikely(p->des01.etx.excessive_collisions)) in enh_desc_get_tx_status() 58 if (unlikely(p->des01.etx.excessive_deferral)) in enh_desc_get_tx_status() 61 if (unlikely(p->des01.etx.underflow_error)) { in enh_desc_get_tx_status() 66 if (unlikely(p->des01.etx.ip_header_error)) in enh_desc_get_tx_status() [all …]
|
D | norm_desc.c | 35 if (unlikely(p->des01.tx.error_summary)) { in ndesc_get_tx_status() 36 if (unlikely(p->des01.tx.underflow_error)) { in ndesc_get_tx_status() 40 if (unlikely(p->des01.tx.no_carrier)) { in ndesc_get_tx_status() 44 if (unlikely(p->des01.tx.loss_carrier)) { in ndesc_get_tx_status() 48 if (unlikely((p->des01.tx.excessive_deferral) || in ndesc_get_tx_status() 58 if (unlikely(p->des01.tx.deferred)) in ndesc_get_tx_status() 79 if (unlikely(p->des01.rx.last_descriptor == 0)) { in ndesc_get_rx_status() 86 if (unlikely(p->des01.rx.error_summary)) { in ndesc_get_rx_status() 87 if (unlikely(p->des01.rx.descriptor_error)) in ndesc_get_rx_status() 89 if (unlikely(p->des01.rx.sa_filter_fail)) in ndesc_get_rx_status() [all …]
|
D | dwmac_lib.c | 157 if (unlikely(intr_status & DMA_STATUS_AIS)) { in dwmac_dma_interrupt() 158 if (unlikely(intr_status & DMA_STATUS_UNF)) { in dwmac_dma_interrupt() 162 if (unlikely(intr_status & DMA_STATUS_TJT)) in dwmac_dma_interrupt() 165 if (unlikely(intr_status & DMA_STATUS_OVF)) in dwmac_dma_interrupt() 168 if (unlikely(intr_status & DMA_STATUS_RU)) in dwmac_dma_interrupt() 170 if (unlikely(intr_status & DMA_STATUS_RPS)) in dwmac_dma_interrupt() 172 if (unlikely(intr_status & DMA_STATUS_RWT)) in dwmac_dma_interrupt() 174 if (unlikely(intr_status & DMA_STATUS_ETI)) in dwmac_dma_interrupt() 176 if (unlikely(intr_status & DMA_STATUS_TPS)) { in dwmac_dma_interrupt() 180 if (unlikely(intr_status & DMA_STATUS_FBI)) { in dwmac_dma_interrupt() [all …]
|
/linux-4.4.14/arch/microblaze/mm/ |
D | fault.c | 101 if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) { in do_page_fault() 110 if (unlikely(faulthandler_disabled() || !mm)) { in do_page_fault() 141 if (unlikely(!down_read_trylock(&mm->mmap_sem))) { in do_page_fault() 150 if (unlikely(!vma)) in do_page_fault() 156 if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) in do_page_fault() 159 if (unlikely(!is_write)) in do_page_fault() 171 if (unlikely(address + 0x100000 < vma->vm_end)) { in do_page_fault() 201 if (unlikely(is_write)) { in do_page_fault() 202 if (unlikely(!(vma->vm_flags & VM_WRITE))) in do_page_fault() 208 if (unlikely(error_code & 0x08000000)) in do_page_fault() [all …]
|
/linux-4.4.14/net/caif/ |
D | cfpkt_skbuff.c | 89 if (unlikely(skb == NULL)) in cfpkt_create_pfx() 128 if (unlikely(is_erronous(pkt))) in cfpkt_extr_head() 131 if (unlikely(len > skb->len)) { in cfpkt_extr_head() 136 if (unlikely(len > skb_headlen(skb))) { in cfpkt_extr_head() 137 if (unlikely(skb_linearize(skb) != 0)) { in cfpkt_extr_head() 155 if (unlikely(is_erronous(pkt))) in cfpkt_extr_trail() 158 if (unlikely(skb_linearize(skb) != 0)) { in cfpkt_extr_trail() 162 if (unlikely(skb->data + len > skb_tail_pointer(skb))) { in cfpkt_extr_trail() 185 if (unlikely(is_erronous(pkt))) in cfpkt_add_body() 191 if (unlikely(skb_tailroom(skb) < len)) { in cfpkt_add_body() [all …]
|
/linux-4.4.14/mm/kasan/ |
D | kasan.c | 74 if (unlikely(shadow_value)) { in memory_is_poisoned_1() 76 return unlikely(last_accessible_byte >= shadow_value); in memory_is_poisoned_1() 86 if (unlikely(*shadow_addr)) { in memory_is_poisoned_2() 98 return unlikely(*(u8 *)shadow_addr); in memory_is_poisoned_2() 108 if (unlikely(*shadow_addr)) { in memory_is_poisoned_4() 120 return unlikely(*(u8 *)shadow_addr); in memory_is_poisoned_4() 130 if (unlikely(*shadow_addr)) { in memory_is_poisoned_8() 142 return unlikely(*(u8 *)shadow_addr); in memory_is_poisoned_8() 152 if (unlikely(*shadow_addr)) { in memory_is_poisoned_16() 155 if (unlikely(shadow_first_bytes)) in memory_is_poisoned_16() [all …]
|
/linux-4.4.14/fs/nfs/ |
D | callback_xdr.c | 80 if (unlikely(p == NULL)) in read_buf() 90 if (unlikely(p == NULL)) in decode_string() 96 if (unlikely(p == NULL)) in decode_string() 110 if (unlikely(p == NULL)) in decode_fh() 116 if (unlikely(p == NULL)) in decode_fh() 129 if (unlikely(p == NULL)) in decode_bitmap() 133 if (unlikely(p == NULL)) in decode_bitmap() 147 if (unlikely(p == NULL)) in decode_stateid() 159 if (unlikely(status != 0)) in decode_compound_hdr_arg() 168 if (unlikely(p == NULL)) in decode_compound_hdr_arg() [all …]
|
D | nfs3xdr.c | 153 if (unlikely(p == NULL)) in decode_uint32() 167 if (unlikely(p == NULL)) in decode_uint64() 213 if (unlikely(p == NULL)) in decode_inline_filename3() 219 if (unlikely(p == NULL)) in decode_inline_filename3() 251 if (unlikely(p == NULL)) in decode_nfspath3() 254 if (unlikely(count >= xdr->buf->page_len || count > NFS3_MAXPATHLEN)) in decode_nfspath3() 257 if (unlikely(count > recvd)) in decode_nfspath3() 305 if (unlikely(p == NULL)) in decode_cookieverf3() 332 if (unlikely(p == NULL)) in decode_writeverf3() 366 if (unlikely(p == NULL)) in decode_nfsstat3() [all …]
|
D | nfs2xdr.c | 112 if (unlikely(p == NULL)) in decode_nfsdata() 116 if (unlikely(count > recvd)) in decode_nfsdata() 159 if (unlikely(p == NULL)) in decode_stat() 184 if (unlikely(*type > NF2FIFO)) in xdr_decode_ftype() 207 if (unlikely(p == NULL)) in decode_fhandle() 284 if (unlikely(p == NULL)) in decode_fattr() 413 if (unlikely(p == NULL)) in decode_filename_inline() 419 if (unlikely(p == NULL)) in decode_filename_inline() 452 if (unlikely(p == NULL)) in decode_path() 455 if (unlikely(length >= xdr->buf->page_len || length > NFS_MAXPATHLEN)) in decode_path() [all …]
|
D | nfs4xdr.c | 3028 if (unlikely(!p)) in decode_opaque_inline() 3032 if (unlikely(!p)) in decode_opaque_inline() 3046 if (unlikely(!p)) in decode_compound_hdr() 3052 if (unlikely(!p)) in decode_compound_hdr() 3057 if (unlikely(hdr->nops < 1)) in decode_compound_hdr() 3073 if (unlikely(!p)) in __decode_op_hdr() 3076 if (unlikely(opnum != expected)) in __decode_op_hdr() 3124 if (unlikely(!p)) in decode_attr_bitmap() 3130 if (unlikely(!p)) in decode_attr_bitmap() 3151 if (unlikely(!p)) in decode_attr_length() [all …]
|
D | mount_clnt.c | 279 if (unlikely(status < 0)) in nfs_umount() 328 if (unlikely(p == NULL)) in decode_status() 350 if (unlikely(p == NULL)) in decode_fhandle() 365 if (unlikely(status != 0 || res->errno != 0)) in mnt_xdr_dec_mountres() 377 if (unlikely(p == NULL)) in decode_fhs_status() 400 if (unlikely(p == NULL)) in decode_fhandle3() 408 if (unlikely(p == NULL)) in decode_fhandle3() 427 if (unlikely(p == NULL)) in decode_auth_flavors() 435 if (unlikely(p == NULL)) in decode_auth_flavors() 457 if (unlikely(status != 0 || res->errno != 0)) in mnt_xdr_dec_mountres3() [all …]
|
/linux-4.4.14/include/linux/ |
D | audit.h | 153 if (unlikely(task->audit_context)) in audit_free() 160 if (unlikely(current->audit_context)) in audit_syscall_entry() 165 if (unlikely(current->audit_context)) { in audit_syscall_exit() 174 if (unlikely(!audit_dummy_context())) in audit_reusename() 180 if (unlikely(!audit_dummy_context())) in audit_getname() 186 if (unlikely(!audit_dummy_context())) { in audit_inode() 195 if (unlikely(!audit_dummy_context())) in audit_file() 201 if (unlikely(!audit_dummy_context())) in audit_inode_parent_hidden() 208 if (unlikely(!audit_dummy_context())) in audit_inode_child() 216 if (signr || unlikely(!audit_dummy_context())) in audit_seccomp() [all …]
|
D | dynamic_debug.h | 77 if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ 85 if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ 93 if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ 103 if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \
|
D | pagemap.h | 32 if (unlikely(error)) { in mapping_set_error() 171 if (unlikely(!get_page_unless_zero(page))) { in page_cache_get_speculative() 200 if (unlikely(!atomic_add_unless(&page->_count, count, 0))) in page_cache_add_speculative() 397 if (unlikely(PageHeadHuge(page))) in page_to_pgoff() 423 if (unlikely(is_vm_hugetlb_page(vma))) in linear_page_index() 553 if (unlikely(size == 0)) in fault_in_pages_writeable() 580 if (unlikely(size == 0)) in fault_in_pages_readable() 607 if (unlikely(size == 0)) in fault_in_multipages_writeable() 636 if (unlikely(size == 0)) in fault_in_multipages_readable() 676 if (unlikely(error)) in add_to_page_cache()
|
D | mmdebug.h | 21 if (unlikely(cond)) { \ 28 if (unlikely(cond)) { \ 35 if (unlikely(cond)) { \
|
/linux-4.4.14/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 78 if (unlikely(ret != 0)) in ttm_bo_vm_fault_idle() 111 if (unlikely(ret != 0)) { in ttm_bo_vm_fault() 161 if (unlikely(ret != 0)) { in ttm_bo_vm_fault() 167 if (unlikely(ret != 0)) { in ttm_bo_vm_fault() 172 if (unlikely(ret != 0)) { in ttm_bo_vm_fault() 182 if (unlikely(page_offset >= bo->num_pages)) { in ttm_bo_vm_fault() 219 if (unlikely(!page && i == 0)) { in ttm_bo_vm_fault() 222 } else if (unlikely(!page)) { in ttm_bo_vm_fault() 241 if (unlikely((ret == -EBUSY) || (ret != 0 && i > 0))) in ttm_bo_vm_fault() 243 else if (unlikely(ret != 0)) { in ttm_bo_vm_fault() [all …]
|
D | ttm_memory.c | 228 if (unlikely(ret != 0)) in ttm_shrink() 252 if (unlikely(!zone)) in ttm_mem_init_kernel_zone() 268 if (unlikely(ret != 0)) { in ttm_mem_init_kernel_zone() 288 if (unlikely(!zone)) in ttm_mem_init_highmem_zone() 305 if (unlikely(ret != 0)) { in ttm_mem_init_highmem_zone() 320 if (unlikely(!zone)) in ttm_mem_init_dma32_zone() 352 if (unlikely(ret != 0)) { in ttm_mem_init_dma32_zone() 373 if (unlikely(ret != 0)) { in ttm_mem_global_init() 381 if (unlikely(ret != 0)) in ttm_mem_global_init() 385 if (unlikely(ret != 0)) in ttm_mem_global_init() [all …]
|
D | ttm_object.c | 179 if (unlikely(ret != 0)) in ttm_base_object_init() 183 if (unlikely(ret != 0)) in ttm_base_object_init() 291 if (unlikely(drm_ht_find_item_rcu(ht, base->hash.key, &hash) != 0)) in ttm_ref_object_exists() 300 if (unlikely(base != ref->obj)) in ttm_ref_object_exists() 307 if (unlikely(atomic_read(&ref->kref.refcount) == 0)) in ttm_ref_object_exists() 350 if (unlikely(ret != 0)) in ttm_ref_object_add() 353 if (unlikely(ref == NULL)) { in ttm_ref_object_add() 420 if (unlikely(ret != 0)) { in ttm_ref_object_base_unref() 468 if (unlikely(tfile == NULL)) in ttm_object_file_init() 503 if (unlikely(tdev == NULL)) in ttm_object_device_init() [all …]
|
D | ttm_lock.c | 70 if (unlikely(lock->kill_takers)) { in __ttm_read_lock() 103 if (unlikely(lock->kill_takers)) { in __ttm_read_trylock() 131 if (unlikely(ret != 0)) { in ttm_read_trylock() 153 if (unlikely(lock->kill_takers)) { in __ttm_write_lock() 176 if (unlikely(ret != 0)) { in ttm_write_lock() 194 if (unlikely(!(lock->flags & TTM_VT_LOCK))) in __ttm_vt_unlock() 239 if (unlikely(ret != 0)) { in ttm_vt_lock()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_execbuf.c | 140 if (unlikely(val->staged_bindings)) { in vmw_resources_unreserve() 174 if (unlikely(ret != 0)) in vmw_cmd_ctx_first_setup() 230 if (unlikely(p_node != NULL)) in vmw_resource_val_add() 236 if (unlikely(node == NULL)) { in vmw_resource_val_add() 244 if (unlikely(ret != 0)) { in vmw_resource_val_add() 252 if (unlikely(p_node != NULL)) in vmw_resource_val_add() 366 if (unlikely(ret != 0)) in vmw_resource_context_res_add() 379 if (unlikely(res == NULL)) in vmw_resource_context_res_add() 388 if (unlikely(ret != 0)) in vmw_resource_context_res_add() 421 if (unlikely(rel == NULL)) { in vmw_resource_relocation_add() [all …]
|
D | vmwgfx_resource.c | 274 if (unlikely(res == NULL)) in vmw_resource_lookup() 306 if (unlikely(base == NULL)) in vmw_user_resource_lookup_handle() 309 if (unlikely(ttm_base_object_type(base) != converter->object_type)) in vmw_user_resource_lookup_handle() 379 if (unlikely(struct_size == 0)) { in vmw_dmabuf_acc_size() 443 if (unlikely(base == NULL)) in vmw_user_dmabuf_release() 492 if (unlikely(user_bo == NULL)) { in vmw_user_dmabuf_alloc() 502 if (unlikely(ret != 0)) in vmw_user_dmabuf_alloc() 513 if (unlikely(ret != 0)) { in vmw_user_dmabuf_alloc() 541 if (unlikely(bo->destroy != vmw_user_dmabuf_destroy)) in vmw_user_dmabuf_verify_access() 590 if (unlikely(ret != 0)) in vmw_user_dmabuf_synccpu_grab() [all …]
|
D | vmwgfx_surface.c | 327 if (unlikely(cmd == NULL)) { in vmw_hw_surface_destroy() 375 if (unlikely(dev_priv->used_memory_size + res->backup_size >= in vmw_legacy_srf_create() 384 if (unlikely(ret != 0)) { in vmw_legacy_srf_create() 389 if (unlikely(res->id >= SVGA3D_MAX_SURFACE_IDS)) { in vmw_legacy_srf_create() 400 if (unlikely(cmd == NULL)) { in vmw_legacy_srf_create() 453 if (unlikely(cmd == NULL)) { in vmw_legacy_srf_dma() 515 if (unlikely(readback)) in vmw_legacy_srf_unbind() 541 if (unlikely(cmd == NULL)) { in vmw_legacy_srf_destroy() 588 if (unlikely(ret != 0)) { in vmw_surface_init() 713 if (unlikely(vmw_user_surface_size == 0)) in vmw_surface_define_ioctl() [all …]
|
D | vmwgfx_mob.c | 129 if (unlikely(mob == NULL)) { in vmw_setup_otable_base() 142 if (unlikely(ret != 0)) in vmw_setup_otable_base() 150 if (unlikely(cmd == NULL)) { in vmw_setup_otable_base() 206 if (unlikely(cmd == NULL)) { in vmw_takedown_otable_base() 262 if (unlikely(ret != 0)) in vmw_otable_batch_setup() 268 if (unlikely(ret != 0)) in vmw_otable_batch_setup() 271 if (unlikely(ret != 0)) in vmw_otable_batch_setup() 284 if (unlikely(ret != 0)) in vmw_otable_batch_setup() 338 if (unlikely(ret != 0)) in vmw_otables_setup() 411 if (unlikely(mob == NULL)) in vmw_mob_create() [all …]
|
D | vmwgfx_context.c | 159 if (unlikely(cmd == NULL)) { in vmw_hw_context_destroy() 188 if (unlikely(ret != 0)) in vmw_gb_context_init() 212 if (unlikely(uctx->cotables[i] == NULL)) { in vmw_gb_context_init() 252 if (unlikely(ret != 0)) { in vmw_context_init() 257 if (unlikely(res->id >= SVGA3D_MAX_CONTEXT_IDS)) { in vmw_context_init() 264 if (unlikely(cmd == NULL)) { in vmw_context_init() 305 if (unlikely(ret != 0)) { in vmw_gb_context_create() 310 if (unlikely(res->id >= VMWGFX_NUM_GB_CONTEXT)) { in vmw_gb_context_create() 316 if (unlikely(cmd == NULL)) { in vmw_gb_context_create() 350 if (unlikely(cmd == NULL)) { in vmw_gb_context_bind() [all …]
|
D | vmwgfx_dmabuf.c | 54 if (unlikely(ret != 0)) in vmw_dmabuf_pin_in_placement() 60 if (unlikely(ret != 0)) in vmw_dmabuf_pin_in_placement() 96 if (unlikely(ret != 0)) in vmw_dmabuf_pin_in_vram_or_gmr() 102 if (unlikely(ret != 0)) in vmw_dmabuf_pin_in_vram_or_gmr() 173 if (unlikely(ret != 0)) in vmw_dmabuf_pin_in_start_of_vram() 178 if (unlikely(ret != 0)) in vmw_dmabuf_pin_in_start_of_vram() 225 if (unlikely(ret != 0)) in vmw_dmabuf_unpin() 229 if (unlikely(ret != 0)) in vmw_dmabuf_unpin()
|
D | vmwgfx_shader.c | 170 if (unlikely(ret != 0)) { in vmw_gb_shader_init() 210 if (unlikely(ret != 0)) { in vmw_gb_shader_create() 215 if (unlikely(res->id >= VMWGFX_NUM_GB_SHADER)) { in vmw_gb_shader_create() 221 if (unlikely(cmd == NULL)) { in vmw_gb_shader_create() 257 if (unlikely(cmd == NULL)) { in vmw_gb_shader_bind() 288 if (unlikely(cmd == NULL)) { in vmw_gb_shader_unbind() 331 if (unlikely(cmd == NULL)) { in vmw_gb_shader_destroy() 404 if (unlikely(cmd == NULL)) { in vmw_dx_shader_unscrub() 494 if (unlikely(cmd == NULL)) { in vmw_dx_shader_scrub() 738 if (unlikely(vmw_user_shader_size == 0)) in vmw_user_shader_alloc() [all …]
|
D | vmwgfx_drv.c | 326 if (unlikely(ret != 0)) in vmw_dummy_query_bo_create() 344 if (unlikely(ret != 0)) { in vmw_dummy_query_bo_create() 369 if (unlikely(ret != 0)) { in vmw_request_device_late() 395 if (unlikely(ret != 0)) { in vmw_request_device() 411 if (unlikely(ret != 0)) in vmw_request_device() 618 if (unlikely(dev_priv == NULL)) { in vmw_driver_load() 667 if (unlikely(ret != 0)) { in vmw_driver_load() 729 if (unlikely(ret != 0)) in vmw_driver_load() 748 if (unlikely(ret != 0)) in vmw_driver_load() 759 if (unlikely(dev_priv->mmio_virt == NULL)) { in vmw_driver_load() [all …]
|
D | vmwgfx_fence.c | 288 if (unlikely(fman == NULL)) in vmw_fence_manager_init() 336 if (unlikely(fman->fifo_down)) { in vmw_fence_obj_init() 479 if (unlikely(needs_rerun)) { in __vmw_fences_update() 545 if (unlikely(fence == NULL)) in vmw_fence_create() 550 if (unlikely(ret != 0)) in vmw_fence_create() 606 if (unlikely(ret != 0)) in vmw_user_fence_create() 610 if (unlikely(ufence == NULL)) { in vmw_user_fence_create() 617 if (unlikely(ret != 0)) { in vmw_user_fence_create() 632 if (unlikely(ret != 0)) { in vmw_user_fence_create() 679 if (unlikely(ret != 0)) { in vmw_fence_fifo_down() [all …]
|
D | vmwgfx_stdu.c | 205 if (unlikely(cmd == NULL)) { in vmw_stdu_define_st() 267 if (unlikely(cmd == NULL)) { in vmw_stdu_bind_st() 335 if (unlikely(cmd == NULL)) { in vmw_stdu_update_st() 368 if (unlikely(!stdu->defined)) in vmw_stdu_destroy_st() 373 if (unlikely(cmd == NULL)) { in vmw_stdu_destroy_st() 387 if (unlikely(ret != 0)) in vmw_stdu_destroy_st() 460 if (unlikely(ret != 0)) in vmw_stdu_crtc_set_config() 466 if (unlikely(ret != 0)) in vmw_stdu_crtc_set_config() 481 if (unlikely(ret != 0)) in vmw_stdu_crtc_set_config() 567 if (unlikely(ret != 0)) { in vmw_stdu_crtc_set_config() [all …]
|
D | vmwgfx_gmr.c | 55 if (unlikely(cmd == NULL)) in vmw_gmr2_bind() 114 if (unlikely(cmd == NULL)) { in vmw_gmr2_unbind() 137 if (unlikely(!vmw_piter_next(&data_iter))) in vmw_gmr_bind() 140 if (unlikely(!(dev_priv->capabilities & SVGA_CAP_GMR2))) in vmw_gmr_bind()
|
D | vmwgfx_gmrid_manager.c | 63 if (unlikely(gman->used_gmr_pages > gman->max_gmr_pages)) in vmw_gmrid_man_get_node() 69 if (unlikely(ida_pre_get(&gman->gmr_ida, GFP_KERNEL) == 0)) { in vmw_gmrid_man_get_node() 76 if (unlikely(ret == 0 && id >= gman->max_gmr_ids)) { in vmw_gmrid_man_get_node() 124 if (unlikely(gman == NULL)) in vmw_gmrid_man_init()
|
D | vmwgfx_ttm_glue.c | 36 if (unlikely(vma->vm_pgoff < VMWGFX_FILE_PAGE_OFFSET)) { in vmw_mmap() 69 if (unlikely(ret != 0)) { in vmw_ttm_global_init() 83 if (unlikely(ret != 0)) { in vmw_ttm_global_init()
|
D | vmwgfx_ioctl.c | 189 if (unlikely(arg->pad64 != 0)) { in vmw_get_cap_3d_ioctl() 206 if (unlikely(bounce == NULL)) { in vmw_get_cap_3d_ioctl() 228 if (unlikely(ret != 0)) in vmw_get_cap_3d_ioctl() 241 if (unlikely(ret != 0)) in vmw_get_cap_3d_ioctl() 266 if (unlikely(num_clips == 0)) in vmw_present_ioctl() 300 if (unlikely(ret != 0)) in vmw_present_ioctl() 349 if (unlikely(num_clips == 0)) in vmw_present_readback_ioctl() 389 if (unlikely(ret != 0)) in vmw_present_readback_ioctl()
|
D | vmwgfx_buffer.c | 374 if (unlikely(ret == 0)) in vmw_ttm_map_for_dma() 415 if (unlikely(!sgl_size)) { in vmw_ttm_map_dma() 422 if (unlikely(ret != 0)) in vmw_ttm_map_dma() 430 if (unlikely(ret != 0)) in vmw_ttm_map_dma() 443 if (unlikely(ret != 0)) in vmw_ttm_map_dma() 567 if (unlikely(ret != 0)) in vmw_ttm_bind() 578 if (unlikely(vmw_be->mob == NULL)) { in vmw_ttm_bind() 581 if (unlikely(vmw_be->mob == NULL)) in vmw_ttm_bind() 650 if (unlikely(ret != 0)) in vmw_ttm_populate() 654 if (unlikely(ret != 0)) in vmw_ttm_populate() [all …]
|
D | vmwgfx_scrn.c | 168 if (unlikely(cmd == NULL)) { in vmw_sou_fifo_create() 217 if (unlikely(!sou->defined)) in vmw_sou_fifo_destroy() 223 if (unlikely(cmd == NULL)) { in vmw_sou_fifo_destroy() 236 if (unlikely(ret != 0)) in vmw_sou_fifo_destroy() 270 if (unlikely(sou->buffer == NULL)) in vmw_sou_backing_alloc() 282 if (unlikely(ret != 0)) in vmw_sou_backing_alloc() 344 if (unlikely(ret != 0)) in vmw_sou_crtc_set_config() 382 if (unlikely(ret != 0)) in vmw_sou_crtc_set_config() 392 if (unlikely(ret != 0)) in vmw_sou_crtc_set_config() 397 if (unlikely(ret != 0)) { in vmw_sou_crtc_set_config() [all …]
|
/linux-4.4.14/net/llc/ |
D | llc_input.c | 116 if (unlikely(!pskb_may_pull(skb, sizeof(*pdu)))) in llc_fixup_skb() 124 if (unlikely(!pskb_may_pull(skb, llc_len))) in llc_fixup_skb() 136 if (unlikely(pskb_trim_rcsum(skb, data_size))) in llc_fixup_skb() 172 if (unlikely(skb->pkt_type == PACKET_OTHERHOST)) { in llc_rcv() 177 if (unlikely(!skb)) in llc_rcv() 179 if (unlikely(!llc_fixup_skb(skb))) in llc_rcv() 182 if (unlikely(!pdu->dsap)) /* NULL DSAP, refer to station */ in llc_rcv() 185 if (unlikely(!sap)) {/* unknown SAP */ in llc_rcv() 197 if (unlikely(!sap_handler)) { in llc_rcv()
|
/linux-4.4.14/fs/ntfs/ |
D | runlist.c | 85 if (unlikely(!new_rl)) in ntfs_rl_realloc() 89 if (unlikely(old_size > new_size)) in ntfs_rl_realloc() 134 if (unlikely(old_size > new_size)) in ntfs_rl_realloc_nofail() 551 if (unlikely(!srl)) in ntfs_runlists_merge() 557 if (unlikely(!drl)) { in ntfs_runlists_merge() 560 if (unlikely(drl[0].vcn)) { in ntfs_runlists_merge() 778 if (unlikely(buf < (u8*)attr || buf > attr_end)) { in ntfs_mapping_pairs_decompress() 789 if (unlikely(!rl)) in ntfs_mapping_pairs_decompress() 808 if (unlikely(!rl2)) { in ntfs_mapping_pairs_decompress() 828 if (unlikely(buf + b > attr_end)) in ntfs_mapping_pairs_decompress() [all …]
|
D | aops.c | 83 if (unlikely(init_size > i_size)) { in ntfs_end_buffer_async_read() 88 if (unlikely(file_ofs + bh->b_size > init_size)) { in ntfs_end_buffer_async_read() 213 if (unlikely(!page_has_buffers(page))) { in ntfs_read_block() 238 if (unlikely(init_size > i_size)) { in ntfs_read_block() 250 if (unlikely(buffer_uptodate(bh))) in ntfs_read_block() 252 if (unlikely(buffer_mapped(bh))) { in ntfs_read_block() 415 if (unlikely(page->index >= (i_size + PAGE_CACHE_SIZE - 1) >> in ntfs_readpage() 465 if (unlikely(page->index > 0)) { in ntfs_readpage() 483 if (unlikely(NInoNonResident(ni))) { in ntfs_readpage() 488 if (unlikely(!ctx)) { in ntfs_readpage() [all …]
|
D | mft.c | 72 if (unlikely(index >= end_index)) { in map_mft_record_page() 305 if (unlikely(!ni)) { in map_extent_mft_record() 336 if (unlikely(!tmp)) { in map_extent_mft_record() 481 if (unlikely(!vol->mftmirr_ino)) { in ntfs_sync_mft_mirror() 506 if (unlikely(!page_has_buffers(page))) { in ntfs_sync_mft_mirror() 530 if (unlikely(block_start >= m_end)) in ntfs_sync_mft_mirror() 533 if (unlikely(!buffer_mapped(bh))) { in ntfs_sync_mft_mirror() 582 if (unlikely(rl)) in ntfs_sync_mft_mirror() 602 if (unlikely(!buffer_uptodate(tbh))) { in ntfs_sync_mft_mirror() 706 if (unlikely(block_start >= m_end)) in write_mft_record_nolock() [all …]
|
D | file.c | 152 if (unlikely(!ctx)) { in ntfs_attr_extend_initialized() 158 if (unlikely(err)) { in ntfs_attr_extend_initialized() 196 if (unlikely(!ctx)) { in ntfs_attr_extend_initialized() 202 if (unlikely(err)) { in ntfs_attr_extend_initialized() 235 if (unlikely(PageError(page))) { in ntfs_attr_extend_initialized() 293 if (unlikely(!ctx)) { in ntfs_attr_extend_initialized() 299 if (unlikely(err)) { in ntfs_attr_extend_initialized() 349 if (unlikely(err <= 0)) in ntfs_prepare_file_for_write() 386 if (unlikely(err)) in ntfs_prepare_file_for_write() 481 if (unlikely(err < 0)) in ntfs_prepare_file_for_write() [all …]
|
D | dir.c | 109 if (unlikely(!ctx)) { in ntfs_lookup_inode_by_name() 116 if (unlikely(err)) { in ntfs_lookup_inode_by_name() 342 if (unlikely(!ntfs_is_indx_record(ia->magic))) { in ntfs_lookup_inode_by_name() 667 if (unlikely(err)) { 820 if (unlikely(!ntfs_is_indx_record(ia->magic))) { 1135 if (unlikely(!name)) { in ntfs_readdir() 1150 if (unlikely(!ctx)) { in ntfs_readdir() 1159 if (unlikely(err)) { in ntfs_readdir() 1176 if (unlikely(!ir)) { in ntfs_readdir() 1199 if (unlikely((u8*)ie < (u8*)ir || (u8*)ie + in ntfs_readdir() [all …]
|
D | namei.c | 207 if (unlikely(!ctx)) { in ntfs_lookup() 217 if (unlikely(err)) { in ntfs_lookup() 318 if (unlikely(!ctx)) { in ntfs_get_parent() 325 if (unlikely(err)) { in ntfs_get_parent() 335 if (unlikely(attr->non_resident)) in ntfs_get_parent() 339 if (unlikely((u8 *)fn + le32_to_cpu(attr->data.resident.value_length) > in ntfs_get_parent()
|
D | inode.c | 70 if (unlikely(na->type != AT_UNUSED)) in ntfs_test_inode() 183 if (unlikely(!vi)) in ntfs_iget() 197 if (unlikely(err == -ENOMEM)) { in ntfs_iget() 244 if (unlikely(!vi)) in ntfs_attr_iget() 259 if (unlikely(err)) { in ntfs_attr_iget() 299 if (unlikely(!vi)) in ntfs_index_iget() 314 if (unlikely(err)) { in ntfs_index_iget() 512 if (unlikely(err != -ENOENT)) in ntfs_is_extended_system_file() 514 if (unlikely(nr_links)) { in ntfs_is_extended_system_file() 650 if (unlikely(err)) { in ntfs_read_locked_inode() [all …]
|
/linux-4.4.14/net/tipc/ |
D | msg.c | 97 if (unlikely(!buf)) in tipc_msg_create() 139 if (unlikely(head)) in tipc_buf_append() 141 if (unlikely(skb_unclone(frag, GFP_ATOMIC))) in tipc_buf_append() 175 if (unlikely(!tipc_msg_validate(head))) in tipc_buf_append() 207 if (unlikely(TIPC_SKB_CB(skb)->validated)) in tipc_msg_validate() 209 if (unlikely(!pskb_may_pull(skb, MIN_H_SIZE))) in tipc_msg_validate() 213 if (unlikely(hsz < MIN_H_SIZE) || (hsz > MAX_H_SIZE)) in tipc_msg_validate() 215 if (unlikely(!pskb_may_pull(skb, hsz))) in tipc_msg_validate() 219 if (unlikely(msg_version(msg) != TIPC_VERSION)) in tipc_msg_validate() 223 if (unlikely(msz < hsz)) in tipc_msg_validate() [all …]
|
/linux-4.4.14/arch/mips/kernel/ |
D | ftrace.c | 98 if (unlikely(faulted)) in ftrace_modify_code() 117 if (unlikely(faulted)) in ftrace_modify_code_2() 122 if (unlikely(faulted)) in ftrace_modify_code_2() 142 if (unlikely(faulted)) in ftrace_modify_code_2r() 147 if (unlikely(faulted)) in ftrace_modify_code_2r() 302 if (unlikely(faulted)) in ftrace_get_parent_ra_addr() 320 if (unlikely(faulted)) in ftrace_get_parent_ra_addr() 343 if (unlikely(ftrace_graph_is_dead())) in prepare_ftrace_return() 346 if (unlikely(atomic_read(¤t->tracing_graph_pause))) in prepare_ftrace_return() 368 if (unlikely(faulted)) in prepare_ftrace_return() [all …]
|
/linux-4.4.14/drivers/mtd/tests/ |
D | subpagetest.c | 64 if (unlikely(err || written != subpgsize)) { in write_eraseblock() 78 if (unlikely(err || written != subpgsize)) { in write_eraseblock() 102 if (unlikely(err || written != subpgsize * k)) { in write_eraseblock2() 139 if (unlikely(err || read != subpgsize)) { in verify_eraseblock() 150 if (unlikely(memcmp(readbuf, writebuf, subpgsize))) { in verify_eraseblock() 166 if (unlikely(err || read != subpgsize)) { in verify_eraseblock() 177 if (unlikely(memcmp(readbuf, writebuf, subpgsize))) { in verify_eraseblock() 203 if (unlikely(err || read != subpgsize * k)) { in verify_eraseblock2() 214 if (unlikely(memcmp(readbuf, writebuf, subpgsize * k))) { in verify_eraseblock2() 236 if (unlikely(err || read != subpgsize)) { in verify_eraseblock_ff() [all …]
|
/linux-4.4.14/arch/parisc/lib/ |
D | iomap.c | 273 if (unlikely(INDIRECT_ADDR(addr))) in ioread8() 280 if (unlikely(INDIRECT_ADDR(addr))) in ioread16() 287 if (unlikely(INDIRECT_ADDR(addr))) in ioread16be() 294 if (unlikely(INDIRECT_ADDR(addr))) in ioread32() 301 if (unlikely(INDIRECT_ADDR(addr))) in ioread32be() 308 if (unlikely(INDIRECT_ADDR(addr))) { in iowrite8() 317 if (unlikely(INDIRECT_ADDR(addr))) { in iowrite16() 326 if (unlikely(INDIRECT_ADDR(addr))) { in iowrite16be() 335 if (unlikely(INDIRECT_ADDR(addr))) { in iowrite32() 344 if (unlikely(INDIRECT_ADDR(addr))) { in iowrite32be() [all …]
|
/linux-4.4.14/lib/lzo/ |
D | lzo1x_decompress_safe.c | 52 if (unlikely(in_len < 3)) in lzo1x_decompress_safe() 67 if (unlikely(t == 0)) { in lzo1x_decompress_safe() 71 while (unlikely(*ip == 0)) { in lzo1x_decompress_safe() 76 if (unlikely(offset > MAX_255_COUNT)) in lzo1x_decompress_safe() 135 if (unlikely(t == 2)) { in lzo1x_decompress_safe() 139 while (unlikely(*ip == 0)) { in lzo1x_decompress_safe() 144 if (unlikely(offset > MAX_255_COUNT)) in lzo1x_decompress_safe() 160 if (unlikely(t == 2)) { in lzo1x_decompress_safe() 164 while (unlikely(*ip == 0)) { in lzo1x_decompress_safe() 169 if (unlikely(offset > MAX_255_COUNT)) in lzo1x_decompress_safe()
|
D | lzo1x_compress.c | 44 if (unlikely(ip >= ip_end)) in lzo1x_1_do_compress() 50 if (unlikely(dv != get_unaligned_le32(m_pos))) in lzo1x_1_do_compress() 72 while (unlikely(tt > 255)) { in lzo1x_1_do_compress() 97 if (unlikely(v == 0)) { in lzo1x_1_do_compress() 102 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress() 117 if (unlikely(v == 0)) { in lzo1x_1_do_compress() 127 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress() 139 if (unlikely(ip[m_len] == m_pos[m_len])) { in lzo1x_1_do_compress() 163 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress() 185 while (unlikely(m_len > 255)) { in lzo1x_1_do_compress() [all …]
|
/linux-4.4.14/arch/mips/lantiq/ |
D | clk.c | 69 if (unlikely(!clk_good(clk))) in clk_get_rate() 84 if (unlikely(!clk_good(clk))) in clk_set_rate() 104 if (unlikely(!clk_good(clk))) in clk_round_rate() 121 if (unlikely(!clk_good(clk))) in clk_enable() 133 if (unlikely(!clk_good(clk))) in clk_disable() 143 if (unlikely(!clk_good(clk))) in clk_activate() 155 if (unlikely(!clk_good(clk))) in clk_deactivate()
|
/linux-4.4.14/fs/nilfs2/ |
D | recovery.c | 152 if (unlikely(!bh_sr)) { in nilfs_read_super_root_block() 229 if (unlikely(nblock == 0 || nblock > nilfs->ns_blocks_per_segment)) in nilfs_validate_log() 267 if (unlikely(!*pbh)) in nilfs_read_summary_info() 334 if (unlikely(!bh)) in nilfs_scan_dsync_log() 344 if (unlikely(!finfo)) in nilfs_scan_dsync_log() 358 if (unlikely(!binfo)) in nilfs_scan_dsync_log() 362 if (unlikely(!rb)) { in nilfs_scan_dsync_log() 378 if (unlikely(!bh)) in nilfs_scan_dsync_log() 407 if (unlikely(!ent)) in nilfs_segment_list_add() 448 if (unlikely(err)) in nilfs_prepare_segment_for_recovery() [all …]
|
D | btnode.c | 50 if (unlikely(!bh)) in nilfs_btnode_create_block() 53 if (unlikely(buffer_mapped(bh) || buffer_uptodate(bh) || in nilfs_btnode_create_block() 79 if (unlikely(!bh)) in nilfs_btnode_submit_block() 96 if (unlikely(err)) { in nilfs_btnode_submit_block() 195 if (unlikely(oldkey != obh->b_page->index)) in nilfs_btnode_prepare_change_key() 252 if (unlikely(oldkey != opage->index)) in nilfs_btnode_commit_change_key()
|
D | segment.c | 219 if (unlikely(ret < 0)) in nilfs_transaction_begin() 406 if (unlikely(ssp->offset + bytes > blocksize)) { in nilfs_segctor_map_segsum_entry() 432 if (unlikely(err)) in nilfs_segctor_reset_segment_buffer() 552 if (unlikely(required)) { in nilfs_segctor_add_file_block() 554 if (unlikely(err)) in nilfs_segctor_add_file_block() 696 if (unlikely(start != 0 || end != LLONG_MAX)) { in nilfs_lookup_dirty_data_buffers() 707 if (unlikely(index > last) || in nilfs_lookup_dirty_data_buffers() 717 if (unlikely(page->index > last)) in nilfs_lookup_dirty_data_buffers() 732 if (unlikely(ndirties >= nlimit)) { in nilfs_lookup_dirty_data_buffers() 787 if (unlikely(ii->i_bh)) { in nilfs_dispose_list() [all …]
|
D | inode.c | 107 if (unlikely(err)) in nilfs_get_block() 111 if (unlikely(err != 0)) { in nilfs_get_block() 215 if (unlikely(err)) in nilfs_writepage() 277 if (unlikely(err)) in nilfs_write_begin() 282 if (unlikely(err)) { in nilfs_write_begin() 355 if (unlikely(!inode)) in nilfs_new_inode() 367 if (unlikely(err)) in nilfs_new_inode() 401 if (unlikely(err)) in nilfs_new_inode() 494 if (unlikely(err)) in __nilfs_read_inode() 596 if (unlikely(!inode)) in nilfs_iget() [all …]
|
D | mdt.c | 57 if (unlikely(ret)) in nilfs_mdt_insert_new_block() 93 if (unlikely(!bh)) in nilfs_mdt_create_block() 134 if (unlikely(!bh)) in nilfs_mdt_submit_block() 155 if (unlikely(ret)) { in nilfs_mdt_submit_block() 191 if (unlikely(err)) in nilfs_mdt_read_block() 262 if (unlikely(ret == -EEXIST)) { in nilfs_mdt_get_block() 298 if (unlikely(start > end)) in nilfs_mdt_find_block() 306 if (unlikely(ret != -ENOENT || start == ULONG_MAX)) in nilfs_mdt_find_block() 416 if (unlikely(err)) in nilfs_mdt_mark_block_dirty()
|
D | segbuf.c | 52 if (unlikely(!segbuf)) in nilfs_segbuf_new() 114 if (unlikely(!bh)) in nilfs_segbuf_extend_segsum() 128 if (unlikely(!bh)) in nilfs_segbuf_extend_payload() 143 if (unlikely(err)) in nilfs_segbuf_reset() 362 if (unlikely(atomic_read(&segbuf->sb_err))) { in nilfs_segbuf_submit_bio() 434 if (unlikely(!wi->bio)) in nilfs_segbuf_submit_bh() 475 if (unlikely(res)) in nilfs_segbuf_write() 481 if (unlikely(res)) in nilfs_segbuf_write() 518 if (unlikely(atomic_read(&segbuf->sb_err) > 0)) { in nilfs_segbuf_wait()
|
/linux-4.4.14/sound/sh/ |
D | aica.c | 257 if (unlikely(err < 0)) { in aica_dma_transfer() 282 if (unlikely(dreamcastcard->dma_check == 0)) { in run_spu_dma() 299 if (unlikely(dreamcastcard->clicks >= AICA_PERIOD_NUMBER)) in run_spu_dma() 328 if (unlikely(dreamcastcard->dma_check == 0)) in aica_period_elapsed() 342 if (unlikely(dreamcastcard->timer.data)) { in spu_begin_dma() 463 if (unlikely(err < 0)) in snd_aicapcmchip() 515 if (unlikely(!dreamcastcard->channel)) in aica_pcmvolume_get() 527 if (unlikely(!dreamcastcard->channel)) in aica_pcmvolume_put() 532 if (unlikely(dreamcastcard->channel->vol == vol)) in aica_pcmvolume_put() 565 if (unlikely(err)) in load_aica_firmware() [all …]
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-mc13xxx.c | 107 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 113 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 122 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 126 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 130 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 137 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 143 if (unlikely(ret)) in mc13xxx_rtc_set_mmss() 168 if (unlikely(ret)) in mc13xxx_rtc_read_alarm() 176 if (unlikely(ret)) in mc13xxx_rtc_read_alarm() 210 if (unlikely(ret)) in mc13xxx_rtc_set_alarm() [all …]
|
/linux-4.4.14/tools/include/asm/ |
D | bug.h | 10 if (unlikely(__ret_warn_on)) \ 12 unlikely(__ret_warn_on); \ 19 if (unlikely(__ret_warn_once)) \ 22 unlikely(__ret_warn_once); \
|
/linux-4.4.14/arch/tile/kernel/vdso/ |
D | vgettimeofday.c | 28 while (unlikely(high != high2)) { in get_cycles_inline() 75 } while (unlikely(read_seqcount_retry(&vdso->tb_seq, count))); in do_realtime() 94 } while (unlikely(read_seqcount_retry(&vdso->tb_seq, count))); in do_monotonic() 111 } while (unlikely(read_seqcount_retry(&vdso->tb_seq, count))); in do_realtime_coarse() 125 } while (unlikely(read_seqcount_retry(&vdso->tb_seq, count))); in do_monotonic_coarse() 138 if (unlikely(tz != NULL)) { in __vdso_gettimeofday() 143 } while (unlikely(read_seqcount_retry(&vdso->tz_seq, count))); in __vdso_gettimeofday() 146 if (unlikely(tv == NULL)) in __vdso_gettimeofday()
|
/linux-4.4.14/arch/sh/mm/ |
D | fault.c | 67 if (unlikely(!pgd)) in show_pte() 370 if (unlikely(!(vma->vm_flags & VM_WRITE))) in access_error() 376 if (unlikely((error_code & FAULT_CODE_ITLB) && in access_error() 381 if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))) in access_error() 421 if (unlikely(fault_in_kernel_space(address))) { in do_page_fault() 431 if (unlikely(notify_page_fault(regs, vec))) in do_page_fault() 444 if (unlikely(faulthandler_disabled() || !mm)) { in do_page_fault() 453 if (unlikely(!vma)) { in do_page_fault() 459 if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) { in do_page_fault() 463 if (unlikely(expand_stack(vma, address))) { in do_page_fault() [all …]
|
D | tlbex_32.c | 39 if (unlikely(address >= TASK_SIZE || !current->mm)) in handle_tlbmiss() 53 if (unlikely(pte_none(entry) || pte_not_present(entry))) in handle_tlbmiss() 55 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss()
|
/linux-4.4.14/arch/arm/lib/ |
D | uaccess_with_memcpy.c | 36 if (unlikely(pgd_none(*pgd) || pgd_bad(*pgd))) in pin_page_for_write() 40 if (unlikely(pud_none(*pud) || pud_bad(*pud))) in pin_page_for_write() 44 if (unlikely(pmd_none(*pmd))) in pin_page_for_write() 57 if (unlikely(pmd_thp_or_huge(*pmd))) { in pin_page_for_write() 60 if (unlikely(!pmd_thp_or_huge(*pmd) in pin_page_for_write() 72 if (unlikely(pmd_bad(*pmd))) in pin_page_for_write() 76 if (unlikely(!pte_present(*pte) || !pte_young(*pte) || in pin_page_for_write() 94 if (unlikely(segment_eq(get_fs(), KERNEL_DS))) { in __copy_to_user_memcpy() 166 if (unlikely(segment_eq(get_fs(), KERNEL_DS))) { in __clear_user_memset()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-cmd-queue.h | 343 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write() 344 if (unlikely in cvmx_cmd_queue_write() 373 if (unlikely(new_buffer == NULL)) { in cvmx_cmd_queue_write() 441 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write2() 442 if (unlikely in cvmx_cmd_queue_write2() 476 if (unlikely(new_buffer == NULL)) { in cvmx_cmd_queue_write2() 497 if (unlikely(count == 0)) { in cvmx_cmd_queue_write2() 542 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write3() 543 if (unlikely in cvmx_cmd_queue_write3() 578 if (unlikely(new_buffer == NULL)) { in cvmx_cmd_queue_write3()
|
/linux-4.4.14/drivers/scsi/cxlflash/ |
D | superpipe.c | 320 if (unlikely(!cmd_buf || !scsi_cmd || !sense_buf)) { in read_cap16() 420 if (unlikely(!ctxi->rht_start)) { in get_rhte() 426 if (unlikely(rhndl >= MAX_RHT_PER_CONTEXT)) { in get_rhte() 431 if (unlikely(ctxi->rht_lun[rhndl] != lli)) { in get_rhte() 438 if (unlikely(rhte->nmask == 0)) { in get_rhte() 630 if (unlikely(!ctxi)) { in _cxlflash_disk_release() 641 if (unlikely(!rhte)) { in _cxlflash_disk_release() 770 if (unlikely(!ctxi || !lli || !ws)) { in create_context() 776 if (unlikely(!rhte)) { in create_context() 841 if (unlikely(!ctxi)) { in _cxlflash_disk_detach() [all …]
|
D | lunmgt.c | 38 if (unlikely(!lli)) { in create_local() 64 if (unlikely(!gli)) { in create_global() 137 if (unlikely(!wwid)) in find_and_create_lun() 145 if (unlikely(!lli)) in find_and_create_lun() 156 if (unlikely(!gli)) { in find_and_create_lun() 239 if (unlikely(!lli)) { in cxlflash_manage_lun()
|
D | vlun.c | 82 if (unlikely(!bali)) { in ba_init() 97 if (unlikely(!bali->lun_alloc_map)) { in ba_init() 127 if (unlikely(!bali->aun_clone_map)) { in ba_init() 390 if (unlikely(rc)) in init_vlun() 442 if (unlikely(!cmd_buf || !scsi_cmd || !sense_buf)) { in write_same16() 529 if (unlikely(av_size <= 0)) { in grow_lxt() 547 if (unlikely(!lxt)) { in grow_lxt() 646 if (unlikely(!lxt)) { in shrink_lxt() 758 if (unlikely(gli->mode != MODE_VIRTUAL)) { in _cxlflash_vlun_resize() 768 if (unlikely(!ctxi)) { in _cxlflash_vlun_resize() [all …]
|
/linux-4.4.14/fs/exofs/ |
D | super.c | 104 if (unlikely(!opts->dev_name)) { in parse_options() 232 if (unlikely(!or)) { in exofs_read_kern() 237 if (unlikely(ret)) { in exofs_read_kern() 243 if (unlikely(ret)) { in exofs_read_kern() 249 if (unlikely(ret)) in exofs_read_kern() 275 if (unlikely(ret)) { in __sbi_read_stats() 284 if (unlikely(ret)) { in __sbi_read_stats() 297 if (unlikely(attrs[0].len != sizeof(*ess))) { in __sbi_read_stats() 330 if (unlikely(ret)) { in exofs_sbi_write_stats() 346 if (unlikely(ret)) { in exofs_sbi_write_stats() [all …]
|
D | inode.c | 140 if (unlikely(pcol->nr_pages >= pcol->alloc_pages)) in pcol_add_page() 182 if (unlikely(ret == PAGE_WAS_NOT_IN_IO)) in update_write_page() 293 if (unlikely(ret)) in _maybe_not_all_in_one_io() 349 if (unlikely(ret)) in read_exec() 356 if (unlikely(ret)) in read_exec() 428 if (unlikely(pcol->pg_first == -1)) { in readpage_strip() 430 } else if (unlikely((pcol->pg_first + pcol->nr_pages) != in readpage_strip() 434 if (unlikely(ret)) in readpage_strip() 441 if (unlikely(ret)) in readpage_strip() 459 if (unlikely(ret)) in readpage_strip() [all …]
|
D | ore.c | 162 if (unlikely(!_aios)) { in _ore_get_io_state() 182 if (unlikely(!_aio_small)) { in _ore_get_io_state() 189 if (unlikely(!extra_part)) { in _ore_get_io_state() 284 if (unlikely(ret)) in ore_get_rw_state() 373 if (unlikely(!or)) in ore_io_execute() 377 if (unlikely(ret)) { in ore_io_execute() 388 if (unlikely(!or)) in ore_io_execute() 432 if (unlikely(!or)) in ore_check_io() 616 if (unlikely(!per_dev->bio)) { in _ore_add_stripe_unit() 632 if (unlikely(pglen != added_len)) { in _ore_add_stripe_unit() [all …]
|
D | ore_raid.c | 103 if (unlikely(!_aab)) { in _sp2d_alloc() 115 if (unlikely(__a1pa >= __a1pa_end)) { in _sp2d_alloc() 120 if (unlikely(!__a1pa)) { in _sp2d_alloc() 351 if (unlikely(ret)) in _add_to_r4w() 362 if (unlikely(!per_dev->bio)) { in _add_to_r4w() 377 if (unlikely(added_len != pg_len)) { in _add_to_r4w() 504 if (unlikely(!*pp)) in _read_4_write_first_stripe() 564 if (unlikely(!page)) in _read_4_write_last_stripe() 607 if (unlikely(ret)) in _read_4_write_execute() 612 if (unlikely(ret)) { in _read_4_write_execute() [all …]
|
/linux-4.4.14/net/openvswitch/ |
D | flow.c | 83 if (node == 0 && unlikely(flow->stats_last_writer != node)) in ovs_flow_stats_update() 92 if (unlikely(flow->stats_last_writer != node)) { in ovs_flow_stats_update() 184 if (unlikely(skb->len < len)) in check_header() 186 if (unlikely(!pskb_may_pull(skb, len))) in check_header() 204 if (unlikely(err)) in check_iphdr() 208 if (unlikely(ip_len < sizeof(struct iphdr) || in check_iphdr() 221 if (unlikely(!pskb_may_pull(skb, th_ofs + sizeof(struct tcphdr)))) in tcphdr_ok() 225 if (unlikely(tcp_len < sizeof(struct tcphdr) || in tcphdr_ok() 261 if (unlikely(err)) in parse_ipv6hdr() 290 if (unlikely(payload_ofs < 0)) in parse_ipv6hdr() [all …]
|
/linux-4.4.14/drivers/net/irda/ |
D | mcs7780.c | 165 if (unlikely(ret != 2)) { in mcs_setup_transceiver_vishay() 179 if (unlikely(ret)) in mcs_setup_transceiver_vishay() 184 if (unlikely(ret)) in mcs_setup_transceiver_vishay() 189 if (unlikely(ret)) in mcs_setup_transceiver_vishay() 224 if(unlikely(ret != 2)) in mcs_setup_transceiver() 228 if(unlikely(ret)) in mcs_setup_transceiver() 233 if(unlikely(ret)) in mcs_setup_transceiver() 237 if(unlikely(ret != 2)) in mcs_setup_transceiver() 261 if(unlikely(ret)) in mcs_setup_transceiver() 283 if (unlikely(ret)) in mcs_setup_transceiver() [all …]
|
D | sir_dev.c | 325 if (unlikely(atomic_read(&dev->enable_rx))) in sirdev_enable_rx() 351 if (unlikely(err)) in sirdev_set_dongle() 367 if (unlikely(len > dev->tx_buff.truesize)) in sirdev_raw_write() 454 else if (unlikely(actual<0)) { in sirdev_write_complete() 470 if (unlikely(dev->raw_tx != 0)) { in sirdev_write_complete() 504 if (unlikely(dev->new_speed > 0)) { in sirdev_write_complete() 507 if (unlikely(err)) { in sirdev_write_complete() 575 if (unlikely(dev->rx_buff.len == dev->rx_buff.truesize)) in sirdev_receive() 607 if (unlikely(err == -EWOULDBLOCK)) { in sirdev_hard_xmit() 616 else if (unlikely(err)) { in sirdev_hard_xmit() [all …]
|
/linux-4.4.14/drivers/md/ |
D | dm-switch.c | 168 if (unlikely(path_nr >= sctx->nr_paths)) in switch_get_path_nr() 387 if (unlikely(*string == ',')) { in process_set_region_mappings() 392 if (unlikely(*string != ',')) { in process_set_region_mappings() 397 if (unlikely(!*string)) { in process_set_region_mappings() 402 if (unlikely(*string)) { in process_set_region_mappings() 407 if (unlikely(!cycle_length) || unlikely(cycle_length - 1 > region_index)) { in process_set_region_mappings() 412 if (unlikely(region_index + num_write < region_index) || in process_set_region_mappings() 413 unlikely(region_index + num_write >= sctx->nr_regions)) { in process_set_region_mappings() 432 if (unlikely(*string != ':')) { in process_set_region_mappings() 439 if (unlikely(!*string)) { in process_set_region_mappings() [all …]
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | isph3a_aewb.c | 120 if (unlikely(user_cfg->saturation_limit > in h3a_aewb_validate_params() 124 if (unlikely(user_cfg->win_height < OMAP3ISP_AEWB_MIN_WIN_H || in h3a_aewb_validate_params() 129 if (unlikely(user_cfg->win_width < OMAP3ISP_AEWB_MIN_WIN_W || in h3a_aewb_validate_params() 134 if (unlikely(user_cfg->ver_win_count < OMAP3ISP_AEWB_MIN_WINVC || in h3a_aewb_validate_params() 138 if (unlikely(user_cfg->hor_win_count < OMAP3ISP_AEWB_MIN_WINHC || in h3a_aewb_validate_params() 142 if (unlikely(user_cfg->ver_win_start > OMAP3ISP_AEWB_MAX_WINSTART)) in h3a_aewb_validate_params() 145 if (unlikely(user_cfg->hor_win_start > OMAP3ISP_AEWB_MAX_WINSTART)) in h3a_aewb_validate_params() 148 if (unlikely(user_cfg->blk_ver_win_start > OMAP3ISP_AEWB_MAX_WINSTART)) in h3a_aewb_validate_params() 151 if (unlikely(user_cfg->blk_win_height < OMAP3ISP_AEWB_MIN_WIN_H || in h3a_aewb_validate_params() 156 if (unlikely(user_cfg->subsample_ver_inc < OMAP3ISP_AEWB_MIN_SUB_INC || in h3a_aewb_validate_params() [all …]
|
/linux-4.4.14/mm/ |
D | userfaultfd.c | 47 if (unlikely(ret)) { in mcopy_atomic_pte() 209 if (unlikely(anon_vma_prepare(dst_vma))) in __mcopy_atomic() 218 if (unlikely(!dst_pmd)) { in __mcopy_atomic() 228 if (unlikely(pmd_trans_huge(dst_pmdval))) { in __mcopy_atomic() 232 if (unlikely(pmd_none(dst_pmdval)) && in __mcopy_atomic() 233 unlikely(__pte_alloc(dst_mm, dst_vma, dst_pmd, in __mcopy_atomic() 239 if (unlikely(pmd_trans_huge(*dst_pmd))) { in __mcopy_atomic() 256 if (unlikely(err == -EFAULT)) { in __mcopy_atomic() 267 if (unlikely(err)) { in __mcopy_atomic()
|
D | filemap.c | 640 if (unlikely(error)) in __add_to_page_cache_locked() 688 if (unlikely(ret)) in add_to_page_cache_lru() 1041 if (unlikely(!page)) in find_get_entry() 1061 if (unlikely(page != *pagep)) { in find_get_entry() 1098 if (unlikely(page->mapping != mapping)) { in find_lock_entry() 1155 if (unlikely(page->mapping != mapping)) { in pagecache_get_page() 1187 if (unlikely(err)) { in pagecache_get_page() 1239 if (unlikely(!page)) in find_get_entries() 1255 if (unlikely(page != *slot)) { in find_get_entries() 1292 if (unlikely(!nr_pages)) in find_get_pages() [all …]
|
D | huge_memory.c | 577 if (unlikely(!*hugepage_kobj)) { in hugepage_init_sysfs() 734 if (unlikely(!pgtable)) { in __do_huge_pmd_anonymous_page() 749 if (unlikely(!pmd_none(*pmd))) { in __do_huge_pmd_anonymous_page() 818 if (unlikely(anon_vma_prepare(vma))) in do_huge_pmd_anonymous_page() 820 if (unlikely(khugepaged_enter(vma, vma->vm_flags))) in do_huge_pmd_anonymous_page() 830 if (unlikely(!pgtable)) in do_huge_pmd_anonymous_page() 833 if (unlikely(!zero_page)) { in do_huge_pmd_anonymous_page() 864 if (unlikely(!page)) { in do_huge_pmd_anonymous_page() 927 if (unlikely(!pgtable)) in copy_huge_pmd() 936 if (unlikely(!pmd_trans_huge(pmd))) { in copy_huge_pmd() [all …]
|
D | memory.c | 166 if (unlikely(task != current)) in check_sync_rss_stat() 168 if (unlikely(task->rss_stat.events++ > TASK_RSS_EVENTS_THRESH)) in check_sync_rss_stat() 594 } else if (unlikely(pmd_trans_splitting(*pmd))) in __pte_alloc() 769 if (unlikely(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP))) { in vm_normal_page() 787 if (unlikely(pfn > highest_memmap_pfn)) { in vm_normal_page() 811 if (unlikely(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP))) { in vm_normal_page_pmd() 828 if (unlikely(pfn > highest_memmap_pfn)) in vm_normal_page_pmd() 856 if (unlikely(!pte_present(pte))) { in copy_one_pte() 864 if (unlikely(list_empty(&dst_mm->mmlist))) { in copy_one_pte() 1071 if (unlikely(vma->vm_flags & VM_PFNMAP)) { in copy_page_range() [all …]
|
D | gup.c | 70 if (unlikely(pmd_bad(*pmd))) in follow_page_pte() 101 if (unlikely(!page)) { in follow_page_pte() 197 if (pgd_none(*pgd) || unlikely(pgd_bad(*pgd))) in follow_page_mask() 209 if (unlikely(pud_bad(*pud))) in follow_page_mask() 230 if (unlikely(pmd_trans_splitting(*pmd))) { in follow_page_mask() 508 if (unlikely(fatal_signal_pending(current))) in __get_user_pages() 1085 if (unlikely(pte_val(pte) != pte_val(*ptep))) { in gup_pte_range() 1145 if (unlikely(pmd_val(orig) != pmd_val(*pmdp))) { in gup_huge_pmd() 1192 if (unlikely(pud_val(orig) != pud_val(*pudp))) { in gup_huge_pud() 1235 if (unlikely(pgd_val(orig) != pgd_val(*pgdp))) { in gup_huge_pgd() [all …]
|
/linux-4.4.14/kernel/trace/ |
D | trace_seq.c | 40 if (unlikely(!s->seq.size)) in __trace_seq_init() 98 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_printf() 125 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_bitmask() 155 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_vprintf() 189 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_bprintf() 306 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_putmem_hex() 342 if (unlikely(seq_buf_has_overflowed(&s->seq))) { in trace_seq_path()
|
D | bpf_trace.c | 41 if (unlikely(__this_cpu_inc_return(bpf_prog_active) != 1)) { in trace_call_bpf() 195 if (unlikely(index >= array->map.max_entries)) in bpf_perf_event_read() 236 if (unlikely(index >= array->map.max_entries)) in bpf_perf_event_output() 240 if (unlikely(!event)) in bpf_perf_event_output() 243 if (unlikely(event->attr.type != PERF_TYPE_SOFTWARE || in bpf_perf_event_output() 247 if (unlikely(event->oncpu != smp_processor_id())) in bpf_perf_event_output()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4/ |
D | sq.c | 155 if (unlikely(!size || end < phys)) in sq_remap() 158 if (unlikely(phys < virt_to_phys(high_memory))) in sq_remap() 165 if (unlikely(!map)) in sq_remap() 174 if (unlikely(page < 0)) { in sq_remap() 182 if (unlikely(ret != 0)) in sq_remap() 218 if (unlikely(!map)) { in sq_unmap() 347 if (unlikely(!sq_kobject[cpu])) in sq_dev_add() 383 if (unlikely(!sq_cache)) in sq_api_init() 387 if (unlikely(!sq_bitmap)) in sq_api_init() 391 if (unlikely(ret != 0)) in sq_api_init()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | bitops.h | 93 } while (unlikely(!temp)); in set_bit() 105 } while (unlikely(!temp)); in set_bit() 145 } while (unlikely(!temp)); in clear_bit() 157 } while (unlikely(!temp)); in clear_bit() 215 } while (unlikely(!temp)); in change_bit() 265 } while (unlikely(!res)); in test_and_set_bit() 319 } while (unlikely(!res)); in test_and_set_bit_lock() 375 } while (unlikely(!temp)); in test_and_clear_bit() 392 } while (unlikely(!res)); in test_and_clear_bit() 448 } while (unlikely(!res)); in test_and_change_bit()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | bug.h | 72 if (unlikely(__ret_warn_on)) \ 75 unlikely(__ret_warn_on); \ 97 if (unlikely(__ret_unwinder_on)) \ 100 unlikely(__ret_unwinder_on); \
|
D | mutex-llsc.h | 35 if (unlikely(!__done || __res != 0)) in __mutex_fastpath_lock() 53 if (unlikely(!__done || __res != 0)) in __mutex_fastpath_lock_retval() 73 if (unlikely(!__done || __res <= 0)) in __mutex_fastpath_unlock()
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
D | ehca_uverbs.c | 123 if (unlikely(ret)) { in ehca_mmap_fw() 148 if (unlikely(ret)) { in ehca_mmap_queue() 170 if (unlikely(ret)) { in ehca_mmap_cq() 181 if (unlikely(ret)) { in ehca_mmap_cq() 207 if (unlikely(ret)) { in ehca_mmap_qp() 219 if (unlikely(ret)) { in ehca_mmap_qp() 231 if (unlikely(ret)) { in ehca_mmap_qp() 273 if (unlikely(ret)) { in ehca_mmap() 295 if (unlikely(ret)) { in ehca_mmap()
|
D | ehca_reqs.c | 76 if (unlikely((recv_wr->num_sge < 0) || in ehca_write_rwqe() 166 if (unlikely((send_wr->num_sge < 0) || in ehca_write_swqe() 232 if (unlikely(!ud_wr(send_wr)->ah)) { in ehca_write_swqe() 236 if (unlikely(ud_wr(send_wr)->remote_qpn == 0)) { in ehca_write_swqe() 319 if (unlikely(cqe_status & WC_STATUS_ERROR_BIT)) { in map_ib_wc_status() 412 if (unlikely(!wqe_p)) { in post_one_send() 431 if (unlikely(ret)) { in post_one_send() 451 if (unlikely(my_qp->state < IB_QPS_RTS)) { in ehca_post_send() 467 if (unlikely(my_qp->unsol_ack_circ && in ehca_post_send() 483 if (unlikely(ret)) { in ehca_post_send() [all …]
|
/linux-4.4.14/include/linux/netfilter/ipset/ |
D | ip_set_comment.h | 29 if (unlikely(c)) { in ip_set_init_comment() 35 if (unlikely(len > IPSET_MAX_COMMENT_SIZE)) in ip_set_init_comment() 38 if (unlikely(!c)) in ip_set_init_comment() 66 if (unlikely(!c)) in ip_set_comment_free()
|
/linux-4.4.14/arch/parisc/kernel/ |
D | ftrace.c | 55 if (unlikely(index < 0)) { in pop_return_trace() 88 if (unlikely(!ret)) { in ftrace_return_to_handler() 115 if (unlikely(ftrace_graph_is_dead())) in prepare_ftrace_return() 118 if (unlikely(atomic_read(¤t->tracing_graph_pause))) in prepare_ftrace_return() 125 if (unlikely(!__kernel_text_address(old))) { in prepare_ftrace_return()
|
/linux-4.4.14/drivers/staging/android/ |
D | ashmem.c | 172 if (unlikely(!range)) in range_alloc() 240 if (unlikely(ret)) in ashmem_open() 244 if (unlikely(!asma)) in ashmem_open() 369 if (unlikely(!asma->size)) { in ashmem_mmap() 375 if (unlikely((vma->vm_flags & ~calc_vm_prot_bits(asma->prot_mask)) & in ashmem_mmap() 491 if (unlikely((asma->prot_mask & prot) != prot)) { in set_prot_mask() 529 if (unlikely(asma->file)) in set_name() 568 if (unlikely(copy_to_user(name, local_name, len))) in get_name() 706 if (unlikely(!asma->file)) in ashmem_pin_unpin() 709 if (unlikely(copy_from_user(&pin, p, sizeof(pin)))) in ashmem_pin_unpin() [all …]
|
/linux-4.4.14/fs/ |
D | namei.c | 136 if (unlikely(!result)) in getname_flags() 147 if (unlikely(len < 0)) { in getname_flags() 158 if (unlikely(len == EMBEDDED_NAME_MAX)) { in getname_flags() 168 if (unlikely(!result)) { in getname_flags() 174 if (unlikely(len < 0)) { in getname_flags() 179 if (unlikely(len == PATH_MAX)) { in getname_flags() 188 if (unlikely(!len)) { in getname_flags() 216 if (unlikely(!result)) in getname_kernel() 225 if (unlikely(!tmp)) { in getname_kernel() 378 if (unlikely(!(inode->i_opflags & IOP_FASTPERM))) { in do_inode_permission() [all …]
|
D | splice.c | 367 if (unlikely(error)) { in __generic_file_splice_read() 443 if (unlikely(error)) { in __generic_file_splice_read() 462 if (unlikely(!isize || index > end_index)) in __generic_file_splice_read() 534 if (unlikely(*ppos >= isize)) in generic_file_splice_read() 538 if (unlikely(left < len)) in generic_file_splice_read() 769 if (unlikely(ret)) { in splice_from_pipe_feed() 970 if (unlikely(!array)) in iter_file_splice_write() 985 if (unlikely(nbufs < pipe->buffers)) { in iter_file_splice_write() 1009 if (unlikely(ret)) { in iter_file_splice_write() 1141 if (unlikely(!(in->f_mode & FMODE_READ))) in do_splice_to() [all …]
|
D | aio.c | 491 if (unlikely(i != nr_pages)) { in aio_setup_ring() 1008 if (unlikely(!req)) in aio_get_req() 1221 if (unlikely(copy_ret)) { in aio_read_events_ring() 1251 if (unlikely(atomic_read(&ctx->dead))) in aio_read_events() 1270 if (unlikely(copy_from_user(&ts, timeout, sizeof(ts)))) in read_events() 1323 if (unlikely(ret)) in SYSCALL_DEFINE2() 1327 if (unlikely(ctx || nr_events == 0)) { in SYSCALL_DEFINE2() 1429 if (unlikely(!(file->f_mode & mode))) in aio_run_iocb() 1486 if (unlikely(ret == -ERESTARTSYS || ret == -ERESTARTNOINTR || in aio_run_iocb() 1503 if (unlikely(iocb->aio_reserved1 || iocb->aio_reserved2)) { in io_submit_one() [all …]
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | io.c | 36 if (unlikely(count <= 0)) in _insb() 52 if (unlikely(count <= 0)) in _outsb() 67 if (unlikely(count <= 0)) in _insw_ns() 83 if (unlikely(count <= 0)) in _outsw_ns() 98 if (unlikely(count <= 0)) in _insl_ns() 114 if (unlikely(count <= 0)) in _outsl_ns()
|
/linux-4.4.14/arch/x86/entry/vdso/ |
D | vclock_gettime.c | 116 } while (unlikely(cpu != cpu1 || in vread_pvclock() 120 if (unlikely(!(flags & PVCLOCK_TSC_STABLE_BIT))) in vread_pvclock() 231 } while (unlikely(gtod_read_retry(gtod, seq))); in do_realtime() 252 } while (unlikely(gtod_read_retry(gtod, seq))); in do_monotonic() 267 } while (unlikely(gtod_read_retry(gtod, seq))); in do_realtime_coarse() 277 } while (unlikely(gtod_read_retry(gtod, seq))); in do_monotonic_coarse() 311 if (unlikely(do_realtime((struct timespec *)tv) == VCLOCK_NONE)) in __vdso_gettimeofday() 315 if (unlikely(tz != NULL)) { in __vdso_gettimeofday()
|
/linux-4.4.14/lib/lz4/ |
D | lz4_decompress.c | 76 if (unlikely(length > (size_t)(length + len))) in lz4_uncompress() 83 if (unlikely(cpy > oend - COPYLENGTH)) { in lz4_uncompress() 104 if (unlikely(ref < (BYTE *const) dest)) in lz4_uncompress() 112 if (unlikely(length > (size_t)(length + *ip))) in lz4_uncompress() 118 if (unlikely((op - ref) < STEPSIZE)) { in lz4_uncompress() 198 if (unlikely(length > (size_t)(length + s))) in lz4_uncompress_unknownoutputsize() 240 if (unlikely(length > (size_t)(length + s))) in lz4_uncompress_unknownoutputsize() 250 if (unlikely((op - ref) < STEPSIZE)) { in lz4_uncompress_unknownoutputsize()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_fs.c | 228 if (unlikely(ret < 0)) in __ffs_ep0_queue_wait() 232 if (unlikely(ret)) { in __ffs_ep0_queue_wait() 269 if (unlikely(ret < 0)) in ffs_ep0_write() 277 if (unlikely(len < 16)) { in ffs_ep0_write() 292 if (unlikely(ret < 0)) in ffs_ep0_write() 300 if (unlikely(ret < 0)) in ffs_ep0_write() 304 if (unlikely(ret)) { in ffs_ep0_write() 313 if (unlikely(ret < 0)) { in ffs_ep0_write() 426 return unlikely(copy_to_user(buf, events, size)) ? -EFAULT : size; in __ffs_ep0_read_events() 445 if (unlikely(ret < 0)) in ffs_ep0_read() [all …]
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-ibm_iic.c | 234 if (unlikely(time_after(jiffies, x))) in iic_dc_wait() 249 if (unlikely(p->flags & I2C_M_TEN)){ in iic_smbus_quick() 262 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSDA | DIRCNTL_MSC))) in iic_smbus_quick() 281 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSC))) in iic_smbus_quick() 292 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSC))) in iic_smbus_quick() 301 if (unlikely(iic_dc_wait(iic, DIRCNTL_MSC))) in iic_smbus_quick() 349 if (unlikely(in_8(&iic->sts) & STS_ERR)){ in iic_xfer_result() 420 if (unlikely(ret < 0)) in iic_wait_for_tc() 422 else if (unlikely(in_8(&iic->sts) & STS_PT)){ in iic_wait_for_tc() 432 if (unlikely(time_after(jiffies, x))){ in iic_wait_for_tc() [all …]
|
/linux-4.4.14/arch/arm/plat-omap/ |
D | dmtimer.c | 323 if (unlikely(!timer)) in omap_dm_timer_free() 426 if (unlikely(!timer || pm_runtime_suspended(&timer->pdev->dev))) { in omap_dm_timer_trigger() 440 if (unlikely(!timer)) in omap_dm_timer_start() 461 if (unlikely(!timer)) in omap_dm_timer_stop() 488 if (unlikely(!timer)) in omap_dm_timer_set_source() 543 if (unlikely(!timer)) in omap_dm_timer_set_load() 570 if (unlikely(!timer)) in omap_dm_timer_set_load_start() 599 if (unlikely(!timer)) in omap_dm_timer_set_match() 624 if (unlikely(!timer)) in omap_dm_timer_set_pwm() 649 if (unlikely(!timer)) in omap_dm_timer_set_prescaler() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_dma.c | 143 if (unlikely(ret)) in nv50_dma_wait() 148 if (unlikely(get < 0)) { in nv50_dma_wait() 163 if (unlikely(get < 0)) { in nv50_dma_wait() 190 if (unlikely(get == -EBUSY)) in nouveau_dma_wait() 202 if (unlikely(get == -EINVAL) || get < NOUVEAU_DMA_SKIPS) in nouveau_dma_wait() 236 if (unlikely(get == -EBUSY)) in nouveau_dma_wait() 238 if (unlikely(get == -EINVAL)) in nouveau_dma_wait()
|
D | nouveau_gem.c | 345 if (unlikely(nvbo->validate_mapped)) { in validate_fini_no_ticket() 418 if (unlikely(ret == -EDEADLK)) { in validate_init() 424 if (unlikely(ret)) { in validate_init() 481 if (unlikely(ret)) { in validate_list() 487 if (unlikely(ret)) { in validate_list() 494 if (unlikely(ret)) { in validate_list() 541 if (unlikely(ret)) { in nouveau_gem_pushbuf_validate() 548 if (unlikely(ret < 0)) { in nouveau_gem_pushbuf_validate() 605 if (unlikely(r->bo_index > req->nr_buffers)) { in nouveau_gem_pushbuf_reloc_apply() 615 if (unlikely(r->reloc_bo_index > req->nr_buffers)) { in nouveau_gem_pushbuf_reloc_apply() [all …]
|
/linux-4.4.14/arch/powerpc/lib/ |
D | checksum_wrappers_64.c | 40 if (unlikely((len < 0) || !access_ok(VERIFY_READ, src, len))) { in csum_and_copy_from_user() 49 if (unlikely(*err_ptr)) { in csum_and_copy_from_user() 81 if (unlikely((len < 0) || !access_ok(VERIFY_WRITE, dst, len))) { in csum_and_copy_to_user() 90 if (unlikely(*err_ptr)) { in csum_and_copy_to_user()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | mutex.h | 24 if (unlikely(ia64_fetchadd4_acq(count, -1) != 1)) in __mutex_fastpath_lock() 39 if (unlikely(ia64_fetchadd4_acq(count, -1) != 1)) in __mutex_fastpath_lock_retval() 61 if (unlikely(ret < 0)) in __mutex_fastpath_unlock()
|
/linux-4.4.14/net/sunrpc/ |
D | socklib.c | 33 if (unlikely(skb_copy_bits(desc->skb, desc->offset, to, len))) in xdr_skb_read_bits() 90 if (unlikely(pglen == 0)) in xdr_partial_copy_from_skb() 92 if (unlikely(base >= pglen)) { in xdr_partial_copy_from_skb() 107 if (unlikely(*ppage == NULL)) { in xdr_partial_copy_from_skb() 109 if (unlikely(*ppage == NULL)) { in xdr_partial_copy_from_skb() 176 if (unlikely(skb->ip_summed == CHECKSUM_COMPLETE) && in csum_partial_copy_to_xdr()
|
D | addr.c | 74 if (unlikely(len == 0)) in rpc_ntop6() 84 if (unlikely((size_t)rc > sizeof(scopebuf))) in rpc_ntop6() 88 if (unlikely(len > buflen)) in rpc_ntop6() 328 if (unlikely(c == NULL)) in rpc_uaddr2sockaddr() 330 if (unlikely(kstrtou8(c + 1, 10, &portlo) != 0)) in rpc_uaddr2sockaddr() 335 if (unlikely(c == NULL)) in rpc_uaddr2sockaddr() 337 if (unlikely(kstrtou8(c + 1, 10, &porthi) != 0)) in rpc_uaddr2sockaddr()
|
/linux-4.4.14/arch/blackfin/kernel/cplb-nompu/ |
D | cplbmgr.c | 104 if (unlikely(status & FAULT_USERSUPV)) in icplb_miss() 116 if (unlikely(idx == icplb_nr_bounds)) in icplb_miss() 120 if (unlikely(i_data == 0)) in icplb_miss() 151 if (unlikely(status & FAULT_USERSUPV)) in dcplb_miss() 163 if (unlikely(idx == dcplb_nr_bounds)) in dcplb_miss() 167 if (unlikely(d_data == 0)) in dcplb_miss()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_uc.c | 254 if (unlikely(be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid)) in ipath_uc_rcv() 288 if (unlikely(ipath_cmp24(psn, qp->r_psn) != 0)) { in ipath_uc_rcv() 365 if (unlikely(tlen != (hdrsize + pmtu + 4))) { in ipath_uc_rcv() 371 if (unlikely(qp->r_rcv_len > qp->r_len)) { in ipath_uc_rcv() 397 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_uc_rcv() 405 if (unlikely(wc.byte_len > qp->r_len)) { in ipath_uc_rcv() 448 if (unlikely(!ok)) { in ipath_uc_rcv() 459 if (unlikely(!(qp->qp_access_flags & in ipath_uc_rcv() 471 if (unlikely(tlen != (hdrsize + pmtu + 4))) { in ipath_uc_rcv() 476 if (unlikely(qp->r_rcv_len > qp->r_len)) { in ipath_uc_rcv() [all …]
|
D | ipath_rc.c | 657 if (unlikely(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) { in send_rc_ack() 1145 if (unlikely(diff <= 0)) { in ipath_rc_rcv_resp() 1160 if (unlikely(qp->s_last == qp->s_tail)) in ipath_rc_rcv_resp() 1190 if (unlikely(wqe->wr.opcode != IB_WR_RDMA_READ)) in ipath_rc_rcv_resp() 1204 if (unlikely(ipath_cmp24(psn, qp->s_last_psn + 1))) { in ipath_rc_rcv_resp() 1212 if (unlikely(wqe->wr.opcode != IB_WR_RDMA_READ)) in ipath_rc_rcv_resp() 1215 if (unlikely(tlen != (hdrsize + pmtu + 4))) in ipath_rc_rcv_resp() 1217 if (unlikely(pmtu >= qp->s_rdma_read_len)) in ipath_rc_rcv_resp() 1254 if (unlikely(tlen < (hdrsize + pad + 8))) in ipath_rc_rcv_resp() 1268 if (unlikely(ipath_cmp24(psn, qp->s_last_psn + 1))) { in ipath_rc_rcv_resp() [all …]
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_isr.c | 51 if (unlikely(!hw)) in csio_nondata_isr() 54 if (unlikely(pci_channel_offline(hw->pdev))) { in csio_nondata_isr() 112 if (unlikely(!hw)) in csio_fwevt_isr() 115 if (unlikely(pci_channel_offline(hw->pdev))) { in csio_fwevt_isr() 157 if (unlikely(*scsiwr == FW_SCSI_ABRT_CLS_WR)) { in csio_process_scsi_cmpl() 185 if (unlikely(cmnd == NULL)) in csio_process_scsi_cmpl() 190 if (unlikely(cmnd == NULL)) in csio_process_scsi_cmpl() 223 if (unlikely(csio_wr_process_iq(hw, iq, csio_process_scsi_cmpl, in csio_scsi_isr_handler() 233 if (unlikely(ioreq->dcopy)) in csio_scsi_isr_handler() 261 if (unlikely(!iq)) in csio_scsi_isr() [all …]
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | rwsem.h | 28 if (unlikely(atomic64_inc_return((atomic64_t *)(&sem->count)) <= 0L)) in __down_read() 54 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS)) in __down_write_nested() 80 if (unlikely(tmp < -1L && (tmp & RWSEM_ACTIVE_MASK) == 0L)) in __up_read() 89 if (unlikely(atomic64_sub_return(RWSEM_ACTIVE_WRITE_BIAS, in __up_write()
|
/linux-4.4.14/arch/x86/pci/ |
D | numachip.c | 36 if (unlikely((bus > 255) || (devfn > 255) || (reg > 4095))) { in pci_mmcfg_read_numachip() 42 if (unlikely(bus == 0 && devfn >= limit)) { in pci_mmcfg_read_numachip() 76 if (unlikely((bus > 255) || (devfn > 255) || (reg > 4095))) in pci_mmcfg_write_numachip() 80 if (unlikely(bus == 0 && devfn >= limit)) in pci_mmcfg_write_numachip()
|
/linux-4.4.14/arch/sh/boards/mach-se/7722/ |
D | irq.c | 54 if (unlikely(!se7722_irq_domain)) { in se7722_domain_init() 62 if (unlikely(irq == 0)) { in se7722_domain_init() 79 if (unlikely(!gc)) in se7722_gc_init() 105 if (unlikely(!se7722_irq_regs)) { in init_se7722_IRQ()
|
/linux-4.4.14/fs/lockd/ |
D | clntxdr.c | 131 if (unlikely(p == NULL)) in decode_netobj() 134 if (unlikely(length > XDR_MAX_NETOBJ)) in decode_netobj() 163 if (unlikely(p == NULL)) in decode_cookie() 172 if (unlikely(p == NULL)) in decode_cookie() 232 if (unlikely(p == NULL)) in decode_nlm_stat() 234 if (unlikely(ntohl(*p) > ntohl(nlm_lck_denied_grace_period))) in decode_nlm_stat() 286 if (unlikely(p == NULL)) in decode_nlm_holder() 293 if (unlikely(error)) in decode_nlm_holder() 297 if (unlikely(p == NULL)) in decode_nlm_holder() 516 if (unlikely(error)) in decode_nlm_testrply() [all …]
|
D | clnt4xdr.c | 134 if (unlikely(p == NULL)) in decode_netobj() 137 if (unlikely(length > XDR_MAX_NETOBJ)) in decode_netobj() 166 if (unlikely(p == NULL)) in decode_cookie() 175 if (unlikely(p == NULL)) in decode_cookie() 237 if (unlikely(p == NULL)) in decode_nlm4_stat() 239 if (unlikely(ntohl(*p) > ntohl(nlm4_failed))) in decode_nlm4_stat() 292 if (unlikely(p == NULL)) in decode_nlm4_holder() 299 if (unlikely(error)) in decode_nlm4_holder() 303 if (unlikely(p == NULL)) in decode_nlm4_holder() 518 if (unlikely(error)) in decode_nlm4_testrply() [all …]
|
D | mon.c | 163 if (unlikely(res.status != 0)) in nsm_monitor() 165 if (unlikely(status < 0)) { in nsm_monitor() 171 if (unlikely(nsm_local_state != res.state)) { in nsm_monitor() 277 if (unlikely(new == NULL)) in nsm_create_handle() 359 if (unlikely(new == NULL)) in nsm_get_handle() 382 if (unlikely(cached == NULL)) { in nsm_reboot_lookup() 498 if (unlikely(p == NULL)) in nsm_xdr_dec_stat_res() 515 if (unlikely(p == NULL)) in nsm_xdr_dec_stat()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | rwsem.h | 44 if (unlikely(oldcount < 0)) in __down_read() 86 if (unlikely(oldcount)) in __down_write() 122 if (unlikely(oldcount < 0)) in __up_read() 148 if (unlikely(count)) in __up_write() 176 if (unlikely(oldcount < 0)) in __downgrade_write()
|
/linux-4.4.14/drivers/clk/ti/ |
D | clockdomain.c | 49 if (unlikely(!clk->clkdm)) { in omap2_clkops_enable_clkdm() 55 if (unlikely(clk->enable_reg)) in omap2_clkops_enable_clkdm() 87 if (unlikely(!clk->clkdm)) { in omap2_clkops_disable_clkdm() 93 if (unlikely(clk->enable_reg)) in omap2_clkops_disable_clkdm()
|
/linux-4.4.14/arch/sh/boards/mach-se/7343/ |
D | irq.c | 55 if (unlikely(!se7343_irq_domain)) { in se7343_domain_init() 63 if (unlikely(irq == 0)) { in se7343_domain_init() 80 if (unlikely(!gc)) in se7343_gc_init() 112 if (unlikely(!se7343_irq_regs)) { in init_7343se_IRQ()
|
/linux-4.4.14/arch/x86/mm/ |
D | fault.c | 53 if (unlikely(is_kmmio_active())) in kmmio_fault() 790 if (unlikely((error_code & PF_INSTR) && in __bad_area_nosemaphore() 1017 if (unlikely(!(vma->vm_flags & VM_WRITE))) in access_error() 1023 if (unlikely(error_code & PF_PROT)) in access_error() 1027 if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))) in access_error() 1085 if (unlikely(kmmio_fault(regs, address))) in __do_page_fault() 1101 if (unlikely(fault_in_kernel_space(address))) { in __do_page_fault() 1127 if (unlikely(kprobes_fault(regs))) in __do_page_fault() 1130 if (unlikely(error_code & PF_RSVD)) in __do_page_fault() 1133 if (unlikely(smap_violation(error_code, regs))) { in __do_page_fault() [all …]
|
/linux-4.4.14/drivers/scsi/aacraid/ |
D | rx.c | 61 if (unlikely(bellbits & DoorBellPrintfReady)) { in aac_rx_intr_producer() 66 else if (unlikely(bellbits & DoorBellAdapterNormCmdReady)) { in aac_rx_intr_producer() 74 else if (unlikely(bellbits & DoorBellAdapterNormCmdNotFull)) { in aac_rx_intr_producer() 77 else if (unlikely(bellbits & DoorBellAdapterNormRespNotFull)) { in aac_rx_intr_producer() 91 if (unlikely(Index == 0xFFFFFFFFL)) in aac_rx_intr_message() 107 if (unlikely(aac_intr_normal(dev, in aac_rx_intr_message() 226 if (unlikely(ok != 1)) { in rx_sync_cmd() 341 if (unlikely(status & SELF_TEST_FAILED)) in aac_rx_check_health() 346 if (unlikely(status & KERNEL_PANIC)) { in aac_rx_check_health() 359 if (unlikely(buffer == NULL)) in aac_rx_check_health() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 272 if (unlikely(qib_cmp24(psn, qp->r_psn) != 0)) { in qib_uc_rcv() 371 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 374 if (unlikely(qp->r_rcv_len > qp->r_len)) in qib_uc_rcv() 394 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv() 399 if (unlikely(wc.byte_len > qp->r_len)) in qib_uc_rcv() 426 if (unlikely(!(qp->qp_access_flags & in qib_uc_rcv() 443 if (unlikely(!ok)) in qib_uc_rcv() 462 if (unlikely(tlen != (hdrsize + pmtu + 4))) in qib_uc_rcv() 465 if (unlikely(qp->r_rcv_len > qp->r_len)) in qib_uc_rcv() 480 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv() [all …]
|
D | qib_keys.c | 175 if (unlikely(!atomic_inc_not_zero(&mr->refcount))) in qib_lkey_ok() 189 if (unlikely(!mr || mr->lkey != sge->lkey || mr->pd != &pd->ibpd)) in qib_lkey_ok() 193 if (unlikely(sge->addr < mr->user_base || in qib_lkey_ok() 197 if (unlikely(!atomic_inc_not_zero(&mr->refcount))) in qib_lkey_ok() 274 if (unlikely(!atomic_inc_not_zero(&mr->refcount))) in qib_rkey_ok() 289 if (unlikely(!mr || mr->lkey != rkey || qp->ibqp.pd != mr->pd)) in qib_rkey_ok() 293 if (unlikely(vaddr < mr->iova || off + len > mr->length || in qib_rkey_ok() 296 if (unlikely(!atomic_inc_not_zero(&mr->refcount))) in qib_rkey_ok() 361 if (unlikely(mrg == NULL || qp->ibqp.pd != mrg->pd)) in qib_reg_mr()
|
/linux-4.4.14/drivers/ssb/ |
D | sdio.c | 115 if (unlikely(error)) { in ssb_sdio_writeb() 130 if (unlikely(error)) { 175 if (unlikely(error)) { in ssb_sdio_scan_read32() 210 if (unlikely(bus->sdio_sbaddr != sbaddr)) { in ssb_sdio_switch_core() 236 if (unlikely(ssb_sdio_switch_core(bus, dev))) in ssb_sdio_read8() 258 if (unlikely(ssb_sdio_switch_core(bus, dev))) in ssb_sdio_read16() 280 if (unlikely(ssb_sdio_switch_core(bus, dev))) in ssb_sdio_read32() 305 if (unlikely(ssb_sdio_switch_core(bus, dev))) { in ssb_sdio_block_read() 349 if (unlikely(ssb_sdio_switch_core(bus, dev))) in ssb_sdio_write8() 368 if (unlikely(ssb_sdio_switch_core(bus, dev))) in ssb_sdio_write16() [all …]
|
D | pci.c | 975 if (unlikely(ssb_pci_assert_buspower(bus))) in ssb_pci_read8() 977 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read8() 978 if (unlikely(ssb_pci_switch_core(bus, dev))) in ssb_pci_read8() 988 if (unlikely(ssb_pci_assert_buspower(bus))) in ssb_pci_read16() 990 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read16() 991 if (unlikely(ssb_pci_switch_core(bus, dev))) in ssb_pci_read16() 1001 if (unlikely(ssb_pci_assert_buspower(bus))) in ssb_pci_read32() 1003 if (unlikely(bus->mapped_device != dev)) { in ssb_pci_read32() 1004 if (unlikely(ssb_pci_switch_core(bus, dev))) in ssb_pci_read32() 1017 if (unlikely(ssb_pci_assert_buspower(bus))) in ssb_pci_block_read() [all …]
|
/linux-4.4.14/arch/powerpc/mm/ |
D | hugepage-hash64.c | 40 if (unlikely(old_pmd & _PAGE_BUSY)) in __hash_page_thp() 43 if (unlikely(old_pmd & _PAGE_SPLITTING)) in __hash_page_thp() 46 if (unlikely(access & ~old_pmd)) in __hash_page_thp() 150 if (unlikely(slot == -1)) { in __hash_page_thp() 169 if (unlikely(slot == -2)) { in __hash_page_thp()
|
D | hugetlbpage-hash64.c | 50 if (unlikely(old_pte & _PAGE_BUSY)) in __hash_page_huge() 53 if (unlikely(access & ~old_pte)) in __hash_page_huge() 73 if (unlikely(old_pte & _PAGE_HASHPTE)) { in __hash_page_huge() 114 if (unlikely(slot == -2)) { in __hash_page_huge()
|
/linux-4.4.14/arch/sh/boards/mach-sdk7786/ |
D | sram.c | 38 if (unlikely(area == LCLASR_AREA_MASK)) { in fpga_sram_init() 54 if (unlikely(!vaddr)) { in fpga_sram_init() 64 if (unlikely(ret < 0)) { in fpga_sram_init()
|
/linux-4.4.14/security/keys/ |
D | gc.c | 226 if (unlikely(gc_state & KEY_GC_REAPING_DEAD_1)) { in key_garbage_collector() 243 if (unlikely(gc_state & KEY_GC_REAPING_DEAD_2)) in key_garbage_collector() 248 unlikely(gc_state & KEY_GC_REAPING_DEAD_2)) { in key_garbage_collector() 253 if (unlikely(gc_state & KEY_GC_REAPING_DEAD_3)) in key_garbage_collector() 283 if (unlikely(gc_state & KEY_GC_REAPING_DEAD_2) || in key_garbage_collector() 299 if (unlikely(gc_state & (KEY_GC_REAPING_DEAD_1 | in key_garbage_collector() 313 if (unlikely(gc_state & KEY_GC_REAPING_DEAD_3)) { in key_garbage_collector()
|
/linux-4.4.14/arch/x86/kernel/ |
D | jump_label.c | 54 if (unlikely(memcmp((void *)entry->code, default_nop, 5) in __jump_label_transform() 62 if (unlikely(memcmp((void *)entry->code, ideal_nop, 5) in __jump_label_transform() 78 if (unlikely(memcmp((void *)entry->code, default_nop, 5) != 0)) in __jump_label_transform() 84 if (unlikely(memcmp((void *)entry->code, &code, 5) != 0)) in __jump_label_transform()
|
D | irq_32.c | 85 if (unlikely(curstk == irqstk)) in execute_on_irq_stack() 94 if (unlikely(overflow)) in execute_on_irq_stack() 158 if (unlikely(overflow)) in handle_irq()
|
/linux-4.4.14/drivers/xen/xen-pciback/ |
D | conf_space_header.c | 69 if (unlikely(verbose_request)) in command_write() 78 if (unlikely(verbose_request)) in command_write() 87 if (unlikely(verbose_request)) in command_write() 92 if (unlikely(verbose_request)) in command_write() 100 if (unlikely(verbose_request)) in command_write() 112 if (unlikely(verbose_request)) in command_write() 139 if (unlikely(!bar)) { in rom_write() 173 if (unlikely(!bar)) { in bar_write() 201 if (unlikely(!bar)) { in bar_read()
|
D | pciback_ops.c | 151 if (unlikely(verbose_request)) in xen_pcibk_enable_msi() 173 if (unlikely(verbose_request)) in xen_pcibk_enable_msi() 188 if (unlikely(verbose_request)) in xen_pcibk_disable_msi() 202 if (unlikely(verbose_request)) in xen_pcibk_disable_msi() 217 if (unlikely(verbose_request)) in xen_pcibk_enable_msix() 252 if (unlikely(verbose_request)) in xen_pcibk_enable_msix() 277 if (unlikely(verbose_request)) in xen_pcibk_disable_msix() 295 if (unlikely(verbose_request)) in xen_pcibk_disable_msix()
|
/linux-4.4.14/drivers/sh/intc/ |
D | userimask.c | 64 if (unlikely(!uimask)) in userimask_sysdev_init() 73 if (unlikely(uimask)) in register_intc_userimask() 77 if (unlikely(!uimask)) in register_intc_userimask()
|
/linux-4.4.14/fs/nfs/objlayout/ |
D | objio_osd.c | 195 if (unlikely(!lseg)) { in __alloc_objio_seg() 225 if (unlikely(err)) in objio_alloc_lseg() 229 if (unlikely(err)) in objio_alloc_lseg() 240 if (unlikely(err)) in objio_alloc_lseg() 263 if (unlikely(err)) in objio_alloc_lseg() 308 if (unlikely(!aos)) in objio_alloc_io_state() 316 if (unlikely(ret)) { in objio_alloc_io_state() 419 if (unlikely(ret)) in objio_read_pagelist() 426 if (unlikely(ret)) in objio_read_pagelist() 472 if (unlikely(!page)) { in __r4w_get_page() [all …]
|
/linux-4.4.14/drivers/staging/octeon/ |
D | ethernet-tx.c | 204 if (unlikely(skb_shinfo(skb)->nr_frags > 5)) { in cvm_oct_xmit() 205 if (unlikely(__skb_linearize(skb))) { in cvm_oct_xmit() 311 if (unlikely(skb->data < fpa_head)) { in cvm_oct_xmit() 318 if (unlikely in cvm_oct_xmit() 325 if (unlikely(skb_shared(skb))) { in cvm_oct_xmit() 331 if (unlikely(skb_cloned(skb))) { in cvm_oct_xmit() 337 if (unlikely(skb_header_cloned(skb))) { in cvm_oct_xmit() 343 if (unlikely(skb->destructor)) { in cvm_oct_xmit() 349 if (unlikely(skb_shinfo(skb)->nr_frags)) { in cvm_oct_xmit() 355 if (unlikely in cvm_oct_xmit() [all …]
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | uc.c | 288 if (unlikely(bth1 & (HFI1_BECN_SMASK | HFI1_FECN_SMASK))) { in hfi1_uc_rcv() 322 if (unlikely(cmp_psn(psn, qp->r_psn) != 0)) { in hfi1_uc_rcv() 412 if (unlikely(tlen != (hdrsize + pmtu + 4))) in hfi1_uc_rcv() 415 if (unlikely(qp->r_rcv_len > qp->r_len)) in hfi1_uc_rcv() 434 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv() 439 if (unlikely(wc.byte_len > qp->r_len)) in hfi1_uc_rcv() 477 if (unlikely(!(qp->qp_access_flags & in hfi1_uc_rcv() 493 if (unlikely(!ok)) in hfi1_uc_rcv() 512 if (unlikely(tlen != (hdrsize + pmtu + 4))) in hfi1_uc_rcv() 515 if (unlikely(qp->r_rcv_len > qp->r_len)) in hfi1_uc_rcv() [all …]
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | spinlock.h | 45 if (unlikely(get_paca()->io_sync)) { \ 131 } while (unlikely(lock->slock != 0)); in arch_spin_lock() 151 } while (unlikely(lock->slock != 0)); in arch_spin_lock_flags() 251 } while (unlikely(rw->lock < 0)); in arch_read_lock() 265 } while (unlikely(rw->lock != 0)); in arch_write_lock()
|
D | mutex.h | 77 if (unlikely(__mutex_dec_return_lock(count) < 0)) in __mutex_fastpath_lock() 92 if (unlikely(__mutex_dec_return_lock(count) < 0)) in __mutex_fastpath_lock_retval() 109 if (unlikely(__mutex_inc_return_unlock(count) <= 0)) in __mutex_fastpath_unlock()
|
/linux-4.4.14/fs/hpfs/ |
D | buffer.c | 17 for (i = 0; unlikely(i < sbi->n_hotfixes); i++) { in hpfs_search_hotfix_map() 29 for (i = 0; unlikely(i < sbi->n_hotfixes); i++) { in hpfs_search_hotfix_map_for_range() 42 if (n <= 0 || unlikely(secno >= hpfs_sb(s)->sb_fs_size)) in hpfs_prefetch_sectors() 45 if (unlikely(hpfs_search_hotfix_map_for_range(s, secno, n) != n)) in hpfs_prefetch_sectors() 59 if (unlikely(secno >= hpfs_sb(s)->sb_fs_size)) in hpfs_prefetch_sectors() 211 if (unlikely(qbh->data != qbh->bh[0]->b_data)) in hpfs_brelse4() 221 if (unlikely(qbh->data != qbh->bh[0]->b_data)) { in hpfs_mark_4buffers_dirty()
|
/linux-4.4.14/drivers/vhost/ |
D | net.c | 140 if (unlikely(!r)) in vhost_net_ubuf_put() 229 return unlikely(experimental_zcopytx) && in vhost_sock_zcopy() 330 if (unlikely((nvq->upend_idx + vq->num - VHOST_MAX_PEND) in handle_tx() 339 if (unlikely(head < 0)) in handle_tx() 343 if (unlikely(vhost_enable_notify(&net->dev, vq))) { in handle_tx() 393 if (unlikely(err < 0)) { in handle_tx() 411 if (unlikely(total_len >= VHOST_NET_WEIGHT)) { in handle_tx() 467 if (unlikely(seg >= UIO_MAXIOV)) { in get_rx_bufs() 474 if (unlikely(r < 0)) in get_rx_bufs() 482 if (unlikely(out || in <= 0)) { in get_rx_bufs() [all …]
|
D | vhost.c | 1122 if (unlikely(vq->log_used)) { in vhost_update_used_flags() 1140 if (unlikely(vq->log_used)) { in vhost_update_avail_event() 1192 if (unlikely(ret >= iov_size)) { in translate_desc() 1197 if (unlikely(!reg)) { in translate_desc() 1248 if (unlikely(len % sizeof desc)) { in get_indirect() 1258 if (unlikely(ret < 0)) { in get_indirect() 1271 if (unlikely(count > USHRT_MAX + 1)) { in get_indirect() 1279 if (unlikely(++found > count)) { in get_indirect() 1285 if (unlikely(copy_from_iter(&desc, sizeof(desc), &from) != in get_indirect() 1291 if (unlikely(desc.flags & cpu_to_vhost16(vq, VRING_DESC_F_INDIRECT))) { in get_indirect() [all …]
|
/linux-4.4.14/arch/x86/lib/ |
D | csum-wrappers_64.c | 40 if (unlikely((unsigned long)src & 6)) { in csum_partial_copy_from_user() 59 if (unlikely(*errp)) in csum_partial_copy_from_user() 91 if (unlikely(!access_ok(VERIFY_WRITE, dst, len))) { in csum_partial_copy_to_user() 96 if (unlikely((unsigned long)dst & 6)) { in csum_partial_copy_to_user()
|
D | csum-partial_64.c | 39 if (unlikely(len == 0)) in do_csum() 42 if (unlikely(odd)) { in do_csum() 114 if (unlikely(odd)) { in do_csum()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | pci_sun4v.c | 75 if (unlikely(num < 0)) { in iommu_batch_flush() 144 if (unlikely(order >= MAX_ORDER)) in dma_4v_alloc_coherent() 151 if (unlikely(!page)) in dma_4v_alloc_coherent() 162 if (unlikely(entry == IOMMU_ERROR_CODE)) in dma_4v_alloc_coherent() 178 if (unlikely(err < 0L)) in dma_4v_alloc_coherent() 182 if (unlikely(iommu_batch_end() < 0L)) in dma_4v_alloc_coherent() 249 if (unlikely(direction == DMA_NONE)) in dma_4v_map_page() 259 if (unlikely(entry == IOMMU_ERROR_CODE)) in dma_4v_map_page() 275 if (unlikely(err < 0L)) in dma_4v_map_page() 278 if (unlikely(iommu_batch_end() < 0L)) in dma_4v_map_page() [all …]
|
/linux-4.4.14/fs/f2fs/ |
D | checkpoint.c | 63 if (unlikely(!is_meta)) in __get_meta_page() 82 if (unlikely(page->mapping != mapping)) { in __get_meta_page() 92 if (unlikely(!PageUptodate(page))) in __get_meta_page() 115 if (unlikely(blkaddr >= SIT_BLK_CNT(sbi))) in is_valid_blkaddr() 119 if (unlikely(blkaddr >= MAIN_BLKADDR(sbi) || in is_valid_blkaddr() 124 if (unlikely(blkaddr >= SIT_I(sbi)->sit_base_addr || in is_valid_blkaddr() 129 if (unlikely(blkaddr >= MAX_BLKADDR(sbi) || in is_valid_blkaddr() 156 if (unlikely(type == META_POR)) in ra_meta_pages() 166 if (unlikely(blkno >= in ra_meta_pages() 228 if (unlikely(is_sbi_flag_set(sbi, SBI_POR_DOING))) in f2fs_write_meta_page() [all …]
|
/linux-4.4.14/net/ipv4/ |
D | ip_forward.c | 47 if (unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0)) in ip_exceeds_mtu() 51 if (unlikely(IPCB(skb)->frag_max_size > mtu)) in ip_exceeds_mtu() 71 if (unlikely(opt->optlen)) in ip_forward_finish() 90 if (unlikely(skb->sk)) in ip_forward()
|
D | gre_offload.c | 31 if (unlikely(skb_shinfo(skb)->gso_type & in gre_gso_segment() 46 if (unlikely(!pskb_may_pull(skb, sizeof(*greh)))) in gre_gso_segment() 52 if (unlikely(ghl < sizeof(*greh))) in gre_gso_segment() 63 if (unlikely(!pskb_may_pull(skb, ghl))) in gre_gso_segment() 136 if (unlikely(!greh)) in gre_gro_receive() 167 if (unlikely(!greh)) in gre_gro_receive()
|
/linux-4.4.14/fs/hfsplus/ |
D | posix_acl.c | 37 if (unlikely(!value)) in hfsplus_get_posix_acl() 90 if (unlikely(size > HFSPLUS_MAX_INLINE_DATA_SIZE)) in hfsplus_set_posix_acl() 93 if (unlikely(!value)) in hfsplus_set_posix_acl() 96 if (unlikely(err < 0)) in hfsplus_set_posix_acl()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | acl.c | 103 if (unlikely(old_count <= new_count)) in lustre_posix_acl_xattr_reduce_space() 107 if (unlikely(new == NULL)) in lustre_posix_acl_xattr_reduce_space() 123 if (unlikely(old_count <= ext_count)) in lustre_ext_acl_xattr_reduce_space() 127 if (unlikely(new == NULL)) in lustre_ext_acl_xattr_reduce_space() 144 if (unlikely(size < 0)) in lustre_posix_acl_xattr_2ext() 152 if (unlikely(new == NULL)) in lustre_posix_acl_xattr_2ext() 183 if (unlikely(new == NULL)) in lustre_posix_acl_xattr_filter() 301 if (unlikely(size < 0)) in lustre_acl_xattr_merge2ext() 312 if (unlikely(new == NULL)) in lustre_acl_xattr_merge2ext()
|
/linux-4.4.14/arch/sparc/mm/ |
D | fault_64.c | 101 if (pgd_none(*pgdp) || unlikely(pgd_bad(*pgdp))) in get_user_insn() 104 if (pud_none(*pudp) || unlikely(pud_bad(*pudp))) in get_user_insn() 111 if (pmd_none(*pmdp) || unlikely(pmd_bad(*pmdp))) in get_user_insn() 194 if (unlikely(show_unhandled_signals)) in do_fault_siginfo() 306 if (unlikely((regs->tpc >> 32) != 0)) { in do_sparc64_fault() 311 if (unlikely((address >> 32) != 0)) in do_sparc64_fault() 447 if (unlikely(fault & VM_FAULT_ERROR)) { in do_sparc64_fault() 485 if (unlikely(mm_rss > in do_sparc64_fault() 490 if (unlikely(mm_rss > in do_sparc64_fault()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_input.c | 28 if (unlikely(afinfo == NULL)) in xfrm_input_register_afinfo() 30 if (unlikely(afinfo->family >= NPROTO)) in xfrm_input_register_afinfo() 33 if (unlikely(xfrm_input_afinfo[afinfo->family] != NULL)) in xfrm_input_register_afinfo() 46 if (unlikely(afinfo == NULL)) in xfrm_input_unregister_afinfo() 48 if (unlikely(afinfo->family >= NPROTO)) in xfrm_input_unregister_afinfo() 52 if (unlikely(xfrm_input_afinfo[afinfo->family] != afinfo)) in xfrm_input_unregister_afinfo() 67 if (unlikely(family >= NPROTO)) in xfrm_input_get_afinfo() 71 if (unlikely(!afinfo)) in xfrm_input_get_afinfo() 258 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_input()
|
/linux-4.4.14/drivers/net/usb/ |
D | rndis_host.c | 135 if (unlikely(retval < 0 || xid == 0)) in rndis_command() 147 if (unlikely(retval < 0)) in rndis_command() 169 if (unlikely(rsp == RNDIS_MSG_RESET_C)) in rndis_command() 200 if (unlikely(retval < 0)) in rndis_command() 262 if (unlikely(retval < 0)) { in rndis_query() 270 if (unlikely((8 + off + len) > CONTROL_BUFFER_SIZE)) in rndis_query() 362 if (unlikely(retval < 0)) { in generic_rndis_bind() 427 if (unlikely(retval< 0)) { in generic_rndis_bind() 443 if (unlikely(retval < 0)) { in generic_rndis_bind() 511 if (unlikely(msg_type != RNDIS_MSG_PACKET || skb->len < msg_len in rndis_rx_fixup() [all …]
|
/linux-4.4.14/security/ |
D | security.c | 374 if (unlikely(IS_PRIVATE(inode))) in security_inode_init_security() 405 if (unlikely(IS_PRIVATE(inode))) in security_old_inode_init_security() 416 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_mknod() 424 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_mkdir() 432 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_rmdir() 439 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_unlink() 448 if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry)))) in security_path_symlink() 456 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)))) in security_path_link() 465 if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)) || in security_path_rename() 483 if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry)))) in security_path_truncate() [all …]
|
/linux-4.4.14/drivers/usb/host/ |
D | ehci-q.c | 108 if (unlikely(!usb_gettoggle(qh->ps.udev, epnum, is_out))) { in qh_update() 206 if (unlikely(urb->unlinked)) in qtd_copy_status() 210 if (unlikely (IS_SHORT_READ (token))) in qtd_copy_status() 256 if (unlikely(urb->unlinked)) { in ehci_urb_done() 468 if (unlikely(last_status != -EINPROGRESS && in qh_completions() 509 if (unlikely(qh->dequeue_during_giveback)) { in qh_completions() 591 if (unlikely (!qtd)) in qh_urb_transaction() 612 if (unlikely (!qtd)) in qh_urb_transaction() 683 if (unlikely (!qtd)) in qh_urb_transaction() 719 if (unlikely (!qtd)) in qh_urb_transaction() [all …]
|
/linux-4.4.14/arch/nios2/mm/ |
D | mmu_context.c | 65 if (unlikely(CTX_PID(next_mmu_context) == 0)) { in get_new_context() 74 if (unlikely(CTX_VERSION(next_mmu_context) == 0)) in get_new_context() 89 if (unlikely(CTX_VERSION(next->context) != in switch_mm()
|
/linux-4.4.14/kernel/ |
D | exit.c | 106 if (unlikely(has_group_leader_pid(tsk))) in __exit_signal() 210 if (unlikely(zap_leader)) in release_task() 470 if (unlikely(pid_ns == &init_pid_ns)) { in find_child_reaper() 525 if (unlikely(p->exit_state == EXIT_DEAD)) in reparent_leader() 556 if (unlikely(!list_empty(&father->ptraced))) in forget_original_parent() 601 if (unlikely(tsk->ptrace)) { in exit_notify() 619 if (unlikely(tsk->signal->notify_count < 0)) in exit_notify() 663 if (unlikely(in_interrupt())) in do_exit() 665 if (unlikely(!tsk->pid)) in do_exit() 685 if (unlikely(tsk->flags & PF_EXITING)) { in do_exit() [all …]
|
D | futex.c | 479 if (unlikely((address % sizeof(u32)) != 0)) in get_futex_key() 483 if (unlikely(!access_ok(rw, uaddr, sizeof(u32)))) in get_futex_key() 486 if (unlikely(should_fail_futex(fshared))) in get_futex_key() 505 if (unlikely(should_fail_futex(fshared))) in get_futex_key() 524 if (unlikely(PageTail(page))) { in get_futex_key() 596 if (unlikely(should_fail_futex(fshared)) || ro) { in get_futex_key() 900 if (unlikely(!pi_state)) in attach_to_pi_state() 980 if (unlikely(p->flags & PF_KTHREAD)) { in attach_to_pi_owner() 992 if (unlikely(p->flags & PF_EXITING)) { in attach_to_pi_owner() 1054 if (unlikely(should_fail_futex(true))) in lock_pi_update_atomic() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | desc.c | 99 if (unlikely(tx_tries0 == 0)) { in ath5k_hw_setup_2word_tx_desc() 104 if (unlikely(tx_rate0 == 0)) { in ath5k_hw_setup_2word_tx_desc() 270 if (unlikely(tx_tries0 == 0)) { in ath5k_hw_setup_4word_tx_desc() 275 if (unlikely(tx_rate0 == 0)) { in ath5k_hw_setup_4word_tx_desc() 397 if (unlikely((tx_rate1 == 0 && tx_tries1 != 0) || in ath5k_hw_setup_mrr_tx_desc() 451 if (unlikely((tx_status->tx_status_1 & AR5K_DESC_TX_STATUS1_DONE) == 0)) in ath5k_hw_proc_2word_tx_status() 506 if (unlikely(!(txstat1 & AR5K_DESC_TX_STATUS1_DONE))) in ath5k_hw_proc_4word_tx_status() 576 if (unlikely(size & ~AR5K_DESC_RX_CTL1_BUF_LEN)) in ath5k_hw_setup_rx_desc() 610 if (unlikely(!(rx_status->rx_status_1 & in ath5k_hw_proc_5210_rx_status() 706 if (unlikely(!(rxstat1 & AR5K_5212_RX_DESC_STATUS1_DONE))) in ath5k_hw_proc_5212_rx_status()
|
D | dma.c | 540 if (unlikely(isr == AR5K_INT_NOCARD)) { in ath5k_hw_get_isr() 552 if (unlikely(isr & (AR5K_ISR_SSERR | AR5K_ISR_MCABT in ath5k_hw_get_isr() 576 if (unlikely(pisr == AR5K_INT_NOCARD)) { in ath5k_hw_get_isr() 704 if (unlikely(pisr & (AR5K_ISR_HIUERR))) in ath5k_hw_get_isr() 708 if (unlikely(pisr & (AR5K_ISR_BNR))) in ath5k_hw_get_isr() 712 if (unlikely(pisr & (AR5K_ISR_QCBRORN))) { in ath5k_hw_get_isr() 719 if (unlikely(pisr & (AR5K_ISR_QCBRURN))) { in ath5k_hw_get_isr() 726 if (unlikely(pisr & (AR5K_ISR_QTRIG))) { in ath5k_hw_get_isr() 739 if (unlikely(*interrupt_mask == 0 && net_ratelimit())) in ath5k_hw_get_isr()
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | ftrace.c | 30 if (unlikely(ftrace_graph_is_dead())) in prepare_ftrace_return() 33 if (unlikely(atomic_read(¤t->tracing_graph_pause))) in prepare_ftrace_return() 60 if (unlikely(faulted)) { in prepare_ftrace_return() 101 if (unlikely(faulted)) in ftrace_modify_code()
|
/linux-4.4.14/arch/sh/drivers/ |
D | push-switch.c | 53 if (unlikely(!psw)) in switch_drv_probe() 57 if (unlikely(irq < 0)) { in switch_drv_probe() 68 if (unlikely(ret < 0)) in switch_drv_probe() 73 if (unlikely(ret)) { in switch_drv_probe()
|
D | heartbeat.c | 83 if (unlikely(pdev->num_resources != 1)) { in heartbeat_drv_probe() 89 if (unlikely(res == NULL)) { in heartbeat_drv_probe() 98 if (unlikely(!hd)) in heartbeat_drv_probe() 103 if (unlikely(!hd->base)) { in heartbeat_drv_probe()
|
/linux-4.4.14/net/ipv6/ |
D | ip6_offload.c | 33 if (unlikely(!ops)) in ipv6_gso_pull_exthdrs() 40 if (unlikely(!pskb_may_pull(skb, 8))) in ipv6_gso_pull_exthdrs() 46 if (unlikely(!pskb_may_pull(skb, len))) in ipv6_gso_pull_exthdrs() 71 if (unlikely(skb_shinfo(skb)->gso_type & in ipv6_gso_segment() 89 if (unlikely(!pskb_may_pull(skb, sizeof(*ipv6h)))) in ipv6_gso_segment() 153 if (unlikely(!(*opps))) in ipv6_exthdrs_len() 184 if (unlikely(!iph)) in ipv6_gro_receive()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | qat_asym_algs.c | 251 if (unlikely(!ctx->n || !ctx->e)) in qat_rsa_enc() 262 if (unlikely(!msg->pke_hdr.cd_pars.func_id)) in qat_rsa_enc() 286 if (unlikely(dma_mapping_error(dev, qat_req->in.enc.m))) in qat_rsa_enc() 295 if (unlikely(!qat_req->src_align)) in qat_rsa_enc() 307 if (unlikely(dma_mapping_error(dev, qat_req->out.enc.c))) in qat_rsa_enc() 314 if (unlikely(!qat_req->dst_align)) in qat_rsa_enc() 323 if (unlikely(dma_mapping_error(dev, qat_req->phy_in))) in qat_rsa_enc() 329 if (unlikely(dma_mapping_error(dev, qat_req->phy_out))) in qat_rsa_enc() 382 if (unlikely(!ctx->n || !ctx->d)) in qat_rsa_dec() 393 if (unlikely(!msg->pke_hdr.cd_pars.func_id)) in qat_rsa_dec() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | tx.c | 51 if (unlikely(modparam_noht)) { in __carl9170_get_queue() 122 if (unlikely(!vif)) in __carl9170_get_tx_sta() 145 if (unlikely(!sta)) in carl9170_tx_ps_unblock() 199 if (unlikely(atomic_sub_return(chunks, &ar->mem_free_blocks) < 0)) { in carl9170_alloc_dev_space() 208 if (unlikely(cookie < 0)) { in carl9170_alloc_dev_space() 249 if (unlikely(WARN_ON_ONCE(cookie == 0) || in carl9170_release_dev_space() 394 if (unlikely(!sta)) in carl9170_tx_status_process_ampdu() 452 if (unlikely(ieee80211_is_back_req(bar->frame_control)) && in carl9170_tx_bar_status() 1002 if (unlikely(info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM)) in carl9170_tx_prepare() 1005 if (unlikely(info->flags & IEEE80211_TX_CTL_ASSIGN_SEQ)) in carl9170_tx_prepare() [all …]
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | bfin_gpio.c | 675 if (unlikely(!check_gpio(ident) && is_reserved(gpio, ident, 1))) { in peripheral_request() 685 if (unlikely(is_reserved(peri, ident, 1))) { in peripheral_request() 711 if (unlikely(portmux_group_check(per))) { in peripheral_request() 762 if (unlikely(!is_reserved(peri, ident, 0))) { in peripheral_free() 821 if (unlikely(is_reserved(gpio, gpio, 1))) { in bfin_gpio_request() 829 if (unlikely(is_reserved(peri, gpio, 1))) { in bfin_gpio_request() 838 if (unlikely(is_reserved(gpio_irq, gpio, 1))) { in bfin_gpio_request() 867 if (unlikely(!is_reserved(gpio, gpio, 0))) { in bfin_gpio_free() 903 if (unlikely(is_reserved(special_gpio, gpio, 1))) { in bfin_special_gpio_request() 910 if (unlikely(is_reserved(peri, gpio, 1))) { in bfin_special_gpio_request() [all …]
|
/linux-4.4.14/tools/perf/util/ |
D | cpumap.h | 67 if (unlikely(!max_node_num)) in cpu__max_node() 75 if (unlikely(!max_cpu_num)) in cpu__max_cpu() 83 if (unlikely(cpunode_map == NULL)) { in cpu__get_node()
|
/linux-4.4.14/fs/notify/inotify/ |
D | inotify_user.c | 442 if (unlikely(!found_i_mark)) { in inotify_remove_from_idr() 454 if (unlikely(found_i_mark != i_mark)) { in inotify_remove_from_idr() 470 if (unlikely(atomic_read(&i_mark->fsn_mark.refcnt) < 3)) { in inotify_remove_from_idr() 580 if (unlikely(!tmp_i_mark)) in inotify_new_watch() 642 if (unlikely(!oevent)) { in inotify_new_group() 715 if (unlikely(mask & ~ALL_INOTIFY_BITS)) in SYSCALL_DEFINE3() 722 if (unlikely(!(mask & ALL_INOTIFY_BITS))) in SYSCALL_DEFINE3() 726 if (unlikely(!f.file)) in SYSCALL_DEFINE3() 730 if (unlikely(f.file->f_op != &inotify_fops)) { in SYSCALL_DEFINE3() 764 if (unlikely(!f.file)) in SYSCALL_DEFINE2() [all …]
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | gss_rpc_xdr.c | 29 if (unlikely(p == NULL)) in gssx_enc_bool() 40 if (unlikely(p == NULL)) in gssx_dec_bool() 82 if (unlikely(p == NULL)) in gssx_dec_buffer() 87 if (unlikely(p == NULL)) in gssx_dec_buffer() 156 if (unlikely(p == NULL)) in dummy_dec_opt_array() 191 if (unlikely(p == NULL)) in gssx_dec_linux_creds() 250 if (unlikely(p == NULL)) in gssx_dec_option_array() 280 if (unlikely(p == NULL)) in gssx_dec_option_array() 285 if (unlikely(p == NULL)) in gssx_dec_option_array() 313 if (unlikely(p == NULL)) in gssx_dec_status() [all …]
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | esas2r_io.c | 52 if (unlikely(test_bit(AF_DEGRADED_MODE, &a->flags) || in esas2r_start_request() 61 if (unlikely(t >= a->targetdb_end in esas2r_start_request() 73 if (unlikely(t->target_state != TS_PRESENT && in esas2r_start_request() 79 if (unlikely(rq->req_stat != RS_PENDING)) { in esas2r_start_request() 127 if (unlikely(rq->vrq->scsi.function == VDA_FUNC_FLASH in esas2r_local_start_request() 200 if (unlikely(len == 0)) in esas2r_build_sg_list_sge() 204 if (unlikely(len > sgc->length)) in esas2r_build_sg_list_sge() 222 if (unlikely(sgc->sge.a64.curr > sgc->sge.a64.limit)) { in esas2r_build_sg_list_sge() 233 if (unlikely(sgl == NULL)) in esas2r_build_sg_list_sge() 385 if (unlikely(len == 0)) in esas2r_build_prd_iblk() [all …]
|
/linux-4.4.14/arch/tile/lib/ |
D | spinlock_64.c | 37 if (unlikely(my_ticket & __ARCH_SPIN_NEXT_OVERFLOW)) { in arch_spin_lock_slow() 58 if (unlikely(arch_spin_current(val) != arch_spin_next(val))) in arch_spin_trylock() 93 } while (unlikely(arch_write_val_locked(val))); in __read_lock_failed()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 45 if (unlikely(!skb)) in mlx5e_alloc_rx_wqe() 55 if (unlikely(dma_mapping_error(rq->pdev, dma_addr))) in mlx5e_alloc_rx_wqe() 77 if (unlikely(!test_bit(MLX5E_RQ_STATE_POST_WQES_ENABLE, &rq->state))) in mlx5e_post_rx_wqes() 83 if (unlikely(mlx5e_alloc_rx_wqe(rq, wqe, wq->head))) in mlx5e_post_rx_wqes() 166 if (unlikely(!(netdev->features & NETIF_F_RXCSUM))) in mlx5e_handle_csum() 252 if (unlikely((cqe->op_own >> 4) != MLX5_CQE_RESP_SEND)) { in mlx5e_poll_rx_cq()
|
/linux-4.4.14/arch/x86/crypto/ |
D | poly1305_glue.c | 76 if (unlikely(!dctx->sset)) { in poly1305_simd_blocks() 84 if (unlikely(!sctx->wset)) { in poly1305_simd_blocks() 103 if (unlikely(!sctx->uset)) { in poly1305_simd_blocks() 132 if (unlikely(dctx->buflen)) { in poly1305_simd_update() 154 if (unlikely(srclen)) { in poly1305_simd_update()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 227 if (unlikely(!skb)) in wil_vring_alloc_skb() 234 if (unlikely(dma_mapping_error(dev, pa))) { in wil_vring_alloc_skb() 395 if (unlikely(wil_vring_is_empty(vring))) in wil_vring_reap_rx() 400 if (unlikely(!(_d->dma.status & RX_DMA_STATUS_DU))) { in wil_vring_reap_rx() 427 if (unlikely(dmalen > sz)) { in wil_vring_reap_rx() 456 if (unlikely(ftype != IEEE80211_FTYPE_DATA)) { in wil_vring_reap_rx() 487 if (unlikely(skb->len < ETH_HLEN + snaplen)) { in wil_vring_reap_rx() 540 if (unlikely(rc)) { in wil_rx_refill() 630 if (unlikely(rc == GRO_DROP)) { in wil_netif_rx_any() 655 if (unlikely(!v->va)) { in wil_rx_handle() [all …]
|
D | interrupt.c | 216 if (unlikely(!isr)) { in wil6210_irq_rx() 233 if (unlikely(isr & BIT_DMA_EP_RX_ICR_RX_HTRSH)) in wil6210_irq_rx() 253 if (unlikely(isr)) in wil6210_irq_rx() 260 if (unlikely(need_unmask)) in wil6210_irq_rx() 277 if (unlikely(!isr)) { in wil6210_irq_tx() 298 if (unlikely(isr)) in wil6210_irq_tx() 305 if (unlikely(need_unmask)) in wil6210_irq_tx() 490 if (unlikely((pseudo_cause == 0) || ((pseudo_cause & 0xff) == 0xff))) in wil6210_hardirq() 494 if (unlikely(wil6210_debug_irq_mask(wil, pseudo_cause))) in wil6210_hardirq()
|
/linux-4.4.14/arch/sh/kernel/cpu/ |
D | clock.c | 28 if (unlikely(ret)) { in clk_init() 35 if (unlikely(ret)) { in clk_init()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | timing.c | 66 if (unlikely(old > vcpu->arch.timing_sum_duration[type])) { in add_exit_timing() 76 if (unlikely(old > vcpu->arch.timing_sum_quad_duration[type])) { in add_exit_timing() 85 if (unlikely(duration < vcpu->arch.timing_min_duration[type])) in add_exit_timing() 87 if (unlikely(duration > vcpu->arch.timing_max_duration[type])) in add_exit_timing() 101 if (unlikely(vcpu->arch.last_exit_type == 0xDEAD || exit == 0)) in kvmppc_update_timing_stats()
|
/linux-4.4.14/kernel/locking/ |
D | lockdep.c | 678 if (unlikely(!lockdep_initialized)) { in look_up_lock_class() 686 if (unlikely(subclass >= MAX_LOCKDEP_SUBCLASSES)) { in look_up_lock_class() 700 if (unlikely(!lock->key)) in look_up_lock_class() 1852 if (unlikely(!ret)) in check_prev_add() 1854 else if (unlikely(ret < 0)) in check_prev_add() 2066 if (unlikely(nr_lock_chains >= MAX_LOCKDEP_CHAINS)) { in lookup_chain_cache() 2149 if (unlikely(!debug_locks)) in validate_chain() 2279 if (unlikely(hlock_class(this)->usage_mask & (1 << bad_bit))) in valid_state() 2577 if (unlikely(!debug_locks || current->lockdep_recursion)) in trace_hardirqs_on_caller() 2580 if (unlikely(current->hardirqs_enabled)) { in trace_hardirqs_on_caller() [all …]
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | bug.h | 61 if (unlikely(__ret_warn_on)) \ 63 unlikely(__ret_warn_on); \
|
/linux-4.4.14/drivers/s390/scsi/ |
D | zfcp_fc.h | 217 if (unlikely(tm_flags)) { in zfcp_fc_scsi_to_fcp() 256 if (unlikely(rsp_flags & FCP_RSP_LEN_VAL)) { in zfcp_fc_eval_fcp_rsp() 266 if (unlikely(rsp_flags & FCP_SNS_LEN_VAL)) { in zfcp_fc_eval_fcp_rsp() 275 if (unlikely(rsp_flags & FCP_RESID_UNDER)) { in zfcp_fc_eval_fcp_rsp()
|
/linux-4.4.14/drivers/net/ethernet/microchip/ |
D | encx24j600-regmap.c | 81 if (unlikely(ret)) in regmap_encx24j600_sfr_read() 134 if (unlikely(ret)) in regmap_encx24j600_sfr_update() 358 if (unlikely(ret)) in regmap_encx24j600_phy_reg_read() 362 if (unlikely(ret)) in regmap_encx24j600_phy_reg_read() 370 if (unlikely(ret)) in regmap_encx24j600_phy_reg_read() 374 if (unlikely(ret)) in regmap_encx24j600_phy_reg_read() 396 if (unlikely(ret)) in regmap_encx24j600_phy_reg_write() 400 if (unlikely(ret)) in regmap_encx24j600_phy_reg_write()
|
/linux-4.4.14/arch/arm/mach-mmp/ |
D | gplugd.c | 146 if (unlikely(gpio_request(104, "ETH_RESET_N"))) { in gplugd_eth_init() 168 if (unlikely(gpio_request(35, "DISP_FREQ_SEL"))) { in select_disp_freq() 176 if (unlikely(gpio_request(85, "DISP_FREQ_SEL_2"))) { in select_disp_freq()
|
/linux-4.4.14/arch/sh/boards/mach-x3proto/ |
D | gpio.c | 107 if (unlikely(ilsel < 0)) in x3proto_gpio_setup() 111 if (unlikely(ret)) in x3proto_gpio_setup() 116 if (unlikely(!x3proto_irq_domain)) in x3proto_gpio_setup()
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | rx.c | 81 if (unlikely(rx_buf == efx_rx_buffer(rx_queue, rx_queue->ptr_mask))) in efx_rx_buf_next() 169 if (unlikely(page == NULL)) in efx_init_rx_buffers() 175 if (unlikely(dma_mapping_error(&efx->pci_dev->dev, in efx_init_rx_buffers() 343 if (unlikely(fill_level < rx_queue->min_fill)) { in efx_fast_push_rx_descriptors() 361 if (unlikely(rc)) { in efx_fast_push_rx_descriptors() 435 if (unlikely(!skb)) { in efx_rx_packet_gro() 485 if (unlikely(skb == NULL)) { in efx_rx_mk_skb() 546 } else if (unlikely(n_frags > EFX_RX_MAX_FRAGS) || in efx_rx_packet() 547 unlikely(len <= (n_frags - 1) * efx->rx_dma_len) || in efx_rx_packet() 548 unlikely(len > n_frags * efx->rx_dma_len) || in efx_rx_packet() [all …]
|
/linux-4.4.14/arch/s390/include/asm/ |
D | bug.h | 59 if (unlikely(__ret_warn_on)) \ 62 unlikely(__ret_warn_on); \
|
/linux-4.4.14/drivers/net/wireless/p54/ |
D | txrx.c | 98 if (unlikely(skb_queue_len(&priv->tx_queue) == 32)) { in p54_assign_address() 122 if (unlikely(!target_skb)) { in p54_assign_address() 142 unlikely(GET_HW_QUEUE(skb) == P54_QUEUE_BEACON)) in p54_assign_address() 156 if (unlikely(!skb)) in p54_tx_pending() 160 if (unlikely(ret)) in p54_tx_pending() 171 if (unlikely(priv->mode == NL80211_IFTYPE_UNSPECIFIED)) in p54_wake_queues() 198 if (unlikely(queue->len >= queue->limit && IS_QOS_QUEUE(p54_queue))) { in p54_tx_qos_accounting_alloc() 206 if (unlikely(queue->len == queue->limit && IS_QOS_QUEUE(p54_queue))) { in p54_tx_qos_accounting_alloc() 225 if (unlikely(GET_HW_QUEUE(skb) == P54_QUEUE_BEACON)) { in p54_tx_qos_accounting_free() 239 if (unlikely(!skb)) in p54_free_skb() [all …]
|