Home
last modified time | relevance | path

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

12345

/arch/frv/include/asm/
Dsegment.h26 #define KERNEL_DS MAKE_MM_SEG(0xdfffffffUL) macro
29 #define KERNEL_DS MAKE_MM_SEG(0xe0000000UL) macro
32 #define get_ds() (KERNEL_DS)
35 #define __kernel_ds_p() segment_eq(get_fs(), KERNEL_DS)
Dthread_info.h64 .addr_limit = KERNEL_DS, \
/arch/m68k/include/asm/
Dsegment.h31 #define KERNEL_DS MAKE_MM_SEG(__KERNEL_DS) macro
50 return KERNEL_DS; in get_ds()
55 #define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF) macro
56 #define get_ds() (KERNEL_DS)
Dthread_info.h39 .addr_limit = KERNEL_DS, \
/arch/score/include/asm/
Dsegment.h10 #define KERNEL_DS ((mm_segment_t){0}) macro
11 #define USER_DS KERNEL_DS
13 # define get_ds() (KERNEL_DS)
Dthread_info.h57 .addr_limit = KERNEL_DS, \
/arch/sh/include/asm/
Dsegment.h19 #define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFFUL) macro
23 #define USER_DS KERNEL_DS
28 #define get_ds() (KERNEL_DS)
/arch/h8300/include/asm/
Dsegment.h24 #define KERNEL_DS MAKE_MM_SEG(__KERNEL_DS) macro
38 return KERNEL_DS; in get_ds()
/arch/um/kernel/skas/
Duaccess.c144 if (segment_eq(get_fs(), KERNEL_DS)) { in __copy_from_user()
164 if (segment_eq(get_fs(), KERNEL_DS)) { in __copy_to_user()
192 if (segment_eq(get_fs(), KERNEL_DS)) { in __strncpy_from_user()
213 if (segment_eq(get_fs(), KERNEL_DS)) { in __clear_user()
238 if (segment_eq(get_fs(), KERNEL_DS)) in __strnlen_user()
/arch/xtensa/include/asm/
Duaccess.h40 #define KERNEL_DS 0
43 #define get_ds (KERNEL_DS)
98 #if ((KERNEL_DS != 0) || (USER_DS == 0))
178 #define KERNEL_DS ((mm_segment_t) { 0 }) macro
181 #define get_ds() (KERNEL_DS)
187 #define __kernel_ok (segment_eq(get_fs(), KERNEL_DS))
/arch/parisc/include/asm/
Duaccess.h18 #define KERNEL_DS ((mm_segment_t){0}) macro
23 #define get_ds() (KERNEL_DS)
90 if (segment_eq(get_fs(), KERNEL_DS)) { \
132 if (segment_eq(get_fs(), KERNEL_DS)) { \
/arch/blackfin/include/asm/
Dsegment.h10 #define KERNEL_DS (0x5) macro
/arch/arm64/include/asm/
Dthread_info.h66 .addr_limit = KERNEL_DS, \
74 .addr_limit = KERNEL_DS, \
/arch/arc/include/asm/
Dsegment.h18 #define KERNEL_DS MAKE_MM_SEG(0) macro
/arch/x86/um/asm/
Dsegment.h15 #define KERNEL_DS MAKE_MM_SEG(~0UL) macro
/arch/microblaze/include/asm/
Duaccess.h45 # define KERNEL_DS MAKE_MM_SEG(0) macro
46 # define USER_DS KERNEL_DS
48 # define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF) macro
52 # define get_ds() (KERNEL_DS)
/arch/m32r/include/asm/
Duaccess.h34 #define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF) macro
36 #define get_ds() (KERNEL_DS)
42 #define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF) macro
44 #define get_ds() (KERNEL_DS)
/arch/ia64/include/asm/
Duaccess.h48 #define KERNEL_DS ((mm_segment_t) { ~0UL }) /* cf. access_ok() */ macro
54 #define get_ds() (KERNEL_DS)
70 && ((segment).seg == KERNEL_DS.seg \
205 #define __get_user_nocheck(x, ptr, size) __do_get_user(0, x, ptr, size, KERNEL_DS)
232 #define __put_user_nocheck(x, ptr, size) __do_put_user(0, x, ptr, size, KERNEL_DS)
/arch/cris/include/asm/
Dthread_info.h55 .addr_limit = KERNEL_DS, \
/arch/c6x/mm/
Dinit.c47 set_fs(KERNEL_DS); in paging_init()
/arch/c6x/kernel/
Dsys_c6x.c26 if (segment_eq(get_fs(), KERNEL_DS)) in _access_ok()
/arch/unicore32/include/asm/
Duaccess.h26 #define __kernel_ok (segment_eq(get_fs(), KERNEL_DS))
/arch/c6x/include/asm/
Dthread_info.h60 .addr_limit = KERNEL_DS, \
/arch/um/include/asm/
Dthread_info.h33 .addr_limit = KERNEL_DS, \
/arch/nios2/include/asm/
Dthread_info.h63 .addr_limit = KERNEL_DS, \

12345