/Linux-v5.10/arch/m68k/include/asm/ |
D | segment.h | 23 } 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.10/arch/s390/lib/ |
D | uaccess.c | 43 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() 94 void disable_sacf_uaccess(mm_segment_t old_fs) in disable_sacf_uaccess() 138 mm_segment_t old_fs; in copy_from_user_mvcp() 213 mm_segment_t old_fs; in copy_to_user_mvcs() 280 mm_segment_t old_fs; in copy_in_user_mvc() 349 mm_segment_t old_fs; in clear_user_xc() 417 mm_segment_t old_fs; in __strnlen_user()
|
/Linux-v5.10/arch/csky/include/asm/ |
D | segment.h | 9 } mm_segment_t; typedef 11 #define KERNEL_DS ((mm_segment_t) { 0xFFFFFFFF }) 13 #define USER_DS ((mm_segment_t) { 0x80000000UL })
|
/Linux-v5.10/mm/ |
D | maccess.c | 108 mm_segment_t old_fs = get_fs(); in copy_from_kernel_nofault() 138 mm_segment_t old_fs = get_fs(); in copy_to_kernel_nofault() 172 mm_segment_t old_fs = get_fs(); in strncpy_from_kernel_nofault() 208 mm_segment_t old_fs = force_uaccess_begin(); in copy_from_user_nofault() 235 mm_segment_t old_fs = force_uaccess_begin(); in copy_to_user_nofault() 271 mm_segment_t old_fs; in strncpy_from_user_nofault() 311 mm_segment_t old_fs; in strnlen_user_nofault()
|
/Linux-v5.10/arch/h8300/include/asm/ |
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()
|
/Linux-v5.10/include/linux/ |
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-v5.10/arch/arc/include/asm/ |
D | segment.h | 11 typedef unsigned long mm_segment_t; typedef 13 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
|
/Linux-v5.10/arch/x86/um/asm/ |
D | segment.h | 13 } mm_segment_t; typedef 15 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
|
/Linux-v5.10/arch/sh/include/asm/ |
D | segment.h | 9 } mm_segment_t; typedef 11 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) })
|
/Linux-v5.10/arch/c6x/include/asm/ |
D | thread_info.h | 33 } mm_segment_t; typedef 43 mm_segment_t addr_limit; /* thread address space */
|
/Linux-v5.10/arch/nios2/include/asm/ |
D | thread_info.h | 31 } mm_segment_t; typedef 45 mm_segment_t addr_limit; /* thread address space:
|
/Linux-v5.10/arch/nds32/include/asm/ |
D | thread_info.h | 19 typedef unsigned long mm_segment_t; typedef 28 mm_segment_t addr_limit; /* address limit */
|
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-v5.10/arch/hexagon/include/asm/ |
D | thread_info.h | 27 } mm_segment_t; typedef 40 mm_segment_t addr_limit; /* segmentation sux */
|
/Linux-v5.10/arch/openrisc/include/asm/ |
D | thread_info.h | 43 typedef unsigned long mm_segment_t; typedef 51 mm_segment_t addr_limit; /* thread address space:
|
/Linux-v5.10/arch/sparc/include/asm/ |
D | uaccess_64.h | 30 #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)})
|
D | processor_32.h | 37 } mm_segment_t; typedef 54 mm_segment_t current_ds;
|
/Linux-v5.10/arch/s390/include/asm/ |
D | futex.h | 29 mm_segment_t old_fs; in arch_futex_atomic_op_inuser() 67 mm_segment_t old_fs; in futex_atomic_cmpxchg_inatomic()
|
D | mmu_context.h | 88 mm_segment_t enable_sacf_uaccess(void); 89 void disable_sacf_uaccess(mm_segment_t old_fs);
|
/Linux-v5.10/arch/microblaze/include/asm/ |
D | thread_info.h | 61 } mm_segment_t; typedef 69 mm_segment_t addr_limit; /* thread address space */
|
/Linux-v5.10/arch/arm64/include/asm/ |
D | thread_info.h | 21 typedef unsigned long mm_segment_t; typedef 28 mm_segment_t addr_limit; /* address limit */
|
/Linux-v5.10/arch/mips/kernel/ |
D | ftrace.c | 76 mm_segment_t old_fs; in ftrace_modify_code() 97 mm_segment_t old_fs; in ftrace_modify_code_2() 121 mm_segment_t old_fs; in ftrace_modify_code_2r()
|
/Linux-v5.10/arch/arm/include/asm/ |
D | thread_info.h | 26 typedef unsigned long mm_segment_t; typedef 49 mm_segment_t addr_limit; /* address limit */
|
/Linux-v5.10/arch/xtensa/include/asm/ |
D | processor.h | 137 } mm_segment_t; typedef 145 mm_segment_t current_ds; /* see uaccess.h for example uses */
|
/Linux-v5.10/arch/parisc/include/asm/ |
D | uaccess.h | 14 #define KERNEL_DS ((mm_segment_t){0}) 15 #define USER_DS ((mm_segment_t){1})
|