Home
last modified time | relevance | path

Searched refs:MAKE_MM_SEG (Results 1 – 14 of 14) sorted by relevance

/arch/sh/include/asm/
Dsegment.h10 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) macro
19 #define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFFUL)
21 #define USER_DS MAKE_MM_SEG(PAGE_OFFSET)
/arch/h8300/include/asm/
Dsegment.h22 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) macro
23 #define USER_DS MAKE_MM_SEG(__USER_DS)
24 #define KERNEL_DS MAKE_MM_SEG(__KERNEL_DS)
/arch/m68k/include/asm/
Dsegment_no.h24 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) macro
25 #define USER_DS MAKE_MM_SEG(__USER_DS)
26 #define KERNEL_DS MAKE_MM_SEG(__KERNEL_DS)
Dsegment_mm.h24 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) macro
25 #define USER_DS MAKE_MM_SEG(__USER_DS)
26 #define KERNEL_DS MAKE_MM_SEG(__KERNEL_DS)
/arch/um/include/asm/
Duaccess.h30 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) macro
32 #define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF)
33 #define USER_DS MAKE_MM_SEG(TASK_SIZE)
/arch/avr32/include/asm/
Duaccess.h28 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) macro
33 #define KERNEL_DS MAKE_MM_SEG(0)
34 #define USER_DS MAKE_MM_SEG(1)
40 return MAKE_MM_SEG(test_thread_flag(TIF_USERSPACE)); in get_fs()
/arch/s390/include/asm/
Duaccess.h32 #define MAKE_MM_SEG(a) ((mm_segment_t) { (a) }) macro
35 #define KERNEL_DS MAKE_MM_SEG(0)
36 #define USER_DS MAKE_MM_SEG(1)
/arch/x86/include/asm/
Duaccess.h25 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) macro
27 #define KERNEL_DS MAKE_MM_SEG(-1UL)
28 #define USER_DS MAKE_MM_SEG(PAGE_OFFSET)
/arch/powerpc/include/asm/
Duaccess.h27 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) macro
29 #define KERNEL_DS MAKE_MM_SEG(~0UL)
32 #define USER_DS MAKE_MM_SEG(TASK_SIZE_USER64 - 1)
34 #define USER_DS MAKE_MM_SEG(TASK_SIZE - 1)
/arch/x86/kernel/
Dirq_32.c136 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); in irq_ctx_init()
145 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); in irq_ctx_init()
/arch/sh/kernel/
Dirq.c181 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); in irq_ctx_init()
190 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); in irq_ctx_init()
/arch/cris/include/asm/
Duaccess.h35 #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) macro
43 #define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF)
44 #define USER_DS MAKE_MM_SEG(TASK_SIZE)
/arch/m68k/sun3/
Dmmu_emu.c193 set_fs(MAKE_MM_SEG(3)); in mmu_emu_init()
/arch/m68k/kernel/
Dtraps.c303 set_fs(MAKE_MM_SEG(wbs)); in probe040()
324 set_fs(MAKE_MM_SEG(wbs)); in do_040writeback1()