Searched refs:LDT_ENTRY_SIZE (Results 1 – 6 of 6) sorted by relevance
49 BUILD_BUG_ON(LDT_ENTRY_SIZE != sizeof(struct desc_struct)); in alloc_ldt_struct()50 alloc_size = size * LDT_ENTRY_SIZE; in alloc_ldt_struct()95 if (ldt->size * LDT_ENTRY_SIZE > PAGE_SIZE) in free_ldt_struct()132 new_ldt->size * LDT_ENTRY_SIZE); in init_new_context()166 if (bytecount > LDT_ENTRY_SIZE * LDT_ENTRIES) in read_ldt()167 bytecount = LDT_ENTRY_SIZE * LDT_ENTRIES; in read_ldt()169 size = mm->context.ldt->size * LDT_ENTRY_SIZE; in read_ldt()260 memcpy(new_ldt->entries, old_ldt->entries, oldsize * LDT_ENTRY_SIZE); in write_ldt()
17 ((LDT_ENTRIES * LDT_ENTRY_SIZE)/PAGE_SIZE)19 (PAGE_SIZE/LDT_ENTRY_SIZE)21 ((LDT_PAGES_MAX*sizeof(void *))/LDT_ENTRY_SIZE)
61 if (bytecount > LDT_ENTRY_SIZE*LDT_ENTRIES) in read_ldt()62 bytecount = LDT_ENTRY_SIZE*LDT_ENTRIES; in read_ldt()67 size = LDT_ENTRY_SIZE*LDT_DIRECT_ENTRIES; in read_ldt()105 if (bytecount > 5*LDT_ENTRY_SIZE) in read_default_ldt()106 bytecount = 5*LDT_ENTRY_SIZE; in read_default_ldt()269 for (i=0, size=0; i<ret/LDT_ENTRY_SIZE; i++) { in ldt_get_host_info()287 for (i=0, k=0; i<ret/LDT_ENTRY_SIZE; i++) { in ldt_get_host_info()
12 #define LDT_ENTRY_SIZE 8 macro
204 entries * LDT_ENTRY_SIZE - 1); in native_set_ldt()
545 const unsigned entries_per_page = PAGE_SIZE / LDT_ENTRY_SIZE; in xen_alloc_ldt()565 const unsigned entries_per_page = PAGE_SIZE / LDT_ENTRY_SIZE; in xen_free_ldt()