• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/usr/eclipseclp/Kernel/src/

Lines Matching refs:parent

179 #define SMSG_BACKTRACK        1       /* parent, leaf */
180 #define SMSG_STRAIGHTEN 2 /* parent, child, leaf, parent0, nxtcls */
181 #define SMSG_CUT 3 /* (a) parent, leaf */
182 #define SMSG_CUT_OK 4 /* leaf, parent, info */
183 #define SMSG_CHOP 5 /* child, parent, ancestor */
184 #define SMSG_WITHERED 6 /* parent, child */
185 #define SMSG_LODGE 7 /* (a) parent, leaf */
186 #define SMSG_LODGED 8 /* leaf, parent */
188 #define SMSG_JS_PROLOGUE 10 /* parent, child, leaf */
189 #define SMSG_JS_TRAV_UP 11 /* parent, child, leaf, coma */
190 #define SMSG_JS_TRAV_DN 12 /* child, parent, leaf, coma */
191 #define SMSG_JS_INSTALL 13 /* child, parent, leaf, coma */
193 #define SMSG_JS_SUCCESS 15 /* leaf, parent, nxtcls, info */
194 #define SMSG_JS_TRUST 16 /* leaf, parent, parent0, nxtcls, info */
196 #define SMSG_JS_AGAIN 18 /* parent, leaf */
197 #define SMSG_LOAD_REPORT 19 /* parent, child */
198 #define SMSG_SET_JS_ROOT 20 /* child, parent */
201 #define SMSG_TELL_IDLE 23 /* parent, leaf */
202 #define SMSG_LODGE_IDLE 24 /* parent, child, leaf */
203 #define SMSG_IDLE_TOLD 25 /* leaf, parent */
204 #define SMSG_STOP_IDLE 26 /* parent, leaf */
205 #define SMSG_LMP 27 /* child, parent */
206 #define SMSG_REDUCE_WK_UP 28 /* parent, child */
207 #define SMSG_REDUCE_WK_DN 29 /* child, parent */
208 #define SMSG_ENGINE_MIGRATE 30 /* parent, leaf */
214 parent (or ancestors as future parent) as 1st argument
243 migrate to the new parent
689 #define sch_msg_snd_backtrack(parent, leaf) \
690 smsg_snd00((parent),SMSG_BACKTRACK,(leaf))
691 #define sch_msg_snd_lodged(leaf,parent) \
692 smsg_snd00((leaf),SMSG_LODGED,(parent))
699 #define sch_msg_snd_load_report(parent,child) \
700 smsg_snd00((parent),SMSG_LOAD_REPORT,(child))
701 #define sch_msg_snd_set_js_root(child,parent) \
702 smsg_snd00((child),SMSG_SET_JS_ROOT,(parent))
703 #define sch_msg_snd_js_again(parent,leaf) \
704 smsg_snd00((parent),SMSG_JS_AGAIN,(leaf))
709 #define sch_msg_snd_idle_told(leaf,parent) \
710 smsg_snd00((leaf),SMSG_IDLE_TOLD,(parent))
711 #define sch_msg_snd_lmp(child,parent) \
712 smsg_snd00((child),SMSG_LMP,(parent))
713 #define sch_msg_snd_tell_idle(parent,leaf) \
714 smsg_snd00((parent),SMSG_TELL_IDLE,(leaf))
715 #define sch_msg_snd_stop_idle(parent,leaf) \
716 smsg_snd00((parent),SMSG_STOP_IDLE,(leaf))
717 #define sch_msg_snd_reduce_wk_up(parent,child) \
718 smsg_snd00((parent),SMSG_REDUCE_WK_UP,(child))
719 #define sch_msg_snd_reduce_wk_dn(child, parent) \
720 smsg_snd00((child),SMSG_REDUCE_WK_DN,(parent))
721 #define sch_msg_snd_engine_migrate(parent,leaf) \
722 smsg_snd00((parent),SMSG_ENGINE_MIGRATE,(leaf))
724 #define sch_msg_snd_cut_ok(leaf,parent,info) \
725 smsg_snd01((leaf),SMSG_CUT_OK,(parent),(info))
729 #define sch_msg_snd_js_success(leaf,parent,nxtcls,info) \
730 smsg_snd02((leaf),SMSG_JS_SUCCESS,(parent),(nxtcls),(info))
732 #define sch_msg_snd_cut(parent, olf, leaf) \
733 smsg_snd10((parent),SMSG_CUT,(olf),(leaf))
734 #define sch_msg_snd_lodge(parent,child,leaf) \
735 smsg_snd10((parent),SMSG_LODGE,(child),(leaf))
736 #define sch_msg_snd_chop(child,parent,ancestor) \
737 smsg_snd10((child),SMSG_CHOP,(parent),(ancestor))
738 #define sch_msg_snd_lodge_idle(parent,child,leaf) \
739 smsg_snd10((parent),SMSG_LODGE_IDLE,(child),(leaf))
740 #define sch_msg_snd_js_prologue(parent,child,leaf) \
741 smsg_snd10((parent),SMSG_JS_PROLOGUE,(child),(leaf))
743 #define sch_msg_snd_js_trust(leaf,parent,parent_alt,nxtcls,info) \
744 smsg_snd12((leaf),SMSG_JS_TRUST,(parent),(parent_alt),(nxtcls),(info))
746 #define sch_msg_snd_js_trav_up(parent,child,leaf,coma) \
747 smsg_snd20((parent),SMSG_JS_TRAV_UP,(child),(leaf),(coma))
748 #define sch_msg_snd_js_trav_dn(child,parent,leaf,coma) \
749 smsg_snd20((child),SMSG_JS_TRAV_DN,(parent),(leaf),(coma))
753 #define sch_msg_snd_straighten(parent,child,leaf,parent_alt,alt) \
754 smsg_snd21((parent),SMSG_STRAIGHTEN,(child),(leaf),(parent_alt),(alt))
756 #define sch_msg_snd_js_install(child,parent,lodge,leaf,coma) \
757 smsg_snd30((child), SMSG_JS_INSTALL, (parent),(lodge),(leaf),(coma))
1165 st_id_t parent; parent = *SupTree(leaf);
1168 Smsg_ShortCut_End(leaf, &parent,
1169 sch_msg_hdl_js_trav_up(&parent,leaf,&parent,leaf),
1170 sch_msg_snd_js_trav_up(&parent,leaf,&parent,leaf)
1177 /* imagine: the leaf is jsroot, and its parent is a worker_boundry
1190 Smsg_ShortCut_End(leaf, &parent,
1191 sch_msg_hdl_tell_idle(&parent, leaf),
1192 sch_msg_snd_tell_idle(&parent, leaf)
1195 Smsg_ShortCut_End(leaf, &parent,
1196 sch_msg_hdl_backtrack(&parent, leaf),
1197 sch_msg_snd_backtrack(&parent, leaf)
1212 st_id_t olf, nlf, parent;
1216 parent = *(st_id_t *) parent_hdl;
1227 Smsg_ShortCut_End(&olf, &parent,
1228 sch_msg_hdl_cut(&parent, &olf, &nlf),
1229 sch_msg_snd_cut(&parent, &olf, &nlf)
1363 st_id_t * parent = (st_id_t *)parent_hdl;
1377 Add_Alive_Twig_Next(parent,&nlf,Knot(olf),Trunk(olf)->prev);
1378 Twig(parent)->info = Trunk(&nlf)->info = Trunk(olf)->info;
1390 *SupTree(&nlf) = *parent;
1392 Sch_Event_Notify3("LF_SPROUT","alt ",SupTree(parent),parent,&nlf);
1495 static void sch_msg_hdl_straighten(self,child,leaf,parent,alt)
1496 st_id_t *self, *child, *leaf, *parent;
1510 sch_msg_hdl_js_trust(leaf,&twig,parent,alt,Twig(&twig)->info),
1511 sch_msg_snd_js_trust(leaf,&twig,parent,alt,Twig(&twig)->info)
1520 sch_msg_hdl_js_trust(leaf,&twig,parent,alt,Twig(&twig)->info),
1521 sch_msg_snd_js_trust(leaf,&twig,parent,alt,Twig(&twig)->info)
1610 sch_msg_hdl_straighten(SupTree(self),self,leaf,parent,alt),
1611 sch_msg_snd_straighten(SupTree(self),self,leaf,parent,alt)
1674 static void sch_msg_hdl_js_success(leaf,parent,nxtcls,info)
1675 st_id_t *leaf, *parent;
1678 Smsg_Hdl_Notify(SMSG_JS_SUCCESS, leaf,parent);
1679 eng_backtrack(LeafEngine(leaf),(st_handle_t *)parent,(unsigned) nxtcls);
1691 if (ComnNode(SupTree(leaf),parent))
1703 *SupTree(leaf) = *parent;
1709 static void sch_msg_hdl_js_trust(leaf,parent,parent_nxtcls,nxtcls,info)
1710 st_id_t *leaf, *parent, *parent_nxtcls;
1713 Smsg_Hdl_Notify(SMSG_JS_TRUST, leaf,parent);
1727 eng_undo_publish(LeafEngine(leaf),(st_handle_t *)parent);
1729 eng_undo_publish(LeafEngine(leaf), (st_handle_t *)parent);
1732 *SupTree(leaf) = *parent;
1815 static void sch_msg_hdl_cut_ok(leaf, parent, info)
1816 st_id_t *leaf, *parent;
1819 Smsg_Hdl_Notify(SMSG_CUT_OK, leaf, parent);
1825 *SupTree(leaf) = *parent;
1827 eng_cut_ok(LeafEngine(leaf), (st_handle_t *)parent);
1890 static void sch_msg_hdl_lodged(leaf, parent)
1891 st_id_t *leaf, *parent;
1893 Smsg_Hdl_Notify(SMSG_LODGED, leaf, parent);
1894 eng_backtrack(LeafEngine(leaf), (st_handle_t *)parent, 0);
1902 *SupTree(leaf) = *parent;
1909 if (ComnNode(SupTree(leaf),parent))
1922 *SupTree(leaf) = *parent;
1963 static void sch_msg_hdl_chop(self,parent,ancestor)
1964 st_id_t *self, *parent, *ancestor;
1966 Smsg_Hdl_Notify(SMSG_CHOP,self,parent);
2134 static void sch_msg_hdl_js_trav_dn(self,parent,coma,leaf)
2135 st_id_t *self, *parent, *coma, *leaf;
2138 Smsg_Hdl_Notify(SMSG_JS_TRAV_DN, self,parent);
2287 static void sch_msg_hdl_js_install(self,parent,lodge,coma,leaf)
2288 st_id_t *self, *parent, *lodge, *coma, *leaf;
2290 Smsg_Hdl_Notify(SMSG_JS_INSTALL, self,parent);
2421 static void sch_msg_hdl_set_js_root(self, parent)
2422 st_id_t *self, *parent;
2424 Smsg_Hdl_Notify(SMSG_SET_JS_ROOT, self, parent);
2573 static void sch_msg_hdl_idle_told(leaf, parent)
2574 st_id_t *leaf, *parent;
2576 Smsg_Hdl_Notify(SMSG_IDLE_TOLD,leaf,parent);
2587 if (ComnNode(SupTree(leaf),parent))
2599 *SupTree(leaf) = *parent;
2611 eng_backtrack(LeafEngine(leaf), (st_handle_t *)parent, 0);
2704 static void sch_msg_hdl_reduce_wk_dn(self, parent)
2705 st_id_t *self, *parent;
2707 Smsg_Hdl_Notify(SMSG_REDUCE_WK_DN, self, parent);
2786 static void sch_msg_hdl_lmp(self, parent)
2787 st_id_t *self, *parent;
2789 Smsg_Hdl_Notify(SMSG_LMP, self, parent);