Lines Matching refs:xid
182 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument
199 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink()
215 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink() argument
229 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in query_mf_symlink()
249 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument
267 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink()
303 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink() argument
324 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink()
340 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink()
342 CIFSSMBClose(xid, tcon, fid.netfid); in cifs_query_mf_symlink()
347 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_create_mf_symlink() argument
370 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_create_mf_symlink()
380 rc = CIFSSMBWrite(xid, &io_parms, pbytes_written, pbuf); in cifs_create_mf_symlink()
381 CIFSSMBClose(xid, tcon, fid.netfid); in cifs_create_mf_symlink()
389 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_query_mf_symlink() argument
424 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink()
442 rc = SMB2_read(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in smb3_query_mf_symlink()
444 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb3_query_mf_symlink()
452 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink() argument
482 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb3_create_mf_symlink()
501 rc = SMB2_write(xid, &io_parms, pbytes_written, iov, 1); in smb3_create_mf_symlink()
507 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb3_create_mf_symlink()
522 unsigned int xid; in cifs_hardlink() local
536 xid = get_xid(); in cifs_hardlink()
546 rc = CIFSUnixCreateHardLink(xid, tcon, from_name, to_name, in cifs_hardlink()
555 rc = server->ops->create_hardlink(xid, tcon, from_name, to_name, in cifs_hardlink()
602 free_xid(xid); in cifs_hardlink()
612 unsigned int xid; in cifs_get_link() local
623 xid = get_xid(); in cifs_get_link()
627 free_xid(xid); in cifs_get_link()
635 free_xid(xid); in cifs_get_link()
648 rc = query_mf_symlink(xid, tcon, cifs_sb, full_path, in cifs_get_link()
658 rc = server->ops->query_symlink(xid, tcon, cifs_sb, full_path, in cifs_get_link()
663 free_xid(xid); in cifs_get_link()
677 unsigned int xid; in cifs_symlink() local
684 xid = get_xid(); in cifs_symlink()
704 rc = create_mf_symlink(xid, pTcon, cifs_sb, full_path, symname); in cifs_symlink()
706 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path, symname, in cifs_symlink()
716 inode->i_sb, xid); in cifs_symlink()
719 inode->i_sb, xid, NULL); in cifs_symlink()
731 free_xid(xid); in cifs_symlink()