Lines Matching defs:ne
130 name_entry_t *ne, *best;
161 for (ne = names; ne != NULL; ne = ne->ne_next) {
162 if (ne->ne_guid == guid) {
167 best = ne;
171 src = ne->ne_name + strlen(ne->ne_name) - 1;
173 for (count = 0; src >= ne->ne_name && dst >= path;
183 best = ne;
217 name_entry_t *ne;
228 if ((ne = zfs_alloc(hdl, sizeof (name_entry_t))) == NULL)
231 if ((ne->ne_name = zfs_strdup(hdl, path)) == NULL) {
232 free(ne);
235 ne->ne_guid = vdev_guid;
236 ne->ne_next = pl->names;
237 pl->names = ne;
328 if ((ne = zfs_alloc(hdl, sizeof (name_entry_t))) == NULL)
331 if ((ne->ne_name = zfs_strdup(hdl, path)) == NULL) {
332 free(ne);
336 ne->ne_guid = vdev_guid;
337 ne->ne_next = pl->names;
338 pl->names = ne;
1294 name_entry_t *ne, *nenext;
1499 for (ne = pools.names; ne != NULL; ne = nenext) {
1500 nenext = ne->ne_next;
1501 if (ne->ne_name)
1502 free(ne->ne_name);
1503 free(ne);