Home
last modified time | relevance | path

Searched refs:__range_ok (Results 1 – 7 of 7) sorted by relevance

/arch/s390/include/asm/
Duaccess.h39 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/
Duaccess.h51 #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs()-size)) macro
60 __range_ok(__ao_addr, __ao_size); \
/arch/microblaze/include/asm/
Duaccess.h59 #define __range_ok(addr, size) \ macro
62 #define access_ok(addr, size) (__range_ok((addr), (size)) == 0)
/arch/nds32/include/asm/
Duaccess.h50 #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/
Duaccess.h82 #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/
Duaccess.h61 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/
Dinit.c218 return __range_ok(pfn, 0); in page_is_ram()