Home
last modified time | relevance | path

Searched refs:xid (Results 1 – 25 of 37) sorted by relevance

12

/fs/cifs/
Dsmb2proto.h70 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
74 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
78 FILE_BASIC_INFO *buf, const unsigned int xid);
79 extern int smb2_mkdir(const unsigned int xid, struct cifs_tcon *tcon,
83 struct cifs_tcon *tcon, const unsigned int xid);
84 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
86 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
88 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon,
91 extern int smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon,
94 extern int smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dcifsproto.h88 extern int cifs_send_recv(const unsigned int xid, struct cifs_ses *ses,
95 extern int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
110 extern int SendReceiveBlockingLock(const unsigned int xid,
138 extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
149 struct file_lock *flock, const unsigned int xid);
160 unsigned int xid);
173 int xid, const struct cifs_fid *fid);
176 struct super_block *sb, unsigned int xid);
178 unsigned int xid, char *full_path, __u32 dosattr);
181 const unsigned int xid);
[all …]
Dsmb2inode.c41 smb2_open_op_close(const unsigned int xid, struct cifs_tcon *tcon, in smb2_open_op_close() argument
63 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL); in smb2_open_op_close()
73 tmprc = SMB2_query_info(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
84 tmprc = SMB2_rmdir(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
88 tmprc = SMB2_rename(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
92 tmprc = SMB2_set_hardlink(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
96 tmprc = SMB2_set_eof(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
101 tmprc = SMB2_set_info(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
110 rc = SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb2_open_op_close()
128 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_path_info() argument
[all …]
Dlink.c182 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()
[all …]
Dsmb1ops.c428 cifs_negotiate(const unsigned int xid, struct cifs_ses *ses) in cifs_negotiate() argument
431 rc = CIFSSMBNegotiate(xid, ses); in cifs_negotiate()
435 rc = CIFSSMBNegotiate(xid, ses); in cifs_negotiate()
519 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in cifs_qfs_tcon() argument
521 CIFSSMBQFSDeviceInfo(xid, tcon); in cifs_qfs_tcon()
522 CIFSSMBQFSAttributeInfo(xid, tcon); in cifs_qfs_tcon()
526 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in cifs_is_path_accessible() argument
536 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
541 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
548 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_path_info() argument
[all …]
Dinode.c339 unsigned int xid; local
347 xid = get_xid();
348 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data);
357 free_xid(xid);
363 struct super_block *sb, unsigned int xid) argument
380 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
395 int tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr,
435 struct cifs_sb_info *cifs_sb, unsigned int xid) argument
483 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
497 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
[all …]
Dsmb2file.c38 smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, in smb2_open_file() argument
67 rc = SMB2_open(xid, oparms, smb2_path, smb2_oplock, smb2_data, NULL); in smb2_open_file()
75 rc = SMB2_ioctl(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
92 rc = SMB2_get_srv_num(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
112 const unsigned int xid) in smb2_unlock_range() argument
169 stored_rc = smb2_lockv(xid, tcon, in smb2_unlock_range()
194 stored_rc = smb2_lockv(xid, tcon, cfile->fid.persistent_fid, in smb2_unlock_range()
210 smb2_push_mand_fdlocks(struct cifs_fid_locks *fdlocks, const unsigned int xid, in smb2_push_mand_fdlocks() argument
226 stored_rc = smb2_lockv(xid, tcon, in smb2_push_mand_fdlocks()
238 stored_rc = smb2_lockv(xid, tcon, in smb2_push_mand_fdlocks()
[all …]
Dsmb2ops.c252 smb2_negotiate(const unsigned int xid, struct cifs_ses *ses) in smb2_negotiate() argument
256 rc = SMB2_negotiate(xid, ses); in smb2_negotiate()
297 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces() argument
303 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, in SMB3_request_interfaces()
326 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb3_qfs_tcon() argument
341 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL); in smb3_qfs_tcon()
346 SMB3_request_interfaces(xid, tcon); in smb3_qfs_tcon()
349 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
351 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
353 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
[all …]
Ddir.c227 cifs_do_create(struct inode *inode, struct dentry *direntry, unsigned int xid, in cifs_do_create() argument
257 oflags, oplock, &fid->netfid, xid); in cifs_do_create()
266 CIFSSMBClose(xid, tcon, fid->netfid); in cifs_do_create()
280 CIFSSMBClose(xid, tcon, fid->netfid); in cifs_do_create()
373 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_do_create()
402 CIFSSMBUnixSetFileInfo(xid, tcon, &args, fid->netfid, in cifs_do_create()
418 xid); in cifs_do_create()
421 xid, fid); in cifs_do_create()
460 server->ops->close(xid, tcon, fid); in cifs_do_create()
472 unsigned int xid; in cifs_atomic_open() local
[all …]
Dxattr.c48 unsigned int xid; in cifs_xattr_set() local
60 xid = get_xid(); in cifs_xattr_set()
85 rc = pTcon->ses->server->ops->set_EA(xid, pTcon, in cifs_xattr_set()
121 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_xattr_set()
133 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_xattr_set()
143 free_xid(xid); in cifs_xattr_set()
199 unsigned int xid; in cifs_xattr_get() local
211 xid = get_xid(); in cifs_xattr_get()
235 rc = pTcon->ses->server->ops->query_all_EAs(xid, pTcon, in cifs_xattr_get()
270 rc = CIFSSMBGetPosixACL(xid, pTcon, full_path, in cifs_xattr_get()
[all …]
Dioctl.c37 static long cifs_ioctl_copychunk(unsigned int xid, struct file *dst_file, in cifs_ioctl_copychunk() argument
75 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk()
86 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo() argument
125 unsigned int xid; in cifs_ioctl() local
132 xid = get_xid(); in cifs_ioctl()
145 rc = CIFSGetExtAttr(xid, tcon, in cifs_ioctl()
192 xid, tcon, pSMBFile); in cifs_ioctl()
197 rc = cifs_ioctl_copychunk(xid, filep, arg); in cifs_ioctl()
204 rc = tcon->ses->server->ops->set_integrity(xid, in cifs_ioctl()
213 rc = smb_mnt_get_fsinfo(xid, tcon, (void __user *)arg); in cifs_ioctl()
[all …]
Dfile.c115 __u32 *poplock, __u16 *pnetfid, unsigned int xid) in cifs_posix_open() argument
141 rc = CIFSPOSIXCreate(xid, tcon, posix_flags, mode, pnetfid, presp_data, in cifs_posix_open()
177 struct cifs_fid *fid, unsigned int xid) in cifs_nt_open() argument
243 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open()
250 xid); in cifs_nt_open()
253 xid, fid); in cifs_nt_open()
256 server->ops->close(xid, tcon, fid); in cifs_nt_open()
451 unsigned int xid; in _cifsFileInfo_put() local
453 xid = get_xid(); in _cifsFileInfo_put()
455 server->ops->close(xid, tcon, &cifs_file->fid); in _cifsFileInfo_put()
[all …]
Dsmb2pdu.c480 SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses) in SMB2_negotiate() argument
549 rc = SendReceive2(xid, ses, iov, 1, &resp_buftype, flags, &rsp_iov); in SMB2_negotiate()
660 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate() argument
727 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, in smb3_validate_negotiate()
796 unsigned int xid; member
888 rc = SendReceive2(sess_data->xid, sess_data->ses, in SMB2_sess_sendreceive()
1178 SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses, in SMB2_sess_setup() argument
1199 sess_data->xid = xid; in SMB2_sess_setup()
1217 SMB2_logoff(const unsigned int xid, struct cifs_ses *ses) in SMB2_logoff() argument
1247 rc = SendReceiveNoRsp(xid, ses, (char *) req, flags); in SMB2_logoff()
[all …]
Dcifssmb.c563 CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses) in CIFSSMBNegotiate() argument
605 rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, in CIFSSMBNegotiate()
673 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis() argument
698 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)smb_buffer, 0); in CIFSSMBTDis()
769 CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses) in CIFSSMBLogoff() argument
802 rc = SendReceiveNoRsp(xid, ses, (char *) pSMB, 0); in CIFSSMBLogoff()
816 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile() argument
877 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSPOSIXDelFile()
892 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBDelFile() argument
924 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBDelFile()
[all …]
Dconnect.c2501 unsigned int rc, xid; in cifs_put_smb_ses() local
2520 xid = get_xid(); in cifs_put_smb_ses()
2521 rc = server->ops->logoff(xid, ses); in cifs_put_smb_ses()
2525 _free_xid(xid); in cifs_put_smb_ses()
2693 unsigned int xid; in cifs_get_smb_ses() local
2698 xid = get_xid(); in cifs_get_smb_ses()
2706 rc = cifs_negotiate_protocol(xid, ses); in cifs_get_smb_ses()
2711 free_xid(xid); in cifs_get_smb_ses()
2716 rc = cifs_setup_session(xid, ses, in cifs_get_smb_ses()
2722 free_xid(xid); in cifs_get_smb_ses()
[all …]
Dcifsacl.c993 unsigned int xid; in get_cifs_acl_by_fid() local
1000 xid = get_xid(); in get_cifs_acl_by_fid()
1001 rc = CIFSSMBGetCIFSACL(xid, tlink_tcon(tlink), cifsfid->netfid, &pntsd, in get_cifs_acl_by_fid()
1003 free_xid(xid); in get_cifs_acl_by_fid()
1018 unsigned int xid; in get_cifs_acl_by_path() local
1029 xid = get_xid(); in get_cifs_acl_by_path()
1043 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path()
1045 rc = CIFSSMBGetCIFSACL(xid, tcon, fid.netfid, &pntsd, pacllen); in get_cifs_acl_by_path()
1046 CIFSSMBClose(xid, tcon, fid.netfid); in get_cifs_acl_by_path()
1050 free_xid(xid); in get_cifs_acl_by_path()
[all …]
Dreaddir.c267 initiate_cifs_search(const unsigned int xid, struct file *file) in initiate_cifs_search() argument
334 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in initiate_cifs_search()
572 find_cifs_entry(const unsigned int xid, struct cifs_tcon *tcon, loff_t pos, in find_cifs_entry() argument
613 server->ops->close_dir(xid, tcon, &cfile->fid); in find_cifs_entry()
626 rc = initiate_cifs_search(xid, file); in find_cifs_entry()
644 rc = server->ops->query_dir_next(xid, tcon, &cfile->fid, in find_cifs_entry()
790 unsigned int xid; in cifs_readdir() local
800 xid = get_xid(); in cifs_readdir()
807 rc = initiate_cifs_search(xid, file); in cifs_readdir()
834 rc = find_cifs_entry(xid, tcon, ctx->pos, file, &current_entry, in cifs_readdir()
[all …]
Dcifsfs.c195 unsigned int xid; in cifs_statfs() local
198 xid = get_xid(); in cifs_statfs()
214 rc = server->ops->queryfs(xid, tcon, buf); in cifs_statfs()
216 free_xid(xid); in cifs_statfs()
938 unsigned int xid; in cifs_clone_file_range() local
943 xid = get_xid(); in cifs_clone_file_range()
970 rc = target_tcon->ses->server->ops->duplicate_extents(xid, in cifs_clone_file_range()
982 free_xid(xid); in cifs_clone_file_range()
986 ssize_t cifs_file_copychunk_range(unsigned int xid, in cifs_file_copychunk_range() argument
1035 rc = target_tcon->ses->server->ops->copychunk_range(xid, in cifs_file_copychunk_range()
[all …]
Dcifs_dfs_ref.c290 unsigned int xid; in cifs_dfs_do_automount() local
320 xid = get_xid(); in cifs_dfs_do_automount()
321 rc = get_dfs_path(xid, ses, full_path + 1, cifs_sb->local_nls, in cifs_dfs_do_automount()
324 free_xid(xid); in cifs_dfs_do_automount()
Dtransport.c588 SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses, in SendReceiveNoRsp() argument
599 rc = SendReceive2(xid, ses, iov, 1, &resp_buf_type, flags, &rsp_iov); in SendReceiveNoRsp()
701 cifs_send_recv(const unsigned int xid, struct cifs_ses *ses, in cifs_send_recv() argument
817 SendReceive2(const unsigned int xid, struct cifs_ses *ses, in SendReceive2() argument
841 rc = cifs_send_recv(xid, ses, &rqst, resp_buf_type, flags, resp_iov); in SendReceive2()
847 SendReceive(const unsigned int xid, struct cifs_ses *ses, in SendReceive() argument
962 send_lock_cancel(const unsigned int xid, struct cifs_tcon *tcon, in send_lock_cancel() argument
979 return SendReceive(xid, ses, in_buf, out_buf, in send_lock_cancel()
984 SendReceiveBlockingLock(const unsigned int xid, struct cifs_tcon *tcon, in SendReceiveBlockingLock() argument
1083 rc = send_lock_cancel(xid, tcon, in_buf, out_buf); in SendReceiveBlockingLock()
/fs/jffs2/
Dxattr.c90 D1(dbg_xattr("%s: xid=%u, version=%u\n", __func__, xd->xid, xd->version)); in unload_xattr_datum()
165 || je32_to_cpu(rx.xid) != xd->xid in do_verify_xattr_datum()
172 je32_to_cpu(rx.xid), xd->xid, in do_verify_xattr_datum()
199 xd->xid, xd->version); in do_verify_xattr_datum()
258 xd->xid, xd->xprefix, xd->xname); in do_load_xattr_datum()
309 rx.xid = cpu_to_je32(xd->xid); in save_xattr_datum()
331 xd->xid, xd->version, xd->xprefix, xd->xname); in save_xattr_datum()
376 xd->xid = ++c->highest_xid; in create_xattr_datum()
419 xd->xid, xd->version); in unrefer_xattr_datum()
483 ref->xid = je32_to_cpu(rr.xid); in verify_xattr_ref()
[all …]
Dxattr.h33 uint32_t xid; member
60 uint32_t xid; /* only used in sccanning/building */ member
78 uint32_t xid, uint32_t version);
Dsummary.c89 je32_to_cpu(item->x.xid), je32_to_cpu(item->x.version)); in jffs2_sum_add_mem()
167 temp->xid = rx->xid; in jffs2_sum_add_xattr_mem()
322 temp->xid = node->x.xid; in jffs2_sum_add_kvec()
499 je32_to_cpu(spx->xid), je32_to_cpu(spx->version)); in jffs2_sum_process_sum_data()
501 xd = jffs2_setup_xattr_datum(c, je32_to_cpu(spx->xid), in jffs2_sum_process_sum_data()
517 *pseudo_random += je32_to_cpu(spx->xid); in jffs2_sum_process_sum_data()
761 sxattr_ptr->xid = temp->x.xid; in jffs2_sum_write_data()
/fs/nfsd/
Dtrace.h21 __field(__be32, xid)
27 __entry->xid = rqstp->rq_xid,
33 __be32_to_cpu(__entry->xid), knfsd_fh_hash(&__entry->fh),
/fs/dlm/
Ddebug_fs.c170 u64 xid = 0; in print_format2_lock() local
175 xid = lkb->lkb_ua->xid; in print_format2_lock()
189 (unsigned long long)xid, in print_format2_lock()
231 u64 xid = 0; in print_format3_lock() local
235 xid = lkb->lkb_ua->xid; in print_format3_lock()
243 (unsigned long long)xid, in print_format3_lock()

12