tag | line | file | source code |
ldt_info | 39 | kernel/ldt.c | struct modify_ldt_ldt_s ldt_info; |
ldt_info | 44 | kernel/ldt.c | if (bytecount != sizeof(ldt_info)) |
ldt_info | 46 | kernel/ldt.c | error = verify_area(VERIFY_READ, ptr, sizeof(ldt_info)); |
ldt_info | 50 | kernel/ldt.c | memcpy_fromfs(&ldt_info, ptr, sizeof(ldt_info)); |
ldt_info | 52 | kernel/ldt.c | if (ldt_info.contents == 3 || ldt_info.entry_number >= 512) |
ldt_info | 55 | kernel/ldt.c | limit = ldt_info.limit; |
ldt_info | 56 | kernel/ldt.c | base = ldt_info.base_addr; |
ldt_info | 57 | kernel/ldt.c | if (ldt_info.limit_in_pages) |
ldt_info | 75 | kernel/ldt.c | lp = (unsigned long *) ¤t->ldt[ldt_info.entry_number]; |
ldt_info | 76 | kernel/ldt.c | *lp = ((ldt_info.base_addr & 0x0000ffff) << 16) | |
ldt_info | 77 | kernel/ldt.c | (ldt_info.limit & 0x0ffff); |
ldt_info | 78 | kernel/ldt.c | *(lp+1) = (ldt_info.base_addr & 0xff000000) | |
ldt_info | 79 | kernel/ldt.c | ((ldt_info.base_addr & 0x00ff0000)>>16) | |
ldt_info | 80 | kernel/ldt.c | (ldt_info.limit & 0xf0000) | |
ldt_info | 81 | kernel/ldt.c | (ldt_info.contents << 10) | |
ldt_info | 82 | kernel/ldt.c | ((ldt_info.read_exec_only ^ 1) << 9) | |
ldt_info | 83 | kernel/ldt.c | (ldt_info.seg_32bit << 22) | |
ldt_info | 84 | kernel/ldt.c | (ldt_info.limit_in_pages << 23) | |