Home
last modified time | relevance | path

Searched refs:mm_segment_t (Results 1 – 25 of 101) sorted by relevance

12345

/Linux-v5.4/arch/m68k/include/asm/
Dsegment.h23 } mm_segment_t; typedef
25 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
34 static inline mm_segment_t get_fs(void) in get_fs()
36 mm_segment_t _v; in get_fs()
41 static inline void set_fs(mm_segment_t val) in set_fs()
/Linux-v5.4/mm/
Dmaccess.c42 mm_segment_t old_fs = get_fs(); in __probe_kernel_read()
68 mm_segment_t old_fs = get_fs(); in __probe_user_read()
94 mm_segment_t old_fs = get_fs(); in __probe_kernel_write()
126 mm_segment_t old_fs = get_fs(); in strncpy_from_unsafe()
168 mm_segment_t old_fs = get_fs(); in strncpy_from_unsafe_user()
208 mm_segment_t old_fs = get_fs(); in strnlen_unsafe_user()
/Linux-v5.4/arch/s390/lib/
Duaccess.c43 void set_fs(mm_segment_t fs) in set_fs()
63 mm_segment_t enable_sacf_uaccess(void) in enable_sacf_uaccess()
65 mm_segment_t old_fs; in enable_sacf_uaccess()
90 void disable_sacf_uaccess(mm_segment_t old_fs) in disable_sacf_uaccess()
134 mm_segment_t old_fs; in copy_from_user_mvcp()
209 mm_segment_t old_fs; in copy_to_user_mvcs()
276 mm_segment_t old_fs; in copy_in_user_mvc()
345 mm_segment_t old_fs; in clear_user_xc()
413 mm_segment_t old_fs; in __strnlen_user()
/Linux-v5.4/arch/csky/include/asm/
Dsegment.h9 } mm_segment_t; typedef
11 #define KERNEL_DS ((mm_segment_t) { 0xFFFFFFFF })
13 #define USER_DS ((mm_segment_t) { 0x80000000UL })
/Linux-v5.4/arch/h8300/include/asm/
Dsegment.h21 } mm_segment_t; typedef
23 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
31 static inline mm_segment_t get_fs(void) in get_fs()
/Linux-v5.4/arch/arc/include/asm/
Dsegment.h11 typedef unsigned long mm_segment_t; typedef
13 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
/Linux-v5.4/arch/x86/um/asm/
Dsegment.h13 } mm_segment_t; typedef
15 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
/Linux-v5.4/arch/sh/include/asm/
Dsegment.h9 } mm_segment_t; typedef
11 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
/Linux-v5.4/arch/riscv/include/asm/
Dthread_info.h25 } mm_segment_t; typedef
38 mm_segment_t addr_limit;
Duaccess.h34 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
41 static inline void set_fs(mm_segment_t fs) in set_fs()
78 const mm_segment_t fs = get_fs(); in __access_ok()
/Linux-v5.4/arch/c6x/include/asm/
Dthread_info.h33 } mm_segment_t; typedef
43 mm_segment_t addr_limit; /* thread address space */
/Linux-v5.4/arch/nios2/include/asm/
Dthread_info.h31 } mm_segment_t; typedef
45 mm_segment_t addr_limit; /* thread address space:
/Linux-v5.4/arch/nds32/include/asm/
Dthread_info.h19 typedef unsigned long mm_segment_t; typedef
28 mm_segment_t addr_limit; /* address limit */
Duaccess.h37 #define KERNEL_DS ((mm_segment_t) { ~0UL })
38 #define USER_DS ((mm_segment_t) {TASK_SIZE - 1})
43 static inline void set_fs(mm_segment_t fs) in set_fs()
/Linux-v5.4/arch/openrisc/include/asm/
Dthread_info.h43 typedef unsigned long mm_segment_t; typedef
51 mm_segment_t addr_limit; /* thread address space:
/Linux-v5.4/arch/hexagon/include/asm/
Dthread_info.h27 } mm_segment_t; typedef
40 mm_segment_t addr_limit; /* segmentation sux */
/Linux-v5.4/arch/sparc/include/asm/
Duaccess_64.h30 #define KERNEL_DS ((mm_segment_t) { ASI_P })
31 #define USER_DS ((mm_segment_t) { ASI_AIUS }) /* har har har */
33 #define get_fs() ((mm_segment_t){(current_thread_info()->current_ds)})
Dprocessor_32.h37 } mm_segment_t; typedef
54 mm_segment_t current_ds;
/Linux-v5.4/arch/arm64/include/asm/
Dthread_info.h21 typedef unsigned long mm_segment_t; typedef
28 mm_segment_t addr_limit; /* address limit */
/Linux-v5.4/arch/s390/include/asm/
Dfutex.h29 mm_segment_t old_fs; in arch_futex_atomic_op_inuser()
69 mm_segment_t old_fs; in futex_atomic_cmpxchg_inatomic()
/Linux-v5.4/arch/microblaze/include/asm/
Dthread_info.h64 } mm_segment_t; typedef
72 mm_segment_t addr_limit; /* thread address space */
/Linux-v5.4/arch/unicore32/include/asm/
Dthread_info.h29 } mm_segment_t; typedef
68 mm_segment_t addr_limit; /* address limit */
/Linux-v5.4/arch/mips/kernel/
Dftrace.c80 mm_segment_t old_fs; in ftrace_modify_code()
101 mm_segment_t old_fs; in ftrace_modify_code_2()
125 mm_segment_t old_fs; in ftrace_modify_code_2r()
/Linux-v5.4/arch/arm/include/asm/
Dthread_info.h26 typedef unsigned long mm_segment_t; typedef
49 mm_segment_t addr_limit; /* address limit */
/Linux-v5.4/arch/xtensa/include/asm/
Dprocessor.h137 } mm_segment_t; typedef
145 mm_segment_t current_ds; /* see uaccess.h for example uses */

12345