Searched refs:get_fs (Results 1 – 20 of 20) sorted by relevance
27 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)29 #define get_fs() (current_thread_info()->addr_limit) macro
31 static inline mm_segment_t get_fs(void) in get_fs() function36 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
39 #define get_fs() (current_thread_info()->addr_limit) macro40 #define user_addr_max get_fs47 #define uaccess_kernel() (get_fs() == KERNEL_DS)49 #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs() -size))
43 .macro get_fs ad, sp92 get_fs \at, \sp
35 #define get_fs() (current->thread.current_ds) macro38 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
30 #define get_fs() (current_thread_info()->addr_limit) macro33 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)36 (((signed long)(((long)get_fs().seg) & \
36 # define get_fs() (current_thread_info()->addr_limit) macro38 # define user_addr_max() get_fs().seg40 # define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
17 #define uaccess_kernel() (get_fs() == KERNEL_DS)
51 ((addr) <= (get_fs() - (sz))))
43 #define get_fs() (current_thread_info()->addr_limit) macro46 #define uaccess_kernel() (get_fs() == KERNEL_DS)53 const mm_segment_t fs = get_fs(); in __range_ok()
25 #define get_fs() (current->thread.current_ds) macro28 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)37 #define __access_ok(addr, size) (__user_ok((addr) & get_fs().seg, (size)))
32 #define get_fs() ((mm_segment_t){(current_thread_info()->current_ds)}) macro34 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
50 #define get_fs() (current_thread_info()->addr_limit) macro53 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)64 unsigned long seg = get_fs().seg; in __access_ok()
29 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
20 #define get_fs() (current_thread_info()->addr_limit) macro23 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)38 (get_fs().seg & (__ao_a | __ao_b | __ao_end)) == 0; })
284 oldfs = get_fs(); in handle_trapped_io()
113 old_fs = get_fs(); in show_regwindow32()148 old_fs = get_fs(); in show_regwindow()
420 pr_info("seg:%ld crp:%p ->", get_fs().seg, crp); in mmu_emu_handle_fault()
1298 mm_segment_t old_fs = get_fs(); in ia64_handle_unaligned()
713 set_fs(get_fs()); in prom_world()