oldest 2975 source3/winbindd/winbindd_cache.c struct cred_list *cred, *oldest = NULL;
oldest 3002 source3/winbindd/winbindd_cache.c ZERO_STRUCTP(oldest);
oldest 3020 source3/winbindd/winbindd_cache.c if (!oldest) {
oldest 3021 source3/winbindd/winbindd_cache.c oldest = SMB_MALLOC_P(struct cred_list);
oldest 3022 source3/winbindd/winbindd_cache.c if (oldest == NULL) {
oldest 3027 source3/winbindd/winbindd_cache.c fstrcpy(oldest->name, cred->name);
oldest 3028 source3/winbindd/winbindd_cache.c oldest->created = t;
oldest 3032 source3/winbindd/winbindd_cache.c if (t < oldest->created) {
oldest 3033 source3/winbindd/winbindd_cache.c fstrcpy(oldest->name, cred->name);
oldest 3034 source3/winbindd/winbindd_cache.c oldest->created = t;
oldest 3038 source3/winbindd/winbindd_cache.c if (tdb_delete(cache->tdb, string_tdb_data(oldest->name)) == 0) {
oldest 3045 source3/winbindd/winbindd_cache.c SAFE_FREE(oldest);