Home
last modified time | relevance | path

Searched refs:set_fs (Results 1 – 25 of 85) sorted by relevance

1234

/arch/parisc/kernel/
Dsys32.h31 set_fs(KERNEL_DS); \
33 set_fs (old_fs); \
/arch/m68k/include/asm/
Dsegment.h40 static inline void set_fs(mm_segment_t val) in set_fs() function
58 #define set_fs(x) (current_thread_info()->addr_limit = (x)) macro
Dtlbflush.h16 set_fs(KERNEL_DS); in flush_tlb_kernel_page()
21 set_fs(old_fs); in flush_tlb_kernel_page()
88 set_fs(USER_DS); in flush_tlb_page()
90 set_fs(old_fs); in flush_tlb_page()
/arch/m32r/kernel/
Dtraps.c295 set_fs(USER_DS); in do_alignment_check()
297 set_fs(oldfs); in do_alignment_check()
301 set_fs(oldfs); in do_alignment_check()
311 set_fs(KERNEL_DS); in do_alignment_check()
313 set_fs(oldfs); in do_alignment_check()
317 set_fs(oldfs); in do_alignment_check()
/arch/arm/kernel/
Dsys_oabi-compat.c219 set_fs(KERNEL_DS); in sys_oabi_fcntl64()
238 set_fs(fs); in sys_oabi_fcntl64()
264 set_fs(KERNEL_DS); in sys_oabi_epoll_ctl()
266 set_fs(fs); in sys_oabi_epoll_ctl()
284 set_fs(KERNEL_DS); in sys_oabi_epoll_wait()
286 set_fs(fs); in sys_oabi_epoll_wait()
335 set_fs(KERNEL_DS); in sys_oabi_semtimedop()
337 set_fs(fs); in sys_oabi_semtimedop()
/arch/sh/kernel/
Dtraps_32.c496 set_fs(USER_DS); in do_address_error()
499 set_fs(oldfs); in do_address_error()
502 set_fs(oldfs); in do_address_error()
525 set_fs(USER_DS); in do_address_error()
529 set_fs(oldfs); in do_address_error()
549 set_fs(KERNEL_DS); in do_address_error()
555 set_fs(oldfs); in do_address_error()
563 set_fs(oldfs); in do_address_error()
Dio_trapped.c285 set_fs(KERNEL_DS); in handle_trapped_io()
288 set_fs(oldfs); in handle_trapped_io()
294 set_fs(oldfs); in handle_trapped_io()
/arch/x86/boot/
Dcmdline.c48 set_fs(cmdline_ptr >> 4); in __cmdline_find_option()
118 set_fs(cmdline_ptr >> 4); in __cmdline_find_option_bool()
Dmca.c30 set_fs(oreg.es); in query_mca()
Dvideo.c80 set_fs(0); in store_mode_params()
250 set_fs(video_segment); in save_screen()
272 set_fs(video_segment); in restore_screen()
Da20.c61 set_fs(0x0000); in a20_test()
/arch/unicore32/kernel/
Dtraps.c77 set_fs(KERNEL_DS); in dump_mem()
101 set_fs(fs); in dump_mem()
118 set_fs(KERNEL_DS); in dump_instr()
135 set_fs(fs); in dump_instr()
/arch/score/include/asm/
Dsegment.h15 # define set_fs(x) \ macro
/arch/mips/kernel/
Dkgdb.c215 set_fs(KERNEL_DS); in kgdb_call_nmi_hook()
219 set_fs(old_fs); in kgdb_call_nmi_hook()
309 set_fs(KERNEL_DS); in kgdb_mips_notify()
315 set_fs(old_fs); in kgdb_mips_notify()
327 set_fs(old_fs); in kgdb_mips_notify()
Dftrace.c102 set_fs(KERNEL_DS); in ftrace_modify_code()
104 set_fs(old_fs); in ftrace_modify_code()
/arch/sh/include/asm/
Dsegment.h31 #define set_fs(x) (current_thread_info()->addr_limit = (x)) macro
/arch/x86/boot/compressed/
Dcmdline.c6 static inline void set_fs(unsigned long seg) in set_fs() function
/arch/h8300/include/asm/
Dsegment.h41 static inline void set_fs(mm_segment_t val) in set_fs() function
/arch/frv/include/asm/
Dsegment.h38 #define set_fs(_x) \ macro
/arch/arm64/kernel/
Dtraps.c67 set_fs(KERNEL_DS); in dump_mem()
90 set_fs(fs); in dump_mem()
114 set_fs(KERNEL_DS); in dump_instr()
130 set_fs(fs); in dump_instr()
/arch/x86/ia32/
Dia32_aout.c163 set_fs(KERNEL_DS); in aout_core_dump()
183 set_fs(USER_DS); in aout_core_dump()
191 set_fs(KERNEL_DS); in aout_core_dump()
197 set_fs(USER_DS); in aout_core_dump()
211 set_fs(fs); in aout_core_dump()
409 set_fs(USER_DS); in load_aout_binary()
/arch/s390/include/asm/
Dswitch_to.h95 set_fs(current->thread.mm_segment); \
/arch/c6x/mm/
Dinit.c46 set_fs(KERNEL_DS); in paging_init()
/arch/sparc/kernel/
Dprocess_64.c105 set_fs (USER_DS); in show_regwindow32()
107 set_fs (old_fs); in show_regwindow32()
111 set_fs (old_fs); in show_regwindow32()
140 set_fs (USER_DS); in show_regwindow()
142 set_fs (old_fs); in show_regwindow()
146 set_fs (old_fs); in show_regwindow()
/arch/arc/include/asm/
Dprocessor.h94 set_fs(USER_DS); /* reads from user space */ \

1234