Searched refs:LDT_ENTRIES_PER_PAGE (Results 1 – 2 of 2) sorted by relevance
79 for (i=0; i<ldt->entry_count/LDT_ENTRIES_PER_PAGE && bytecount; in read_ldt()157 for (i=ldt->entry_count/LDT_ENTRIES_PER_PAGE; in write_ldt()158 i*LDT_ENTRIES_PER_PAGE <= ldt_info.entry_number; in write_ldt()178 ldt->entry_count = (i + 1) * LDT_ENTRIES_PER_PAGE; in write_ldt()187 ldt_p = ldt->u.pages[ldt_info.entry_number/LDT_ENTRIES_PER_PAGE] + in write_ldt()188 ldt_info.entry_number%LDT_ENTRIES_PER_PAGE; in write_ldt()342 i = from_mm->arch.ldt.entry_count / LDT_ENTRIES_PER_PAGE; in init_new_ldt()368 i = mm->arch.ldt.entry_count / LDT_ENTRIES_PER_PAGE; in free_ldt()
16 #define LDT_ENTRIES_PER_PAGE \ macro