Searched refs:cifs_file (Results 1 – 2 of 2) sorted by relevance
373 cifsFileInfo_get(struct cifsFileInfo *cifs_file) in cifsFileInfo_get() argument375 spin_lock(&cifs_file->file_info_lock); in cifsFileInfo_get()376 cifsFileInfo_get_locked(cifs_file); in cifsFileInfo_get()377 spin_unlock(&cifs_file->file_info_lock); in cifsFileInfo_get()378 return cifs_file; in cifsFileInfo_get()381 static void cifsFileInfo_put_final(struct cifsFileInfo *cifs_file) in cifsFileInfo_put_final() argument383 struct inode *inode = d_inode(cifs_file->dentry); in cifsFileInfo_put_final()393 list_for_each_entry_safe(li, tmp, &cifs_file->llist->locks, llist) { in cifsFileInfo_put_final()398 list_del(&cifs_file->llist->llist); in cifsFileInfo_put_final()399 kfree(cifs_file->llist); in cifsFileInfo_put_final()[all …]
1436 cifsFileInfo_get_locked(struct cifsFileInfo *cifs_file) in cifsFileInfo_get_locked() argument1438 ++cifs_file->count; in cifsFileInfo_get_locked()1441 struct cifsFileInfo *cifsFileInfo_get(struct cifsFileInfo *cifs_file);1442 void _cifsFileInfo_put(struct cifsFileInfo *cifs_file, bool wait_oplock_hdlr,1444 void cifsFileInfo_put(struct cifsFileInfo *cifs_file);