Searched refs:newldt (Results 1 – 1 of 1) sorted by relevance
33 void *newldt; in alloc_ldt() local41 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()