Home
last modified time | relevance | path

Searched refs:cfids (Results 1 – 2 of 2) sorted by relevance

/linux/fs/smb/client/
H A Dcached_dir.c26 static struct cached_fid *find_or_create_cached_dir(struct cached_fids *cfids, in find_or_create_cached_dir() argument
33 list_for_each_entry(cfid, &cfids->entries, entry) { in find_or_create_cached_dir()
49 if (cfids->num_entries >= max_cached_dirs) { in find_or_create_cached_dir()
56 cfid->cfids = cfids; in find_or_create_cached_dir()
57 cfids->num_entries++; in find_or_create_cached_dir()
58 list_add(&cfid->entry, &cfids->entries); in find_or_create_cached_dir()
155 struct cached_fids *cfids; in open_cached_dir() local
167 cfids = tcon->cfids; in open_cached_dir()
169 if (cfids == NULL) in open_cached_dir()
185 spin_lock(&cfids->cfid_list_lock); in open_cached_dir()
[all …]
H A Dmisc.c131 ret_buf->cfids = init_cached_dirs(); in tcon_info_alloc()
132 if (!ret_buf->cfids) { in tcon_info_alloc()
178 free_cached_dirs(tcon->cfids); in tconInfoFree()