/linux-6.3-rc2/scripts/coccinelle/api/ |
A D | pm_runtime.cocci | 2 /// 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 D | err.h | 6 #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 D | err.h | 33 #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 D | err.h | 22 #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 D | sys_ia64.c | 143 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 D | mmap.h | 39 IS_ERR_VALUE(__entry->addr) ? 0 : __entry->addr, 40 IS_ERR_VALUE(__entry->addr) ? __entry->addr : 0,
|
/linux-6.3-rc2/fs/ |
A D | binfmt_flat.c | 535 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 D | mm.h | 134 #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 D | vdso.c | 106 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 D | syscall.h | 39 return IS_ERR_VALUE(regs->r00) ? regs->r00 : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/openrisc/include/asm/ |
A D | syscall.h | 37 return IS_ERR_VALUE(regs->gpr[11]) ? regs->gpr[11] : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/um/include/asm/ |
A D | syscall-generic.h | 35 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/loongarch/include/asm/ |
A D | syscall.h | 40 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | syscall.h | 43 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/xtensa/include/asm/ |
A D | syscall.h | 41 return IS_ERR_VALUE(regs->areg[2]) ? regs->areg[2] : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/sh/include/asm/ |
A D | syscall_32.h | 30 return IS_ERR_VALUE(regs->regs[0]) ? regs->regs[0] : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/csky/include/asm/ |
A D | syscall.h | 37 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/parisc/include/asm/ |
A D | syscall.h | 36 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/m68k/include/asm/ |
A D | syscall.h | 28 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/arc/include/asm/ |
A D | syscall.h | 36 return IS_ERR_VALUE(regs->r0) ? regs->r0 : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/sh/kernel/vsyscall/ |
A D | vsyscall.c | 68 if (IS_ERR_VALUE(addr)) { in arch_setup_additional_pages()
|
/linux-6.3-rc2/arch/hexagon/kernel/ |
A D | vdso.c | 62 if (IS_ERR_VALUE(vdso_base)) { in arch_setup_additional_pages()
|
/linux-6.3-rc2/arch/arm/include/asm/ |
A D | syscall.h | 52 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/microblaze/include/asm/ |
A D | syscall.h | 26 return IS_ERR_VALUE(regs->r3) ? regs->r3 : 0; in syscall_get_error()
|
/linux-6.3-rc2/arch/arm64/include/asm/ |
A D | syscall.h | 48 return IS_ERR_VALUE(error) ? error : 0; in syscall_get_error()
|