| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | err.h | 5 #define MAX_ERRNO 4095 macro 6 #define IS_ERR_VALUE(x) (unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO
|
| /linux/tools/virtio/linux/ |
| H A D | err.h | 4 #define MAX_ERRNO 4095 macro 6 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)
|
| /linux/tools/include/linux/ |
| H A D | err.h | 31 #define MAX_ERRNO 4095 macro 33 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)
|
| /linux/include/linux/ |
| H A D | err.h | 18 #define MAX_ERRNO 4095 macro 28 #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO)
|
| H A D | dma-fence.h | 607 WARN_ON(error >= 0 || error < -MAX_ERRNO); in dma_fence_timestamp()
|
| H A D | cleanup.h | 364 unlikely((_rc - 1) >= -MAX_ERRNO - 1); \
|
| /linux/lib/ |
| H A D | errseq.c | 37 #define ERRSEQ_SHIFT (ilog2(MAX_ERRNO) + 1) 75 if (WARN(unlikely(err == 0 || (unsigned int)-err > MAX_ERRNO), in errseq_set()
|
| H A D | notifier-error-inject.c | 8 *(int *)data = clamp_t(int, val, -MAX_ERRNO, 0); in debugfs_errno_set()
|
| /linux/fs/cachefiles/ |
| H A D | io.c | 109 if (off2 < 0 && off2 >= (loff_t)-MAX_ERRNO && off2 != -ENXIO) { in cachefiles_read() 226 if (off < 0 && off >= (loff_t)-MAX_ERRNO) in cachefiles_query_occupancy() 236 if (off2 < 0 && off2 >= (loff_t)-MAX_ERRNO) in cachefiles_query_occupancy() 428 if (off < 0 && off >= (loff_t)-MAX_ERRNO) { in cachefiles_do_prepare_read() 455 if (to < 0 && to >= (loff_t)-MAX_ERRNO) { in cachefiles_do_prepare_read() 552 if (pos < 0 && pos >= (loff_t)-MAX_ERRNO) { in __cachefiles_prepare_write() 573 if (pos < 0 && pos >= (loff_t)-MAX_ERRNO) { in __cachefiles_prepare_write()
|
| /linux/tools/testing/scatterlist/linux/ |
| H A D | mm.h | 131 #define MAX_ERRNO 4095 macro 133 #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO)
|
| /linux/tools/include/nolibc/ |
| H A D | errno.h | 26 #define MAX_ERRNO 4095 macro
|
| /linux/kernel/ |
| H A D | fail_function.c | 42 if (retv < (unsigned long)-MAX_ERRNO) in adjust_error_retval() 46 if (retv != 0 && retv < (unsigned long)-MAX_ERRNO) in adjust_error_retval()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | errseq.rst | 25 它被实现为一个无符号的32位值。低位被指定保存错误代码(在1和MAX_ERRNO之间)。高位
|
| /linux/fs/btrfs/ |
| H A D | tree-log.h | 29 #define BTRFS_LOG_FORCE_COMMIT (-(MAX_ERRNO + 1))
|
| H A D | fiemap.c | 25 #define BTRFS_FIEMAP_FLUSH_CACHE (-(MAX_ERRNO + 1))
|
| /linux/rust/kernel/ |
| H A D | error.rs | 140 if errno < -(bindings::MAX_ERRNO as i32) || errno >= 0 { in try_from_errno()
|
| /linux/arch/powerpc/kernel/ |
| H A D | interrupt.c | 284 if (unlikely(r3 >= (unsigned long)-MAX_ERRNO) && is_not_scv) { in syscall_exit_prepare()
|
| /linux/arch/mips/kernel/ |
| H A D | module.c | 331 if (sym->st_value >= -MAX_ERRNO) { in __apply_relocate()
|
| /linux/Documentation/arch/powerpc/ |
| H A D | syscall64-abi.rst | 39 -4095..-1 (i.e., it is >= -MAX_ERRNO (-4095) as an unsigned comparison),
|
| /linux/kernel/bpf/ |
| H A D | bpf_lsm.c | 445 retval_range->minval = -MAX_ERRNO; in BTF_ID()
|
| /linux/drivers/bcma/ |
| H A D | scan.c | 269 #define IS_ERR_VALUE_U32(x) ((x) >= (u32)-MAX_ERRNO)
|
| /linux/drivers/char/ |
| H A D | mem.c | 601 if ((unsigned long long)offset >= -MAX_ERRNO) { in memory_lseek()
|
| /linux/Documentation/core-api/ |
| H A D | errseq.rst | 14 designated to hold an error code (between 1 and MAX_ERRNO). The upper bits
|
| /linux/Documentation/doc-guide/ |
| H A D | kernel-doc.rst | 383 * define MAX_ERRNO - maximum errno value that is supported 389 #define MAX_ERRNO 4095
|
| /linux/Documentation/translations/it_IT/doc-guide/ |
| H A D | kernel-doc.rst | 396 * define MAX_ERRNO - maximum errno value that is supported 402 #define MAX_ERRNO 4095
|