Lines Matching refs:xid

420 smb2_negotiate(const unsigned int xid,
429 rc = SMB2_negotiate(xid, ses, server);
758 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount)
772 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID,
805 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon,
824 rc = open_cached_dir(xid, tcon, "", cifs_sb, false, &cfid);
828 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL,
833 SMB3_request_interfaces(xid, tcon, true /* called during mount */);
835 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid,
837 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid,
839 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid,
841 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid,
844 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid);
850 smb2_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon,
868 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL,
873 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid,
875 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid,
877 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid);
881 smb2_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon,
894 rc = open_cached_dir(xid, tcon, full_path, cifs_sb, true, &cfid);
916 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL,
925 rc2 = cifs_inval_name_dfs_link_error(xid, tcon, cifs_sb,
940 rc = SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid);
948 static int smb2_get_srv_inum(const unsigned int xid, struct cifs_tcon *tcon,
956 static int smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tcon,
966 return SMB2_query_info(xid, tcon, fid->persistent_fid, fid->volatile_fid, &data->fi);
1055 smb2_query_eas(const unsigned int xid, struct cifs_tcon *tcon,
1066 rc = smb2_query_info_compound(xid, tcon, path,
1104 smb2_set_ea(const unsigned int xid, struct cifs_tcon *tcon,
1149 rc = ses->server->ops->query_all_EAs(xid, tcon, path,
1160 rc = smb2_query_info_compound(xid, tcon, path,
1247 rc = compound_send_recv(xid, ses, server,
1396 smb2_close_file(const unsigned int xid, struct cifs_tcon *tcon,
1399 SMB2_close(xid, tcon, fid->persistent_fid, fid->volatile_fid);
1403 smb2_close_getattr(const unsigned int xid, struct cifs_tcon *tcon,
1410 rc = __SMB2_close(xid, tcon, cfile->fid.persistent_fid,
1445 SMB2_request_res_key(const unsigned int xid, struct cifs_tcon *tcon,
1453 rc = SMB2_ioctl(xid, tcon, persistent_fid, volatile_fid,
1477 smb2_ioctl_query_info(const unsigned int xid,
1644 rc = compound_send_recv(xid, ses, server,
1708 smb2_copychunk_range(const unsigned int xid,
1728 rc = SMB2_request_res_key(xid, tlink_tcon(srcfile->tlink),
1752 rc = SMB2_ioctl(xid, tcon, trgtfile->fid.persistent_fid,
1837 smb2_flush_file(const unsigned int xid, struct cifs_tcon *tcon,
1840 return SMB2_flush(xid, tcon, fid->persistent_fid, fid->volatile_fid);
1864 smb2_sync_read(const unsigned int xid, struct cifs_fid *pfid,
1870 return SMB2_read(xid, parms, bytes_read, buf, buf_type);
1874 smb2_sync_write(const unsigned int xid, struct cifs_fid *pfid,
1881 return SMB2_write(xid, parms, written, iov, nr_segs);
1885 static bool smb2_set_sparse(const unsigned int xid, struct cifs_tcon *tcon,
1913 rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
1931 smb2_set_file_size(const unsigned int xid, struct cifs_tcon *tcon,
1947 smb2_set_sparse(xid, tcon, cfile, inode, set_sparse);
1950 return SMB2_set_eof(xid, tcon, cfile->fid.persistent_fid,
1955 smb2_duplicate_extents(const unsigned int xid,
1981 rc = smb2_set_file_size(xid, tcon, trgtfile, dest_off + len, false);
1994 rc = SMB2_ioctl(xid, tcon, trgtfile->fid.persistent_fid,
2010 smb2_set_compression(const unsigned int xid, struct cifs_tcon *tcon,
2013 return SMB2_set_compression(xid, tcon, cfile->fid.persistent_fid,
2018 smb3_set_integrity(const unsigned int xid, struct cifs_tcon *tcon,
2028 return SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
2048 smb3_enum_snapshots(const unsigned int xid, struct cifs_tcon *tcon,
2080 rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
2132 smb3_notify(const unsigned int xid, struct file *pfile,
2186 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL,
2191 rc = SMB2_change_notify(xid, tcon, fid.persistent_fid, fid.volatile_fid,
2195 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid);
2215 smb2_query_dir_first(const unsigned int xid, struct cifs_tcon *tcon,
2273 rc = SMB2_query_directory_init(xid, tcon, server,
2283 rc = compound_send_recv(xid, tcon->ses, server,
2301 SMB2_close(xid, tcon, fid->persistent_fid, fid->volatile_fid);
2303 trace_smb3_query_dir_err(xid, fid->persistent_fid,
2312 trace_smb3_query_dir_done(xid, fid->persistent_fid,
2322 trace_smb3_query_dir_err(xid, fid->persistent_fid, tcon->tid,
2328 trace_smb3_query_dir_done(xid, fid->persistent_fid, tcon->tid,
2341 smb2_query_dir_next(const unsigned int xid, struct cifs_tcon *tcon,
2345 return SMB2_query_directory(xid, tcon, fid->persistent_fid,
2350 smb2_close_dir(const unsigned int xid, struct cifs_tcon *tcon,
2353 return SMB2_close(xid, tcon, fid->persistent_fid, fid->volatile_fid);
2538 smb2_query_info_compound(const unsigned int xid, struct cifs_tcon *tcon,
2580 open_cached_dir(xid, tcon, path, cifs_sb, false,
2638 rc = compound_send_recv(xid, ses, server,
2642 rc = compound_send_recv(xid, ses, server,
2673 smb2_queryfs(const unsigned int xid, struct cifs_tcon *tcon,
2683 rc = smb2_query_info_compound(xid, tcon, "",
2704 trace_smb3_qfs_done(xid, tcon->tid, tcon->ses->Suid, tcon->tree_name, rc);
2710 smb311_queryfs(const unsigned int xid, struct cifs_tcon *tcon,
2720 return smb2_queryfs(xid, tcon, cifs_sb, buf);
2731 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL,
2736 rc = SMB311_posix_qfs_info(xid, tcon, fid.persistent_fid,
2739 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid);
2751 smb2_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset,
2756 return SMB2_lock(xid, tlink_tcon(cfile->tlink),
2780 smb2_get_dfs_refer(const unsigned int xid, struct cifs_ses *ses,
2840 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID,
2996 static int smb2_query_reparse_point(const unsigned int xid,
3086 rc = compound_send_recv(xid, tcon->ses, server,
3140 unsigned int xid;
3147 xid = get_xid();
3150 rc = SMB2_query_acl(xid, tlink_tcon(tlink), cifsfid->persistent_fid,
3153 free_xid(xid);
3170 unsigned int xid;
3183 xid = get_xid();
3188 free_xid(xid);
3211 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL,
3215 rc = SMB2_query_acl(xid, tlink_tcon(tlink), fid.persistent_fid,
3218 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid);
3222 free_xid(xid);
3235 unsigned int xid;
3249 xid = get_xid();
3261 free_xid(xid);
3274 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL,
3278 rc = SMB2_set_acl(xid, tlink_tcon(tlink), fid.persistent_fid,
3280 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid);
3284 free_xid(xid);
3308 loff_t offset, loff_t len, unsigned int xid)
3318 return SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
3334 unsigned int xid;
3337 xid = get_xid();
3339 trace_smb3_zero_enter(xid, cfile->fid.persistent_fid, tcon->tid,
3356 rc = smb3_zero_data(file, tcon, offset, len, xid);
3366 rc = SMB2_set_eof(xid, tcon, cfile->fid.persistent_fid,
3377 free_xid(xid);
3379 trace_smb3_zero_err(xid, cfile->fid.persistent_fid, tcon->tid,
3382 trace_smb3_zero_done(xid, cfile->fid.persistent_fid, tcon->tid,
3394 unsigned int xid;
3397 xid = get_xid();
3402 if (!smb2_set_sparse(xid, tcon, cfile, inode, set_sparse)) {
3419 rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
3427 free_xid(xid);
3431 static int smb3_simple_fallocate_write_range(unsigned int xid,
3456 rc = SMB2_write(xid, &io_parms, &nbytes, iov, 1);
3468 static int smb3_simple_fallocate_range(unsigned int xid,
3481 rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
3502 rc = smb3_simple_fallocate_write_range(xid, tcon,
3521 rc = smb3_simple_fallocate_write_range(xid, tcon,
3559 unsigned int xid;
3562 xid = get_xid();
3567 trace_smb3_falloc_enter(xid, cfile->fid.persistent_fid, tcon->tid,
3572 trace_smb3_falloc_err(xid, cfile->fid.persistent_fid,
3574 free_xid(xid);
3587 smb2_set_sparse(xid, tcon, cfile, inode, false);
3590 rc = SMB2_set_eof(xid, tcon, cfile->fid.persistent_fid,
3645 rc = smb3_simple_fallocate_range(xid, tcon, cfile,
3664 smb2_set_sparse(xid, tcon, cfile, inode, false);
3669 trace_smb3_falloc_err(xid, cfile->fid.persistent_fid, tcon->tid,
3672 trace_smb3_falloc_done(xid, cfile->fid.persistent_fid, tcon->tid,
3675 free_xid(xid);
3683 unsigned int xid;
3690 xid = get_xid();
3708 rc = smb2_copychunk_range(xid, cfile, cfile, off + len,
3714 rc = SMB2_set_eof(xid, tcon, cfile->fid.persistent_fid,
3728 free_xid(xid);
3736 unsigned int xid;
3742 xid = get_xid();
3761 rc = SMB2_set_eof(xid, tcon, cfile->fid.persistent_fid,
3769 rc = smb2_copychunk_range(xid, cfile, cfile, off, count, off + len);
3773 rc = smb3_zero_data(file, tcon, off, len, xid);
3782 free_xid(xid);
3794 unsigned int xid;
3805 xid = get_xid();
3816 smb2_flush_file(xid, tcon, &wrcfile->fid);
3829 rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
3862 free_xid(xid);
3874 unsigned int xid;
3884 xid = get_xid();
3889 rc = SMB2_ioctl(xid, tcon, cfile->fid.persistent_fid,
3940 free_xid(xid);
5106 smb2_make_node(unsigned int xid, struct inode *inode,
5156 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, &buf);
5176 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms,
5182 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms,
5188 rc = tcon->ses->server->ops->sync_write(xid, &fid, &io_parms,
5191 tcon->ses->server->ops->close(xid, tcon, &fid);