Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/client/
H A Dfile.c557 cifsFileInfo_get(struct cifsFileInfo *cifs_file) in cifsFileInfo_get() argument
559 spin_lock(&cifs_file->file_info_lock); in cifsFileInfo_get()
560 cifsFileInfo_get_locked(cifs_file); in cifsFileInfo_get()
561 spin_unlock(&cifs_file->file_info_lock); in cifsFileInfo_get()
562 return cifs_file; in cifsFileInfo_get()
565 static void cifsFileInfo_put_final(struct cifsFileInfo *cifs_file) in cifsFileInfo_put_final() argument
567 struct inode *inode = d_inode(cifs_file->dentry); in cifsFileInfo_put_final()
577 list_for_each_entry_safe(li, tmp, &cifs_file->llist->locks, llist) { in cifsFileInfo_put_final()
582 list_del(&cifs_file->llist->llist); in cifsFileInfo_put_final()
583 kfree(cifs_file->llist); in cifsFileInfo_put_final()
[all …]
H A Dcifsglob.h1547 cifsFileInfo_get_locked(struct cifsFileInfo *cifs_file) in cifsFileInfo_get_locked() argument
1549 ++cifs_file->count; in cifsFileInfo_get_locked()
1552 struct cifsFileInfo *cifsFileInfo_get(struct cifsFileInfo *cifs_file);
1553 void _cifsFileInfo_put(struct cifsFileInfo *cifs_file, bool wait_oplock_hdlr,
1555 void cifsFileInfo_put(struct cifsFileInfo *cifs_file);