Searched refs:LDT_ENTRY_SIZE (Results 1 – 7 of 7) sorted by relevance
17 ((LDT_ENTRIES * LDT_ENTRY_SIZE)/PAGE_SIZE)19 (PAGE_SIZE/LDT_ENTRY_SIZE)21 ((LDT_PAGES_MAX*sizeof(void *))/LDT_ENTRY_SIZE)
77 BUILD_BUG_ON(LDT_ENTRY_SIZE != sizeof(struct desc_struct)); in alloc_ldt_struct()78 alloc_size = num_entries * LDT_ENTRY_SIZE; in alloc_ldt_struct()241 for (i = 0; i * PAGE_SIZE < ldt->nr_entries * LDT_ENTRY_SIZE; i++) { in map_ldt_struct()332 if (ldt->nr_entries * LDT_ENTRY_SIZE > PAGE_SIZE) in free_ldt_struct()362 new_ldt->nr_entries * LDT_ENTRY_SIZE); in ldt_dup_context()407 if (bytecount > LDT_ENTRY_SIZE * LDT_ENTRIES) in read_ldt()408 bytecount = LDT_ENTRY_SIZE * LDT_ENTRIES; in read_ldt()410 entries_size = mm->context.ldt->nr_entries * LDT_ENTRY_SIZE; in read_ldt()502 memcpy(new_ldt->entries, old_ldt->entries, old_nr_entries * LDT_ENTRY_SIZE); in write_ldt()
62 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()
13 #define LDT_ENTRY_SIZE 8 macro
70 #define LDT_SLOT_STRIDE (LDT_ENTRIES * LDT_ENTRY_SIZE)
205 entries * LDT_ENTRY_SIZE - 1); in native_set_ldt()
399 const unsigned entries_per_page = PAGE_SIZE / LDT_ENTRY_SIZE; in xen_alloc_ldt()419 const unsigned entries_per_page = PAGE_SIZE / LDT_ENTRY_SIZE; in xen_free_ldt()