Home
last modified time | relevance | path

Searched refs:KERNEL_DS (Results 1 – 25 of 73) sorted by relevance

123

/kernel/linux/linux-5.10/arch/sh/include/asm/
Dsegment.h20 #define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFFUL) macro
24 #define USER_DS KERNEL_DS
27 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dsegment.h32 #define KERNEL_DS MAKE_MM_SEG(__KERNEL_DS) macro
50 #define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF) macro
55 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
Dthread_info.h40 .addr_limit = KERNEL_DS, \
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dsegment.h15 #define KERNEL_DS MAKE_MM_SEG(0) macro
17 #define uaccess_kernel() (get_fs() == KERNEL_DS)
Dthread_info.h59 .addr_limit = KERNEL_DS, \
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dsegment.h11 #define KERNEL_DS ((mm_segment_t) { 0xFFFFFFFF }) macro
16 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/kernel/linux/linux-5.10/arch/h8300/include/asm/
Dsegment.h25 #define KERNEL_DS MAKE_MM_SEG(__KERNEL_DS) macro
36 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Duaccess.h34 # define KERNEL_DS MAKE_MM_SEG(0) macro
35 # define USER_DS KERNEL_DS
37 # define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF) macro
44 # define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dasm-uaccess.h32 #define KERNEL_DS 0 macro
88 #if ((KERNEL_DS != 0) || (USER_DS == 0))
/kernel/linux/linux-5.10/arch/mips/kernel/
Dftrace.c85 set_fs(KERNEL_DS); in ftrace_modify_code()
110 set_fs(KERNEL_DS); in ftrace_modify_code_2()
134 set_fs(KERNEL_DS); in ftrace_modify_code_2r()
/kernel/linux/linux-5.10/mm/
Dmaccess.c113 set_fs(KERNEL_DS); in copy_from_kernel_nofault()
140 set_fs(KERNEL_DS); in copy_to_kernel_nofault()
181 set_fs(KERNEL_DS); in strncpy_from_kernel_nofault()
/kernel/linux/linux-5.10/drivers/staging/blackbox/
Dblackbox_common.c35 set_fs(KERNEL_DS); in change_own()
65 set_fs(KERNEL_DS); in full_write_file()
213 set_fs(KERNEL_DS); in file_open()
/kernel/linux/linux-5.10/include/asm-generic/
Duaccess.h102 #ifndef KERNEL_DS
103 #define KERNEL_DS MAKE_MM_SEG(~0UL) macro
120 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Duaccess.h47 #define KERNEL_DS ((mm_segment_t) { ~0UL }) /* cf. access_ok() */ macro
53 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
66 (seg == KERNEL_DS.seg || likely(REGION_OFFSET(addr) < RGN_MAP_LIMIT)); in __access_ok()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Duaccess_64.h30 #define KERNEL_DS ((mm_segment_t) { ASI_P }) macro
35 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
Duaccess_32.h25 #define KERNEL_DS ((mm_segment_t) { 0 }) macro
31 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Duaccess.h14 #define KERNEL_DS ((mm_segment_t){0}) macro
17 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Duaccess.h27 #define KERNEL_DS MAKE_MM_SEG(0) macro
33 #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
Dthread_info.h63 .addr_limit = KERNEL_DS, \
/kernel/linux/linux-5.10/arch/x86/um/asm/
Dsegment.h16 #define KERNEL_DS MAKE_MM_SEG(~0UL) macro
/kernel/linux/linux-5.10/arch/arm/include/asm/
Duaccess.h58 #define KERNEL_DS 0x00000000 macro
79 #define uaccess_kernel() (get_fs() == KERNEL_DS)
270 #define USER_DS KERNEL_DS
275 #define get_fs() (KERNEL_DS)
/kernel/linux/linux-5.10/arch/c6x/mm/
Dinit.c47 set_fs(KERNEL_DS); in paging_init()
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Duaccess.h36 #define KERNEL_DS ((mm_segment_t) { ~0UL }) macro
47 #define uaccess_kernel() (get_fs() == KERNEL_DS)
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Duaccess.h40 #define KERNEL_DS (~0UL) macro
46 #define uaccess_kernel() (get_fs() == KERNEL_DS)
/kernel/linux/linux-5.10/arch/c6x/include/asm/
Dthread_info.h57 .addr_limit = KERNEL_DS, \

123