Lines Matching refs:MAXPATHLEN
84 (strlen(prom_name) >= MAXPATHLEN)) {
224 (strlen(dev_name) > MAXPATHLEN)) {
232 dev_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP);
235 kmem_free(dev_path, MAXPATHLEN);
245 kmem_free(dev_path, MAXPATHLEN);
257 kmem_free(dev_path, MAXPATHLEN);
261 prom_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP);
290 bzero(prom_path, MAXPATHLEN);
382 kmem_free(dev_path, MAXPATHLEN);
383 kmem_free(prom_path, MAXPATHLEN);
443 fullname = kmem_alloc(MAXPATHLEN, KM_SLEEP);
444 (void) snprintf(fullname, MAXPATHLEN, "/devices%s", name);
450 kmem_free(fullname, MAXPATHLEN);
462 kmem_free(fullname, MAXPATHLEN);
483 ASSERT(new_path == NULL || *len >= MAXPATHLEN);
486 *len = MAXPATHLEN + MAXNAMELEN;