Lines Matching refs:free_slot
4273 struct fd_cache *free_slot, *oldest_slot, *cp; in alloc_fdcache() local
4302 free_slot = NULL; in alloc_fdcache()
4324 if (free_slot == NULL) { in alloc_fdcache()
4325 free_slot = cp; in alloc_fdcache()
4358 free_slot = oldest_slot; in alloc_fdcache()
4378 if (free_slot == NULL) { in alloc_fdcache()
4397 free_slot = &cache[cache_size - FD_ALLOC_INCR]; in alloc_fdcache()
4404 free_slot->c_fd = fd; in alloc_fdcache()
4405 free_slot->c_oflags = oflags; in alloc_fdcache()
4406 strcpy(free_slot->c_file, file); in alloc_fdcache()
4408 free_slot->c_rtc = _rtc(); in alloc_fdcache()
4410 free_slot->c_rtc = Reqno; in alloc_fdcache()
4426 free_slot->c_memalign = finfo.d_mem; in alloc_fdcache()
4427 free_slot->c_miniosz = finfo.d_miniosz; in alloc_fdcache()
4428 free_slot->c_maxiosz = finfo.d_maxiosz; in alloc_fdcache()
4431 free_slot->c_memaddr = NULL; in alloc_fdcache()
4432 free_slot->c_memlen = 0; in alloc_fdcache()
4435 return free_slot; in alloc_fdcache()