Lines Matching refs:numloc
43 int numloc;
53 copy_nsdblist(int numloc, nsdb_entry_t **locations)
58 newlocs = (nsdb_entry_t **)calloc(sizeof (nsdb_entry_t *), numloc);
61 for (i = 0; i < numloc; i++) {
88 nsdb_free(numloc, newlocs);
112 nsdb_free(n->numloc, n->locations);
125 cache_nsdb(char *host, int port, char *uuid, int numloc, nsdb_entry_t **locs)
129 if (numloc == 0)
146 new->numloc = numloc;
148 new->locations = copy_nsdblist(numloc, locs);
179 nsdb_free(n->numloc, n->locations);
188 nsdb_free(numloc, new->locations);
220 nsdb_free(n->numloc, n->locations);
242 loclist = copy_nsdblist(n->numloc, n->locations);
249 return (n->numloc);