Searched refs:files_count (Results 1 – 2 of 2) sorted by relevance
137 size_t files_count) { in session_set_files_count() argument140 if (files_count > STORAGE_MAX_OPEN_FILES) { in session_set_files_count()145 if (!files_count) { in session_set_files_count()149 files = realloc(session->files, sizeof(files[0]) * files_count); in session_set_files_count()154 if (files_count > session->files_count) in session_set_files_count()155 memset(files + session->files_count, 0, in session_set_files_count()156 sizeof(files[0]) * (files_count - session->files_count)); in session_set_files_count()160 session->files_count = files_count; in session_set_files_count()162 SS_INFO("%s: new file table size, 0x%zx\n", __func__, files_count); in session_set_files_count()170 handle = session->files_count; in session_shrink_files()[all …]
37 size_t files_count; member