Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/i386/kernel/
Dldt.c33 void *newldt; in alloc_ldt() local
41 newldt = vmalloc(mincount*LDT_ENTRY_SIZE); in alloc_ldt()
43 newldt = kmalloc(mincount*LDT_ENTRY_SIZE, GFP_KERNEL); in alloc_ldt()
45 if (!newldt) in alloc_ldt()
49 memcpy(newldt, pc->ldt, oldsize*LDT_ENTRY_SIZE); in alloc_ldt()
52 memset(newldt+oldsize*LDT_ENTRY_SIZE, 0, (mincount-oldsize)*LDT_ENTRY_SIZE); in alloc_ldt()
54 pc->ldt = newldt; in alloc_ldt()