tag | line | file | source code |
ldt | 18 | arch/i386/kernel/ldt.c | void * address = current->ldt; |
ldt | 82 | arch/i386/kernel/ldt.c | if (!current->ldt) { |
ldt | 85 | arch/i386/kernel/ldt.c | if (!(current->ldt = (struct desc_struct*) vmalloc(LDT_ENTRIES*LDT_ENTRY_SIZE))) |
ldt | 87 | arch/i386/kernel/ldt.c | memset(current->ldt, 0, LDT_ENTRIES*LDT_ENTRY_SIZE); |
ldt | 88 | arch/i386/kernel/ldt.c | set_ldt_desc(gdt+(i<<1)+FIRST_LDT_ENTRY, current->ldt, LDT_ENTRIES); |
ldt | 94 | arch/i386/kernel/ldt.c | lp = (unsigned long *) ¤t->ldt[ldt_info.entry_number]; |
ldt | 243 | arch/i386/kernel/process.c | current->tss.ldt = 0; |
ldt | 244 | arch/i386/kernel/process.c | if (current->ldt) { |
ldt | 245 | arch/i386/kernel/process.c | void * ldt = current->ldt; |
ldt | 246 | arch/i386/kernel/process.c | current->ldt = NULL; |
ldt | 247 | arch/i386/kernel/process.c | vfree(ldt); |
ldt | 255 | arch/i386/kernel/process.c | if (current->ldt) { |
ldt | 256 | arch/i386/kernel/process.c | free_page((unsigned long) current->ldt); |
ldt | 257 | arch/i386/kernel/process.c | current->ldt = NULL; |
ldt | 298 | arch/i386/kernel/process.c | p->tss.ldt = _LDT(nr); |
ldt | 299 | arch/i386/kernel/process.c | if (p->ldt) { |
ldt | 300 | arch/i386/kernel/process.c | p->ldt = (struct desc_struct*) vmalloc(LDT_ENTRIES*LDT_ENTRY_SIZE); |
ldt | 301 | arch/i386/kernel/process.c | if (p->ldt != NULL) |
ldt | 302 | arch/i386/kernel/process.c | memcpy(p->ldt, current->ldt, LDT_ENTRIES*LDT_ENTRY_SIZE); |
ldt | 305 | arch/i386/kernel/process.c | if (p->ldt) |
ldt | 306 | arch/i386/kernel/process.c | set_ldt_desc(gdt+(nr<<1)+FIRST_LDT_ENTRY,p->ldt, 512); |
ldt | 23 | arch/i386/math-emu/fpu_system.h | #define LDT_DESCRIPTOR(s) (current->ldt[(s) >> 3]) |
ldt | 99 | include/asm-i386/processor.h | unsigned short ldt, __ldth; |
ldt | 148 | include/asm-i386/system.h | #define set_base(ldt,base) _set_base( ((char *)&(ldt)) , base ) |
ldt | 149 | include/asm-i386/system.h | #define set_limit(ldt,limit) _set_limit( ((char *)&(ldt)) , (limit-1)>>12 ) |
ldt | 165 | include/asm-i386/system.h | #define get_base(ldt) _get_base( ((char *)&(ldt)) ) |
ldt | 237 | include/linux/sched.h | struct desc_struct *ldt; |