Lines Matching defs:dirents
914 * On successful return, *dirents points to a list of sffs_dirents_t;
916 * The caller is responsible for freeing the dirents buffer.
922 sffs_dirents_t **dirents,
942 *dirents = NULL;
949 * Allocate the first dirents buffers.
951 *dirents = kmem_alloc(SFFS_DIRENTS_SIZE, KM_SLEEP);
952 if (*dirents == NULL) {
956 cur_buf = *dirents;
1049 while (*dirents) {
1050 cur_buf = (*dirents)->sf_next;
1051 kmem_free(*dirents, SFFS_DIRENTS_SIZE);
1052 *dirents = cur_buf;