Searched refs:__range_ok (Results 1 – 7 of 7) sorted by relevance
/arch/s390/include/asm/ |
D | uaccess.h | 39 static inline int __range_ok(unsigned long addr, unsigned long size) in __range_ok() function 47 __range_ok((unsigned long)(addr), (size)); \
|
/arch/openrisc/include/asm/ |
D | uaccess.h | 51 #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs()-size)) macro 60 __range_ok(__ao_addr, __ao_size); \
|
/arch/microblaze/include/asm/ |
D | uaccess.h | 59 #define __range_ok(addr, size) \ macro 62 #define access_ok(addr, size) (__range_ok((addr), (size)) == 0)
|
/arch/nds32/include/asm/ |
D | uaccess.h | 50 #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs() -size)) macro 53 __range_ok((unsigned long)addr, (unsigned long)size)
|
/arch/arm/include/asm/ |
D | uaccess.h | 82 #define __range_ok(addr, size) ({ \ macro 268 #define __range_ok(addr, size) ((void)(addr), 0) macro 280 #define access_ok(addr, size) (__range_ok(addr, size) == 0)
|
/arch/arm64/include/asm/ |
D | uaccess.h | 61 static inline unsigned long __range_ok(const void __user *addr, unsigned long size) in __range_ok() function 95 #define access_ok(addr, size) __range_ok(addr, size)
|
/arch/microblaze/mm/ |
D | init.c | 218 return __range_ok(pfn, 0); in page_is_ram()
|