Home | History | Annotate | Download | only in filecorefs

Lines Matching defs:de

297 	struct dirent *de;
330 de = kmem_zalloc(sizeof(struct dirent), KM_SLEEP);
336 de->d_fileno = dp->i_number;
337 de->d_type = DT_DIR;
338 de->d_namlen = 1;
339 strlcpy(de->d_name, ".", sizeof(de->d_name));
343 de->d_fileno = filecore_getparent(dp);
344 de->d_type = DT_DIR;
345 de->d_namlen = 2;
346 strlcpy(de->d_name, "..", sizeof(de->d_name));
349 de->d_fileno = dp->i_dirent.addr +
353 de->d_type = DT_DIR;
355 de->d_type = DT_REG;
356 if (filecore_fn2unix(dep->name, de->d_name,
358 &de->d_namlen)) {
364 de->d_reclen = _DIRENT_SIZE(de);
365 if (uio->uio_resid < de->d_reclen)
367 error = uiomove(de, de->d_reclen, uio);
394 kmem_free(de, sizeof(*de));