Home
last modified time | relevance | path

Searched refs:cifs_file (Results 1 – 2 of 2) sorted by relevance

/linux/fs/smb/client/
H A Dfile.c766 cifsFileInfo_get(struct cifsFileInfo *cifs_file) in cifsFileInfo_get()
768 spin_lock(&cifs_file->file_info_lock); in cifsFileInfo_get()
769 cifsFileInfo_get_locked(cifs_file); in cifsFileInfo_get()
770 spin_unlock(&cifs_file->file_info_lock);
771 return cifs_file; in cifsFileInfo_put_final() argument
774 static void cifsFileInfo_put_final(struct cifsFileInfo *cifs_file) in cifsFileInfo_put_final()
776 struct inode *inode = d_inode(cifs_file->dentry); in cifsFileInfo_put_final()
785 list_for_each_entry_safe(li, tmp, &cifs_file->llist->locks, llist) { in cifsFileInfo_put_final()
790 list_del(&cifs_file->llist->llist); in cifsFileInfo_put_final()
791 kfree(cifs_file in cifsFileInfo_put_final()
763 cifsFileInfo_get(struct cifsFileInfo * cifs_file) cifsFileInfo_get() argument
799 struct cifsFileInfo *cifs_file = container_of(work, cifsFileInfo_put_work() local
807 struct cifsFileInfo *cifs_file = container_of(work, serverclose_work() local
846 cifsFileInfo_put(struct cifsFileInfo * cifs_file) cifsFileInfo_put() argument
867 _cifsFileInfo_put(struct cifsFileInfo * cifs_file,bool wait_oplock_handler,bool offload) _cifsFileInfo_put() argument
[all...]
H A Dcifsglob.h1512 cifsFileInfo_get_locked(struct cifsFileInfo *cifs_file)
1514 ++cifs_file->count;
1517 struct cifsFileInfo *cifsFileInfo_get(struct cifsFileInfo *cifs_file); in cifsFileInfo_get_locked()
1518 void _cifsFileInfo_put(struct cifsFileInfo *cifs_file, in cifsFileInfo_get_locked()
1520 void cifsFileInfo_put(struct cifsFileInfo *cifs_file);
2081 * structure order is cifs_socket-->cifs_ses-->cifs_tcon-->cifs_file
1516 cifsFileInfo_get_locked(struct cifsFileInfo * cifs_file) cifsFileInfo_get_locked() argument