Home
last modified time | relevance | path

Searched refs:cmpname_size (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/uts/common/fs/hsfs/
H A Dhsfs_node.c773 int cmpname_size; /* how much memory we allocate for it */ in hs_dirlook() local
805 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()