/linux-4.1.27/arch/mips/include/asm/octeon/ |
D | cvmx-cmd-queue.h | 335 if (likely(use_locking)) in cvmx_cmd_queue_write() 346 if (likely(use_locking)) in cvmx_cmd_queue_write() 356 if (likely(qptr->index + cmd_count < qptr->pool_size_m1)) { in cvmx_cmd_queue_write() 374 if (likely(use_locking)) in cvmx_cmd_queue_write() 405 if (likely(use_locking)) in cvmx_cmd_queue_write() 433 if (likely(use_locking)) in cvmx_cmd_queue_write2() 444 if (likely(use_locking)) in cvmx_cmd_queue_write2() 454 if (likely(qptr->index + 2 < qptr->pool_size_m1)) { in cvmx_cmd_queue_write2() 477 if (likely(use_locking)) in cvmx_cmd_queue_write2() 487 if (likely(count)) in cvmx_cmd_queue_write2() [all …]
|
D | cvmx-pko.h | 432 if (likely(result == CVMX_CMD_QUEUE_SUCCESS)) { in cvmx_pko_send_packet_finish() 476 if (likely(result == CVMX_CMD_QUEUE_SUCCESS)) { in cvmx_pko_send_packet_finish3()
|
/linux-4.1.27/kernel/locking/ |
D | semaphore.c | 58 if (likely(sem->count > 0)) in down() 81 if (likely(sem->count > 0)) in down_interruptible() 107 if (likely(sem->count > 0)) in down_killable() 137 if (likely(count >= 0)) in down_trylock() 161 if (likely(sem->count > 0)) in down_timeout() 183 if (likely(list_empty(&sem->wait_list))) in up()
|
D | mcs_spinlock.h | 70 if (likely(prev == NULL)) { in mcs_spin_lock() 96 if (likely(!next)) { in mcs_spin_unlock() 100 if (likely(cmpxchg(lock, node, NULL) == node)) in mcs_spin_unlock()
|
D | percpu-rwsem.c | 60 if (likely(!atomic_read(&brw->write_ctr))) { in update_fast_ctr() 80 if (likely(update_fast_ctr(brw, +1))) { in percpu_down_read() 95 if (likely(update_fast_ctr(brw, -1))) in percpu_up_read()
|
D | mutex.c | 179 if (likely(atomic_read(&lock->base.count) == 0)) in ww_mutex_set_context_fastpath() 588 if (likely(list_empty(&lock->wait_list))) in __mutex_lock_common() 794 if (likely(!ret)) { in mutex_lock_interruptible() 809 if (likely(!ret)) { in mutex_lock_killable() 874 if (likely(prev == 1)) { in __mutex_trylock_slowpath() 880 if (likely(list_empty(&lock->wait_list))) in __mutex_trylock_slowpath() 924 if (likely(!ret)) { in __ww_mutex_lock() 942 if (likely(!ret)) { in __ww_mutex_lock_interruptible()
|
D | rtmutex.c | 252 if (likely(!task_has_pi_waiters(task))) in rt_mutex_getprio() 261 if (likely(!task_has_pi_waiters(task))) in rt_mutex_get_top_task() 1193 if (likely(!ret)) in rt_mutex_slowlock() 1330 if (likely(rt_mutex_cmpxchg(lock, NULL, current))) { in rt_mutex_fastlock() 1346 likely(rt_mutex_cmpxchg(lock, NULL, current))) { in rt_mutex_timed_fastlock() 1357 if (likely(rt_mutex_cmpxchg(lock, NULL, current))) { in rt_mutex_fasttrylock() 1368 if (likely(rt_mutex_cmpxchg(lock, current, NULL))) in rt_mutex_fastunlock()
|
D | spinlock.c | 65 if (likely(do_raw_##op##_trylock(lock))) \ 84 if (likely(do_raw_##op##_trylock(lock))) \
|
/linux-4.1.27/arch/mips/include/asm/ |
D | timex.h | 60 else if (likely(!__builtin_constant_p(cpu_has_mips_r) && comp)) in can_use_mips_counter() 65 if (likely(cpu_has_counter && in can_use_mips_counter() 94 else if (likely(imp != PRID_IMP_R6000 && imp != PRID_IMP_R6000A)) in random_get_entropy()
|
D | branch.h | 59 if (likely(!delay_slot(regs))) in exception_epc() 91 if (likely(!delay_slot(regs))) { in MIPS16e_compute_return_epc()
|
D | i8259.h | 83 return likely(irq >= 0) ? irq + I8259A_IRQ_BASE : irq; in i8259_irq()
|
D | uaccess.h | 134 likely(__access_ok((addr), (size), __access_mask)) 299 if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) { \ 441 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { \ 619 if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) \ 715 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) \ 1177 if (likely(access_ok(VERIFY_READ, __cu_from, __cu_len) &&\
|
/linux-4.1.27/include/asm-generic/ |
D | qrwlock.h | 70 if (likely(!(cnts & _QW_WMASK))) { in queue_read_trylock() 72 if (likely(!(cnts & _QW_WMASK))) in queue_read_trylock() 92 return likely(atomic_cmpxchg(&lock->cnts, in queue_write_trylock() 104 if (likely(!(cnts & _QW_WMASK))) in queue_read_lock()
|
D | mutex-xchg.h | 34 if (likely(atomic_xchg(count, -1) != 1)) in __mutex_fastpath_lock() 50 if (likely(atomic_xchg(count, -1) != 1)) in __mutex_fastpath_lock_retval()
|
D | mutex-dec.h | 83 if (likely(atomic_cmpxchg(count, 1, 0) == 1)) in __mutex_fastpath_trylock()
|
D | div64.h | 44 if (likely(((n) >> 32) == 0)) { \
|
/linux-4.1.27/arch/powerpc/lib/ |
D | usercopy_64.c | 14 if (likely(access_ok(VERIFY_READ, from, n))) in copy_from_user() 23 if (likely(access_ok(VERIFY_WRITE, to, n))) in copy_to_user() 32 if (likely(access_ok(VERIFY_READ, from, n) && in copy_in_user()
|
/linux-4.1.27/arch/tile/lib/ |
D | spinlock_32.c | 109 if (likely((val << _RD_COUNT_WIDTH) == 0)) { in arch_read_trylock() 147 if (likely((val & 1) == 0)) { in arch_read_unlock() 174 if (likely(val == 0)) { in arch_write_lock() 201 if (likely(delta == 0)) in arch_write_lock() 244 if (likely(val == (1 << _WR_NEXT_SHIFT))) { in arch_write_unlock()
|
/linux-4.1.27/net/llc/ |
D | llc_s_ac.c | 61 if (likely(!rc)) in llc_sap_action_send_ui() 84 if (likely(!rc)) in llc_sap_action_send_xid_c() 114 if (likely(!rc)) in llc_sap_action_send_xid_r() 138 if (likely(!rc)) in llc_sap_action_send_test_c() 163 if (likely(!rc)) in llc_sap_action_send_test_r()
|
D | llc_output.c | 73 if (likely(!rc)) in llc_build_and_send_ui_pkt()
|
/linux-4.1.27/fs/hpfs/ |
D | buffer.c | 107 if (likely(qbh->bh[1]->b_data == qbh->bh[0]->b_data + 1 * 512) && in hpfs_map_4sectors() 108 likely(qbh->bh[2]->b_data == qbh->bh[0]->b_data + 2 * 512) && in hpfs_map_4sectors() 109 likely(qbh->bh[3]->b_data == qbh->bh[0]->b_data + 3 * 512)) { in hpfs_map_4sectors() 157 if (likely(qbh->bh[1]->b_data == qbh->bh[0]->b_data + 1 * 512) && in hpfs_get_4sectors() 158 likely(qbh->bh[2]->b_data == qbh->bh[0]->b_data + 2 * 512) && in hpfs_get_4sectors() 159 likely(qbh->bh[3]->b_data == qbh->bh[0]->b_data + 3 * 512)) { in hpfs_get_4sectors()
|
/linux-4.1.27/net/core/ |
D | timestamping.c | 28 if (likely(skb->dev && skb->dev->phydev && in classify() 49 if (likely(phydev->drv->txtstamp)) { in skb_clone_tx_timestamp() 75 if (likely(phydev->drv->rxtstamp)) in skb_defer_rx_timestamp()
|
D | datagram.c | 289 if (likely(atomic_read(&skb->users) == 1)) in skb_free_datagram_locked() 291 else if (likely(!atomic_dec_and_test(&skb->users))) in skb_free_datagram_locked() 656 if (likely(!sum)) { in __skb_checksum_complete_head() 676 if (likely(!sum)) { in __skb_checksum_complete()
|
/linux-4.1.27/arch/mips/loongson/lemote-2f/ |
D | clock.c | 61 if (likely(clkp->parent != clk)) in propagate_rate() 63 if (likely(clkp->ops && clkp->ops->recalc)) in propagate_rate() 99 if (likely(clk->ops && clk->ops->set_rate)) { in clk_set_rate() 128 if (likely(clk->ops && clk->ops->round_rate)) { in clk_round_rate()
|
/linux-4.1.27/fs/ntfs/ |
D | runlist.c | 37 if (likely((dst != src) && (size > 0))) in ntfs_rl_mm() 50 if (likely(size > 0)) in ntfs_rl_mc() 88 if (likely(rl != NULL)) { in ntfs_rl_realloc() 133 if (likely(rl != NULL)) { in ntfs_rl_realloc_nofail() 562 for (dend = 0; likely(drl[dend].length); dend++) in ntfs_runlists_merge() 968 if (likely(!IS_ERR(old_rl))) in ntfs_mapping_pairs_decompress() 1021 for (i = 0; likely(rl[i].length); i++) { in ntfs_rl_vcn_to_lcn() 1023 if (likely(rl[i].lcn >= (LCN)0)) in ntfs_rl_vcn_to_lcn() 1032 if (likely(rl[i].lcn < (LCN)0)) in ntfs_rl_vcn_to_lcn() 1058 while (likely(rl->length)) { in ntfs_rl_find_vcn_nolock() [all …]
|
D | lcnalloc.c | 276 if (likely(page)) { in ntfs_cluster_alloc() 394 if (likely(rlpos)) { in ntfs_cluster_alloc() 739 if (likely(rl)) { in ntfs_cluster_alloc() 744 if (likely(page && !IS_ERR(page))) { in ntfs_cluster_alloc() 753 if (likely(!err)) { in ntfs_cluster_alloc() 875 if (likely(!is_rollback)) in __ntfs_cluster_free() 904 if (likely(rl->lcn >= 0)) { in __ntfs_cluster_free() 907 to_free, likely(!is_rollback) ? 0 : 1); in __ntfs_cluster_free() 961 if (likely(rl->lcn >= 0)) { in __ntfs_cluster_free() 964 to_free, likely(!is_rollback) ? 0 : 1); in __ntfs_cluster_free() [all …]
|
D | malloc.h | 44 if (likely(size <= PAGE_SIZE)) { in __ntfs_malloc() 50 if (likely((size >> PAGE_SHIFT) < totalram_pages)) in __ntfs_malloc()
|
D | aops.c | 71 if (likely(uptodate)) { in ntfs_end_buffer_async_read() 119 if (likely(buffer_locked(tmp))) in ntfs_end_buffer_async_read() 137 if (likely(page_uptodate && !PageError(page))) in ntfs_end_buffer_async_read() 156 if (likely(page_uptodate && !PageError(page))) in ntfs_end_buffer_async_read() 271 if (likely(rl != NULL)) { in ntfs_read_block() 304 if (likely(!err)) in ntfs_read_block() 342 if (likely(!err)) in ntfs_read_block() 364 if (likely(!buffer_uptodate(tbh))) in ntfs_read_block() 372 if (likely(!PageError(page))) in ntfs_read_block() 727 if (likely(rl != NULL)) { in ntfs_write_block() [all …]
|
D | unistr.c | 268 if (likely(ins)) { in ntfs_nlstoucs() 270 if (likely(ucs)) { in ntfs_nlstoucs() 274 if (likely(wc_len >= 0 && in ntfs_nlstoucs() 276 if (likely(wc)) { in ntfs_nlstoucs()
|
D | file.c | 413 if (likely(ll >= 0)) { in ntfs_prepare_file_for_write() 720 if (likely(!cdelta || (cdelta > 0 && cdelta < vcn_len))) { in ntfs_prepare_pages_for_non_resident_write() 752 if (likely(!was_hole)) { in ntfs_prepare_pages_for_non_resident_write() 848 if (likely(rl != NULL)) { in ntfs_prepare_pages_for_non_resident_write() 853 if (likely(lcn >= 0)) { in ntfs_prepare_pages_for_non_resident_write() 871 if (likely(vcn + vcn_len >= cend)) { in ntfs_prepare_pages_for_non_resident_write() 888 if (likely(!is_retry && lcn == LCN_RL_NOT_MAPPED)) { in ntfs_prepare_pages_for_non_resident_write() 905 if (likely(!err)) { in ntfs_prepare_pages_for_non_resident_write() 1136 if (likely(NInoSparse(ni) || NInoCompressed(ni))) { in ntfs_prepare_pages_for_non_resident_write() 1182 if (likely(vcn + vcn_len >= cend)) { in ntfs_prepare_pages_for_non_resident_write() [all …]
|
D | collate.h | 40 if (likely(((i >= 0) && (i <= 0x02)) || in ntfs_is_collation_rule_supported()
|
D | attrib.c | 194 if (likely(ctx)) in ntfs_map_runlist_nolock() 304 if (likely(ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn) <= in ntfs_map_runlist() 365 if (likely(lcn >= LCN_HOLE)) { in ntfs_attr_vcn_to_lcn_nolock() 390 if (likely(!err)) { in ntfs_attr_vcn_to_lcn_nolock() 487 if (likely(rl && vcn >= rl[0].vcn)) { in ntfs_attr_find_vcn_nolock() 488 while (likely(rl->length)) { in ntfs_attr_find_vcn_nolock() 490 if (likely(rl->lcn >= LCN_HOLE)) { in ntfs_attr_find_vcn_nolock() 498 if (likely(rl->lcn != LCN_RL_NOT_MAPPED)) { in ntfs_attr_find_vcn_nolock() 499 if (likely(rl->lcn == LCN_ENOENT)) in ntfs_attr_find_vcn_nolock() 518 if (likely(!err)) { in ntfs_attr_find_vcn_nolock() [all …]
|
D | usnjrnl.c | 50 if (likely(!NVolUsnJrnlStamped(vol))) { in ntfs_stamp_usnjrnl()
|
D | mft.c | 85 if (likely(!IS_ERR(page))) { in map_mft_record_page() 87 if (likely(ntfs_is_mft_recordp((le32*)(page_address(page) + in map_mft_record_page() 168 if (likely(!IS_ERR(m))) in map_mft_record() 278 if (likely(ni != NULL)) { in map_extent_mft_record() 285 if (likely(!IS_ERR(m))) { in map_extent_mft_record() 287 if (likely(le16_to_cpu(m->sequence_number) == seq_no)) { in map_extent_mft_record() 404 if (likely(ni->nr_extents >= 0)) in __mark_mft_record_dirty() 484 if (likely(!err)) in ntfs_sync_mft_mirror() 559 if (likely(lcn >= 0)) { in ntfs_sync_mft_mirror() 584 if (likely(!err)) { in ntfs_sync_mft_mirror() [all …]
|
D | collate.c | 119 if (likely(i <= 3)) in ntfs_collate()
|
/linux-4.1.27/arch/openrisc/mm/ |
D | ioremap.c | 61 if (likely(mem_init_done)) { in __ioremap() 74 if (likely(mem_init_done)) in __ioremap() 124 if (likely(mem_init_done)) { in pte_alloc_one_kernel()
|
/linux-4.1.27/include/linux/ |
D | atomic.h | 69 if (likely(v1 == v)) in atomic_inc_unless_negative() 82 if (likely(v1 == v)) in atomic_dec_unless_positive() 106 if (likely(old == c)) in atomic_dec_if_positive()
|
D | page_owner.h | 14 if (likely(!page_owner_inited)) in reset_page_owner() 23 if (likely(!page_owner_inited)) in set_page_owner()
|
D | quicklist.h | 40 if (likely(p)) { in quicklist_alloc() 46 if (likely(p)) in quicklist_alloc()
|
D | radix-tree.h | 416 if (likely(iter->tags & 1ul)) { in radix_tree_next_slot() 420 if (!(flags & RADIX_TREE_ITER_CONTIG) && likely(iter->tags)) { in radix_tree_next_slot() 433 if (likely(*slot)) in radix_tree_next_slot()
|
D | freezer.h | 36 if (likely(!atomic_read(&system_freezing_cnt))) in freezing() 57 if (likely(!freezing(current))) in try_to_freeze_unsafe()
|
D | compiler.h | 131 # ifndef likely 132 # define likely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1)) macro 163 # define likely(x) __builtin_expect(!!(x), 1) macro
|
D | eventpoll.h | 53 if (likely(list_empty(&file->f_ep_links))) in eventpoll_release()
|
D | device_cgroup.h | 8 if (likely(!inode->i_rdev)) in devcgroup_inode_permission()
|
D | if_vlan.h | 380 if (likely(skb)) in __vlan_hwaccel_push_inside() 574 likely(skb->protocol != htons(ETH_P_8021Q) && in skb_vlan_tagged() 595 if (likely(protocol != htons(ETH_P_8021Q) && in skb_vlan_tagged_multi()
|
D | if_macvlan.h | 70 if (likely(success)) { in macvlan_count_rx()
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
D | bnx2fc_debug.c | 21 if (likely(!(bnx2fc_debug_level & LOG_IO))) in BNX2FC_IO_DBG() 45 if (likely(!(bnx2fc_debug_level & LOG_TGT))) in BNX2FC_TGT_DBG() 69 if (likely(!(bnx2fc_debug_level & LOG_HBA))) in BNX2FC_HBA_DBG()
|
/linux-4.1.27/arch/metag/mm/ |
D | l2cache.c | 110 if (likely(en)) { in meta_l2c_disable() 137 if (likely(!en)) { in meta_l2c_enable() 180 if (likely(en)) { in meta_l2c_flush()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_irq.c | 44 if (likely(status)) in vmw_irq_handler() 88 if (likely(dev_priv->last_read_seqno - seqno < VMW_FENCE_WRAP)) in vmw_seqno_passed() 93 if (likely(dev_priv->last_read_seqno - seqno < VMW_FENCE_WRAP)) in vmw_seqno_passed() 248 if (likely(dev_priv->last_read_seqno - seqno < VMW_FENCE_WRAP)) in vmw_wait_seqno() 251 if (likely(vmw_seqno_passed(dev_priv, seqno))) in vmw_wait_seqno() 281 else if (likely(ret > 0)) in vmw_wait_seqno()
|
D | vmwgfx_fifo.c | 198 if (likely(fifo->static_buffer != NULL)) { in vmw_fifo_release() 203 if (likely(fifo->dynamic_buffer != NULL)) { in vmw_fifo_release() 260 if (likely(!vmw_fifo_is_full(dev_priv, bytes))) in vmw_fifo_wait() 290 else if (likely(ret > 0)) in vmw_fifo_wait() 344 if (likely((next_cmd + bytes < max || in vmw_fifo_reserve() 358 if (likely((next_cmd + bytes < stop))) in vmw_fifo_reserve()
|
D | vmwgfx_fence.c | 182 if (likely(vmw_fence_obj_signaled(fence))) in vmw_fence_wait() 392 if (likely(!fman->seqno_valid)) in vmw_fence_goal_new_locked() 397 if (likely(passed_seqno - goal_seqno >= VMW_FENCE_WRAP)) in vmw_fence_goal_new_locked() 440 if (likely(fman->seqno_valid && in vmw_fence_goal_check_locked() 517 if (likely(ret > 0)) in vmw_fence_obj_wait() 874 if (likely(eaction->tv_sec != NULL)) { in vmw_event_fence_action_seq_passed() 1034 if (likely(ret == 0)) in vmw_event_fence_action_create()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | spinlock.h | 127 if (likely(__arch_spin_trylock(lock) == 0)) in arch_spin_lock() 145 if (likely(__arch_spin_trylock(lock) == 0)) in arch_spin_lock_flags() 247 if (likely(__arch_read_trylock(rw) > 0)) in arch_read_lock() 261 if (likely(__arch_write_trylock(rw) == 0)) in arch_write_lock()
|
D | dcr-native.h | 69 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \ 80 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \
|
D | mutex.h | 127 if (likely(__mutex_cmpxchg_lock(count, 1, 0) == 1)) in __mutex_fastpath_trylock()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_vma_manager.c | 168 while (likely(iter)) { in drm_vma_offset_lookup_locked() 200 while (likely(*iter)) { in _drm_vma_offset_add_rb() 327 while (likely(*iter)) { in drm_vma_node_allow() 380 while (likely(iter)) { in drm_vma_node_revoke() 421 while (likely(iter)) { in drm_vma_node_is_allowed()
|
/linux-4.1.27/drivers/misc/cb710/ |
D | sgbuf2.c | 66 if (likely(len >= 4 && !needs_unaligned_copy( in sg_dwiter_get_next_block() 97 if (likely(sg_dwiter_get_next_block(miter, &ptr))) in cb710_sg_dwiter_read_next_block() 137 if (likely(sg_dwiter_get_next_block(miter, &ptr))) { in cb710_sg_dwiter_write_next_block()
|
/linux-4.1.27/drivers/staging/octeon/ |
D | ethernet-rx.c | 237 if (likely(skb_in_hw)) { in cvm_oct_napi_poll() 255 if (likely(skb_in_hw)) { in cvm_oct_napi_poll() 280 if (likely(!work->word2.s.not_IP)) { in cvm_oct_napi_poll() 333 if (likely((work->ipprt < TOTAL_NUMBER_OF_PORTS) && in cvm_oct_napi_poll() 342 if (likely(dev->flags & IFF_UP)) { in cvm_oct_napi_poll() 397 if (USE_SKBUFFS_IN_HW && likely(packet_not_copied)) { in cvm_oct_napi_poll()
|
/linux-4.1.27/tools/include/linux/ |
D | compiler.h | 30 #ifndef likely 31 # define likely(x) __builtin_expect(!!(x), 1) macro
|
/linux-4.1.27/mm/kasan/ |
D | kasan.c | 89 if (likely(((addr + 1) & KASAN_SHADOW_MASK) != 0)) in memory_is_poisoned_2() 106 if (likely(((addr + 3) & KASAN_SHADOW_MASK) >= 3)) in memory_is_poisoned_4() 123 if (likely(((addr + 7) & KASAN_SHADOW_MASK) >= 7)) in memory_is_poisoned_8() 143 if (likely(!last_byte)) in memory_is_poisoned_16() 254 if (likely(!memory_is_poisoned(addr, size))) in check_memory_region() 291 if (likely(!PageHighMem(page))) in kasan_alloc_pages() 297 if (likely(!PageHighMem(page))) in kasan_free_pages()
|
/linux-4.1.27/arch/powerpc/math-emu/ |
D | mtfsf.c | 14 if (likely(FM == 1)) in mtfsf() 16 else if (likely(FM == 0xff)) in mtfsf()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac_lib.c | 186 if (likely(intr_status & DMA_STATUS_NIS)) { in dwmac_dma_interrupt() 188 if (likely(intr_status & DMA_STATUS_RI)) { in dwmac_dma_interrupt() 191 if (likely(value & DMA_INTR_ENA_RIE)) { in dwmac_dma_interrupt() 196 if (likely(intr_status & DMA_STATUS_TI)) { in dwmac_dma_interrupt()
|
/linux-4.1.27/arch/sh/lib/ |
D | io.c | 24 if (likely(len >= (0x20 >> 2))) { in __raw_readsl() 68 if (likely(len != 0)) { in __raw_writesl()
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | early_printk.c | 145 if (likely(early_console)) { in setup_early_printk() 211 if (likely(early_console == NULL) && CPUID == bfin_cpuid()) in early_trap_c() 235 if (likely(bfin_read_TBUFSTAT() & TBUFCNT)) { in early_trap_c()
|
D | sys_bfin.c | 66 if (likely(ret == 0)) { in sys_bfin_spinlock()
|
/linux-4.1.27/kernel/irq/ |
D | migration.c | 12 if (likely(!irqd_is_setaffinity_pending(&desc->irq_data))) in irq_move_masked_irq() 55 if (likely(!irqd_is_setaffinity_pending(idata))) in irq_move_irq()
|
D | spurious.c | 178 if (likely(action_ret <= (IRQ_HANDLED | IRQ_WAKE_THREAD))) in bad_action_ret() 408 if (likely(desc->irq_count < 100000)) in note_interrupt()
|
/linux-4.1.27/lib/lzo/ |
D | lzo1x_decompress_safe.c | 66 if (likely(state == 0)) { in lzo1x_decompress_safe() 85 if (likely(HAVE_IP(t + 15) && HAVE_OP(t + 15))) { in lzo1x_decompress_safe() 188 if (likely(HAVE_OP(t + 15))) { in lzo1x_decompress_safe() 228 if (likely(HAVE_IP(6) && HAVE_OP(4))) { in lzo1x_decompress_safe()
|
/linux-4.1.27/crypto/ |
D | 842.c | 93 if (likely(!nx842_uselzo)) { in nx842_crypto_compress() 96 if (likely(!err)) { in nx842_crypto_compress() 137 if (likely(hdr->type == NX842_CRYPTO_TYPE_842)) { in nx842_crypto_decompress()
|
/linux-4.1.27/drivers/net/usb/ |
D | rndis_host.c | 121 if (likely(msg_type != RNDIS_MSG_HALT && msg_type != RNDIS_MSG_RESET)) { in rndis_command() 162 if (likely(retval >= 8)) { in rndis_command() 167 if (likely(msg_type == rsp)) { in rndis_command() 168 if (likely(request_id == xid)) { in rndis_command() 171 if (likely(RNDIS_STATUS_SUCCESS == in rndis_command() 500 while (likely(skb->len)) { in rndis_rx_fixup() 522 if (likely((data_len - skb->len) <= sizeof *hdr)) { in rndis_rx_fixup() 548 if (likely(!skb_cloned(skb))) { in rndis_tx_fixup() 557 if (likely((sizeof *hdr) <= room)) { in rndis_tx_fixup()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_printer.c | 335 if (likely(list_empty(&dev->tx_reqs_active))) in tx_complete() 392 while (likely(!list_empty(&dev->rx_reqs))) { in setup_rx_reqs() 468 (likely(list_empty(&dev->rx_buffers)))) { in printer_read() 483 (likely(!list_empty(&dev->rx_buffers)))); in printer_read() 488 while ((current_rx_bytes || likely(!list_empty(&dev->rx_buffers))) in printer_read() 580 if (likely(list_empty(&dev->tx_reqs))) { in printer_write() 595 (likely(!list_empty(&dev->tx_reqs)))); in printer_write() 599 while (likely(!list_empty(&dev->tx_reqs)) && len) { in printer_write() 678 tx_list_empty = (likely(list_empty(&dev->tx_reqs))); in printer_fsync() 684 (likely(list_empty(&dev->tx_reqs_active)))); in printer_fsync() [all …]
|
D | f_fs.c | 497 if (likely(len)) { in ffs_ep0_read() 516 if (likely(ret > 0) && unlikely(__copy_to_user(buf, data, len))) in ffs_ep0_read() 636 if (likely(req->context)) { in ffs_epfile_io_complete() 768 if (likely(epfile->ep == ep) && !WARN_ON(!ep->ep)) in ffs_epfile_io() 893 if (likely(io_data && io_data->ep && io_data->req)) in ffs_aio_cancel() 1011 if (likely(epfile->ep)) { in ffs_epfile_ioctl() 1090 if (likely(inode)) { in ffs_sb_make_inode() 1358 if (likely(!ret)) in functionfs_init() 1622 if (likely(ep->ep)) in ffs_func_eps_disable() 1668 if (likely(!ret)) { in ffs_func_eps_enable() [all …]
|
/linux-4.1.27/drivers/spi/ |
D | spi-bitbang-txrx.h | 54 for (word <<= (32 - bits); likely(bits); bits--) { in bitbang_txrx_be_cpha0() 86 for (word <<= (32 - bits); likely(bits); bits--) { in bitbang_txrx_be_cpha1()
|
D | spi-bitbang.c | 72 while (likely(count > 0)) { in bitbang_txrx_8() 98 while (likely(count > 1)) { in bitbang_txrx_16() 124 while (likely(count > 3)) { in bitbang_txrx_32()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | uaccess_64.h | 165 if (likely(!ret)) in __copy_in_user() 174 if (likely(!ret)) in __copy_in_user() 184 if (likely(!ret)) in __copy_in_user() 193 if (likely(!ret)) in __copy_in_user()
|
D | atomic64_64.h | 191 if (likely(old == c)) in atomic64_add_unless() 216 if (likely(old == c)) in atomic64_dec_if_positive()
|
D | mutex_32.h | 104 if (likely(atomic_cmpxchg(count, 1, 0) == 1)) in __mutex_fastpath_trylock()
|
D | mutex_64.h | 121 if (likely(atomic_cmpxchg(count, 1, 0) == 1)) in __mutex_fastpath_trylock()
|
D | uaccess.h | 89 likely(!__range_not_ok(addr, size, user_addr_max())) 712 if (likely(sz < 0 || sz >= n)) in copy_from_user() 730 if (likely(sz < 0 || sz >= n)) in copy_to_user()
|
/linux-4.1.27/drivers/sh/clk/ |
D | core.c | 244 if (likely(allow_disable && clk->ops && clk->ops->disable)) in __clk_disable() 246 if (likely(clk->parent)) in __clk_disable() 483 if (likely(clk->ops && clk->ops->set_rate)) { in clk_set_rate() 544 if (likely(clk->ops && clk->ops->round_rate)) { in clk_round_rate() 652 if (likely(clkp->usecount && clkp->ops)) { in clks_core_resume() 655 if (likely(clkp->ops->set_parent)) in clks_core_resume() 658 if (likely(clkp->ops->set_rate)) in clks_core_resume() 660 else if (likely(clkp->ops->recalc)) in clks_core_resume()
|
/linux-4.1.27/mm/ |
D | swap.c | 128 if (likely(PageTail(page))) { in put_unrefcounted_compound_page() 168 if (likely(page != page_head && get_page_unless_zero(page_head))) { in put_refcounted_compound_page() 242 if (likely(!PageTail(page))) { in put_compound_page() 302 if (likely(PageTail(page))) { in __get_page_tail() 326 if (likely(page != page_head && get_page_unless_zero(page_head))) { in __get_page_tail() 335 if (likely(PageTail(page))) { in __get_page_tail() 714 if (likely((vma->vm_flags & (VM_LOCKED | VM_SPECIAL)) != VM_LOCKED)) { in lru_cache_add_active_or_unevictable() 846 if (likely(get_page_unless_zero(page))) { in deactivate_file_page() 1006 if (likely(PageLRU(page))) in lru_add_page_tail()
|
D | balloon_compaction.c | 145 if (likely(get_page_unless_zero(page))) { in balloon_page_isolate() 157 if (likely(trylock_page(page))) { in balloon_page_isolate()
|
D | mempool.c | 331 if (likely(element != NULL)) in mempool_alloc() 335 if (likely(pool->curr_nr)) { in mempool_alloc() 431 if (likely(pool->curr_nr < pool->min_nr)) { in mempool_free()
|
D | mmzone.c | 63 if (likely(nodes == NULL)) in next_zones_zonelist()
|
D | swap_state.c | 96 if (likely(!error)) { in __add_to_swap_cache() 363 if (likely(!err)) { in read_swap_cache_async()
|
/linux-4.1.27/drivers/usb/host/ |
D | ehci-q.c | 56 if (likely (len < count)) /* ... iff needed */ in qtd_fill() 202 if (likely (QTD_PID (token) != 2)) in qtd_copy_status() 330 if (likely (last->urb != urb)) { in qh_completions() 410 } else if (likely (!stopped in qh_completions() 503 if (likely (last != NULL)) { in qh_completions() 673 if (likely(this_sg_len <= 0)) { in qh_urb_transaction() 695 if (likely ((urb->transfer_flags & URB_SHORT_NOT_OK) == 0 in qh_urb_transaction() 704 if (likely (urb->transfer_buffer_length != 0)) { in qh_urb_transaction() 731 if (likely (!(urb->transfer_flags & URB_NO_INTERRUPT))) in qh_urb_transaction() 1032 if (likely (qh != NULL)) { in qh_append_tds() [all …]
|
D | fusbh200-hcd.c | 521 if (likely (!p.ptr)) in fill_periodic_buffer() 2048 if (likely (len < count)) /* ... iff needed */ in qtd_fill() 2195 if (likely (QTD_PID (token) != 2)) in qtd_copy_status() 2253 if (likely (urb->hcpriv != NULL)) { in fusbh200_urb_done() 2345 if (likely (last->urb != urb)) { in qh_completions() 2426 } else if (likely (!stopped in qh_completions() 2511 if (likely (last != NULL)) { in qh_completions() 2698 if (likely(this_sg_len <= 0)) { in qh_urb_transaction() 2720 if (likely ((urb->transfer_flags & URB_SHORT_NOT_OK) == 0 in qh_urb_transaction() 2729 if (likely (urb->transfer_buffer_length != 0)) { in qh_urb_transaction() [all …]
|
D | fotg210-hcd.c | 543 if (likely(!p.ptr)) in fill_periodic_buffer() 2095 if (likely(len < count)) /* ... iff needed */ in qtd_fill() 2243 if (likely(QTD_PID(token) != 2)) in qtd_copy_status() 2301 if (likely(urb->hcpriv != NULL)) { in fotg210_urb_done() 2393 if (likely(last->urb != urb)) { in qh_completions() 2476 } else if (likely(!stopped in qh_completions() 2562 if (likely(last != NULL)) { in qh_completions() 2749 if (likely(this_sg_len <= 0)) { in qh_urb_transaction() 2771 if (likely((urb->transfer_flags & URB_SHORT_NOT_OK) == 0 in qh_urb_transaction() 2780 if (likely(urb->transfer_buffer_length != 0)) { in qh_urb_transaction() [all …]
|
/linux-4.1.27/lib/ |
D | strnlen_user.c | 112 if (likely(src_addr < max_addr)) { in strnlen_user() 140 if (likely(src_addr < max_addr)) { in strlen_user()
|
D | lockref.c | 22 while (likely(arch_spin_value_unlocked(old.lock.rlock.raw_lock))) { \ 28 if (likely(old.lock_count == prev.lock_count)) { \
|
D | is_single_threaded.c | 43 if (likely(t->mm)) in current_is_single_threaded()
|
D | smp_processor_id.c | 15 if (likely(preempt_count())) in check_preemption_disabled()
|
D | strncpy_from_user.c | 108 if (likely(src_addr < max_addr)) { in strncpy_from_user()
|
/linux-4.1.27/net/sched/ |
D | sch_fifo.c | 24 if (likely(sch->qstats.backlog + qdisc_pkt_len(skb) <= sch->limit)) in bfifo_enqueue() 32 if (likely(skb_queue_len(&sch->q) < sch->limit)) in pfifo_enqueue() 40 if (likely(skb_queue_len(&sch->q) < sch->limit)) in pfifo_tail_enqueue()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | spinlock.h | 62 return likely(arch_spin_value_unlocked(*lp) && in arch_spin_trylock_once() 135 return likely((int) old >= 0 && in arch_read_trylock_once() 142 return likely(old == 0 && in arch_write_trylock_once()
|
D | atomic.h | 151 if (likely(old == c)) in __atomic_add_unless() 284 if (likely(old == c)) in atomic64_add_unless() 301 if (likely(old == c)) in atomic64_dec_if_positive()
|
/linux-4.1.27/drivers/scsi/aacraid/ |
D | rx.c | 59 if (likely(intstat & ~(dev->OIMR))) { in aac_rx_intr_producer() 70 else if (likely(bellbits & DoorBellAdapterNormRespReady)) { in aac_rx_intr_producer() 93 if (likely(Index != 0xFFFFFFFFL)) { in aac_rx_intr_message() 355 if (likely((status & 0xFF000000L) == 0xBC000000L)) in aac_rx_check_health() 375 if (likely((buffer[0] == '0') && ((buffer[1] == 'x') || (buffer[1] == 'X')))) { in aac_rx_check_health() 436 if (likely(Index != 0xFFFFFFFFL)) in aac_rx_deliver_message() 609 if (likely(!aac_rx_restart_adapter(dev, aac_rx_check_health(dev)))) in _aac_rx_init()
|
/linux-4.1.27/net/tipc/ |
D | addr.c | 83 if (likely(sc == TIPC_NODE_SCOPE)) in addr_domain() 139 if (likely(!domain)) in tipc_addr_scope()
|
D | socket.c | 288 if (likely(orig_node == peer_node)) in tsk_peer_msg() 691 if (likely(rc >= 0)) { in tipc_sendmcast() 930 if (likely(rc >= 0)) { in __tipc_sendmsg() 1047 if (likely(!tsk_conn_cong(tsk))) { in __tipc_send_stream() 1049 if (likely(!rc)) { in __tipc_send_stream() 1157 if (likely(m->msg_controllen == 0)) in tipc_sk_anc_data_recv() 1343 if (likely(!(flags & MSG_PEEK))) { in tipc_recvmsg() 1453 if (likely(!(flags & MSG_PEEK))) { in tipc_recv_stream() 1698 if (likely(!skb)) { in tipc_backlog_rcv() 1739 if (likely(!skb)) in tipc_sk_enqueue() [all …]
|
D | msg.h | 357 if (likely(msg_isdata(m) && !msg_errcode(m))) in msg_importance() 366 else if (likely(i < TIPC_SYSTEM_IMPORTANCE)) in msg_set_importance() 421 if (likely(msg_short(m))) in msg_orignode() 559 if (likely(msg_user(m) != TUNNEL_PROTOCOL)) in msg_dup()
|
D | bcast.c | 365 if (likely(bclink)) { in tipc_bclink_xmit() 367 if (likely(bclink->bcast_nodes.count)) { in tipc_bclink_xmit() 369 if (likely(!rc)) { in tipc_bclink_xmit() 478 if (likely(seqno == next_in)) { in tipc_bclink_rcv() 481 if (likely(msg_isdata(msg))) { in tipc_bclink_rcv() 609 if (likely(!msg_non_seq(buf_msg(buf)))) { in tipc_bcbearer_send()
|
/linux-4.1.27/include/net/ |
D | iw_handler.h | 517 if(likely((stream + event_len) < ends)) { in iwe_stream_add_event() 553 if(likely((stream + event_len) < ends)) { in iwe_stream_add_point() 592 if(likely((value + event_len) < ends)) { in iwe_stream_add_value()
|
D | sch_generic.h | 595 if (likely(skb != NULL)) { in __qdisc_dequeue_head() 613 if (likely(skb != NULL)) { in __qdisc_queue_drop_head() 633 if (likely(skb != NULL)) in __qdisc_dequeue_tail() 699 if (likely(skb != NULL)) { in __qdisc_queue_drop()
|
/linux-4.1.27/net/openvswitch/ |
D | actions.c | 282 if (likely(transport_len >= sizeof(struct tcphdr))) in set_ip_addr() 286 if (likely(transport_len >= sizeof(struct udphdr))) { in set_ip_addr() 309 if (likely(transport_len >= sizeof(struct tcphdr))) in update_ipv6_checksum() 313 if (likely(transport_len >= sizeof(struct udphdr))) { in update_ipv6_checksum() 324 if (likely(transport_len >= sizeof(struct icmp6hdr))) in update_ipv6_checksum() 516 if (likely(src != uh->source)) { in set_udp() 520 if (likely(dst != uh->dest)) { in set_udp() 554 if (likely(src != th->source)) { in set_tcp() 559 if (likely(dst != th->dest)) { in set_tcp() 604 if (likely(vport)) in do_output() [all …]
|
/linux-4.1.27/fs/ |
D | fs_pin.c | 45 if (likely(!p->done)) { in pin_kill() 64 if (likely(list_empty(&wait.task_list))) in pin_kill()
|
D | file_table.c | 171 likely(fop->read || fop->read_iter)) in alloc_file() 174 likely(fop->write || fop->write_iter)) in alloc_file() 269 if (likely(!in_interrupt() && !(task->flags & PF_KTHREAD))) { in fput()
|
/linux-4.1.27/tools/virtio/linux/ |
D | kernel.h | 83 # ifndef likely 84 # define likely(x) (__builtin_expect(!!(x), 1)) macro
|
/linux-4.1.27/security/apparmor/ |
D | capability.c | 77 if (likely(!error)) { in audit_caps() 79 if (likely((AUDIT_MODE(profile) != AUDIT_ALL) && in audit_caps()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
D | sq.c | 187 likely(map->name) ? map->name : "???", in sq_remap() 274 if (likely(sattr->show)) in sq_sysfs_show() 285 if (likely(sattr->store)) in sq_sysfs_store() 312 if (likely(len)) { in mapping_store()
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_replay.c | 36 if (likely(replay_esn->seq >= replay_esn->replay_window - 1)) { in xfrm_replay_seqhi() 129 if (likely(seq > x->replay.seq)) in xfrm_replay_check() 211 if (likely(seq > replay_esn->seq)) in xfrm_replay_check_bmp() 455 if (likely(top >= wsize - 1)) { in xfrm_replay_check_esn() 457 if (likely(seq > top) || seq < bottom) in xfrm_replay_check_esn() 461 if (likely(seq > top && seq < bottom)) in xfrm_replay_check_esn() 521 if (likely(!wrap)) in xfrm_replay_advance_esn()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | pxa25x_udc.c | 338 if (likely (req->req.status == -EINPROGRESS)) in done() 374 while (likely(count--)) in write_packet() 401 if (likely(req->req.length != req->req.actual) in write_fifo() 532 if (likely (udccs & UDCCS_BO_RNE)) { in read_fifo() 542 while (likely (count-- != 0)) { in read_fifo() 722 if (likely(req && ep->ep.desc)) in pxa25x_ep_queue() 727 if (likely(req != NULL)) in pxa25x_ep_queue() 1456 if (likely((udccs0 & (UDCCS0_OPR|UDCCS0_SA|UDCCS0_RNE)) in handle_ep0() 1559 if (likely(dev->ep0state == EP0_IN_DATA_PHASE in handle_ep0() 1569 } else if (likely((udccs0 & (UDCCS0_OPR|UDCCS0_SA)) in handle_ep0() [all …]
|
D | goku_udc.c | 303 if (likely(req->req.status == -EINPROGRESS)) in done() 339 while (likely(count--)) in write_packet() 380 if (likely(req->req.length != req->req.actual) in write_fifo() 430 if (likely(ep->num != 0 || bufferspace != 0)) { in read_fifo() 452 while (likely(size-- != 0)) { in read_fifo() 541 if (likely(ep->is_in)) { in start_dma() 606 if (likely(ep->is_in)) { in dma_advance() 757 if (list_empty(&ep->queue) && likely(!ep->stopped)) { in goku_queue() 774 if (likely(req != NULL)) in goku_queue() 777 if (likely(!list_empty(&ep->queue)) in goku_queue() [all …]
|
/linux-4.1.27/arch/frv/include/asm/ |
D | uaccess.h | 218 if (likely(_e == 0)) \ 298 if (likely(__access_ok(from, n))) in copy_from_user() 309 return likely(__access_ok(to, n)) ? __copy_to_user(to, from, n) : n; in copy_to_user()
|
/linux-4.1.27/kernel/sched/ |
D | cpupri.c | 159 if (likely(newpri != CPUPRI_INVALID)) { in cpupri_set() 172 if (likely(oldpri != CPUPRI_INVALID)) { in cpupri_set()
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | libcfs_lock.c | 107 if (likely(index != CFS_PERCPT_LOCK_EX)) { in cfs_percpt_lock() 134 if (likely(index != CFS_PERCPT_LOCK_EX)) { in cfs_percpt_unlock()
|
/linux-4.1.27/arch/score/include/asm/ |
D | uaccess.h | 57 likely(__access_ok((unsigned long)(addr), (size))) 184 if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) \ 250 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { \
|
/linux-4.1.27/arch/sparc/crypto/ |
D | des_glue.c | 112 if (likely(block_len)) { in __ecb_crypt() 157 if (likely(block_len)) { in cbc_encrypt() 188 if (likely(block_len)) { in cbc_decrypt() 282 if (likely(block_len)) { in __ecb3_crypt() 331 if (likely(block_len)) { in cbc3_encrypt() 367 if (likely(block_len)) { in cbc3_decrypt()
|
D | aes_glue.c | 231 if (likely(block_len)) { in ecb_encrypt() 262 if (likely(block_len)) { in ecb_decrypt() 291 if (likely(block_len)) { in cbc_encrypt() 322 if (likely(block_len)) { in cbc_decrypt() 368 if (likely(block_len)) { in ctr_crypt()
|
D | camellia_glue.c | 111 if (likely(block_len)) { in __ecb_crypt() 171 if (likely(block_len)) { in cbc_encrypt() 210 if (likely(block_len)) { in cbc_decrypt()
|
/linux-4.1.27/drivers/tty/serial/cpm_uart/ |
D | cpm_uart.h | 119 if (likely(val >= mem && val < mem + pinfo->mem_size)) { in cpu2cpm_addr() 135 if (likely(val >= dma && val < dma + pinfo->mem_size)) { in cpm2cpu_addr()
|
/linux-4.1.27/net/caif/ |
D | cfpkt_skbuff.c | 84 if (likely(in_interrupt())) in cfpkt_create_pfx() 192 if (likely(len < PKT_LEN_WHEN_EXTENDING)) in cfpkt_add_body() 210 if (likely(data)) in cfpkt_add_body() 283 if (likely(len <= skb->len)) { in cfpkt_setlen()
|
D | caif_dev.c | 180 if (likely(caifd->netdev->tx_queue_len == 0)) in transmit() 186 if (likely(!netif_queue_stopped(caifd->netdev))) { in transmit() 191 if (likely(qlen == 0)) in transmit() 195 if (likely(qlen < high)) in transmit()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | atomic.h | 94 if (likely(old == c)) in __atomic_add_unless() 244 if (likely(old == c)) in atomic64_add_unless() 269 if (likely(old == c)) in atomic64_dec_if_positive()
|
/linux-4.1.27/arch/x86/vdso/ |
D | vclock_gettime.c | 126 if (likely(ret >= last)) in vread_pvclock() 193 if (likely(ret >= last)) in vread_tsc() 322 if (likely(tv != NULL)) { in __vdso_gettimeofday()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/ |
D | object.h | 44 if (likely(_object->map.ptr)) \ 52 if (likely(_object->map.ptr)) \
|
/linux-4.1.27/arch/parisc/kernel/ |
D | pdc_chassis.c | 140 if (likely(pdc_chassis_enabled)) { in parisc_pdc_chassis_init() 178 if (likely(pdc_chassis_enabled)) { in pdc_chassis_send_status()
|
D | irq.c | 419 if (likely(stack_usage <= THREAD_SIZE)) in stack_overflow_check() 430 if (likely(stack_usage < (IRQ_STACK_SIZE - STACK_MARGIN))) in stack_overflow_check() 447 if (likely(stack_usage < (THREAD_SIZE - STACK_MARGIN))) in stack_overflow_check()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | atomic_64.h | 83 if (likely(old == c)) in ATOMIC_OPS() 102 if (likely(old == c)) in atomic64_add_unless()
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | interrupt.c | 242 if (likely(isr & (BIT_DMA_EP_RX_ICR_RX_DONE | in wil6210_irq_rx() 252 if (likely(test_bit(wil_status_reset_done, wil->status))) { in wil6210_irq_rx() 253 if (likely(test_bit(wil_status_napi_en, wil->status))) { in wil6210_irq_rx() 297 if (likely(isr & BIT_DMA_EP_TX_ICR_TX_DONE)) { in wil6210_irq_tx() 302 if (likely(test_bit(wil_status_reset_done, wil->status))) { in wil6210_irq_tx()
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 50 if (likely(!test_bit(TTM_BO_PRIV_FLAG_MOVING, &bo->priv_flags))) in ttm_bo_vm_fault_idle() 57 if (likely(ret == 0)) in ttm_bo_vm_fault_idle() 294 if (likely(node)) { in ttm_bo_vm_lookup()
|
D | ttm_bo_util.c | 82 if (likely(man->io_reserve_fastpath)) in ttm_mem_io_lock() 95 if (likely(man->io_reserve_fastpath)) in ttm_mem_io_unlock() 127 if (likely(man->io_reserve_fastpath)) in ttm_mem_io_reserve() 149 if (likely(man->io_reserve_fastpath)) in ttm_mem_io_free()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | tx.c | 144 if (likely(fill_level < efx->txq_stop_thresh)) in efx_tx_maybe_stop_queue() 169 if (likely(fill_level < efx->txq_stop_thresh)) { in efx_tx_maybe_stop_queue() 171 if (likely(!efx->loopback_selftest)) in efx_tx_maybe_stop_queue() 392 if (likely(dma_len >= len)) in efx_enqueue_skb() 643 likely(efx->port_enabled) && in efx_xmit_done() 644 likely(netif_device_present(efx->net_dev))) { in efx_xmit_done() 884 if (likely(len <= TSOH_STD_SIZE - NET_IP_ALIGN)) { in efx_tsoh_get_buffer() 1043 if (likely(in_len == 0)) { in tso_start() 1073 if (likely(!dma_mapping_error(&efx->pci_dev->dev, st->unmap_addr))) { in tso_get_fragment() 1277 if (likely(state.in_len == 0)) { in efx_enqueue_skb_tso()
|
/linux-4.1.27/Documentation/xtensa/ |
D | atomctl.txt | 22 use the memory controllers RCW, thought non-MX controlers likely 27 don't support atomic RCW memory transactions and will likely want to
|
/linux-4.1.27/kernel/ |
D | kcmp.c | 75 if (likely(m2 != m1)) in kcmp_unlock() 88 if (!err && likely(m1 != m2)) { in kcmp_lock()
|
D | exit.c | 460 if (likely(reaper != father)) in find_child_reaper() 569 if (likely(!t->ptrace)) in forget_original_parent() 985 if (!likely(wo->wo_flags & WEXITED)) in wait_task_zombie() 1334 if (likely(!ptrace)) in wait_consider_task() 1339 if (likely(!ptrace) && unlikely(p->ptrace)) { in wait_consider_task() 1364 if (unlikely(ptrace) || likely(!p->ptrace)) in wait_consider_task() 1388 if (likely(!ptrace) || (wo->wo_flags & (WCONTINUED | WEXITED))) in wait_consider_task()
|
/linux-4.1.27/arch/mips/pmcs-msp71xx/ |
D | Platform | 6 -mno-branch-likely
|
/linux-4.1.27/arch/x86/kernel/ |
D | espfix_64.c | 149 if (likely(this_cpu_read(espfix_stack))) in init_espfix_ap() 158 if (likely(stack_page)) in init_espfix_ap()
|
/linux-4.1.27/virt/kvm/arm/ |
D | vgic-v3-emul.c | 126 if (likely(offset >= VGIC_NR_PRIVATE_IRQS / 8)) in handle_mmio_set_enable_reg_dist() 140 if (likely(offset >= VGIC_NR_PRIVATE_IRQS / 8)) in handle_mmio_clear_enable_reg_dist() 154 if (likely(offset >= VGIC_NR_PRIVATE_IRQS / 8)) in handle_mmio_set_pending_reg_dist() 167 if (likely(offset >= VGIC_NR_PRIVATE_IRQS / 8)) in handle_mmio_clear_pending_reg_dist() 289 if (likely(vcpu)) { in handle_mmio_route_reg() 305 if (likely(vcpu)) { in handle_mmio_route_reg()
|
/linux-4.1.27/drivers/scsi/esas2r/ |
D | esas2r_int.c | 109 if (likely(a->int_stat & MU_INTSTAT_POST_OUT)) { in esas2r_adapter_interrupt() 127 if (likely(atomic_read(&a->disable_cnt) == 0)) in esas2r_adapter_interrupt() 139 if (likely(intstat & MU_INTSTAT_POST_OUT)) { in esas2r_msi_interrupt() 162 if (likely(atomic_read(&a->disable_cnt) == 0)) in esas2r_msi_interrupt() 278 if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI)) { in esas2r_get_outbound_responses() 935 if (likely(rq->vrq->scsi.function == VDA_FUNC_SCSI) in esas2r_complete_request()
|
/linux-4.1.27/drivers/ssb/ |
D | pcmcia.c | 234 if (likely(!err)) in ssb_pcmcia_read8() 250 if (likely(!err)) in ssb_pcmcia_read16() 266 if (likely(!err)) { in ssb_pcmcia_read32() 341 if (likely(!err)) in ssb_pcmcia_write8() 355 if (likely(!err)) in ssb_pcmcia_write16() 369 if (likely(!err)) { in ssb_pcmcia_write32()
|
/linux-4.1.27/arch/x86/mm/kmemcheck/ |
D | kmemcheck.c | 359 if (likely(page == next_page)) { in kmemcheck_read() 395 if (likely(page == next_page)) { in kmemcheck_write() 429 if (likely(page == next_page)) { in kmemcheck_copy() 473 if (likely(page == next_page)) { in kmemcheck_copy()
|
/linux-4.1.27/Documentation/video4linux/bttv/ |
D | README.freeze | 15 If some version works and another doesn't it is likely to be a driver 51 only makes it less likely to happen. Both bttv and btaudio have a 56 if this is the case you likely see freezes only with video and hard disk
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | notify.c | 39 if (likely(event) && in nvkm_notify_put() 61 if (likely(event) && in nvkm_notify_get()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_benchmark.c | 147 if (likely(r == 0)) { in radeon_benchmark_move() 155 if (likely(r == 0)) { in radeon_benchmark_move()
|
/linux-4.1.27/Documentation/vm/ |
D | ksm.txt | 24 has advised to be likely candidates for merging, by using the madvise(2) 47 restricting its use to areas likely to benefit. KSM's scans may use a lot 65 nodes, at significant NUMA distances, are likely to benefit 67 need to minimize memory usage, are likely to benefit from
|
/linux-4.1.27/arch/cris/kernel/ |
D | ptrace.c | 50 if (likely(thread_flags & _TIF_NEED_RESCHED)) { in do_work_pending()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | bit.c | 30 if (likely(bios->bit_offset)) { in bit_entry()
|
/linux-4.1.27/drivers/staging/gs_fpgaboot/ |
D | io.c | 72 if (likely(bus_byte == bus_2byte)) in xl_shift_bytes_out()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 94 if (likely(page)) in fm10k_alloc_mapped_page() 285 if (likely(!fm10k_page_is_reserved(page))) in fm10k_add_rx_frag() 310 if (likely(!skb)) { in fm10k_fetch_rx_buffer() 514 if (likely(fm10k_test_staterr(rx_desc, FM10K_RXD_STATUS_EOP))) in fm10k_is_non_eop() 613 while (likely(total_packets < budget)) { in fm10k_clean_rx_irq() 927 likely(skb_shinfo(skb)->tx_flags & SKBTX_IN_PROGRESS)) in fm10k_tx_desc_flags() 962 if (likely(fm10k_desc_unused(tx_ring) < size)) in __fm10k_maybe_stop_tx() 973 if (likely(fm10k_desc_unused(tx_ring) >= size)) in fm10k_maybe_stop_tx() 1027 if (likely(!data_len)) in fm10k_tx_map() 1304 } while (likely(budget)); in fm10k_clean_tx_irq()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 312 if (likely(skb_headlen(skb))) in unmap_sgl() 326 if (likely((u8 *)(p + 1) <= (u8 *)tq->stat)) { in unmap_sgl() 919 if (likely(len)) { in write_sgl() 930 if (likely(--nfrags == 0)) in write_sgl() 953 if (likely(part0)) in write_sgl() 1065 if (likely(skb->len <= left)) { in inline_tx_skb() 1066 if (likely(!skb->data_len)) in inline_tx_skb() 1119 if (likely(csum_type >= TX_CSUM_TCPIP)) in hwcsum() 1742 while (likely(budget_left)) { in process_responses() 1756 if (likely(rsp_type == RSP_TYPE_FLBUF)) { in process_responses() [all …]
|
/linux-4.1.27/include/linux/can/ |
D | skb.h | 66 if (likely(nskb)) { in can_create_echo_skb()
|
/linux-4.1.27/fs/gfs2/ |
D | util.h | 46 ((likely(assertion)) ? 0 : gfs2_assert_withdraw_i((sdp), #assertion, \ 54 ((likely(assertion)) ? 0 : gfs2_assert_warn_i((sdp), #assertion, \
|
/linux-4.1.27/net/ipv4/ |
D | ip_tunnel_core.c | 101 if (likely(ntohs(eh->h_proto) >= ETH_P_802_3_MIN)) in iptunnel_pull_header() 127 if (likely(!skb->encapsulation)) { in iptunnel_handle_offloads()
|
D | tcp_output.c | 468 if (likely(OPTION_TS & options)) { in tcp_options_write() 577 if (likely(sysctl_tcp_timestamps && !*md5)) { in tcp_syn_options() 583 if (likely(sysctl_tcp_window_scaling)) { in tcp_syn_options() 588 if (likely(sysctl_tcp_sack)) { in tcp_syn_options() 641 if (likely(ireq->wscale_ok)) { in tcp_synack_options() 646 if (likely(ireq->tstamp_ok)) { in tcp_synack_options() 652 if (likely(ireq->sack_ok)) { in tcp_synack_options() 696 if (likely(tp->rx_opt.tstamp_ok)) { in tcp_established_options() 997 if (likely((tcb->tcp_flags & TCPHDR_SYN) == 0)) in tcp_transmit_skb() 1011 if (likely(tcb->tcp_flags & TCPHDR_ACK)) in tcp_transmit_skb() [all …]
|
/linux-4.1.27/Documentation/dvb/ |
D | udev.txt | 21 dir where udev can execute it, most likely /etc/udev/scripts/ 34 will tell you the directory where the rules are, most likely it's /etc/udev/rules.d/
|
/linux-4.1.27/arch/mips/sni/ |
D | pcit.c | 189 if (likely(irq > 0)) in pcit_hwint1() 202 if (likely(irq > 0)) in pcit_hwint0()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | uaccess.h | 72 if (likely(access_ok(VERIFY_READ, __gu_addr, (size)))) \ 93 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) \
|
D | atomic.h | 58 if (likely(old == c)) in __atomic_add_unless()
|
/linux-4.1.27/arch/microblaze/lib/ |
D | memset.c | 65 if (likely(n >= 4)) { in memset()
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | uaccess.h | 69 (likely((unsigned long) (addr) <= (segment).seg) \ 71 || likely(REGION_OFFSET((unsigned long) (addr)) < RGN_MAP_LIMIT))); \ 283 if (likely(access_ok(VERIFY_READ, from, n) && access_ok(VERIFY_WRITE, to, n))) in copy_in_user()
|
D | atomic.h | 133 if (likely(old == c)) in __atomic_add_unless() 149 if (likely(old == c)) in atomic64_add_unless()
|
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/ |
D | kernel.h | 25 #define likely(x) (x) macro
|
/linux-4.1.27/samples/bpf/ |
D | sockex2_kern.c | 77 if (likely(verlen == 0x45)) in parse_ip() 118 if (likely(proto == ETH_P_IP)) in flow_dissector()
|
/linux-4.1.27/Documentation/video4linux/ |
D | README.ir | 56 XFree86 likely can be configured to recognise the remote keys. Once I 63 It likely is possible to make that fly with a nice xkb config file,
|
/linux-4.1.27/drivers/scsi/csiostor/ |
D | csio_scsi.h | 196 if (likely(!list_empty(&scm->ioreq_freelist))) { in csio_get_scsi_ioreq() 226 if (likely(!list_empty(&scm->ddp_freelist))) { in csio_get_scsi_ddp()
|
/linux-4.1.27/Documentation/devicetree/ |
D | 00-INDEX | 4 <grant.likely@secretlab.ca> and has a mailing list at
|
/linux-4.1.27/arch/sh/kernel/ |
D | nmi_debug.c | 28 if (likely(val != DIE_NMI)) in nmi_debug_notify()
|
D | sh_bios.c | 161 if (likely(early_console)) { in setup_early_printk()
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
D | rx.c | 482 if (likely(skb)) { in carl9170_rx_copy_data() 527 if (likely(!(ar->hw->conf.flags & IEEE80211_CONF_PS))) in carl9170_ps_beacon() 579 if (likely(!ieee80211_is_back(bar->frame_control))) in carl9170_ba_check() 722 if (likely(mpdu_len >= sizeof(struct ar9170_rx_head))) { in carl9170_rx_untie_data() 758 if (likely(mpdu_len >= sizeof(struct ar9170_rx_phystatus))) { in carl9170_rx_untie_data()
|
/linux-4.1.27/arch/avr32/kernel/ |
D | nmi_debug.c | 29 if (likely(val != DIE_NMI)) in nmi_debug_notify()
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
D | Kconfig | 27 You will also very likely need the Wireless Tools in order to 64 most likely want to say N here. 89 You will also very likely need the Wireless Tools in order to 198 component, you most likely want to say N here.
|
/linux-4.1.27/arch/sparc/lib/ |
D | user_fixup.c | 40 if (likely(size)) in copy_from_user_fixup()
|
/linux-4.1.27/arch/mips/txx9/rbtx4939/ |
D | irq.c | 60 if (likely(irq >= 0)) { in rbtx4939_irq_dispatch()
|
/linux-4.1.27/fs/omfs/ |
D | Kconfig | 8 more efficient than a standard FS for MPEG files, in fact likely
|
/linux-4.1.27/fs/nfs/ |
D | nfs4xdr.c | 3098 if (likely(p)) in decode_ace() 3149 if (likely(bitmap[0] & FATTR4_WORD0_SUPPORTED_ATTRS)) { in decode_attr_supported() 3170 if (likely(bitmap[0] & FATTR4_WORD0_TYPE)) { in decode_attr_type() 3197 if (likely(bitmap[0] & FATTR4_WORD0_FH_EXPIRE_TYPE)) { in decode_attr_fh_expire_type() 3219 if (likely(bitmap[0] & FATTR4_WORD0_CHANGE)) { in decode_attr_change() 3243 if (likely(bitmap[0] & FATTR4_WORD0_SIZE)) { in decode_attr_size() 3265 if (likely(bitmap[0] & FATTR4_WORD0_LINK_SUPPORT)) { in decode_attr_link_support() 3286 if (likely(bitmap[0] & FATTR4_WORD0_SYMLINK_SUPPORT)) { in decode_attr_symlink_support() 3309 if (likely(bitmap[0] & FATTR4_WORD0_FSID)) { in decode_attr_fsid() 3334 if (likely(bitmap[0] & FATTR4_WORD0_LEASE_TIME)) { in decode_attr_lease_time() [all …]
|
/linux-4.1.27/drivers/media/platform/marvell-ccic/ |
D | Kconfig | 24 processors (and likely beyond). This is the controller found
|
/linux-4.1.27/scripts/coccinelle/misc/ |
D | ifaddr.cocci | 1 /// the address of a variable or field is non-zero is likely always to bo
|
/linux-4.1.27/kernel/trace/ |
D | trace_sched_wakeup.c | 84 if (likely(!wakeup_task)) in func_prolog_preempt_disable() 455 if (likely(disabled != 1)) in probe_wakeup_sched_switch() 478 if (likely(!is_tracing_stopped())) { in probe_wakeup_sched_switch() 525 if (likely(!tracer_enabled)) in probe_wakeup()
|
D | Kconfig | 283 The likely/unlikely profiler only looks at the conditions that 284 are annotated with a likely or unlikely macro. 287 kernel. This profiler will also enable the likely/unlikely 301 bool "Trace likely/unlikely profiler" 304 This tracer profiles all likely and unlikely macros 322 This option also enables the likely/unlikely profiler. 332 Selected by tracers that will trace the likely and unlikely 338 bool "Trace likely/unlikely instances" 342 This traces the events of likely and unlikely condition 344 "Trace likely/unlikely profiler" is that this is not a
|
/linux-4.1.27/arch/tile/include/asm/ |
D | mmu_context.h | 94 if (likely(prev != next)) { in switch_mm()
|
D | atomic.h | 199 if (likely(old == c)) in atomic64_dec_if_positive()
|
/linux-4.1.27/include/net/netfilter/ |
D | nf_conntrack_core.h | 69 if (likely(ret == NF_ACCEPT)) in nf_conntrack_confirm()
|
/linux-4.1.27/kernel/time/ |
D | timer_stats.c | 245 if (likely(!timer_stats_active)) in timer_stats_update_stats() 261 if (likely(entry)) in timer_stats_update_stats()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvif/ |
D | notify.c | 53 if (likely(notify->object) && in nvif_notify_put() 84 if (likely(notify->object) && in nvif_notify_get()
|
/linux-4.1.27/crypto/async_tx/ |
D | async_pq.c | 98 if (likely(tx)) in do_async_gen_syndrome() 323 if (likely(blocks[i])) { in async_syndrome_val() 363 if (likely(tx)) in async_syndrome_val()
|
/linux-4.1.27/drivers/parisc/ |
D | led.c | 456 if (likely(led_heartbeat)) in led_work_func() 467 if (likely(led_lanrxtx)) currentleds |= led_get_net_activity(); in led_work_func() 468 if (likely(led_diskio)) currentleds |= led_get_diskio_activity(); in led_work_func()
|
/linux-4.1.27/include/crypto/ |
D | skcipher.h | 76 if (likely(req)) in skcipher_givcrypt_alloc()
|
D | aead.h | 65 if (likely(req)) in aead_givcrypt_alloc()
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | mmu_context.h | 112 if (likely(prev != next)) { in switch_mm()
|
/linux-4.1.27/arch/mips/loongson/ |
D | Platform | 30 …lags-$(CONFIG_MACH_LOONGSON) += -I$(srctree)/arch/mips/include/asm/mach-loongson -mno-branch-likely
|
/linux-4.1.27/include/linux/ceph/ |
D | decode.h | 57 if (!likely(ceph_has_room(p, end, n))) \ 222 if (!likely(ceph_has_room(p, end, n))) \
|
/linux-4.1.27/net/ipv6/ |
D | ip6_input.c | 304 likely(!(IP6CB(skb)->flags & IP6SKB_FORWARDED))) { in ip6_mc_input() 355 if (likely(deliver)) in ip6_mc_input()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | dcache.c | 191 if (likely(lld)) { in ll_d_init() 193 if (likely(de->d_fsdata == NULL)) { in ll_d_init()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 327 if (likely(skb_headlen(skb))) in unmap_sgl() 341 if (likely((u8 *)(p + 1) <= (u8 *)q->stat)) { in unmap_sgl() 863 if (likely(len)) { in write_sgl() 874 if (likely(--nfrags == 0)) in write_sgl() 897 if (likely(part0)) in write_sgl() 1013 if (likely(skb->len <= left)) { in inline_tx_skb() 1014 if (likely(!skb->data_len)) in inline_tx_skb() 1066 if (likely(csum_type >= TX_CSUM_TCPIP)) in hwcsum() 1585 if (likely(written)) in service_ofldq() 2008 while (likely(budget_left)) { in process_responses() [all …]
|
/linux-4.1.27/drivers/md/ |
D | dm-raid1.c | 412 if (likely(!atomic_read(&m->error_count))) in choose_mirror() 503 if (likely(!error)) { in read_callback() 510 if (likely(default_ok(m)) || mirror_available(m->ms, bio)) { in read_callback() 561 if (likely(region_in_sync(ms, region, 1))) in do_reads() 566 if (likely(m)) in do_reads() 602 if (likely(!error)) { in write_callback() 778 if (likely(!failures->head)) in do_failures()
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
D | vsp1_video.h | 90 if (likely(e->pipe)) in to_vsp1_pipeline()
|
/linux-4.1.27/drivers/staging/nvec/ |
D | README | 10 This driver is currently only used by the AC100 project[2], but it is likely,
|
/linux-4.1.27/arch/metag/include/asm/ |
D | l2cache.h | 221 if (likely(en)) { in meta_l2c_writeback()
|
/linux-4.1.27/arch/mips/sgi-ip32/ |
D | ip32-irq.c | 421 if (likely(pending & IE_IRQ0)) in plat_irq_dispatch() 431 else if (likely(pending & IE_IRQ5)) in plat_irq_dispatch()
|
/linux-4.1.27/Documentation/devicetree/bindings/reset/ |
D | reset.txt | 5 standalone chips are most likely better represented as GPIOs, although there 6 are likely to be exceptions to this rule.
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | uaccess.h | 166 if (likely(__access_ok((unsigned long) __guc_ptr, (size)))) \ 227 if (likely(__access_ok(__pu_addr, size))) { \
|