search for: pudir

Displaying 2 results from an estimated 2 matches for "pudir".

Did you mean: pgdir
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...) && pgdir->cr3 == cr3) + break; + + if (pgdir == list_entry(&linfo->pgd_list, struct lguest_pgd, list)) + return NULL; + + return pgdir; +} + +static struct lguest_pud *find_pud(struct lguest_guest_info *linfo, u64 gpud) +{ + unsigned idx = HASH_PUD(gpud); + struct lguest_pud *pudir; + + list_for_each_entry(pudir, &linfo->pud_hash[idx], list) + if (pudir->gpud == gpud) + break; + + if (pudir == list_entry(&linfo->pud_hash[idx], struct lguest_pud, list)) + return NULL; + + return pudir; +} + +static struct lguest_pmd *find_pmd(struct lguest_guest_info *linf...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...) && pgdir->cr3 == cr3) + break; + + if (pgdir == list_entry(&linfo->pgd_list, struct lguest_pgd, list)) + return NULL; + + return pgdir; +} + +static struct lguest_pud *find_pud(struct lguest_guest_info *linfo, u64 gpud) +{ + unsigned idx = HASH_PUD(gpud); + struct lguest_pud *pudir; + + list_for_each_entry(pudir, &linfo->pud_hash[idx], list) + if (pudir->gpud == gpud) + break; + + if (pudir == list_entry(&linfo->pud_hash[idx], struct lguest_pud, list)) + return NULL; + + return pudir; +} + +static struct lguest_pmd *find_pmd(struct lguest_guest_info *linf...