Lines Matching defs:ne
133 name_entry_t *ne, *best;
164 for (ne = names; ne != NULL; ne = ne->ne_next) {
165 if (ne->ne_guid == guid) {
170 best = ne;
174 src = ne->ne_name + strlen(ne->ne_name) - 1;
176 for (count = 0; src >= ne->ne_name && dst >= path;
186 best = ne;
222 name_entry_t *ne;
233 if ((ne = zfs_alloc(hdl, sizeof (name_entry_t))) == NULL)
236 if ((ne->ne_name = zfs_strdup(hdl, path)) == NULL) {
237 free(ne);
240 ne->ne_guid = vdev_guid;
241 ne->ne_next = pl->names;
242 pl->names = ne;
333 if ((ne = zfs_alloc(hdl, sizeof (name_entry_t))) == NULL)
336 if ((ne->ne_name = zfs_strdup(hdl, path)) == NULL) {
337 free(ne);
341 ne->ne_guid = vdev_guid;
342 ne->ne_next = pl->names;
343 pl->names = ne;
1137 name_entry_t *ne, *nenext;
1291 for (ne = pools.names; ne != NULL; ne = nenext) {
1292 nenext = ne->ne_next;
1293 free(ne->ne_name);
1294 free(ne);