Lines Matching refs:nextid
1425 uint32_t nextid; in handle_alloc_entityid() local
1438 nextid = h->rh_nextentity + 1; in handle_alloc_entityid()
1442 if (nextid == 0) { in handle_alloc_entityid()
1443 nextid++; in handle_alloc_entityid()
1449 cur = uu_list_find(h->rh_dataels, NULL, &nextid, NULL); in handle_alloc_entityid()
1453 if (nextid == h->rh_nextentity) in handle_alloc_entityid()
1455 nextid++; in handle_alloc_entityid()
1458 h->rh_nextentity = nextid; in handle_alloc_entityid()
1459 return (nextid); in handle_alloc_entityid()
1465 uint32_t nextid; in handle_alloc_iterid() local
1473 nextid = h->rh_nextiter + 1; in handle_alloc_iterid()
1477 if (nextid == 0) { in handle_alloc_iterid()
1478 nextid++; in handle_alloc_iterid()
1484 cur = uu_list_find(h->rh_iters, NULL, &nextid, NULL); in handle_alloc_iterid()
1488 if (nextid == h->rh_nextiter) in handle_alloc_iterid()
1490 nextid++; in handle_alloc_iterid()
1493 h->rh_nextiter = nextid; in handle_alloc_iterid()
1494 return (nextid); in handle_alloc_iterid()
1500 uint32_t nextid; in handle_next_changeid() local
1504 nextid = ++handle->rh_nextchangeid; in handle_next_changeid()
1505 if (nextid == 0) in handle_next_changeid()
1506 nextid = ++handle->rh_nextchangeid; in handle_next_changeid()
1507 return (nextid); in handle_next_changeid()