Home
last modified time | relevance | path

Searched refs:IS_ERR_VALUE (Results 1 – 25 of 98) sorted by relevance

1234

/linux-6.3-rc2/scripts/coccinelle/api/
A Dpm_runtime.cocci2 /// Make sure pm_runtime_* calls does not use unnecessary IS_ERR_VALUE
44 IS_ERR_VALUE(ret)
60 * IS_ERR_VALUE(ret)
76 - IS_ERR_VALUE(ret)
94 IS_ERR_VALUE@p2(ret)
105 cocci.print_secs("IS_ERR_VALUE",p2)
113 msg = "%s returns < 0 as error. Unecessary IS_ERR_VALUE at line %s" % (pm_runtime_api, p2[0].line)
/linux-6.3-rc2/tools/virtio/linux/
A Derr.h6 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO) macro
20 return IS_ERR_VALUE((unsigned long)ptr); in IS_ERR()
25 return !ptr || IS_ERR_VALUE((unsigned long)ptr); in IS_ERR_OR_NULL()
/linux-6.3-rc2/tools/include/linux/
A Derr.h33 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO) macro
47 return IS_ERR_VALUE((unsigned long)ptr); in IS_ERR()
52 return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr); in IS_ERR_OR_NULL()
/linux-6.3-rc2/include/linux/
A Derr.h22 #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) macro
36 return IS_ERR_VALUE((unsigned long)ptr); in IS_ERR()
41 return unlikely(!ptr) || IS_ERR_VALUE((unsigned long)ptr); in IS_ERR_OR_NULL()
/linux-6.3-rc2/arch/ia64/kernel/
A Dsys_ia64.c143 if (!IS_ERR_VALUE(addr)) in sys_mmap2()
155 if (!IS_ERR_VALUE(addr)) in sys_mmap()
165 if (!IS_ERR_VALUE(addr)) in ia64_mremap()
/linux-6.3-rc2/include/trace/events/
A Dmmap.h39 IS_ERR_VALUE(__entry->addr) ? 0 : __entry->addr,
40 IS_ERR_VALUE(__entry->addr) ? __entry->addr : 0,
/linux-6.3-rc2/fs/
A Dbinfmt_flat.c535 if (!textpos || IS_ERR_VALUE(textpos)) { in load_flat_file()
549 if (realdatastart == 0 || IS_ERR_VALUE(realdatastart)) { in load_flat_file()
576 if (IS_ERR_VALUE(result)) { in load_flat_file()
596 if (!textpos || IS_ERR_VALUE(textpos)) { in load_flat_file()
651 if (!IS_ERR_VALUE(result)) { in load_flat_file()
674 if (!IS_ERR_VALUE(result)) in load_flat_file()
679 if (IS_ERR_VALUE(result)) { in load_flat_file()
/linux-6.3-rc2/tools/testing/scatterlist/linux/
A Dmm.h134 #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) macro
148 return IS_ERR_VALUE((unsigned long)ptr); in IS_ERR()
/linux-6.3-rc2/arch/mips/kernel/
A Dvdso.c106 if (IS_ERR_VALUE(base)) { in arch_setup_additional_pages()
132 if (IS_ERR_VALUE(base)) { in arch_setup_additional_pages()
/linux-6.3-rc2/arch/hexagon/include/asm/
A Dsyscall.h39 return IS_ERR_VALUE(regs->r00) ? regs->r00 : 0; in syscall_get_error()
/linux-6.3-rc2/arch/openrisc/include/asm/
A Dsyscall.h37 return IS_ERR_VALUE(regs->gpr[11]) ? regs->gpr[11] : 0; in syscall_get_error()
/linux-6.3-rc2/arch/um/include/asm/
A Dsyscall-generic.h35 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dsyscall.h40 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
/linux-6.3-rc2/arch/riscv/include/asm/
A Dsyscall.h43 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
/linux-6.3-rc2/arch/xtensa/include/asm/
A Dsyscall.h41 return IS_ERR_VALUE(regs->areg[2]) ? regs->areg[2] : 0; in syscall_get_error()
/linux-6.3-rc2/arch/sh/include/asm/
A Dsyscall_32.h30 return IS_ERR_VALUE(regs->regs[0]) ? regs->regs[0] : 0; in syscall_get_error()
/linux-6.3-rc2/arch/csky/include/asm/
A Dsyscall.h37 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
/linux-6.3-rc2/arch/parisc/include/asm/
A Dsyscall.h36 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
/linux-6.3-rc2/arch/m68k/include/asm/
A Dsyscall.h28 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
/linux-6.3-rc2/arch/arc/include/asm/
A Dsyscall.h36 return IS_ERR_VALUE(regs->r0) ? regs->r0 : 0; in syscall_get_error()
/linux-6.3-rc2/arch/sh/kernel/vsyscall/
A Dvsyscall.c68 if (IS_ERR_VALUE(addr)) { in arch_setup_additional_pages()
/linux-6.3-rc2/arch/hexagon/kernel/
A Dvdso.c62 if (IS_ERR_VALUE(vdso_base)) { in arch_setup_additional_pages()
/linux-6.3-rc2/arch/arm/include/asm/
A Dsyscall.h52 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
/linux-6.3-rc2/arch/microblaze/include/asm/
A Dsyscall.h26 return IS_ERR_VALUE(regs->r3) ? regs->r3 : 0; in syscall_get_error()
/linux-6.3-rc2/arch/arm64/include/asm/
A Dsyscall.h48 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()

Completed in 27 milliseconds

1234