Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dldt.c40 if (ldt->size * LDT_ENTRY_SIZE > PAGE_SIZE) in __free_ldt_struct()
61 BUILD_BUG_ON(LDT_ENTRY_SIZE != sizeof(struct desc_struct)); in alloc_ldt_struct()
62 alloc_size = size * LDT_ENTRY_SIZE; in alloc_ldt_struct()
113 ldt->size * LDT_ENTRY_SIZE); in free_ldt_struct()
148 new_ldt->size * LDT_ENTRY_SIZE); in init_new_context_ldt()
182 if (bytecount > LDT_ENTRY_SIZE * LDT_ENTRIES) in read_ldt()
183 bytecount = LDT_ENTRY_SIZE * LDT_ENTRIES; in read_ldt()
185 size = mm->context.ldt->size * LDT_ENTRY_SIZE; in read_ldt()
276 memcpy(new_ldt->entries, old_ldt->entries, oldsize * LDT_ENTRY_SIZE); in write_ldt()
/arch/x86/um/asm/
Dmm_context.h17 ((LDT_ENTRIES * LDT_ENTRY_SIZE)/PAGE_SIZE)
19 (PAGE_SIZE/LDT_ENTRY_SIZE)
21 ((LDT_PAGES_MAX*sizeof(void *))/LDT_ENTRY_SIZE)
/arch/x86/um/
Dldt.c62 if (bytecount > LDT_ENTRY_SIZE*LDT_ENTRIES) in read_ldt()
63 bytecount = LDT_ENTRY_SIZE*LDT_ENTRIES; in read_ldt()
68 size = LDT_ENTRY_SIZE*LDT_DIRECT_ENTRIES; in read_ldt()
106 if (bytecount > 5*LDT_ENTRY_SIZE) in read_default_ldt()
107 bytecount = 5*LDT_ENTRY_SIZE; in read_default_ldt()
270 for (i=0, size=0; i<ret/LDT_ENTRY_SIZE; i++) { in ldt_get_host_info()
288 for (i=0, k=0; i<ret/LDT_ENTRY_SIZE; i++) { in ldt_get_host_info()
/arch/x86/include/uapi/asm/
Dldt.h12 #define LDT_ENTRY_SIZE 8 macro
/arch/x86/include/asm/
Ddesc.h204 entries * LDT_ENTRY_SIZE - 1); in native_set_ldt()
/arch/x86/xen/
Denlighten.c556 const unsigned entries_per_page = PAGE_SIZE / LDT_ENTRY_SIZE; in xen_alloc_ldt()
576 const unsigned entries_per_page = PAGE_SIZE / LDT_ENTRY_SIZE; in xen_free_ldt()