DI_HP_NIL
if (di_hp_next(dev, DI_HP_NIL) != DI_HP_NIL) {
for (hp = DI_HP_NIL; (hp = di_hp_next(dev, hp)) != DI_HP_NIL; ) {
for (hp = DI_HP_NIL; (hp = di_hp_next(dev, hp)) != DI_HP_NIL; ) {
port_hp = DI_HP_NIL;
while ((port_hp = di_hp_next(dev, port_hp)) != DI_HP_NIL) {
if (di_hp_next(node, DI_HP_NIL) == DI_HP_NIL)
if (minor != DI_MINOR_NIL && hp != DI_HP_NIL)
if (minor != DI_MINOR_NIL && hp != DI_HP_NIL)
return (check_ap_phys_impl(node, minor, DI_HP_NIL, arg));
return (check_ap_phys_impl(node, DI_HP_NIL, hp, arg));
if (minor != DI_MINOR_NIL && hp != DI_HP_NIL)
for (hp = DI_HP_NIL; (hp = di_hp_next(rnode, hp)) != DI_HP_NIL; ) {
if (minor != DI_MINOR_NIL && hp != DI_HP_NIL)
for (hp = DI_HP_NIL; (hp = di_hp_next(node, hp)) != DI_HP_NIL; ) {
return (DI_HP_NIL);
if (hp != DI_HP_NIL) {
return (DI_HP_NIL);
return (DI_HP_NIL);
if (hp == DI_HP_NIL) {
if (hp == DI_HP_NIL) {
if (hp == DI_HP_NIL) {
if (hp == DI_HP_NIL) {
if (hp == DI_HP_NIL) {
if (hp == DI_HP_NIL) {
if (hp == DI_HP_NIL) {
if (hp == DI_HP_NIL) {