| /OK3568_Linux_fs/kernel/arch/s390/lib/ |
| H A D | uaccess.c | 65 mm_segment_t old_fs; in enable_sacf_uaccess() local 69 old_fs = current->thread.mm_segment; in enable_sacf_uaccess() 70 if (old_fs & 1) in enable_sacf_uaccess() 71 return old_fs; in enable_sacf_uaccess() 76 if (likely(old_fs == USER_DS)) { in enable_sacf_uaccess() 90 return old_fs; in enable_sacf_uaccess() 94 void disable_sacf_uaccess(mm_segment_t old_fs) in disable_sacf_uaccess() argument 96 current->thread.mm_segment = old_fs; in disable_sacf_uaccess() 97 if (old_fs == USER_DS && test_facility(27)) { in disable_sacf_uaccess() 138 mm_segment_t old_fs; in copy_from_user_mvcp() local [all …]
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | maccess.c | 108 mm_segment_t old_fs = get_fs(); in copy_from_kernel_nofault() local 118 set_fs(old_fs); in copy_from_kernel_nofault() 138 mm_segment_t old_fs = get_fs(); in copy_to_kernel_nofault() local 144 set_fs(old_fs); in copy_to_kernel_nofault() 172 mm_segment_t old_fs = get_fs(); in strncpy_from_kernel_nofault() local 190 set_fs(old_fs); in strncpy_from_kernel_nofault() 208 mm_segment_t old_fs = force_uaccess_begin(); in copy_from_user_nofault() local 215 force_uaccess_end(old_fs); in copy_from_user_nofault() 235 mm_segment_t old_fs = force_uaccess_begin(); in copy_to_user_nofault() local 242 force_uaccess_end(old_fs); in copy_to_user_nofault() [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/include/asm/ |
| H A D | futex.h | 30 mm_segment_t old_fs; in arch_futex_atomic_op_inuser() local 32 old_fs = enable_sacf_uaccess(); in arch_futex_atomic_op_inuser() 57 disable_sacf_uaccess(old_fs); in arch_futex_atomic_op_inuser() 68 mm_segment_t old_fs; in futex_atomic_cmpxchg_inatomic() local 71 old_fs = enable_sacf_uaccess(); in futex_atomic_cmpxchg_inatomic() 81 disable_sacf_uaccess(old_fs); in futex_atomic_cmpxchg_inatomic()
|
| H A D | mmu_context.h | 89 void disable_sacf_uaccess(mm_segment_t old_fs);
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | ftrace.c | 76 mm_segment_t old_fs; in ftrace_modify_code() local 84 old_fs = get_fs(); in ftrace_modify_code() 87 set_fs(old_fs); in ftrace_modify_code() 97 mm_segment_t old_fs; in ftrace_modify_code_2() local 109 old_fs = get_fs(); in ftrace_modify_code_2() 112 set_fs(old_fs); in ftrace_modify_code_2() 121 mm_segment_t old_fs; in ftrace_modify_code_2r() local 133 old_fs = get_fs(); in ftrace_modify_code_2r() 136 set_fs(old_fs); in ftrace_modify_code_2r()
|
| H A D | kgdb.c | 213 mm_segment_t old_fs; in kgdb_call_nmi_hook() local 215 old_fs = get_fs(); in kgdb_call_nmi_hook() 220 set_fs(old_fs); in kgdb_call_nmi_hook() 305 mm_segment_t old_fs; in kgdb_mips_notify() local 321 old_fs = get_fs(); in kgdb_mips_notify() 328 set_fs(old_fs); in kgdb_mips_notify() 340 set_fs(old_fs); in kgdb_mips_notify()
|
| H A D | vpe.c | 751 mm_segment_t old_fs; in getcwd() local 754 old_fs = get_fs(); in getcwd() 759 set_fs(old_fs); in getcwd()
|
| H A D | traps.c | 204 mm_segment_t old_fs = get_fs(); in show_stack() local 226 set_fs(old_fs); in show_stack() 359 mm_segment_t old_fs = get_fs(); in show_registers() local 380 set_fs(old_fs); in show_registers() 1594 mm_segment_t old_fs = get_fs(); in do_mcheck() local 1610 set_fs(old_fs); in do_mcheck()
|
| /OK3568_Linux_fs/kernel/arch/s390/pci/ |
| H A D | pci_mmio.c | 96 mm_segment_t old_fs; in __memcpy_toio_inuser() local 101 old_fs = enable_sacf_uaccess(); in __memcpy_toio_inuser() 116 disable_sacf_uaccess(old_fs); in __memcpy_toio_inuser() 251 mm_segment_t old_fs; in __memcpy_fromio_inuser() local 253 old_fs = enable_sacf_uaccess(); in __memcpy_fromio_inuser() 265 disable_sacf_uaccess(old_fs); in __memcpy_fromio_inuser()
|
| /OK3568_Linux_fs/kernel/arch/m68k/include/asm/ |
| H A D | tlbflush.h | 16 mm_segment_t old_fs = get_fs(); in flush_tlb_kernel_page() local 22 set_fs(old_fs); in flush_tlb_kernel_page() 88 mm_segment_t old_fs = force_uaccess_begin(); in flush_tlb_page() local 91 force_uaccess_end(old_fs); in flush_tlb_page()
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | process_64.c | 112 mm_segment_t old_fs; in show_regwindow32() local 116 old_fs = get_fs(); in show_regwindow32() 119 set_fs (old_fs); in show_regwindow32() 123 set_fs (old_fs); in show_regwindow32() 142 mm_segment_t old_fs; in show_regwindow() local 151 old_fs = get_fs(); in show_regwindow() 154 set_fs (old_fs); in show_regwindow() 158 set_fs (old_fs); in show_regwindow()
|
| /OK3568_Linux_fs/kernel/arch/m68k/mm/ |
| H A D | cache.c | 110 mm_segment_t old_fs = get_fs(); in flush_icache_range() local 114 set_fs(old_fs); in flush_icache_range()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/ |
| H A D | efuse.c | 85 mm_segment_t old_fs; in write_mac_to_file() local 93 old_fs = get_fs(); in write_mac_to_file() 96 set_fs(old_fs); in write_mac_to_file()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_fwtrace.c | 209 mm_segment_t old_fs; in fwtrace_write_to_file() local 215 old_fs = get_fs(); in fwtrace_write_to_file() 265 set_fs(old_fs); in fwtrace_write_to_file()
|
| H A D | dhd_pktlog.c | 1198 mm_segment_t old_fs; in dhd_pktlog_dump_write_file() local 1203 old_fs = get_fs(); in dhd_pktlog_dump_write_file() 1232 set_fs(old_fs); in dhd_pktlog_dump_write_file()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt1x/ |
| H A D | gt1x_update.c | 282 mm_segment_t old_fs; 285 old_fs = get_fs(); 330 set_fs(old_fs); 499 update_info.old_fs = get_fs(); 506 set_fs(update_info.old_fs); 561 set_fs(update_info.old_fs);
|
| H A D | gt1x_generic.c | 287 mm_segment_t old_fs; 295 old_fs = get_fs(); 357 set_fs(old_fs);
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/hyn_cst2xx/ |
| H A D | hyn_cst2xx.c | 850 static void cst2xx_close_fw_file(struct file * filp,mm_segment_t old_fs) in cst2xx_close_fw_file() argument 852 set_fs(old_fs); in cst2xx_close_fw_file() 860 mm_segment_t old_fs; in cst2xx_read_fw_file() local 867 fp = cst2xx_open_fw_file(filename, &old_fs); in cst2xx_read_fw_file() 887 cst2xx_close_fw_file(fp, old_fs); in cst2xx_read_fw_file()
|
| /OK3568_Linux_fs/kernel/arch/m68k/kernel/ |
| H A D | traps.c | 184 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()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt9xx/ |
| H A D | gt9xx_update.c | 104 mm_segment_t old_fs; member 954 update_msg.old_fs = get_fs(); in gup_check_update_file() 2463 if (update_msg.old_fs) in gup_update_proc() 2465 set_fs(update_msg.old_fs); in gup_update_proc() 3439 update_msg.old_fs = get_fs(); in gup_prepare_fl_fw() 3454 set_fs(update_msg.old_fs); in gup_prepare_fl_fw() 3466 set_fs(update_msg.old_fs); in gup_prepare_fl_fw()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_test/ |
| H A D | focaltech_test_ini.c | 199 mm_segment_t old_fs; in fts_test_read_ini_data() local 220 old_fs = get_fs(); in fts_test_read_ini_data() 225 set_fs(old_fs); in fts_test_read_ini_data()
|
| H A D | focaltech_test.c | 1184 mm_segment_t old_fs; in fts_test_save_test_data() local 1197 old_fs = get_fs(); in fts_test_save_test_data() 1202 set_fs(old_fs); in fts_test_save_test_data()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/ |
| H A D | focaltech_flash.c | 1076 mm_segment_t old_fs; in fts_read_file() local 1106 old_fs = get_fs(); in fts_read_file() 1114 set_fs(old_fs); in fts_read_file()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch_ft5436/ |
| H A D | focaltech_flash.c | 1041 mm_segment_t old_fs; in fts_read_file() local 1071 old_fs = get_fs(); in fts_read_file() 1079 set_fs(old_fs); in fts_read_file()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_pktlog.c | 1198 mm_segment_t old_fs; in dhd_pktlog_dump_write_file() local 1203 old_fs = get_fs(); in dhd_pktlog_dump_write_file() 1232 set_fs(old_fs); in dhd_pktlog_dump_write_file()
|