Home
last modified time | relevance | path

Searched refs:oldfs (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/arch/sh/kernel/
Dtraps_32.c476 mm_segment_t oldfs; in do_address_error() local
492 oldfs = force_uaccess_begin(); in do_address_error()
495 force_uaccess_end(oldfs); in do_address_error()
498 force_uaccess_end(oldfs); in do_address_error()
521 oldfs = force_uaccess_begin(); in do_address_error()
525 force_uaccess_end(oldfs); in do_address_error()
547 set_fs(oldfs); in do_address_error()
555 set_fs(oldfs); in do_address_error()
Dio_trapped.c273 mm_segment_t oldfs; in handle_trapped_io() local
284 oldfs = get_fs(); in handle_trapped_io()
288 set_fs(oldfs); in handle_trapped_io()
294 set_fs(oldfs); in handle_trapped_io()
/Linux-v5.10/include/linux/
Duaccess.h27 static inline void force_uaccess_end(mm_segment_t oldfs) in force_uaccess_end() argument
29 set_fs(oldfs); in force_uaccess_end()
48 static inline void force_uaccess_end(mm_segment_t oldfs) in force_uaccess_end() argument
/Linux-v5.10/kernel/
Dkthread.c57 mm_segment_t oldfs; member
1262 to_kthread(tsk)->oldfs = force_uaccess_begin(); in kthread_use_mm()
1277 force_uaccess_end(to_kthread(tsk)->oldfs); in kthread_unuse_mm()