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_duplicate_extents(const unsigned int xid, in smb2_duplicate_extents() argument
838 rc = smb2_set_file_size(xid, tcon, trgtfile, dest_off + len, false); in smb2_duplicate_extents()
842 rc = SMB2_ioctl(xid, tcon, trgtfile->fid.persistent_fid, in smb2_duplicate_extents()
858 smb2_set_compression(const unsigned int xid, struct cifs_tcon *tcon, in smb2_set_compression() argument
861 return SMB2_set_compression(xid, tcon, cfile->fid.persistent_fid, in smb2_set_compression()
866 smb3_set_integrity(const unsigned int xid, struct cifs_tcon *tcon, in smb3_set_integrity() argument
877 return SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid, in smb3_set_integrity()
888 smb2_query_dir_first(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_dir_first() argument
909 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL); in smb2_query_dir_first()
919 rc = SMB2_query_directory(xid, tcon, fid->persistent_fid, in smb2_query_dir_first()
923 SMB2_close(xid, tcon, fid->persistent_fid, fid->volatile_fid); in smb2_query_dir_first()
929 smb2_query_dir_next(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_dir_next() argument
933 return SMB2_query_directory(xid, tcon, fid->persistent_fid, in smb2_query_dir_next()
938 smb2_close_dir(const unsigned int xid, struct cifs_tcon *tcon, in smb2_close_dir() argument
941 return SMB2_close(xid, tcon, fid->persistent_fid, fid->volatile_fid); in smb2_close_dir()
980 smb2_queryfs(const unsigned int xid, struct cifs_tcon *tcon, in smb2_queryfs() argument
996 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL); in smb2_queryfs()
1000 rc = SMB2_QFS_info(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb2_queryfs()
1002 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb2_queryfs()
1014 smb2_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset, in smb2_mand_lock() argument
1019 return SMB2_lock(xid, tlink_tcon(cfile->tlink), in smb2_mand_lock()
1043 smb2_query_symlink(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_symlink() argument
1069 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, &err_buf); in smb2_query_symlink()
1101 unsigned int xid; in smb3_zero_range() local
1103 xid = get_xid(); in smb3_zero_range()
1135 rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid, in smb3_zero_range()
1139 free_xid(xid); in smb3_zero_range()
1151 unsigned int xid; in smb3_punch_hole() local
1154 xid = get_xid(); in smb3_punch_hole()
1161 if (!smb2_set_sparse(xid, tcon, cfile, inode, set_sparse)) in smb3_punch_hole()
1169 rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid, in smb3_punch_hole()
1173 free_xid(xid); in smb3_punch_hole()
1184 unsigned int xid; in smb3_simple_falloc() local
1186 xid = get_xid(); in smb3_simple_falloc()
1225 rc = smb2_set_sparse(xid, tcon, cfile, inode, false); in smb3_simple_falloc()
1230 free_xid(xid); in smb3_simple_falloc()