Home
last modified time | relevance | path

Searched refs:old_fs (Results 1 – 40 of 40) sorted by relevance

/linux-4.1.27/arch/mips/kernel/
Dftrace.c93 mm_segment_t old_fs; in ftrace_modify_code() local
101 old_fs = get_fs(); in ftrace_modify_code()
104 set_fs(old_fs); in ftrace_modify_code()
114 mm_segment_t old_fs; in ftrace_modify_code_2() local
126 old_fs = get_fs(); in ftrace_modify_code_2()
129 set_fs(old_fs); in ftrace_modify_code_2()
138 mm_segment_t old_fs; in ftrace_modify_code_2r() local
150 old_fs = get_fs(); in ftrace_modify_code_2r()
153 set_fs(old_fs); in ftrace_modify_code_2r()
Dkgdb.c212 mm_segment_t old_fs; in kgdb_call_nmi_hook() local
214 old_fs = get_fs(); in kgdb_call_nmi_hook()
219 set_fs(old_fs); in kgdb_call_nmi_hook()
293 mm_segment_t old_fs; in kgdb_mips_notify() local
309 old_fs = get_fs(); in kgdb_mips_notify()
316 set_fs(old_fs); in kgdb_mips_notify()
328 set_fs(old_fs); in kgdb_mips_notify()
Dvpe.c751 mm_segment_t old_fs; in getcwd() local
754 old_fs = get_fs(); in getcwd()
759 set_fs(old_fs); in getcwd()
Dtraps.c195 mm_segment_t old_fs = get_fs(); in show_stack() local
220 set_fs(old_fs); in show_stack()
348 mm_segment_t old_fs = get_fs(); in show_registers() local
369 set_fs(old_fs); in show_registers()
1527 mm_segment_t old_fs = get_fs(); in do_mcheck() local
1554 set_fs(old_fs); in do_mcheck()
/linux-4.1.27/mm/
Dmaccess.c24 mm_segment_t old_fs = get_fs(); in __probe_kernel_read() local
31 set_fs(old_fs); in __probe_kernel_read()
52 mm_segment_t old_fs = get_fs(); in __probe_kernel_write() local
58 set_fs(old_fs); in __probe_kernel_write()
Dnommu.c1235 mm_segment_t old_fs; in do_mmap_private() local
1241 old_fs = get_fs(); in do_mmap_private()
1244 set_fs(old_fs); in do_mmap_private()
/linux-4.1.27/arch/m68k/include/asm/
Dtlbflush.h15 mm_segment_t old_fs = get_fs(); in flush_tlb_kernel_page() local
21 set_fs(old_fs); in flush_tlb_kernel_page()
87 mm_segment_t old_fs = get_fs(); in flush_tlb_page() local
90 set_fs(old_fs); in flush_tlb_page()
/linux-4.1.27/kernel/power/
Duser.c413 mm_segment_t old_fs; in snapshot_compat_ioctl() local
416 old_fs = get_fs(); in snapshot_compat_ioctl()
419 set_fs(old_fs); in snapshot_compat_ioctl()
433 mm_segment_t old_fs; in snapshot_compat_ioctl() local
440 old_fs = get_fs(); in snapshot_compat_ioctl()
444 set_fs(old_fs); in snapshot_compat_ioctl()
/linux-4.1.27/include/linux/
Duaccess.h76 mm_segment_t old_fs = get_fs(); \
82 set_fs(old_fs); \
/linux-4.1.27/arch/sparc/kernel/
Dprocess_64.c103 mm_segment_t old_fs; in show_regwindow32() local
107 old_fs = get_fs(); in show_regwindow32()
110 set_fs (old_fs); in show_regwindow32()
114 set_fs (old_fs); in show_regwindow32()
133 mm_segment_t old_fs; in show_regwindow() local
142 old_fs = get_fs(); in show_regwindow()
145 set_fs (old_fs); in show_regwindow()
149 set_fs (old_fs); in show_regwindow()
/linux-4.1.27/security/integrity/
Diint.c185 mm_segment_t old_fs; in integrity_kernel_read() local
192 old_fs = get_fs(); in integrity_kernel_read()
195 set_fs(old_fs); in integrity_kernel_read()
/linux-4.1.27/drivers/usb/gadget/function/
Du_uac1.c160 mm_segment_t old_fs; in u_audio_playback() local
177 old_fs = get_fs(); in u_audio_playback()
182 set_fs(old_fs); in u_audio_playback()
185 set_fs(old_fs); in u_audio_playback()
/linux-4.1.27/kernel/
Dcompat.c378 mm_segment_t old_fs = get_fs(); in COMPAT_SYSCALL_DEFINE1() local
382 set_fs(old_fs); in COMPAT_SYSCALL_DEFINE1()
468 mm_segment_t old_fs = get_fs(); in COMPAT_SYSCALL_DEFINE2() local
472 set_fs(old_fs); in COMPAT_SYSCALL_DEFINE2()
548 mm_segment_t old_fs = get_fs(); in COMPAT_SYSCALL_DEFINE4() local
555 set_fs (old_fs); in COMPAT_SYSCALL_DEFINE4()
575 mm_segment_t old_fs = get_fs(); in COMPAT_SYSCALL_DEFINE5() local
582 set_fs(old_fs); in COMPAT_SYSCALL_DEFINE5()
1147 mm_segment_t old_fs = get_fs(); in COMPAT_SYSCALL_DEFINE2() local
1151 set_fs(old_fs); in COMPAT_SYSCALL_DEFINE2()
Dmodule.c2926 mm_segment_t old_fs; in flush_module_icache() local
2929 old_fs = get_fs(); in flush_module_icache()
2944 set_fs(old_fs); in flush_module_icache()
/linux-4.1.27/fs/overlayfs/
Dcopy_up.c141 mm_segment_t old_fs; in ovl_read_symlink() local
152 old_fs = get_fs(); in ovl_read_symlink()
157 set_fs(old_fs); in ovl_read_symlink()
/linux-4.1.27/arch/m68k/kernel/
Dtraps.c184 mm_segment_t old_fs = get_fs(); in probe040() local
195 set_fs(old_fs); in probe040()
204 mm_segment_t old_fs = get_fs(); in do_040writeback1() local
222 set_fs(old_fs); in do_040writeback1()
848 mm_segment_t old_fs = get_fs(); in show_registers() local
933 set_fs(old_fs); in show_registers()
/linux-4.1.27/arch/arm64/kernel/
Dptrace.c889 mm_segment_t old_fs = get_fs(); in compat_ptrace_write_user() local
902 set_fs(old_fs); in compat_ptrace_write_user()
990 mm_segment_t old_fs = get_fs(); in compat_ptrace_gethbpregs() local
1003 set_fs(old_fs); in compat_ptrace_gethbpregs()
1016 mm_segment_t old_fs = get_fs(); in compat_ptrace_sethbpregs() local
1030 set_fs(old_fs); in compat_ptrace_sethbpregs()
/linux-4.1.27/net/
Dcompat.c337 mm_segment_t old_fs; in do_set_sock_timeout() local
346 old_fs = get_fs(); in do_set_sock_timeout()
349 set_fs(old_fs); in do_set_sock_timeout()
398 mm_segment_t old_fs; in do_get_sock_timeout() local
407 old_fs = get_fs(); in do_get_sock_timeout()
410 set_fs(old_fs); in do_get_sock_timeout()
Dsocket.c2562 mm_segment_t old_fs = get_fs(); in do_siocgstamp() local
2568 set_fs(old_fs); in do_siocgstamp()
2578 mm_segment_t old_fs = get_fs(); in do_siocgstampns() local
2584 set_fs(old_fs); in do_siocgstampns()
2826 mm_segment_t old_fs; in bond_ioctl() local
2837 old_fs = get_fs(); in bond_ioctl()
2841 set_fs(old_fs); in bond_ioctl()
2917 mm_segment_t old_fs; in compat_sioc_ifmap() local
2931 old_fs = get_fs(); in compat_sioc_ifmap()
2934 set_fs(old_fs); in compat_sioc_ifmap()
[all …]
/linux-4.1.27/fs/
Dcoredump.c649 mm_segment_t old_fs; in do_coredump() local
651 old_fs = get_fs(); in do_coredump()
658 set_fs(old_fs); in do_coredump()
Dsplice.c577 mm_segment_t old_fs; in kernel_readv() local
581 old_fs = get_fs(); in kernel_readv()
585 set_fs(old_fs); in kernel_readv()
593 mm_segment_t old_fs; in kernel_write() local
596 old_fs = get_fs(); in kernel_write()
600 set_fs(old_fs); in kernel_write()
Dcompat_ioctl.c121 mm_segment_t old_fs = get_fs(); in w_long() local
127 set_fs (old_fs); in w_long()
146 mm_segment_t old_fs = get_fs(); in do_video_get_event() local
151 set_fs(old_fs); in do_video_get_event()
517 mm_segment_t old_fs = get_fs(); in mt_ioctl_trans() local
538 set_fs (old_fs); in mt_ioctl_trans()
Dcompat.c420 mm_segment_t old_fs; in COMPAT_SYSCALL_DEFINE3() local
432 old_fs = get_fs(); in COMPAT_SYSCALL_DEFINE3()
435 set_fs(old_fs); in COMPAT_SYSCALL_DEFINE3()
466 old_fs = get_fs(); in COMPAT_SYSCALL_DEFINE3()
470 set_fs(old_fs); in COMPAT_SYSCALL_DEFINE3()
Dread_write.c499 mm_segment_t old_fs; in __kernel_write() local
506 old_fs = get_fs(); in __kernel_write()
512 set_fs(old_fs); in __kernel_write()
Dexec.c814 mm_segment_t old_fs; in kernel_read() local
818 old_fs = get_fs(); in kernel_read()
822 set_fs(old_fs); in kernel_read()
Dblock_dev.c1696 mm_segment_t old_fs = get_fs(); in ioctl_by_bdev() local
1699 set_fs(old_fs); in ioctl_by_bdev()
Dbinfmt_elf.c1482 mm_segment_t old_fs = get_fs(); in fill_siginfo_note() local
1485 set_fs(old_fs); in fill_siginfo_note()
/linux-4.1.27/block/
Dcompat_ioctl.c83 mm_segment_t old_fs = get_fs(); in compat_hdio_ioctl() local
91 set_fs(old_fs); in compat_hdio_ioctl()
306 mm_segment_t old_fs = get_fs(); in compat_fd_ioctl() local
409 set_fs(old_fs); in compat_fd_ioctl()
/linux-4.1.27/fs/ext4/
Dioctl.c740 mm_segment_t old_fs; in ext4_compat_ioctl() local
753 old_fs = get_fs(); in ext4_compat_ioctl()
757 set_fs(old_fs); in ext4_compat_ioctl()
/linux-4.1.27/kernel/trace/
Dtrace_kprobe.c172 mm_segment_t old_fs = get_fs(); in DEFINE_BASIC_FETCH_FUNCS() local
190 set_fs(old_fs); in DEFINE_BASIC_FETCH_FUNCS()
206 mm_segment_t old_fs; in FETCH_FUNC_NAME() local
210 old_fs = get_fs(); in FETCH_FUNC_NAME()
220 set_fs(old_fs); in FETCH_FUNC_NAME()
/linux-4.1.27/sound/oss/
Dad1848.c1126 unsigned char fs, old_fs, tmp = 0; in ad1848_prepare_for_output() local
1148 old_fs = ad_read(devc, 8); in ad1848_prepare_for_output()
1182 if ((fs & 0x01) != (old_fs & 0x01)) in ad1848_prepare_for_output()
1194 unsigned char fs, old_fs, tmp = 0; in ad1848_prepare_for_input() local
1231 old_fs = ad_read(devc, 28); in ad1848_prepare_for_input()
1271 old_fs = ad_read(devc, 8); in ad1848_prepare_for_input()
1296 if ((fs & 0x01) != (old_fs & 0x01)) in ad1848_prepare_for_input()
/linux-4.1.27/arch/um/drivers/
Dmconsole_kern.c151 mm_segment_t old_fs = get_fs(); in mconsole_proc() local
154 set_fs(old_fs); in mconsole_proc()
/linux-4.1.27/fs/ecryptfs/
Dinode.c657 mm_segment_t old_fs; in ecryptfs_readlink_lower() local
663 old_fs = get_fs(); in ecryptfs_readlink_lower()
668 set_fs(old_fs); in ecryptfs_readlink_lower()
/linux-4.1.27/arch/alpha/kernel/
Dosf_sys.c1171 mm_segment_t old_fs; in SYSCALL_DEFINE4() local
1176 old_fs = get_fs(); in SYSCALL_DEFINE4()
1181 set_fs (old_fs); in SYSCALL_DEFINE4()
/linux-4.1.27/arch/x86/net/
Dbpf_jit_comp.c99 mm_segment_t old_fs = get_fs(); in bpf_flush_icache() local
104 set_fs(old_fs); in bpf_flush_icache()
/linux-4.1.27/arch/s390/kernel/
Ddis.c1958 mm_segment_t old_fs; in show_code() local
1963 old_fs = get_fs(); in show_code()
1977 set_fs(old_fs); in show_code()
/linux-4.1.27/arch/ia64/kernel/
Dunaligned.c1295 mm_segment_t old_fs = get_fs(); in ia64_handle_unaligned() local
1518 set_fs(old_fs); /* restore original address limit */ in ia64_handle_unaligned()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c949 mm_segment_t old_fs = get_fs(); in do_video_ioctl() local
953 set_fs(old_fs); in do_video_ioctl()
/linux-4.1.27/drivers/video/fbdev/core/
Dfbmem.c1334 mm_segment_t old_fs; in fb_get_fscreeninfo() local
1341 old_fs = get_fs(); in fb_get_fscreeninfo()
1344 set_fs(old_fs); in fb_get_fscreeninfo()
/linux-4.1.27/fs/btrfs/
Dsend.c512 mm_segment_t old_fs; in write_buf() local
515 old_fs = get_fs(); in write_buf()
537 set_fs(old_fs); in write_buf()