Return to subr_pool.c CVS log | Up to [cvs.NetBSD.org] / src / sys / kern |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.143, 2007/12/22 03:28:48 | version 1.144, 2007/12/22 04:31:34 | ||
---|---|---|---|
|
|
||
if (pcg == NULL) { | if (pcg == NULL) { | ||
return false; | return false; | ||
} | } | ||
for (i = 0; i < pcg->pcg_size; i++) { | for (i = 0; i < pcg->pcg_avail; i++) { | ||
if (pool_in_item(pp, pcg->pcg_objects[i].pcgo_va, addr)) { | if (pool_in_item(pp, pcg->pcg_objects[i].pcgo_va, addr)) { | ||
return true; | return true; | ||
} | } |