Home
last modified time | relevance | path

Searched refs:get_fs (Results 1 – 20 of 20) sorted by relevance

/arch/sh/include/asm/
Dsegment.h27 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
29 #define get_fs() (current_thread_info()->addr_limit) macro
/arch/h8300/include/asm/
Dsegment.h31 static inline mm_segment_t get_fs(void) in get_fs() function
36 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/arch/nds32/include/asm/
Duaccess.h39 #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))
/arch/xtensa/include/asm/
Dasm-uaccess.h43 .macro get_fs ad, sp
92 get_fs \at, \sp
Duaccess.h35 #define get_fs() (current->thread.current_ds) macro
38 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/arch/nios2/include/asm/
Duaccess.h30 #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) & \
/arch/microblaze/include/asm/
Duaccess.h36 # define get_fs() (current_thread_info()->addr_limit) macro
38 # define user_addr_max() get_fs().seg
40 # define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/arch/arc/include/asm/
Dsegment.h17 #define uaccess_kernel() (get_fs() == KERNEL_DS)
Duaccess.h51 ((addr) <= (get_fs() - (sz))))
/arch/openrisc/include/asm/
Duaccess.h43 #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()
/arch/sparc/include/asm/
Duaccess_32.h25 #define get_fs() (current->thread.current_ds) macro
28 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
37 #define __access_ok(addr, size) (__user_ok((addr) & get_fs().seg, (size)))
Duaccess_64.h32 #define get_fs() ((mm_segment_t){(current_thread_info()->current_ds)}) macro
34 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/arch/ia64/include/asm/
Duaccess.h50 #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()
/arch/hexagon/include/asm/
Duaccess.h29 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/arch/alpha/include/asm/
Duaccess.h20 #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; })
/arch/sh/kernel/
Dio_trapped.c284 oldfs = get_fs(); in handle_trapped_io()
/arch/sparc/kernel/
Dprocess_64.c113 old_fs = get_fs(); in show_regwindow32()
148 old_fs = get_fs(); in show_regwindow()
/arch/m68k/sun3/
Dmmu_emu.c420 pr_info("seg:%ld crp:%p ->", get_fs().seg, crp); in mmu_emu_handle_fault()
/arch/ia64/kernel/
Dunaligned.c1298 mm_segment_t old_fs = get_fs(); in ia64_handle_unaligned()
/arch/sparc/mm/
Dinit_64.c713 set_fs(get_fs()); in prom_world()