Lines Matching refs:xid

218 smb2_negotiate(const unsigned int xid, struct cifs_ses *ses)  in smb2_negotiate()  argument
222 rc = SMB2_negotiate(xid, ses); in smb2_negotiate()
263 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces() argument
269 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, in SMB3_request_interfaces()
291 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb3_qfs_tcon() argument
306 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL); in smb3_qfs_tcon()
311 SMB3_request_interfaces(xid, tcon); in smb3_qfs_tcon()
314 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
316 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
318 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
320 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb3_qfs_tcon()
325 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb2_qfs_tcon() argument
340 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL); in smb2_qfs_tcon()
344 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb2_qfs_tcon()
346 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb2_qfs_tcon()
348 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb2_qfs_tcon()
353 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in smb2_is_path_accessible() argument
373 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL); in smb2_is_path_accessible()
379 rc = SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb2_is_path_accessible()
385 smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon, in smb2_get_srv_inum() argument
394 smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_file_info() argument
405 rc = SMB2_query_info(xid, tcon, fid->persistent_fid, fid->volatile_fid, in smb2_query_file_info()
542 smb2_close_file(const unsigned int xid, struct cifs_tcon *tcon, in smb2_close_file() argument
545 SMB2_close(xid, tcon, fid->persistent_fid, fid->volatile_fid); in smb2_close_file()
549 SMB2_request_res_key(const unsigned int xid, struct cifs_tcon *tcon, in SMB2_request_res_key() argument
557 rc = SMB2_ioctl(xid, tcon, persistent_fid, volatile_fid, in SMB2_request_res_key()
579 smb2_clone_range(const unsigned int xid, in smb2_clone_range() argument
599 rc = SMB2_request_res_key(xid, tlink_tcon(srcfile->tlink), in smb2_clone_range()
621 rc = SMB2_ioctl(xid, tcon, trgtfile->fid.persistent_fid, in smb2_clone_range()
701 smb2_flush_file(const unsigned int xid, struct cifs_tcon *tcon, in smb2_flush_file() argument
704 return SMB2_flush(xid, tcon, fid->persistent_fid, fid->volatile_fid); in smb2_flush_file()
723 smb2_sync_read(const unsigned int xid, struct cifs_fid *pfid, in smb2_sync_read() argument
729 return SMB2_read(xid, parms, bytes_read, buf, buf_type); in smb2_sync_read()
733 smb2_sync_write(const unsigned int xid, struct cifs_fid *pfid, in smb2_sync_write() argument
740 return SMB2_write(xid, parms, written, iov, nr_segs); in smb2_sync_write()
744 static bool smb2_set_sparse(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_sparse() argument
772 rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid, in smb2_set_sparse()
790 smb2_set_file_size(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_file_size() argument
806 smb2_set_sparse(xid, tcon, cfile, inode, set_sparse); in smb2_set_file_size()
809 return SMB2_set_eof(xid, tcon, cfile->fid.persistent_fid, in smb2_set_file_size()
814 smb2_set_compression(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_compression() argument
817 return SMB2_set_compression(xid, tcon, cfile->fid.persistent_fid, in smb2_set_compression()
822 smb2_query_dir_first(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_dir_first() argument
843 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL); in smb2_query_dir_first()
853 rc = SMB2_query_directory(xid, tcon, fid->persistent_fid, in smb2_query_dir_first()
857 SMB2_close(xid, tcon, fid->persistent_fid, fid->volatile_fid); in smb2_query_dir_first()
863 smb2_query_dir_next(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_dir_next() argument
867 return SMB2_query_directory(xid, tcon, fid->persistent_fid, in smb2_query_dir_next()
872 smb2_close_dir(const unsigned int xid, struct cifs_tcon *tcon, in smb2_close_dir() argument
875 return SMB2_close(xid, tcon, fid->persistent_fid, fid->volatile_fid); in smb2_close_dir()
914 smb2_queryfs(const unsigned int xid, struct cifs_tcon *tcon, in smb2_queryfs() argument
930 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL); in smb2_queryfs()
934 rc = SMB2_QFS_info(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb2_queryfs()
936 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb2_queryfs()
948 smb2_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset, in smb2_mand_lock() argument
953 return SMB2_lock(xid, tlink_tcon(cfile->tlink), in smb2_mand_lock()
977 smb2_query_symlink(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_symlink() argument
1003 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, &err_buf); in smb2_query_symlink()
1035 unsigned int xid; in smb3_zero_range() local
1037 xid = get_xid(); in smb3_zero_range()
1069 rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid, in smb3_zero_range()
1073 free_xid(xid); in smb3_zero_range()
1085 unsigned int xid; in smb3_punch_hole() local
1088 xid = get_xid(); in smb3_punch_hole()
1095 if (!smb2_set_sparse(xid, tcon, cfile, inode, set_sparse)) in smb3_punch_hole()
1103 rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid, in smb3_punch_hole()
1107 free_xid(xid); in smb3_punch_hole()
1118 unsigned int xid; in smb3_simple_falloc() local
1120 xid = get_xid(); in smb3_simple_falloc()
1159 rc = smb2_set_sparse(xid, tcon, cfile, inode, false); in smb3_simple_falloc()
1164 free_xid(xid); in smb3_simple_falloc()