Home
last modified time | relevance | path

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

123

/linux-4.19.296/fs/cifs/
Dsmb2proto.h69 extern int open_shroot(unsigned int xid, struct cifs_tcon *tcon,
74 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
78 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
82 FILE_BASIC_INFO *buf, const unsigned int xid);
83 extern int smb311_posix_mkdir(const unsigned int xid, struct inode *inode,
87 extern int smb2_mkdir(const unsigned int xid, struct cifs_tcon *tcon,
91 struct cifs_tcon *tcon, const unsigned int xid);
92 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
94 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
96 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dcifsproto.h94 extern int cifs_send_recv(const unsigned int xid, struct cifs_ses *ses,
97 extern int compound_send_recv(const unsigned int xid, struct cifs_ses *ses,
105 extern int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
120 extern int SendReceiveBlockingLock(const unsigned int xid,
148 extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
159 struct file_lock *flock, const unsigned int xid);
170 unsigned int xid);
183 int xid, const struct cifs_fid *fid);
186 struct super_block *sb, unsigned int xid);
188 unsigned int xid, char *full_path, __u32 dosattr);
[all …]
Dtrace.h27 TP_PROTO(unsigned int xid,
34 TP_ARGS(xid, fid, tid, sesid, offset, len, rc),
36 __field(unsigned int, xid)
45 __entry->xid = xid;
54 __entry->xid, __entry->sesid, __entry->tid, __entry->fid,
60 TP_PROTO(unsigned int xid, \
67 TP_ARGS(xid, fid, tid, sesid, offset, len, rc))
75 TP_PROTO(unsigned int xid,
81 TP_ARGS(xid, fid, tid, sesid, offset, len),
83 __field(unsigned int, xid)
[all …]
Dsmb2inode.c41 smb2_open_op_close(const unsigned int xid, struct cifs_tcon *tcon, in smb2_open_op_close() argument
57 rc = open_shroot(xid, tcon, &fid); in smb2_open_op_close()
74 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_open_op_close()
86 tmprc = SMB2_query_info(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
97 tmprc = SMB2_rmdir(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
101 tmprc = SMB2_rename(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
105 tmprc = SMB2_set_hardlink(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
109 tmprc = SMB2_set_eof(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
114 tmprc = SMB2_set_info(xid, tcon, fid.persistent_fid, in smb2_open_op_close()
126 rc = SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb2_open_op_close()
[all …]
Dlink.c185 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument
202 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink()
218 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink() argument
232 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in query_mf_symlink()
252 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument
270 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink()
306 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink() argument
327 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink()
343 rc = CIFSSMBRead(xid, &io_parms, pbytes_read, &pbuf, &buf_type); in cifs_query_mf_symlink()
345 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 …]
Dsmb2file.c38 smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, in smb2_open_file() argument
64 rc = SMB2_open(xid, oparms, smb2_path, &smb2_oplock, smb2_data, NULL, in smb2_open_file()
73 rc = SMB2_ioctl(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
90 rc = SMB2_get_srv_num(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
110 const unsigned int xid) in smb2_unlock_range() argument
167 stored_rc = smb2_lockv(xid, tcon, in smb2_unlock_range()
192 stored_rc = smb2_lockv(xid, tcon, cfile->fid.persistent_fid, in smb2_unlock_range()
208 smb2_push_mand_fdlocks(struct cifs_fid_locks *fdlocks, const unsigned int xid, in smb2_push_mand_fdlocks() argument
224 stored_rc = smb2_lockv(xid, tcon, in smb2_push_mand_fdlocks()
236 stored_rc = smb2_lockv(xid, tcon, in smb2_push_mand_fdlocks()
[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 …]
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 …]
Dxattr.c56 unsigned int xid; in cifs_xattr_set() local
68 xid = get_xid(); in cifs_xattr_set()
93 rc = pTcon->ses->server->ops->set_EA(xid, pTcon, in cifs_xattr_set()
129 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_xattr_set()
141 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_xattr_set()
151 free_xid(xid); in cifs_xattr_set()
207 unsigned int xid; in cifs_xattr_get() local
219 xid = get_xid(); in cifs_xattr_get()
245 rc = pTcon->ses->server->ops->query_all_EAs(xid, pTcon, in cifs_xattr_get()
280 rc = CIFSSMBGetPosixACL(xid, pTcon, full_path, in cifs_xattr_get()
[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()
471 unsigned int xid; in cifs_atomic_open() local
[all …]
Dsmb2ops.c264 smb2_negotiate(const unsigned int xid, struct cifs_ses *ses) in smb2_negotiate() argument
268 rc = SMB2_negotiate(xid, ses); in smb2_negotiate()
463 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces() argument
472 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, in SMB3_request_interfaces()
535 int open_shroot(unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *pfid) in open_shroot() argument
565 rc = SMB2_open(xid, &oparams, &srch_path, &oplock, NULL, NULL, NULL); in open_shroot()
594 SMB2_close(xid, tcon, fid.persistent_fid, in open_shroot()
615 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb3_qfs_tcon() argument
632 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb3_qfs_tcon()
635 rc = open_shroot(xid, tcon, &fid); in smb3_qfs_tcon()
[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()
178 struct cifs_fid *fid, unsigned int xid) in cifs_nt_open() argument
244 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open()
251 xid); in cifs_nt_open()
254 xid, fid); in cifs_nt_open()
257 server->ops->close(xid, tcon, fid); in cifs_nt_open()
456 unsigned int xid; in _cifsFileInfo_put() local
458 xid = get_xid(); in _cifsFileInfo_put()
460 server->ops->close(xid, tcon, &cifs_file->fid); in _cifsFileInfo_put()
[all …]
Dsmb2pdu.c632 SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses) in SMB2_negotiate() argument
709 rc = cifs_send_recv(xid, ses, &rqst, &resp_buftype, flags, &rsp_iov); in SMB2_negotiate()
841 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate() argument
918 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, in smb3_validate_negotiate()
995 unsigned int xid; member
1091 rc = cifs_send_recv(sess_data->xid, sess_data->ses, in SMB2_sess_sendreceive()
1383 SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses, in SMB2_sess_setup() argument
1404 sess_data->xid = xid; in SMB2_sess_setup()
1428 SMB2_logoff(const unsigned int xid, struct cifs_ses *ses) in SMB2_logoff() argument
1472 rc = cifs_send_recv(xid, ses, &rqst, &resp_buf_type, flags, &rsp_iov); in SMB2_logoff()
[all …]
Dcifssmb.c575 CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses) in CIFSSMBNegotiate() argument
617 rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, in CIFSSMBNegotiate()
685 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis() argument
710 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)smb_buffer, 0); in CIFSSMBTDis()
781 CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses) in CIFSSMBLogoff() argument
814 rc = SendReceiveNoRsp(xid, ses, (char *) pSMB, 0); in CIFSSMBLogoff()
828 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile() argument
889 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSPOSIXDelFile()
904 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBDelFile() argument
936 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBDelFile()
[all …]
Dconnect.c2642 int rc = 0, xid; in cifs_setup_ipc() local
2671 xid = get_xid(); in cifs_setup_ipc()
2675 rc = ses->server->ops->tree_connect(xid, ses, unc, tcon, nls_codepage); in cifs_setup_ipc()
2676 free_xid(xid); in cifs_setup_ipc()
2700 int rc = 0, xid; in cifs_free_ipc() local
2707 xid = get_xid(); in cifs_free_ipc()
2708 rc = ses->server->ops->tree_disconnect(xid, tcon); in cifs_free_ipc()
2709 free_xid(xid); in cifs_free_ipc()
2742 unsigned int rc, xid; in cifs_put_smb_ses() local
2763 xid = get_xid(); in cifs_put_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()
791 unsigned int xid; in cifs_readdir() local
801 xid = get_xid(); in cifs_readdir()
808 rc = initiate_cifs_search(xid, file); in cifs_readdir()
835 rc = find_cifs_entry(xid, tcon, ctx->pos, file, &current_entry, in cifs_readdir()
[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()
/linux-4.19.296/include/trace/events/
Dsunrpc.h229 __field(u32, xid)
241 __entry->xid = be32_to_cpu(task->tk_rqstp->rq_xid);
251 __entry->task_id, __entry->client_id, __entry->xid,
413 TP_PROTO(struct rpc_xprt *xprt, __be32 xid, int status),
415 TP_ARGS(xprt, xid, status),
418 __field(u32, xid)
425 __entry->xid = be32_to_cpu(xid);
432 __get_str(port), __entry->xid,
437 TP_PROTO(struct rpc_xprt *xprt, __be32 xid, int status),
438 TP_ARGS(xprt, xid, status));
[all …]
Drpcrdma.h30 __field(u32, xid)
38 __entry->xid = be32_to_cpu(rep->rr_xid);
44 __entry->r_xprt, __entry->xid, __entry->rep,
283 __field(u32, xid)
290 __entry->xid = be32_to_cpu(rqst->rq_xid);
294 __entry->xid, __entry->rqst, __entry->req, __entry->rep
471 __field(u32, xid)
483 __entry->xid = be32_to_cpu(rqst->rq_xid);
493 __entry->task_id, __entry->client_id, __entry->xid,
679 __field(u32, xid)
[all …]
/linux-4.19.296/fs/nfsd/
Dtrace.h19 __field(u32, xid)
23 __entry->xid = be32_to_cpu(rqst->rq_xid);
27 __entry->xid, __entry->args_opcnt)
60 __field(u32, xid)
66 __entry->xid = be32_to_cpu(rqstp->rq_xid);
72 __entry->xid, __entry->fh_hash,
101 __field(u32, xid)
107 __entry->xid = be32_to_cpu(rqstp->rq_xid);
113 __entry->xid, __entry->fh_hash,
/linux-4.19.296/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);
/linux-4.19.296/drivers/s390/net/
Dctcm_mpc.c842 priv->xid->xid2_flag2 = 0x00; in mpc_action_go_ready()
969 ch->xid = (struct xid2 *)skb_tail_pointer(ch->xid_skb); in mpc_channel_action()
979 ch->xid->xid2_dlc_type = in mpc_channel_action()
984 ch->xid->xid2_buf_len = 0x00; in mpc_channel_action()
1196 mpcginfo->xid = thisxid; in ctcmpc_unpack_skb()
1300 grp->xid = (struct xid2 *)skb_tail_pointer(grp->xid_skb); in ctcmpc_init_mpc_group()
1302 grp->xid->xid2_adj_id = jiffies | 0xfff00000; in ctcmpc_init_mpc_group()
1303 grp->xid->xid2_sender_id = jiffies; in ctcmpc_init_mpc_group()
1320 priv->xid = grp->xid; in ctcmpc_init_mpc_group()
1545 struct xid2 *xid = mpcginfo->xid; in mpc_validate_xid() local
[all …]

123