Home
last modified time | relevance | path

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

1234

/Linux-v4.19/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()
48 static inline mm_segment_t get_ds(void) in get_ds()
/Linux-v4.19/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()
36 static inline mm_segment_t get_ds(void) in get_ds()
/Linux-v4.19/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-v4.19/mm/
Dmaccess.c29 mm_segment_t old_fs = get_fs(); in __probe_kernel_read()
57 mm_segment_t old_fs = get_fs(); in __probe_kernel_write()
88 mm_segment_t old_fs = get_fs(); in strncpy_from_unsafe()
/Linux-v4.19/arch/arc/include/asm/
Dsegment.h14 typedef unsigned long mm_segment_t; typedef
16 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
/Linux-v4.19/arch/x86/um/asm/
Dsegment.h13 } mm_segment_t; typedef
15 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
/Linux-v4.19/arch/sh/include/asm/
Dsegment.h9 } mm_segment_t; typedef
11 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
/Linux-v4.19/arch/riscv/include/asm/
Dthread_info.h31 typedef unsigned long mm_segment_t; typedef
44 mm_segment_t addr_limit;
/Linux-v4.19/arch/c6x/include/asm/
Dthread_info.h36 } mm_segment_t; typedef
46 mm_segment_t addr_limit; /* thread address space */
/Linux-v4.19/arch/nios2/include/asm/
Dthread_info.h31 } mm_segment_t; typedef
45 mm_segment_t addr_limit; /* thread address space:
/Linux-v4.19/arch/nds32/include/asm/
Dthread_info.h19 typedef unsigned long mm_segment_t; typedef
28 mm_segment_t addr_limit; /* address limit */
Duaccess.h40 #define KERNEL_DS ((mm_segment_t) { ~0UL })
41 #define USER_DS ((mm_segment_t) {TASK_SIZE - 1})
47 static inline void set_fs(mm_segment_t fs) in set_fs()
/Linux-v4.19/arch/hexagon/include/asm/
Dthread_info.h40 } mm_segment_t; typedef
53 mm_segment_t addr_limit; /* segmentation sux */
/Linux-v4.19/arch/openrisc/include/asm/
Dthread_info.h47 typedef unsigned long mm_segment_t; typedef
55 mm_segment_t addr_limit; /* thread address space:
/Linux-v4.19/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.h43 } mm_segment_t; typedef
60 mm_segment_t current_ds;
/Linux-v4.19/arch/arm64/include/asm/
Dthread_info.h34 typedef unsigned long mm_segment_t; typedef
41 mm_segment_t addr_limit; /* address limit */
/Linux-v4.19/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()
Dmmu_context.h89 mm_segment_t enable_sacf_uaccess(void);
90 void disable_sacf_uaccess(mm_segment_t old_fs);
/Linux-v4.19/arch/microblaze/include/asm/
Dthread_info.h64 } mm_segment_t; typedef
72 mm_segment_t addr_limit; /* thread address space */
/Linux-v4.19/arch/unicore32/include/asm/
Dthread_info.h32 } mm_segment_t; typedef
71 mm_segment_t addr_limit; /* address limit */
/Linux-v4.19/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-v4.19/arch/arm/include/asm/
Dthread_info.h29 typedef unsigned long mm_segment_t; typedef
52 mm_segment_t addr_limit; /* address limit */
/Linux-v4.19/arch/xtensa/include/asm/
Dprocessor.h132 } mm_segment_t; typedef
140 mm_segment_t current_ds; /* see uaccess.h for example uses */
/Linux-v4.19/arch/parisc/include/asm/
Duaccess.h14 #define KERNEL_DS ((mm_segment_t){0})
15 #define USER_DS ((mm_segment_t){1})

1234