Lines Matching refs:dirents
906 mutex_lock(&cfid->dirents.de_mutex); in cifs_dir_emit()
907 add_cached_dirent(&cfid->dirents, ctx, name, namelen, in cifs_dir_emit()
909 mutex_unlock(&cfid->dirents.de_mutex); in cifs_dir_emit()
1053 mutex_lock(&cfid->dirents.de_mutex); in cifs_readdir()
1059 if (ctx->pos == 0 && cfid->dirents.ctx == NULL) { in cifs_readdir()
1060 cfid->dirents.ctx = ctx; in cifs_readdir()
1061 cfid->dirents.pos = 2; in cifs_readdir()
1067 if (cfid->dirents.is_valid) { in cifs_readdir()
1069 mutex_unlock(&cfid->dirents.de_mutex); in cifs_readdir()
1072 emit_cached_dirents(&cfid->dirents, ctx); in cifs_readdir()
1073 mutex_unlock(&cfid->dirents.de_mutex); in cifs_readdir()
1076 mutex_unlock(&cfid->dirents.de_mutex); in cifs_readdir()
1127 mutex_lock(&cfid->dirents.de_mutex); in cifs_readdir()
1128 finished_cached_dirents_count(&cfid->dirents, ctx); in cifs_readdir()
1129 mutex_unlock(&cfid->dirents.de_mutex); in cifs_readdir()
1168 mutex_lock(&cfid->dirents.de_mutex); in cifs_readdir()
1169 update_cached_dirents_count(&cfid->dirents, ctx); in cifs_readdir()
1170 mutex_unlock(&cfid->dirents.de_mutex); in cifs_readdir()