Searched refs:dl_namesize (Results 1 – 2 of 2) sorted by relevance
272 dl->dl_namesize = 0; in zfs_dirent_lock()289 if ((flag & ZSHARED) && ++dl->dl_sharecnt > 1 && dl->dl_namesize == 0) { in zfs_dirent_lock()298 dl->dl_namesize = strlen(dl->dl_name) + 1; in zfs_dirent_lock()299 name = kmem_alloc(dl->dl_namesize, KM_SLEEP); in zfs_dirent_lock()300 memcpy(name, dl->dl_name, dl->dl_namesize); in zfs_dirent_lock()368 if (dl->dl_namesize != 0) in zfs_dirent_unlock()369 kmem_free(dl->dl_name, dl->dl_namesize); in zfs_dirent_unlock()
177 uint16_t dl_namesize; /* set if dl_name was allocated */ member