Lines Matching refs:xid
173 * primary sort is by xid
174 * secondary sort is by slot, which happens when xid is 0
175 * this allows us to quickly find xids (using binary search on the xid key)
194 if (ai->xid < bi->xid) return -1;
196 if (ai->xid == bi->xid)
206 /* find an xid in the slot list */
208 slotlist_find(asl_legacy1_t *s, uint64_t xid, int32_t direction)
214 if (xid == 0) return ASL_INDEX_NULL;
223 if (xid == s->slotlist[mid].xid) return mid;
224 else if (xid < s->slotlist[mid].xid) top = mid;
231 if (xid == s->slotlist[top].xid) return top;
232 if (xid == s->slotlist[bot].xid) return bot;
243 uint64_t xid;
264 xid = 0;
272 xid = header_get_id(tmp);
279 xid = header_get_id(tmp);
286 s->slotlist[si].xid = xid;
296 /* slotlist is sorted by xid */
732 uint64_t xid;
786 xid = s->slotlist[si].xid;
788 *last_id = xid;