Lines Matching refs:xid
204 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument
221 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink()
237 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink() argument
251 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in query_mf_symlink()
271 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument
289 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink()
325 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink() argument
346 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink()
362 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink()
364 CIFSSMBClose(xid, tcon, fid.netfid); in cifs_query_mf_symlink()
369 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_create_mf_symlink() argument
392 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_create_mf_symlink()
402 rc = CIFSSMBWrite(xid, &io_parms, pbytes_written, pbuf, NULL, 0); in cifs_create_mf_symlink()
403 CIFSSMBClose(xid, tcon, fid.netfid); in cifs_create_mf_symlink()
412 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_query_mf_symlink() argument
447 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL); in smb3_query_mf_symlink()
464 rc = SMB2_read(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in smb3_query_mf_symlink()
466 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb3_query_mf_symlink()
474 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in smb3_create_mf_symlink() argument
504 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL); in smb3_create_mf_symlink()
522 rc = SMB2_write(xid, &io_parms, pbytes_written, iov, 1); in smb3_create_mf_symlink()
528 SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb3_create_mf_symlink()
544 unsigned int xid; in cifs_hardlink() local
558 xid = get_xid(); in cifs_hardlink()
568 rc = CIFSUnixCreateHardLink(xid, tcon, from_name, to_name, in cifs_hardlink()
577 rc = server->ops->create_hardlink(xid, tcon, from_name, to_name, in cifs_hardlink()
624 free_xid(xid); in cifs_hardlink()
634 unsigned int xid; in cifs_follow_link() local
642 xid = get_xid(); in cifs_follow_link()
665 rc = query_mf_symlink(xid, tcon, cifs_sb, full_path, in cifs_follow_link()
669 rc = server->ops->query_symlink(xid, tcon, full_path, in cifs_follow_link()
679 free_xid(xid); in cifs_follow_link()
690 unsigned int xid; in cifs_symlink() local
697 xid = get_xid(); in cifs_symlink()
717 rc = create_mf_symlink(xid, pTcon, cifs_sb, full_path, symname); in cifs_symlink()
719 rc = CIFSUnixCreateSymLink(xid, pTcon, full_path, symname, in cifs_symlink()
729 inode->i_sb, xid); in cifs_symlink()
732 inode->i_sb, xid, NULL); in cifs_symlink()
744 free_xid(xid); in cifs_symlink()