Lines Matching refs:fid
177 struct cifs_fid *fid, unsigned int xid) in cifs_nt_open() argument
233 oparms.fid = fid; in cifs_nt_open()
246 xid, fid); in cifs_nt_open()
271 cifs_new_fileinfo(struct cifs_fid *fid, struct file *file, in cifs_new_fileinfo() argument
321 if (fid->pending_open->oplock != CIFS_OPLOCK_NO_CHANGE && oplock) in cifs_new_fileinfo()
322 oplock = fid->pending_open->oplock; in cifs_new_fileinfo()
323 list_del(&fid->pending_open->olist); in cifs_new_fileinfo()
325 fid->purge_cache = false; in cifs_new_fileinfo()
326 server->ops->set_fid(cfile, fid, oplock); in cifs_new_fileinfo()
336 if (fid->purge_cache) in cifs_new_fileinfo()
366 struct cifs_fid fid; in cifsFileInfo_put() local
377 server->ops->get_lease_key(inode, &fid); in cifsFileInfo_put()
380 cifs_add_pending_open_locked(&fid, cifs_file->tlink, &open); in cifsFileInfo_put()
408 server->ops->close(xid, tcon, &cifs_file->fid); in cifsFileInfo_put()
450 struct cifs_fid fid; in cifs_open() local
492 file->f_flags, &oplock, &fid.netfid, xid); in cifs_open()
512 server->ops->get_lease_key(inode, &fid); in cifs_open()
514 cifs_add_pending_open(&fid, tlink, &open); in cifs_open()
518 server->ops->get_lease_key(inode, &fid); in cifs_open()
521 file->f_flags, &oplock, &fid, xid); in cifs_open()
528 cfile = cifs_new_fileinfo(&fid, file, tlink, oplock); in cifs_open()
531 server->ops->close(xid, tcon, &fid); in cifs_open()
553 CIFSSMBUnixSetFileInfo(xid, tcon, &args, fid.netfid, in cifs_open()
661 oflags, &oplock, &cfile->fid.netfid, xid); in cifs_reopen_file()
679 server->ops->get_lease_key(inode, &cfile->fid); in cifs_reopen_file()
687 oparms.fid = &cfile->fid; in cifs_reopen_file()
735 server->ops->set_fid(cfile, &cfile->fid, oplock); in cifs_reopen_file()
780 rc = server->ops->close_dir(xid, tcon, &cfile->fid); in cifs_closedir()
1091 cfile->fid.netfid, in cifs_push_mandatory_locks()
1103 stored_rc = cifs_lockv(xid, tcon, cfile->fid.netfid, in cifs_push_mandatory_locks()
1182 lck->netfid = cfile->fid.netfid; in cifs_push_posix_locks()
1295 __u16 netfid = cfile->fid.netfid; in cifs_getlk()
1441 cfile->fid.netfid, in cifs_unlock_range()
1464 stored_rc = cifs_lockv(xid, tcon, cfile->fid.netfid, in cifs_unlock_range()
1507 rc = CIFSSMBPosixLock(xid, tcon, cfile->fid.netfid, in cifs_setlk()
1587 netfid = cfile->fid.netfid; in cifs_lock()
1687 rc = server->ops->sync_write(xid, &open_file->fid, in cifs_write()
2289 rc = server->ops->flush(xid, tcon, &smbfile->fid); in cifs_strict_fsync()
2323 rc = server->ops->flush(xid, tcon, &smbfile->fid); in cifs_fsync()
3185 rc = server->ops->sync_read(xid, &open_file->fid, &io_parms, in cifs_read()
3840 rc = tcon->ses->server->ops->oplock_response(tcon, &cfile->fid, in cifs_oplock_break()