Searched refs:cfid (Results 1 - 7 of 7) sorted by relevance
/linux-master/fs/smb/client/ |
H A D | cached_dir.c | 16 static void free_cached_dir(struct cached_fid *cfid); 25 struct cached_fid *cfid; local 28 list_for_each_entry(cfid, &cfids->entries, entry) { 29 if (!strcmp(cfid->path, path)) { 35 if (!cfid->time || !cfid->has_lease) { 39 kref_get(&cfid->refcount); 41 return cfid; 52 cfid = init_cached_dir(path); 53 if (cfid 145 struct cached_fid *cfid; local 395 struct cached_fid *cfid; local 418 struct cached_fid *cfid = container_of(ref, struct cached_fid, local 446 struct cached_fid *cfid = NULL; local 464 close_cached_dir(struct cached_fid *cfid) argument 476 struct cached_fid *cfid; local 503 struct cached_fid *cfid, *q; local 541 struct cached_fid *cfid = container_of(work, local 553 struct cached_fid *cfid; local 585 struct cached_fid *cfid; local 605 free_cached_dir(struct cached_fid *cfid) argument 629 struct cached_fid *cfid, *q; local 694 struct cached_fid *cfid, *q; local [all...] |
H A D | cached_dir.h | 68 bool lookup_only, struct cached_fid **cfid); 71 struct cached_fid **cfid); 72 extern void close_cached_dir(struct cached_fid *cfid);
|
H A D | readdir.c | 896 struct cached_fid *cfid) 905 if (cfid) { 906 mutex_lock(&cfid->dirents.de_mutex); 907 add_cached_dirent(&cfid->dirents, ctx, name, namelen, 909 mutex_unlock(&cfid->dirents.de_mutex); 918 struct cached_fid *cfid) 1008 &fattr, cfid); 1027 struct cached_fid *cfid = NULL; local 1048 rc = open_cached_dir(xid, tcon, full_path, cifs_sb, false, &cfid); 1053 mutex_lock(&cfid 893 cifs_dir_emit(struct dir_context *ctx, const char *name, int namelen, struct cifs_fattr *fattr, struct cached_fid *cfid) argument 915 cifs_filldir(char *find_entry, struct file *file, struct dir_context *ctx, char *scratch_buf, unsigned int max_len, struct cached_fid *cfid) argument [all...] |
H A D | smb2inode.c | 868 struct cached_fid *cfid = NULL; local 891 cifs_sb, false, &cfid); 895 if (cfid->file_all_info_is_valid) { 896 memcpy(&data->fi, &cfid->file_all_info, 900 cfid->fid.persistent_fid, 901 cfid->fid.volatile_fid, 904 close_cached_dir(cfid);
|
H A D | smb2ops.c | 814 struct cached_fid *cfid = NULL; local 825 rc = open_cached_dir(xid, tcon, "", cifs_sb, false, &cfid); 827 memcpy(&fid, &cfid->fid, sizeof(struct cifs_fid)); 844 if (cfid == NULL) 847 close_cached_dir(cfid); 891 struct cached_fid *cfid; local 895 rc = open_cached_dir(xid, tcon, full_path, cifs_sb, true, &cfid); 897 if (cfid->has_lease) { 898 close_cached_dir(cfid); 901 close_cached_dir(cfid); 2647 struct cached_fid *cfid = NULL; local [all...] |
H A D | inode.c | 2387 struct cached_fid *cfid = NULL; local 2398 if (!open_cached_dir_by_dentry(tcon, dentry->d_parent, &cfid)) { 2399 spin_lock(&cfid->fid_lock); 2400 if (cfid->time && cifs_i->time > cfid->time) { 2401 spin_unlock(&cfid->fid_lock); 2402 close_cached_dir(cfid); 2405 spin_unlock(&cfid->fid_lock); 2406 close_cached_dir(cfid);
|
/linux-master/drivers/cpufreq/ |
H A D | powernow-k7.c | 253 int cfid; local 264 cfid = fidvidstatus.bits.CFID; 265 freqs.old = fsb * fid_codes[cfid] / 10; 556 unsigned int cfid; local 561 cfid = fidvidstatus.bits.CFID; 563 return fsb * fid_codes[cfid] / 10;
|
Completed in 211 milliseconds