/linux/mm/ |
A D | maccess.c | 124 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 D | uaccess.h | 19 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 D | segment.h | 21 } 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 D | thread_info.h | 34 mm_segment_t addr_limit;
|
/linux/arch/arc/include/asm/ |
A D | segment.h | 11 typedef unsigned long mm_segment_t; typedef 13 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
|
A D | thread_info.h | 43 mm_segment_t addr_limit; /* thread address space */
|
/linux/arch/x86/um/asm/ |
A D | segment.h | 13 } mm_segment_t; typedef 15 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
|
/linux/arch/sh/include/asm/ |
A D | segment.h | 9 } mm_segment_t; typedef 11 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
|
/linux/arch/sparc/include/asm/ |
A D | uaccess_64.h | 29 #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 D | processor_32.h | 37 } mm_segment_t; typedef 53 mm_segment_t current_ds;
|
A D | uaccess_32.h | 22 #define KERNEL_DS ((mm_segment_t) { 0 }) 23 #define USER_DS ((mm_segment_t) { -1 })
|
/linux/arch/nios2/include/asm/ |
A D | thread_info.h | 31 } mm_segment_t; typedef 45 mm_segment_t addr_limit; /* thread address space:
|
/linux/arch/nds32/include/asm/ |
A D | thread_info.h | 19 typedef unsigned long mm_segment_t; typedef 28 mm_segment_t addr_limit; /* address limit */
|
A D | uaccess.h | 36 #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 D | thread_info.h | 27 } mm_segment_t; typedef 40 mm_segment_t addr_limit; /* segmentation sux */
|
/linux/arch/openrisc/include/asm/ |
A D | thread_info.h | 43 typedef unsigned long mm_segment_t; typedef 51 mm_segment_t addr_limit; /* thread address space:
|
/linux/arch/microblaze/include/asm/ |
A D | thread_info.h | 61 } mm_segment_t; typedef 69 mm_segment_t addr_limit; /* thread address space */
|
/linux/arch/xtensa/include/asm/ |
A D | processor.h | 157 } mm_segment_t; typedef 165 mm_segment_t current_ds; /* see uaccess.h for example uses */
|
A D | uaccess.h | 32 #define KERNEL_DS ((mm_segment_t) { 0 }) 33 #define USER_DS ((mm_segment_t) { 1 })
|
/linux/arch/csky/include/asm/ |
A D | segment.h | 8 } mm_segment_t; typedef
|
/linux/include/asm-generic/ |
A D | uaccess.h | 100 #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 D | uaccess.h | 47 #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 D | uaccess.h | 17 #define KERNEL_DS ((mm_segment_t) { 0UL }) 18 #define USER_DS ((mm_segment_t) { -0x40000000000UL })
|
A D | processor.h | 31 } mm_segment_t; typedef
|
/linux/arch/um/include/asm/ |
A D | thread_info.h | 25 mm_segment_t addr_limit; /* thread address space:
|