/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | uaccess.h | 41 # define get_fs() (current_thread_info()->addr_limit) macro 44 # define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) 67 if ((get_fs().seg < ((unsigned long)addr)) || in access_ok() 68 (get_fs().seg < ((unsigned long)addr + size - 1))) { in access_ok() 71 (u32)get_fs().seg); in access_ok() 77 (u32)get_fs().seg); in access_ok()
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | segment.h | 34 static inline mm_segment_t get_fs(void) in get_fs() function 51 #define get_fs() (current_thread_info()->addr_limit) macro 55 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | uaccess.h | 39 #define get_fs() (current_thread_info()->addr_limit) macro 40 #define user_addr_max get_fs 47 #define uaccess_kernel() (get_fs() == KERNEL_DS) 49 #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs() -size))
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
D | uaccess.h | 36 ((get_fs().seg == KERNEL_DS.seg) || \ 37 (((unsigned long)addr < get_fs().seg) && \ 38 (unsigned long)size < (get_fs().seg - (unsigned long)addr)))
|
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
D | segment.h | 14 #define get_fs() (current_thread_info()->addr_limit) macro 16 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | segment.h | 27 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) 29 #define get_fs() (current_thread_info()->addr_limit) macro
|
/kernel/linux/linux-5.10/arch/h8300/include/asm/ |
D | segment.h | 31 static inline mm_segment_t get_fs(void) in get_fs() function 36 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | uaccess.h | 17 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) 19 #define get_fs() (current_thread_info()->addr_limit) macro 81 : : "r"(get_fs()) : )
|
/kernel/linux/linux-5.10/arch/nios2/include/asm/ |
D | uaccess.h | 30 #define get_fs() (current_thread_info()->addr_limit) macro 33 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) 36 (((signed long)(((long)get_fs().seg) & \
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
D | asm-uaccess.h | 43 .macro get_fs ad, sp 92 get_fs \at, \sp
|
D | uaccess.h | 35 #define get_fs() (current->thread.current_ds) macro 38 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
|
/kernel/linux/linux-5.10/arch/m68k/mm/ |
D | cache.c | 58 : "a" (vaddr), "d" (get_fs().seg)); in virt_to_phys_slow() 110 mm_segment_t old_fs = get_fs(); in flush_icache_range()
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
D | uaccess.h | 43 #define get_fs() (current_thread_info()->addr_limit) macro 46 #define uaccess_kernel() (get_fs() == KERNEL_DS) 53 const mm_segment_t fs = get_fs(); in __range_ok()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | uaccess_32.h | 28 #define get_fs() (current->thread.current_ds) macro 31 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) 40 #define __access_ok(addr, size) (__user_ok((addr) & get_fs().seg, (size)))
|
D | uaccess_64.h | 33 #define get_fs() ((mm_segment_t){(current_thread_info()->current_ds)}) macro 35 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | ftrace.c | 84 old_fs = get_fs(); in ftrace_modify_code() 109 old_fs = get_fs(); in ftrace_modify_code_2() 133 old_fs = get_fs(); in ftrace_modify_code_2r()
|
/kernel/linux/linux-5.10/mm/ |
D | maccess.c | 108 mm_segment_t old_fs = get_fs(); in copy_from_kernel_nofault() 138 mm_segment_t old_fs = get_fs(); in copy_to_kernel_nofault() 172 mm_segment_t old_fs = get_fs(); in strncpy_from_kernel_nofault()
|
/kernel/linux/linux-5.10/drivers/staging/blackbox/ |
D | blackbox_common.c | 34 old_fs = get_fs(); in change_own() 64 old_fs = get_fs(); in full_write_file() 212 old_fs = get_fs(); in file_open()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | uaccess.h | 110 #ifndef get_fs 111 #define get_fs() (current_thread_info()->addr_limit) macro 120 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | uaccess.h | 50 #define get_fs() (current_thread_info()->addr_limit) macro 53 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) 64 unsigned long seg = get_fs().seg; in __access_ok()
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | uaccess.h | 20 #define get_fs() (current_thread_info()->addr_limit) macro 23 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) 38 (get_fs().seg & (__ao_a | __ao_b | __ao_end)) == 0; })
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | uaccess.h | 27 #define get_fs() (current_thread_info()->addr_limit) macro 53 #define uaccess_kernel() (get_fs() == KERNEL_DS) 97 #define user_addr_max get_fs
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
D | segment.h | 17 #define uaccess_kernel() (get_fs() == KERNEL_DS)
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | uaccess.h | 63 #define get_fs() (current_thread_info()->addr_limit) macro 79 #define uaccess_kernel() (get_fs() == KERNEL_DS) 275 #define get_fs() (KERNEL_DS) macro 289 (uaccess_kernel() ? ~0UL : get_fs())
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | sys_oabi-compat.c | 211 fs = get_fs(); in do_locks() 286 fs = get_fs(); in sys_oabi_epoll_wait() 358 mm_segment_t fs = get_fs(); in sys_oabi_semtimedop()
|