Home
last modified time | relevance | path

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

/linux-4.4.14/mm/
Dmaccess.c29 mm_segment_t old_fs = get_fs(); in __probe_kernel_read() local
36 set_fs(old_fs); in __probe_kernel_read()
57 mm_segment_t old_fs = get_fs(); in __probe_kernel_write() local
63 set_fs(old_fs); in __probe_kernel_write()
88 mm_segment_t old_fs = get_fs(); in strncpy_from_unsafe() local
105 set_fs(old_fs); in strncpy_from_unsafe()
Dnommu.c1197 mm_segment_t old_fs; in do_mmap_private() local
1203 old_fs = get_fs(); in do_mmap_private()
1206 set_fs(old_fs); in do_mmap_private()
/linux-4.4.14/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.c196 mm_segment_t old_fs = get_fs(); in show_stack() local
221 set_fs(old_fs); in show_stack()
350 mm_segment_t old_fs = get_fs(); in show_registers() local
371 set_fs(old_fs); in show_registers()
1540 mm_segment_t old_fs = get_fs(); in do_mcheck() local
1556 set_fs(old_fs); in do_mcheck()
/linux-4.4.14/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.4.14/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.4.14/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()
Dperf_event.c1833 mm_segment_t old_fs; in perf_callchain_user() local
1840 old_fs = get_fs(); in perf_callchain_user()
1854 set_fs(old_fs); in perf_callchain_user()
/linux-4.4.14/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.4.14/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.4.14/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.c3081 mm_segment_t old_fs; in flush_module_icache() local
3084 old_fs = get_fs(); in flush_module_icache()
3099 set_fs(old_fs); in flush_module_icache()
/linux-4.4.14/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.4.14/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.4.14/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.c2553 mm_segment_t old_fs = get_fs(); in do_siocgstamp() local
2559 set_fs(old_fs); in do_siocgstamp()
2569 mm_segment_t old_fs = get_fs(); in do_siocgstampns() local
2575 set_fs(old_fs); in do_siocgstampns()
2817 mm_segment_t old_fs; in bond_ioctl() local
2828 old_fs = get_fs(); in bond_ioctl()
2832 set_fs(old_fs); in bond_ioctl()
2908 mm_segment_t old_fs; in compat_sioc_ifmap() local
2922 old_fs = get_fs(); in compat_sioc_ifmap()
2925 set_fs(old_fs); in compat_sioc_ifmap()
[all …]
/linux-4.4.14/arch/arm64/kernel/
Dptrace.c971 mm_segment_t old_fs = get_fs(); in compat_ptrace_write_user() local
984 set_fs(old_fs); in compat_ptrace_write_user()
1072 mm_segment_t old_fs = get_fs(); in compat_ptrace_gethbpregs() local
1085 set_fs(old_fs); in compat_ptrace_gethbpregs()
1098 mm_segment_t old_fs = get_fs(); in compat_ptrace_sethbpregs() local
1112 set_fs(old_fs); in compat_ptrace_sethbpregs()
/linux-4.4.14/fs/
Dcoredump.c653 mm_segment_t old_fs; in do_coredump() local
655 old_fs = get_fs(); in do_coredump()
662 set_fs(old_fs); in do_coredump()
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()
Dsplice.c578 mm_segment_t old_fs; in kernel_readv() local
582 old_fs = get_fs(); in kernel_readv()
586 set_fs(old_fs); in kernel_readv()
594 mm_segment_t old_fs; in kernel_write() local
597 old_fs = get_fs(); in kernel_write()
601 set_fs(old_fs); in kernel_write()
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.c820 mm_segment_t old_fs; in kernel_read() local
824 old_fs = get_fs(); in kernel_read()
828 set_fs(old_fs); in kernel_read()
Dblock_dev.c1730 mm_segment_t old_fs = get_fs(); in ioctl_by_bdev() local
1733 set_fs(old_fs); in ioctl_by_bdev()
Dbinfmt_elf.c1492 mm_segment_t old_fs = get_fs(); in fill_siginfo_note() local
1495 set_fs(old_fs); in fill_siginfo_note()
/linux-4.4.14/fs/ext4/
Dioctl.c732 mm_segment_t old_fs; in ext4_compat_ioctl() local
745 old_fs = get_fs(); in ext4_compat_ioctl()
749 set_fs(old_fs); in ext4_compat_ioctl()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/fs/ecryptfs/
Dinode.c656 mm_segment_t old_fs; in ecryptfs_readlink_lower() local
662 old_fs = get_fs(); in ecryptfs_readlink_lower()
667 set_fs(old_fs); in ecryptfs_readlink_lower()
/linux-4.4.14/arch/alpha/kernel/
Dosf_sys.c1176 mm_segment_t old_fs; in SYSCALL_DEFINE4() local
1181 old_fs = get_fs(); in SYSCALL_DEFINE4()
1186 set_fs (old_fs); in SYSCALL_DEFINE4()
/linux-4.4.14/kernel/trace/
Dtrace_kprobe.c194 mm_segment_t old_fs; in FETCH_FUNC_NAME() local
198 old_fs = get_fs(); in FETCH_FUNC_NAME()
208 set_fs(old_fs); in FETCH_FUNC_NAME()
/linux-4.4.14/arch/x86/net/
Dbpf_jit_comp.c101 mm_segment_t old_fs = get_fs(); in bpf_flush_icache() local
106 set_fs(old_fs); in bpf_flush_icache()
/linux-4.4.14/arch/s390/kernel/
Ddis.c1965 mm_segment_t old_fs; in show_code() local
1970 old_fs = get_fs(); in show_code()
1984 set_fs(old_fs); in show_code()
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_v4l2.c1396 mm_segment_t old_fs; in uvc_v4l2_compat_ioctl32() local
1414 old_fs = get_fs(); in uvc_v4l2_compat_ioctl32()
1417 set_fs(old_fs); in uvc_v4l2_compat_ioctl32()
/linux-4.4.14/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.4.14/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c972 mm_segment_t old_fs = get_fs(); in do_video_ioctl() local
976 set_fs(old_fs); in do_video_ioctl()
/linux-4.4.14/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.4.14/fs/btrfs/
Dsend.c513 mm_segment_t old_fs; in write_buf() local
516 old_fs = get_fs(); in write_buf()
538 set_fs(old_fs); in write_buf()