Searched refs:unlikely (Results 201 - 225 of 4104) sorted by last modified time
1234567891011>>
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_cs.c | 825 if (unlikely(r == -ENOMEM) && domain != bo->allowed_domains) { 901 if (unlikely(r)) 909 if (unlikely(r)) 919 if (unlikely(r)) 964 if (unlikely(r)) 970 if (unlikely(r))
|
/linux-master/drivers/char/ |
H A D | random.c | 234 if (unlikely(READ_ONCE(early_boot))) { 356 if (unlikely(crng->generation != READ_ONCE(base_crng.generation))) { 368 * branches of this function are "unlikely", so most of the time we 398 if (unlikely(chacha_state[12] == 0)) 427 if (unlikely(!iov_iter_count(iter))) 448 if (unlikely(chacha_state[12] == 0)) 557 if (unlikely(!ceil)) 561 if (unlikely((u32)mult < ceil)) { 563 while (unlikely((u32)mult < bound)) 1306 if (unlikely(num_cpu [all...] |
/linux-master/fs/btrfs/ |
H A D | extent_io.c | 691 if (unlikely(allocated == last)) { 2119 if (unlikely(folio->mapping != mapping)) { 3885 if (unlikely(ret == -EAGAIN)) { 4043 if (unlikely(test_bit(EXTENT_BUFFER_UNMAPPED, &eb->bflags))) { 4320 if (unlikely(test_bit(EXTENT_BUFFER_WRITE_ERR, &eb->bflags))) 4333 if (unlikely(test_bit(EXTENT_BUFFER_UPTODATE, &eb->bflags))) { 4402 if (unlikely(check_add_overflow(start, len, &offset) || offset > eb->len))
|
H A D | extent-tree.c | 870 if (unlikely(item_size < sizeof(*ei))) { 949 if (unlikely(ptr > end)) { 1102 if (unlikely(refs_to_mod < 0 && refs + refs_to_mod <= 0)) { 1127 if (unlikely(type == BTRFS_REF_TYPE_INVALID)) 1146 if (unlikely(refs_to_mod != -1)) { 1159 if (unlikely(refs_to_mod < 0 && refs < -refs_to_mod)) { 1709 if (unlikely(item_size < sizeof(*ei))) { 1746 if (unlikely(node->ref_mod != 1)) { 3261 if (unlikely(item_size < sizeof(*ei))) { 3789 if (unlikely(last_pt [all...] |
/linux-master/kernel/time/ |
H A D | tick-sched.c | 104 if (unlikely(delta >= TICK_NSEC)) { 222 if (IS_ENABLED(CONFIG_NO_HZ_COMMON) && unlikely(tick_cpu == TICK_DO_TIMER_NONE)) { 306 if (unlikely(tick_sched_flag_test(ts, TS_FLAG_STOPPED))) 370 if (unlikely(!cpu_online(cpu))) 1057 if (unlikely(expires == KTIME_MAX)) { 1172 if (unlikely(!tick_sched_flag_test(ts, TS_FLAG_NOHZ))) 1178 if (unlikely(report_idle_softirq()))
|
/linux-master/kernel/dma/ |
H A D | swiotlb.c | 1061 if (unlikely(nslots > pool->area_nslabs - area->used)) 1553 if (unlikely(!dma_capable(dev, dma_addr, size, true))) { 1730 if (unlikely(!PAGE_ALIGNED(tlb_addr))) {
|
/linux-master/include/asm-generic/ |
H A D | bug.h | 71 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) 112 if (unlikely(__ret_warn_on)) \ 115 unlikely(__ret_warn_on); \ 124 if (unlikely(__ret_warn_on)) \ 126 unlikely(__ret_warn_on); \ 133 if (unlikely(__ret_warn_on)) \ 135 unlikely(__ret_warn_on); \ 141 if (unlikely(__ret_warn_on)) \ 143 unlikely(__ret_warn_on); \ 166 #define BUG_ON(condition) do { if (unlikely(conditio [all...] |
/linux-master/include/linux/ |
H A D | irqflags.h | 152 if (unlikely(!arch_irqs_disabled())) \
|
/linux-master/fs/bcachefs/ |
H A D | sysfs.c | 710 if (unlikely(!bch2_write_ref_tryget(c, BCH_WRITE_REF_sysfs)))
|
H A D | fs-io.c | 447 if (unlikely(ret < 0)) 476 if (unlikely(ret)) { 518 if (unlikely(ret < 0)) 666 if (unlikely(ret)) 722 if (unlikely(ret < 0))
|
H A D | fs-io-direct.c | 190 if (unlikely(mapping->nrpages)) { 320 if (unlikely(!iov)) 377 if (unlikely(dio->flush)) { 431 if (unlikely(dio->op.error)) 469 if (unlikely(ret < 0)) 472 if (unlikely(dropped_locks)) { 476 if (unlikely(ret)) 513 if (unlikely(ret)) 518 if (unlikely(ret) && 524 if (unlikely(di [all...] |
H A D | btree_write_buffer.c | 166 if (unlikely(!bch2_btree_node_insert_fits(path->l[0].b, wb->k.k.u64s))) { 521 if (unlikely(ret)) {
|
H A D | btree_trans_commit.c | 29 if (unlikely(trans->journal_replay_not_finished)) { 70 if (unlikely(btree_node_just_written(b)) && 277 if (unlikely(!bch2_btree_bset_insert_key(trans, path, b, 285 if (unlikely(!btree_node_dirty(b))) { 376 if (unlikely(ret)) { 420 if (unlikely(!new_k)) 446 if (unlikely(flags & BTREE_TRIGGER_NORUN)) 653 if (unlikely(trans->journal_transaction_names)) 694 if (unlikely(c->gc_pos.phase)) { 842 if (unlikely(re [all...] |
H A D | btree_iter.h | 387 if (unlikely(iter->update_path)) 553 if (unlikely(bkey_err(k))) 585 if (unlikely(b < sizeof(*val))) 856 if (unlikely(!_p)) { \ 878 if (unlikely(!trans_fn_idx)) \
|
H A D | btree_cache.c | 713 if (unlikely(level >= BTREE_MAX_DEPTH)) { 719 if (unlikely(!bkey_is_btree_ptr(&k->k))) { 728 if (unlikely(k->k.u64s > BKEY_BTREE_PTR_U64s_MAX)) { 856 if (unlikely(!b)) { 882 if (unlikely(b->hash_val != btree_ptr_hash_val(k) || 898 if (unlikely(btree_node_read_in_flight(b))) { 915 if (unlikely(need_relock)) { 934 if (unlikely(btree_node_read_error(b))) { 981 if (unlikely(!c->opts.btree_node_mem_ptr_optimization || 995 if (unlikely( [all...] |
H A D | backpointers.h | 73 if (unlikely(bch2_backpointers_no_use_write_buffer))
|
/linux-master/drivers/vhost/ |
H A D | vhost.c | 2266 if (unlikely(vq->log_used)) { 2283 if (unlikely(vq->log_used)) { 2344 if (unlikely(ret >= iov_size)) { 2406 if (unlikely(len % sizeof desc)) { 2416 if (unlikely(ret < 0)) { 2425 if (unlikely(count > USHRT_MAX + 1)) { 2433 if (unlikely(++found > count)) { 2439 if (unlikely(!copy_from_iter_full(&desc, sizeof(desc), &from))) { 2444 if (unlikely(desc.flags & cpu_to_vhost16(vq, VRING_DESC_F_INDIRECT))) { 2458 if (unlikely(re [all...] |
/linux-master/arch/x86/kernel/cpu/ |
H A D | common.c | 414 if (unlikely((val & X86_CR0_WP) != X86_CR0_WP)) { 433 if (unlikely((val & cr4_pinned_mask) != cr4_pinned_bits)) { 2110 if (unlikely(kgdb_connected && arch_kgdb_ops.correct_hw_break))
|
/linux-master/arch/x86/events/ |
H A D | core.c | 122 if (unlikely(!hwc->event_base)) 632 if (unlikely(event->attr.sample_regs_user & PERF_REG_EXTENDED_MASK)) 638 if (unlikely(event->attr.sample_regs_intr & PERF_REG_EXTENDED_MASK)) { 1372 if (unlikely(!hwc->event_base)) 1378 if (unlikely(left <= -period)) { 1385 if (unlikely(left <= 0)) { 1394 if (unlikely(left < 2))
|
/linux-master/io_uring/ |
H A D | net.c | 85 if (unlikely(sqe->off || sqe->addr || sqe->rw_flags || 103 if (unlikely(!sock)) 232 if (unlikely(ret < 0)) 284 if (unlikely(ret < 0)) 301 if (unlikely(req->ctx->compat)) { 305 if (unlikely(ret)) 313 if (unlikely(ret)) 430 if (unlikely(!sock)) 501 if (unlikely(ret < 0)) 513 if (unlikely(!soc [all...] |
H A D | io_uring.c | 369 if (unlikely(req->flags & REQ_F_IO_DRAIN)) { 447 if (unlikely(req->flags & REQ_F_ARM_LTIMEOUT)) 576 if (unlikely(!ev_fd)) 739 if (unlikely(atomic_read(&tctx->in_cancel))) 1000 if (unlikely(req->flags & IO_REQ_CLEAN_FLAGS)) 1107 if (unlikely(ret <= 0)) { 1153 if (unlikely(req->flags & IO_DISARM_MASK)) 1203 if (unlikely(need_resched())) { 1262 if (unlikely(current->flags & PF_EXITING)) { 1274 if (unlikely(atomic_rea [all...] |
/linux-master/fs/zonefs/ |
H A D | super.c | 542 if (unlikely(IS_IMMUTABLE(inode)))
|
/linux-master/fs/smb/client/ |
H A D | inode.c | 158 unlikely(inode_wrong_type(inode, fattr->cf_mode))) { 368 if (unlikely((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) && 1749 if (unlikely(cifs_forced_shutdown(cifs_sb))) 2031 if (unlikely(cifs_forced_shutdown(cifs_sb))) 2117 if (unlikely(cifs_forced_shutdown(cifs_sb))) { 2266 if (unlikely(cifs_forced_shutdown(cifs_sb))) 2611 if (unlikely(cifs_forced_shutdown(CIFS_SB(inode->i_sb)))) 2686 if (unlikely(cifs_forced_shutdown(cifs_sb))) 3185 if (unlikely(cifs_forced_shutdown(cifs_sb)))
|
H A D | cached_dir.c | 115 if (unlikely(len > strlen(path)))
|
/linux-master/fs/ceph/ |
H A D | mds_client.c | 303 if (unlikely(*p > end)) 396 if (unlikely(*p != end)) 858 if (unlikely(udentry->d_parent != pdentry))
|
Completed in 291 milliseconds
1234567891011>>