Home
last modified time | relevance | path

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

123

/arch/mips/kernel/
Dftrace.c89 set_fs(KERNEL_DS); in ftrace_modify_code()
91 set_fs(old_fs); in ftrace_modify_code()
114 set_fs(KERNEL_DS); in ftrace_modify_code_2()
116 set_fs(old_fs); in ftrace_modify_code_2()
138 set_fs(KERNEL_DS); in ftrace_modify_code_2r()
140 set_fs(old_fs); in ftrace_modify_code_2r()
Dunaligned.c969 set_fs(USER_DS); in emulate_load_store_insn()
973 set_fs(seg); in emulate_load_store_insn()
978 set_fs(seg); in emulate_load_store_insn()
986 set_fs(seg); in emulate_load_store_insn()
991 set_fs(seg); in emulate_load_store_insn()
999 set_fs(seg); in emulate_load_store_insn()
1004 set_fs(seg); in emulate_load_store_insn()
1012 set_fs(seg); in emulate_load_store_insn()
1019 set_fs(seg); in emulate_load_store_insn()
1025 set_fs(seg); in emulate_load_store_insn()
[all …]
Dkgdb.c216 set_fs(KERNEL_DS); in kgdb_call_nmi_hook()
220 set_fs(old_fs); in kgdb_call_nmi_hook()
322 set_fs(KERNEL_DS); in kgdb_mips_notify()
328 set_fs(old_fs); in kgdb_mips_notify()
340 set_fs(old_fs); in kgdb_mips_notify()
Dtraps.c226 set_fs(KERNEL_DS); in show_stack()
228 set_fs(old_fs); in show_stack()
378 set_fs(KERNEL_DS); in show_registers()
382 set_fs(old_fs); in show_registers()
987 set_fs(KERNEL_DS); in do_bp()
1061 set_fs(seg); in do_bp()
1080 set_fs(KERNEL_DS); in do_tr()
1103 set_fs(seg); in do_tr()
1548 set_fs(KERNEL_DS); in do_mcheck()
1552 set_fs(old_fs); in do_mcheck()
/arch/m68k/include/asm/
Dsegment.h41 static inline void set_fs(mm_segment_t val) in set_fs() function
52 #define set_fs(x) (current_thread_info()->addr_limit = (x)) macro
Dtlbflush.h17 set_fs(KERNEL_DS); in flush_tlb_kernel_page()
22 set_fs(old_fs); in flush_tlb_kernel_page()
89 set_fs(USER_DS); in flush_tlb_page()
91 set_fs(old_fs); in flush_tlb_page()
/arch/arm/kernel/
Dsys_oabi-compat.c212 set_fs(KERNEL_DS); in do_locks()
214 set_fs(fs); in do_locks()
266 set_fs(KERNEL_DS); in sys_oabi_epoll_ctl()
268 set_fs(fs); in sys_oabi_epoll_ctl()
291 set_fs(KERNEL_DS); in sys_oabi_epoll_wait()
293 set_fs(fs); in sys_oabi_epoll_wait()
349 set_fs(KERNEL_DS); in sys_oabi_semtimedop()
351 set_fs(fs); in sys_oabi_semtimedop()
Dtraps.c129 set_fs(KERNEL_DS); in dump_mem()
152 set_fs(fs); in dump_mem()
193 set_fs(KERNEL_DS); in dump_instr()
195 set_fs(fs); in dump_instr()
/arch/sh/kernel/
Dtraps_32.c494 set_fs(USER_DS); in do_address_error()
497 set_fs(oldfs); in do_address_error()
500 set_fs(oldfs); in do_address_error()
523 set_fs(USER_DS); in do_address_error()
527 set_fs(oldfs); in do_address_error()
543 set_fs(KERNEL_DS); in do_address_error()
549 set_fs(oldfs); in do_address_error()
557 set_fs(oldfs); in do_address_error()
Dio_trapped.c282 set_fs(KERNEL_DS); in handle_trapped_io()
285 set_fs(oldfs); in handle_trapped_io()
291 set_fs(oldfs); in handle_trapped_io()
/arch/x86/boot/
Dcmdline.c46 set_fs(cmdline_ptr >> 4); in __cmdline_find_option()
116 set_fs(cmdline_ptr >> 4); in __cmdline_find_option_bool()
Dvideo.c82 set_fs(0); in store_mode_params()
252 set_fs(video_segment); in save_screen()
274 set_fs(video_segment); in restore_screen()
Da20.c59 set_fs(0x0000); in a20_test()
Dvideo-bios.c76 set_fs(0); in bios_probe()
/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/csky/include/asm/
Dsegment.h15 #define set_fs(x) (current_thread_info()->addr_limit = (x)) macro
Dprocessor.h64 set_fs(USER_DS); /* reads from user space */ \
/arch/sh/include/asm/
Dsegment.h31 #define set_fs(x) (current_thread_info()->addr_limit = (x)) macro
/arch/x86/boot/compressed/
Dcmdline.c5 static inline void set_fs(unsigned long seg) in set_fs() function
/arch/c6x/mm/
Dinit.c47 set_fs(KERNEL_DS); in paging_init()
/arch/nds32/kernel/
Dtraps.c37 set_fs(KERNEL_DS); in dump_mem()
60 set_fs(fs); in dump_mem()
79 set_fs(KERNEL_DS); in dump_instr()
96 set_fs(fs); in dump_instr()
/arch/h8300/mm/
Dinit.c78 set_fs(USER_DS); in paging_init()
/arch/sparc/kernel/
Dprocess_64.c118 set_fs (USER_DS); in show_regwindow32()
120 set_fs (old_fs); in show_regwindow32()
124 set_fs (old_fs); in show_regwindow32()
153 set_fs (USER_DS); in show_regwindow()
155 set_fs (old_fs); in show_regwindow()
159 set_fs (old_fs); in show_regwindow()
/arch/xtensa/include/asm/
Dasm-uaccess.h63 .macro set_fs at, av, sp
/arch/m68k/mm/
Dinit.c104 set_fs (USER_DS); in paging_init()

123