Home
last modified time | relevance | path

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

12

/linux/mm/
A Dmaccess.c124 mm_segment_t old_fs = get_fs(); in copy_from_kernel_nofault()
154 mm_segment_t old_fs = get_fs(); in copy_to_kernel_nofault()
188 mm_segment_t old_fs = get_fs(); in strncpy_from_kernel_nofault()
224 mm_segment_t old_fs = force_uaccess_begin(); in copy_from_user_nofault()
251 mm_segment_t old_fs = force_uaccess_begin(); in copy_to_user_nofault()
287 mm_segment_t old_fs; in strncpy_from_user_nofault()
327 mm_segment_t old_fs; in strnlen_user_nofault()
/linux/include/linux/
A Duaccess.h19 static inline mm_segment_t force_uaccess_begin(void) in force_uaccess_begin()
21 mm_segment_t fs = get_fs(); in force_uaccess_begin()
27 static inline void force_uaccess_end(mm_segment_t oldfs) in force_uaccess_end()
34 } mm_segment_t; typedef
43 static inline mm_segment_t force_uaccess_begin(void) in force_uaccess_begin()
45 return (mm_segment_t) { }; in force_uaccess_begin()
48 static inline void force_uaccess_end(mm_segment_t oldfs) in force_uaccess_end()
/linux/arch/h8300/include/asm/
A 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()
A Dthread_info.h34 mm_segment_t addr_limit;
/linux/arch/arc/include/asm/
A Dsegment.h11 typedef unsigned long mm_segment_t; typedef
13 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
A Dthread_info.h43 mm_segment_t addr_limit; /* thread address space */
/linux/arch/x86/um/asm/
A Dsegment.h13 } mm_segment_t; typedef
15 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
/linux/arch/sh/include/asm/
A Dsegment.h9 } mm_segment_t; typedef
11 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
/linux/arch/sparc/include/asm/
A Duaccess_64.h29 #define KERNEL_DS ((mm_segment_t) { ASI_P })
30 #define USER_DS ((mm_segment_t) { ASI_AIUS }) /* har har har */
32 #define get_fs() ((mm_segment_t){(current_thread_info()->current_ds)})
A Dprocessor_32.h37 } mm_segment_t; typedef
53 mm_segment_t current_ds;
A Duaccess_32.h22 #define KERNEL_DS ((mm_segment_t) { 0 })
23 #define USER_DS ((mm_segment_t) { -1 })
/linux/arch/nios2/include/asm/
A Dthread_info.h31 } mm_segment_t; typedef
45 mm_segment_t addr_limit; /* thread address space:
/linux/arch/nds32/include/asm/
A Dthread_info.h19 typedef unsigned long mm_segment_t; typedef
28 mm_segment_t addr_limit; /* address limit */
A Duaccess.h36 #define KERNEL_DS ((mm_segment_t) { ~0UL })
37 #define USER_DS ((mm_segment_t) {TASK_SIZE - 1})
42 static inline void set_fs(mm_segment_t fs) in set_fs()
/linux/arch/hexagon/include/asm/
A Dthread_info.h27 } mm_segment_t; typedef
40 mm_segment_t addr_limit; /* segmentation sux */
/linux/arch/openrisc/include/asm/
A Dthread_info.h43 typedef unsigned long mm_segment_t; typedef
51 mm_segment_t addr_limit; /* thread address space:
/linux/arch/microblaze/include/asm/
A Dthread_info.h61 } mm_segment_t; typedef
69 mm_segment_t addr_limit; /* thread address space */
/linux/arch/xtensa/include/asm/
A Dprocessor.h157 } mm_segment_t; typedef
165 mm_segment_t current_ds; /* see uaccess.h for example uses */
A Duaccess.h32 #define KERNEL_DS ((mm_segment_t) { 0 })
33 #define USER_DS ((mm_segment_t) { 1 })
/linux/arch/csky/include/asm/
A Dsegment.h8 } mm_segment_t; typedef
/linux/include/asm-generic/
A Duaccess.h100 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
113 static inline void set_fs(mm_segment_t fs) in set_fs()
/linux/arch/ia64/include/asm/
A Duaccess.h47 #define KERNEL_DS ((mm_segment_t) { ~0UL }) /* cf. access_ok() */
48 #define USER_DS ((mm_segment_t) { TASK_SIZE-1 }) /* cf. access_ok() */
/linux/arch/alpha/include/asm/
A Duaccess.h17 #define KERNEL_DS ((mm_segment_t) { 0UL })
18 #define USER_DS ((mm_segment_t) { -0x40000000000UL })
A Dprocessor.h31 } mm_segment_t; typedef
/linux/arch/um/include/asm/
A Dthread_info.h25 mm_segment_t addr_limit; /* thread address space:

Completed in 35 milliseconds

12