Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/
Dldt.c39 struct ldt_struct *new_ldt; in alloc_ldt_struct() local
45 new_ldt = kmalloc(sizeof(struct ldt_struct), GFP_KERNEL); in alloc_ldt_struct()
46 if (!new_ldt) in alloc_ldt_struct()
59 new_ldt->entries = vzalloc(alloc_size); in alloc_ldt_struct()
61 new_ldt->entries = kzalloc(PAGE_SIZE, GFP_KERNEL); in alloc_ldt_struct()
63 if (!new_ldt->entries) { in alloc_ldt_struct()
64 kfree(new_ldt); in alloc_ldt_struct()
68 new_ldt->size = size; in alloc_ldt_struct()
69 return new_ldt; in alloc_ldt_struct()
108 struct ldt_struct *new_ldt; in init_new_context() local
[all …]