Lines Matching refs:order
89 int32_t order; /* who gets priority? */
98 int32_t order;
140 int32_t order;
257 addr_is_holder(int32_t order)
260 (order == the_lock.remote_daemon->order));
307 message_buf.order = order;
356 daemon_alive(daemonaddr_t *daemon, int32_t order)
365 ldp->order = order;
387 ldp->order = order;
559 return (left->order - right->order);
570 if (the_lock.type == type && addr_is_holder(msg->order)) {
591 if (msg->order < order) {
615 lrp->order = msg->order;
658 spcs_log("cfglockd", NULL, "request %d type %d order %d", i,
659 lock_queue[i].type, lock_queue[i].order);
812 remote_unlock(int32_t order, daemonaddr_t *d)
829 if (addr_is_holder(order)) {
916 (void) printf("%6d\n", ldp->order);
949 "%19.19s recv %-9.9s from %s order %d (%ld)\n",
951 mp->order, mp->pid);
957 daemon_alive(host, mp->order);
959 mp->order = order;
967 remote_unlock(mp->order, host);
1273 /* order should be set to node number within cluster */
1274 order = cfg_iscluster();
1277 if (!order) {
1280 order = lrand48();
1282 (void) fprintf(debugfile, "WARNING: order number "
1283 "is 0 -- changing randomly to %d\n", order);