Lines Matching refs:flag

595 step_child(tnode_t *cnp, topo_walk_t *wp, int flag, int bottomup)  in step_child()  argument
616 status = topo_walk_bottomup(wp, flag); in step_child()
618 status = topo_walk_step(wp, flag); in step_child()
624 step_sibling(tnode_t *cnp, topo_walk_t *wp, int flag, int bottomup) in step_sibling() argument
645 status = topo_walk_bottomup(wp, flag); in step_sibling()
647 status = topo_walk_step(wp, flag); in step_sibling()
695 topo_walk_step(topo_walk_t *wp, int flag) in topo_walk_step() argument
700 if (flag != TOPO_WALK_CHILD && flag != TOPO_WALK_SIBLING) { in topo_walk_step()
729 if (flag == TOPO_WALK_CHILD) 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()
740 if (flag == TOPO_WALK_CHILD) 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()
763 topo_walk_bottomup(topo_walk_t *wp, int flag) in topo_walk_bottomup() argument
772 if (flag != TOPO_WALK_CHILD && flag != TOPO_WALK_SIBLING) { in topo_walk_bottomup()
789 (flag == TOPO_WALK_CHILD ? "TOPO_WALK_CHILD" : "TOPO_WALK_SIBLING"), in topo_walk_bottomup()
792 if (flag == TOPO_WALK_CHILD) in topo_walk_bottomup()
793 status = step_child(cnp, wp, flag, 1); in topo_walk_bottomup()
795 status = step_sibling(cnp, wp, flag, 1); in topo_walk_bottomup()
812 if (flag == TOPO_WALK_CHILD) 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()