/arch/microblaze/mm/ |
D | fault.c | 102 if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) { in do_page_fault() 111 if (unlikely(in_atomic() || !mm)) { in do_page_fault() 139 if (unlikely(!down_read_trylock(&mm->mmap_sem))) { in do_page_fault() 148 if (unlikely(!vma)) in do_page_fault() 154 if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) in do_page_fault() 157 if (unlikely(!is_write)) in do_page_fault() 169 if (unlikely(address + 0x100000 < vma->vm_end)) { in do_page_fault() 199 if (unlikely(is_write)) { in do_page_fault() 200 if (unlikely(!(vma->vm_flags & VM_WRITE))) in do_page_fault() 205 if (unlikely(error_code & 0x08000000)) in do_page_fault() [all …]
|
/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_enable() 116 if (unlikely(!clk_good(clk))) in clk_disable() 126 if (unlikely(!clk_good(clk))) in clk_activate() 138 if (unlikely(!clk_good(clk))) in clk_deactivate()
|
/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()
|
/arch/ia64/include/asm/ |
D | mutex.h | 24 if (unlikely(ia64_fetchadd4_acq(count, -1) != 1)) in __mutex_fastpath_lock() 41 if (unlikely(ia64_fetchadd4_acq(count, -1) != 1)) in __mutex_fastpath_lock_retval() 63 if (unlikely(ret < 0)) in __mutex_fastpath_unlock()
|
/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 …]
|
/arch/mips/kernel/ |
D | ftrace.c | 98 if (unlikely(faulted)) in ftrace_modify_code() 116 if (unlikely(faulted)) in ftrace_modify_code_2() 120 if (unlikely(faulted)) in ftrace_modify_code_2() 268 if (unlikely(faulted)) in ftrace_get_parent_ra_addr() 286 if (unlikely(faulted)) in ftrace_get_parent_ra_addr() 309 if (unlikely(atomic_read(¤t->tracing_graph_pause))) in prepare_ftrace_return() 331 if (unlikely(faulted)) in prepare_ftrace_return() 345 if (unlikely(faulted)) in prepare_ftrace_return()
|
/arch/mips/include/asm/ |
D | spinlock.h | 256 } while (unlikely(!tmp)); in arch_read_lock() 267 } while (unlikely(!tmp)); in arch_read_lock() 308 } while (unlikely(!tmp)); in arch_read_unlock() 318 } while (unlikely(!tmp)); in arch_read_unlock() 356 } while (unlikely(!tmp)); in arch_write_lock() 367 } while (unlikely(!tmp)); in arch_write_lock() 492 } while (unlikely(!tmp)); in arch_write_trylock() 506 } while (unlikely(!tmp)); in arch_write_trylock()
|
/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()
|
/arch/m68k/include/asm/ |
D | futex.h | 19 if (unlikely(get_user(val, uaddr) != 0)) in futex_atomic_cmpxchg_inatomic() 22 if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) in futex_atomic_cmpxchg_inatomic() 46 if (unlikely(get_user(oldval, uaddr) != 0)) in futex_atomic_op_inuser() 72 if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) in futex_atomic_op_inuser()
|
/arch/sh/mm/ |
D | fault.c | 66 if (unlikely(!pgd)) in show_pte() 367 if (unlikely(!(vma->vm_flags & VM_WRITE))) in access_error() 373 if (unlikely((error_code & FAULT_CODE_ITLB) && in access_error() 378 if (unlikely(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))) in access_error() 420 if (unlikely(fault_in_kernel_space(address))) { in do_page_fault() 430 if (unlikely(notify_page_fault(regs, vec))) in do_page_fault() 443 if (unlikely(in_atomic() || !mm)) { in do_page_fault() 452 if (unlikely(!vma)) { in do_page_fault() 458 if (unlikely(!(vma->vm_flags & VM_GROWSDOWN))) { in do_page_fault() 462 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()
|
/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()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-cmd-queue.h | 341 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write() 342 if (unlikely in cvmx_cmd_queue_write() 371 if (unlikely(new_buffer == NULL)) { in cvmx_cmd_queue_write() 439 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write2() 440 if (unlikely in cvmx_cmd_queue_write2() 474 if (unlikely(new_buffer == NULL)) { in cvmx_cmd_queue_write2() 495 if (unlikely(count == 0)) { in cvmx_cmd_queue_write2() 540 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && unlikely(qptr->max_depth)) { in cvmx_cmd_queue_write3() 541 if (unlikely in cvmx_cmd_queue_write3() 576 if (unlikely(new_buffer == NULL)) { in cvmx_cmd_queue_write3()
|
/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()
|
/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()
|
/arch/powerpc/kernel/ |
D | io.c | 33 if (unlikely(count <= 0)) in _insb() 49 if (unlikely(count <= 0)) in _outsb() 64 if (unlikely(count <= 0)) in _insw_ns() 80 if (unlikely(count <= 0)) in _outsw_ns() 95 if (unlikely(count <= 0)) in _insl_ns() 111 if (unlikely(count <= 0)) in _outsl_ns()
|
/arch/sh/boards/mach-se/7722/ |
D | irq.c | 57 if (unlikely(!se7722_irq_domain)) { in se7722_domain_init() 65 if (unlikely(irq == 0)) { in se7722_domain_init() 82 if (unlikely(!gc)) in se7722_gc_init() 108 if (unlikely(!se7722_irq_regs)) { in init_se7722_IRQ()
|
/arch/powerpc/include/asm/ |
D | mutex.h | 77 if (unlikely(__mutex_dec_return_lock(count) < 0)) in __mutex_fastpath_lock() 94 if (unlikely(__mutex_dec_return_lock(count) < 0)) in __mutex_fastpath_lock_retval() 111 if (unlikely(__mutex_inc_return_unlock(count) <= 0)) in __mutex_fastpath_unlock()
|
/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() 384 if (unlikely(!sq_cache)) in sq_api_init() 388 if (unlikely(!sq_bitmap)) in sq_api_init() 392 if (unlikely(ret != 0)) in sq_api_init()
|
/arch/sh/boards/mach-se/7343/ |
D | irq.c | 58 if (unlikely(!se7343_irq_domain)) { in se7343_domain_init() 66 if (unlikely(irq == 0)) { in se7343_domain_init() 83 if (unlikely(!gc)) in se7343_gc_init() 115 if (unlikely(!se7343_irq_regs)) { in init_7343se_IRQ()
|
/arch/sh/kernel/cpu/ |
D | clock.c | 28 if (unlikely(ret)) { in clk_init() 35 if (unlikely(ret)) { in clk_init()
|
/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() 132 if (unlikely(ret)) in x3proto_gpio_setup()
|
/arch/powerpc/mm/ |
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() 110 if (unlikely(slot == -2)) { in __hash_page_huge()
|
/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()
|