Searched refs:cmpname_size (Results 1 – 1 of 1) sorted by relevance
773 int cmpname_size; /* how much memory we allocate for it */ in hs_dirlook() local805 cmpname_size = (int)(fsp->hsfs_namemax + 1); in hs_dirlook()806 cmpname = kmem_alloc((size_t)cmpname_size, KM_SLEEP); in hs_dirlook()808 if (namlen >= cmpname_size) in hs_dirlook()809 namlen = cmpname_size - 1; in hs_dirlook()815 (void) strlcpy(cmpname, name, cmpname_size); in hs_dirlook()910 kmem_free(cmpname, (size_t)cmpname_size); in hs_dirlook()