Lines Matching refs:status

597 	int status;  in step_child()  local
616 status = topo_walk_bottomup(wp, flag); in step_child()
618 status = topo_walk_step(wp, flag); in step_child()
620 return (status); in step_child()
626 int status; in step_sibling() local
645 status = topo_walk_bottomup(wp, flag); in step_sibling()
647 status = topo_walk_step(wp, flag); in step_sibling()
649 return (status); in step_sibling()
655 int status; in topo_walk_byid() local
666 status = wp->tw_cb(wp->tw_mod, nnp, wp->tw_pdata); in topo_walk_byid()
668 status = wp->tw_cb(wp->tw_thp, nnp, wp->tw_pdata); in topo_walk_byid()
672 return (status); in topo_walk_byid()
678 int status; in topo_walk_bysibling() local
687 status = topo_walk_byid(wp, name, inst); in topo_walk_bysibling()
691 return (status); in topo_walk_bysibling()
697 int status; in topo_walk_step() local
717 status = wp->tw_cb(wp->tw_mod, cnp, wp->tw_pdata); in topo_walk_step()
719 status = wp->tw_cb(wp->tw_thp, cnp, wp->tw_pdata); in topo_walk_step()
724 if (status != TOPO_WALK_NEXT) { in topo_walk_step()
726 return (status); in topo_walk_step()
730 status = step_child(cnp, wp, flag, 0); in topo_walk_step()
732 status = step_sibling(cnp, wp, flag, 0); in topo_walk_step()
739 if (status == TOPO_WALK_TERMINATE) { in topo_walk_step()
741 status = step_sibling(cnp, wp, flag, 0); in topo_walk_step()
743 status = step_child(cnp, wp, flag, 0); in topo_walk_step()
748 return (status); in topo_walk_step()
765 int status; in topo_walk_bottomup() local
793 status = step_child(cnp, wp, flag, 1); in topo_walk_bottomup()
795 status = step_sibling(cnp, wp, flag, 1); in topo_walk_bottomup()
800 if (status == TOPO_WALK_TERMINATE) { in topo_walk_bottomup()
801 if ((status = wp->tw_cb(wp->tw_thp, cnp, wp->tw_pdata)) in topo_walk_bottomup()
804 return (status); in topo_walk_bottomup()
811 if (status == TOPO_WALK_NEXT) { in topo_walk_bottomup()
813 status = step_sibling(cnp, wp, flag, 1); in topo_walk_bottomup()
815 status = step_child(cnp, wp, flag, 1); in topo_walk_bottomup()
820 return (status); in topo_walk_bottomup()