Lines Matching defs:free_slot
4273 struct fd_cache *free_slot, *oldest_slot, *cp;
4302 free_slot = NULL;
4308 * oldest fd slot in the cache, and free_slot will point to an
4324 if (free_slot == NULL) {
4325 free_slot = cp;
4358 free_slot = oldest_slot;
4373 * If we get here, fd is our open descriptor. If free_slot is NULL,
4374 * we need to grow the cache, otherwise free_slot is the slot that
4378 if (free_slot == NULL) {
4397 free_slot = &cache[cache_size - FD_ALLOC_INCR];
4404 free_slot->c_fd = fd;
4405 free_slot->c_oflags = oflags;
4406 strcpy(free_slot->c_file, file);
4408 free_slot->c_rtc = _rtc();
4410 free_slot->c_rtc = Reqno;
4426 free_slot->c_memalign = finfo.d_mem;
4427 free_slot->c_miniosz = finfo.d_miniosz;
4428 free_slot->c_maxiosz = finfo.d_maxiosz;
4431 free_slot->c_memaddr = NULL;
4432 free_slot->c_memlen = 0;
4435 return free_slot;