Searched refs:cifs_file (Results 1 – 2 of 2) sorted by relevance
541 cifsFileInfo_get(struct cifsFileInfo *cifs_file) in cifsFileInfo_get() argument543 spin_lock(&cifs_file->file_info_lock); in cifsFileInfo_get()544 cifsFileInfo_get_locked(cifs_file); in cifsFileInfo_get()545 spin_unlock(&cifs_file->file_info_lock); in cifsFileInfo_get()546 return cifs_file; in cifsFileInfo_get()549 static void cifsFileInfo_put_final(struct cifsFileInfo *cifs_file) in cifsFileInfo_put_final() argument551 struct inode *inode = d_inode(cifs_file->dentry); in cifsFileInfo_put_final()561 list_for_each_entry_safe(li, tmp, &cifs_file->llist->locks, llist) { in cifsFileInfo_put_final()566 list_del(&cifs_file->llist->llist); in cifsFileInfo_put_final()567 kfree(cifs_file->llist); in cifsFileInfo_put_final()[all …]
1504 cifsFileInfo_get_locked(struct cifsFileInfo *cifs_file) in cifsFileInfo_get_locked() argument1506 ++cifs_file->count; in cifsFileInfo_get_locked()1509 struct cifsFileInfo *cifsFileInfo_get(struct cifsFileInfo *cifs_file);1510 void _cifsFileInfo_put(struct cifsFileInfo *cifs_file, bool wait_oplock_hdlr,1512 void cifsFileInfo_put(struct cifsFileInfo *cifs_file);