Searched refs:cfid (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/fs/smb/client/ |
H A D | cached_dir.c | 16 static void free_cached_dir(struct cached_fid *cfid); 30 struct cached_fid *cfid; in find_or_create_cached_dir() local 33 list_for_each_entry(cfid, &cfids->entries, entry) { in find_or_create_cached_dir() 34 if (!strcmp(cfid->path, path)) { in find_or_create_cached_dir() 40 if (!cfid->time || !cfid->has_lease) { in find_or_create_cached_dir() 44 kref_get(&cfid->refcount); in find_or_create_cached_dir() 46 return cfid; in find_or_create_cached_dir() 57 cfid = init_cached_dir(path); in find_or_create_cached_dir() 58 if (cfid == NULL) { in find_or_create_cached_dir() 62 cfid->cfids = cfids; in find_or_create_cached_dir() [all …]
|
H A D | readdir.c | 910 struct cached_fid *cfid) in cifs_dir_emit() argument 919 if (cfid) { in cifs_dir_emit() 920 mutex_lock(&cfid->dirents.de_mutex); in cifs_dir_emit() 921 add_cached_dirent(&cfid->dirents, ctx, name, namelen, in cifs_dir_emit() 923 mutex_unlock(&cfid->dirents.de_mutex); in cifs_dir_emit() 932 struct cached_fid *cfid) in cifs_filldir() argument 1022 &fattr, cfid); in cifs_filldir() 1041 struct cached_fid *cfid = NULL; in cifs_readdir() local 1062 rc = open_cached_dir(xid, tcon, full_path, cifs_sb, false, &cfid); in cifs_readdir() 1067 mutex_lock(&cfid->dirents.de_mutex); in cifs_readdir() [all …]
|
H A D | cached_dir.h | 72 bool lookup_only, struct cached_fid **cfid); 75 struct cached_fid **cfid); 76 extern void close_cached_dir(struct cached_fid *cfid);
|
H A D | smb2inode.c | 870 struct cached_fid *cfid = NULL; in smb2_query_path_info() local 893 cifs_sb, false, &cfid); in smb2_query_path_info() 897 if (cfid->file_all_info_is_valid) { in smb2_query_path_info() 898 memcpy(&data->fi, &cfid->file_all_info, in smb2_query_path_info() 902 cfid->fid.persistent_fid, in smb2_query_path_info() 903 cfid->fid.volatile_fid, in smb2_query_path_info() 906 close_cached_dir(cfid); in smb2_query_path_info()
|
H A D | smb2ops.c | 814 struct cached_fid *cfid = NULL; in smb3_qfs_tcon() local 825 rc = open_cached_dir(xid, tcon, "", cifs_sb, false, &cfid); in smb3_qfs_tcon() 827 memcpy(&fid, &cfid->fid, sizeof(struct cifs_fid)); in smb3_qfs_tcon() 844 if (cfid == NULL) in smb3_qfs_tcon() 847 close_cached_dir(cfid); in smb3_qfs_tcon() 891 struct cached_fid *cfid; in smb2_is_path_accessible() local 895 rc = open_cached_dir(xid, tcon, full_path, cifs_sb, true, &cfid); in smb2_is_path_accessible() 897 if (cfid->has_lease) { in smb2_is_path_accessible() 898 close_cached_dir(cfid); in smb2_is_path_accessible() 901 close_cached_dir(cfid); in smb2_is_path_accessible() [all …]
|
H A D | inode.c | 2480 struct cached_fid *cfid = NULL; local 2491 if (!open_cached_dir_by_dentry(tcon, dentry->d_parent, &cfid)) { 2492 if (cfid->time && cifs_i->time > cfid->time) { 2493 close_cached_dir(cfid); 2496 close_cached_dir(cfid);
|
/openbmc/linux/drivers/cpufreq/ |
H A D | powernow-k7.c | 253 int cfid; in powernow_target() local 264 cfid = fidvidstatus.bits.CFID; in powernow_target() 265 freqs.old = fsb * fid_codes[cfid] / 10; in powernow_target() 556 unsigned int cfid; in powernow_get() local 561 cfid = fidvidstatus.bits.CFID; in powernow_get() 563 return fsb * fid_codes[cfid] / 10; in powernow_get()
|
/openbmc/qemu/target/ppc/translate/ |
H A D | fp-impl.c.inc | 227 GEN_FLOAT_B(cfid, 0x0E, 0x1A, 1, PPC2_FP_CVT_S64);
|