Home
last modified time | relevance | path

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

/linux-4.1.27/fs/cifs/
Dsmb2proto.h61 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
65 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
69 FILE_BASIC_INFO *buf, const unsigned int xid);
70 extern int smb2_mkdir(const unsigned int xid, struct cifs_tcon *tcon,
74 struct cifs_tcon *tcon, const unsigned int xid);
75 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
77 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
79 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon,
82 extern int smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon,
85 extern int smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
[all …]
Dcifsproto.h87 extern int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
101 extern int SendReceiveBlockingLock(const unsigned int xid,
129 extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
140 struct file_lock *flock, const unsigned int xid);
150 unsigned int xid);
163 int xid, const struct cifs_fid *fid);
166 struct super_block *sb, unsigned int xid);
168 unsigned int xid, char *full_path, __u32 dosattr);
171 const unsigned int xid);
224 extern int cifs_negotiate_protocol(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.c204 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()
[all …]
Dsmb1ops.c424 cifs_negotiate(const unsigned int xid, struct cifs_ses *ses) in cifs_negotiate() argument
427 rc = CIFSSMBNegotiate(xid, ses); in cifs_negotiate()
431 rc = CIFSSMBNegotiate(xid, ses); in cifs_negotiate()
515 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in cifs_qfs_tcon() argument
517 CIFSSMBQFSDeviceInfo(xid, tcon); in cifs_qfs_tcon()
518 CIFSSMBQFSAttributeInfo(xid, tcon); in cifs_qfs_tcon()
522 cifs_is_path_accessible(const unsigned int xid, struct cifs_tcon *tcon, in cifs_is_path_accessible() argument
532 rc = CIFSSMBQPathInfo(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
537 rc = SMBQueryInformation(xid, tcon, full_path, file_info, in cifs_is_path_accessible()
544 cifs_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in cifs_query_path_info() argument
[all …]
Dxattr.c44 unsigned int xid; in cifs_removexattr() local
65 xid = get_xid(); in cifs_removexattr()
88 rc = pTcon->ses->server->ops->set_EA(xid, pTcon, in cifs_removexattr()
94 free_xid(xid); in cifs_removexattr()
105 unsigned int xid; in cifs_setxattr() local
126 xid = get_xid(); in cifs_setxattr()
156 rc = pTcon->ses->server->ops->set_EA(xid, pTcon, in cifs_setxattr()
166 rc = pTcon->ses->server->ops->set_EA(xid, pTcon, in cifs_setxattr()
198 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_setxattr()
210 rc = CIFSSMBSetPosixACL(xid, pTcon, full_path, in cifs_setxattr()
[all …]
Dsmb2file.c38 smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, in smb2_open_file() argument
66 rc = SMB2_open(xid, oparms, smb2_path, smb2_oplock, smb2_data, NULL); in smb2_open_file()
72 rc = SMB2_get_srv_num(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
92 const unsigned int xid) in smb2_unlock_range() argument
147 stored_rc = smb2_lockv(xid, tcon, in smb2_unlock_range()
172 stored_rc = smb2_lockv(xid, tcon, cfile->fid.persistent_fid, in smb2_unlock_range()
188 smb2_push_mand_fdlocks(struct cifs_fid_locks *fdlocks, const unsigned int xid, in smb2_push_mand_fdlocks() argument
204 stored_rc = smb2_lockv(xid, tcon, in smb2_push_mand_fdlocks()
216 stored_rc = smb2_lockv(xid, tcon, in smb2_push_mand_fdlocks()
231 unsigned int xid; in smb2_push_mandatory_locks() local
[all …]
Dinode.c334 unsigned int xid; local
342 xid = get_xid();
343 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data);
352 free_xid(xid);
358 struct super_block *sb, unsigned int xid) argument
375 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
390 int tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr,
428 struct cifs_sb_info *cifs_sb, unsigned int xid) argument
474 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
488 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
[all …]
Dsmb2ops.c218 smb2_negotiate(const unsigned int xid, struct cifs_ses *ses) in smb2_negotiate() argument
222 rc = SMB2_negotiate(xid, ses); in smb2_negotiate()
263 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces() argument
269 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, in SMB3_request_interfaces()
291 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb3_qfs_tcon() argument
306 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL); in smb3_qfs_tcon()
311 SMB3_request_interfaces(xid, tcon); in smb3_qfs_tcon()
314 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
316 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
318 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
[all …]
Ddir.c194 cifs_do_create(struct inode *inode, struct dentry *direntry, unsigned int xid, in cifs_do_create() argument
224 oflags, oplock, &fid->netfid, xid); in cifs_do_create()
240 CIFSSMBClose(xid, tcon, fid->netfid); in cifs_do_create()
333 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_do_create()
362 CIFSSMBUnixSetFileInfo(xid, tcon, &args, fid->netfid, in cifs_do_create()
378 xid); in cifs_do_create()
381 xid, fid); in cifs_do_create()
403 server->ops->close(xid, tcon, fid); in cifs_do_create()
421 unsigned int xid; in cifs_atomic_open() local
462 xid = get_xid(); in cifs_atomic_open()
[all …]
Dioctl.c38 static long cifs_ioctl_clone(unsigned int xid, struct file *dst_file, in cifs_ioctl_clone() argument
119 rc = target_tcon->ses->server->ops->clone_range(xid, in cifs_ioctl_clone()
140 unsigned int xid; in cifs_ioctl() local
147 xid = get_xid(); in cifs_ioctl()
162 rc = CIFSGetExtAttr(xid, tcon, in cifs_ioctl()
209 xid, tcon, pSMBFile); in cifs_ioctl()
214 rc = cifs_ioctl_clone(xid, filep, arg, 0, 0, 0); in cifs_ioctl()
221 free_xid(xid); in cifs_ioctl()
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
236 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open()
243 xid); in cifs_nt_open()
246 xid, fid); in cifs_nt_open()
404 unsigned int xid; in cifsFileInfo_put() local
406 xid = get_xid(); in cifsFileInfo_put()
408 server->ops->close(xid, tcon, &cifs_file->fid); in cifsFileInfo_put()
409 _free_xid(xid); in cifsFileInfo_put()
[all …]
Dsmb2pdu.c324 SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses) in SMB2_negotiate() argument
375 rc = SendReceive2(xid, ses, iov, 1, &resp_buftype, flags); in SMB2_negotiate()
445 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate() argument
483 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, in smb3_validate_negotiate()
522 SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses, in SMB2_sess_setup() argument
703 rc = SendReceive2(xid, ses, iov, 2, &resp_buftype, in SMB2_sess_setup()
792 SMB2_logoff(const unsigned int xid, struct cifs_ses *ses) in SMB2_logoff() argument
818 rc = SendReceiveNoRsp(xid, ses, (char *) &req->hdr, 0); in SMB2_logoff()
844 SMB2_tcon(const unsigned int xid, struct cifs_ses *ses, const char *tree, in SMB2_tcon() argument
903 rc = SendReceive2(xid, ses, iov, 2, &resp_buftype, 0); in SMB2_tcon()
[all …]
Dcifssmb.c545 CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses) in CIFSSMBNegotiate() argument
582 rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, in CIFSSMBNegotiate()
651 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis() argument
676 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)smb_buffer, 0); in CIFSSMBTDis()
740 CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses) in CIFSSMBLogoff() argument
773 rc = SendReceiveNoRsp(xid, ses, (char *) pSMB, 0); in CIFSSMBLogoff()
786 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile() argument
847 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSPOSIXDelFile()
862 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBDelFile() argument
894 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBDelFile()
[all …]
Dcifsacl.c871 unsigned int xid; in get_cifs_acl_by_fid() local
878 xid = get_xid(); in get_cifs_acl_by_fid()
879 rc = CIFSSMBGetCIFSACL(xid, tlink_tcon(tlink), cifsfid->netfid, &pntsd, in get_cifs_acl_by_fid()
881 free_xid(xid); in get_cifs_acl_by_fid()
896 unsigned int xid; in get_cifs_acl_by_path() local
907 xid = get_xid(); in get_cifs_acl_by_path()
921 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path()
923 rc = CIFSSMBGetCIFSACL(xid, tcon, fid.netfid, &pntsd, pacllen); in get_cifs_acl_by_path()
924 CIFSSMBClose(xid, tcon, fid.netfid); in get_cifs_acl_by_path()
928 free_xid(xid); in get_cifs_acl_by_path()
[all …]
Dconnect.c2272 unsigned int rc, xid; in cifs_put_smb_ses() local
2291 xid = get_xid(); in cifs_put_smb_ses()
2292 rc = server->ops->logoff(xid, ses); in cifs_put_smb_ses()
2296 _free_xid(xid); in cifs_put_smb_ses()
2441 unsigned int xid; in cifs_get_smb_ses() local
2446 xid = get_xid(); in cifs_get_smb_ses()
2454 rc = cifs_negotiate_protocol(xid, ses); in cifs_get_smb_ses()
2459 free_xid(xid); in cifs_get_smb_ses()
2464 rc = cifs_setup_session(xid, ses, in cifs_get_smb_ses()
2470 free_xid(xid); in cifs_get_smb_ses()
[all …]
Dreaddir.c264 initiate_cifs_search(const unsigned int xid, struct file *file) in initiate_cifs_search() argument
330 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in initiate_cifs_search()
561 find_cifs_entry(const unsigned int xid, struct cifs_tcon *tcon, loff_t pos, in find_cifs_entry() argument
602 server->ops->close_dir(xid, tcon, &cfile->fid); in find_cifs_entry()
615 rc = initiate_cifs_search(xid, file); in find_cifs_entry()
633 rc = server->ops->query_dir_next(xid, tcon, &cfile->fid, in find_cifs_entry()
772 unsigned int xid; in cifs_readdir() local
782 xid = get_xid(); in cifs_readdir()
789 rc = initiate_cifs_search(xid, file); in cifs_readdir()
816 rc = find_cifs_entry(xid, tcon, ctx->pos, file, &current_entry, in cifs_readdir()
[all …]
Dcifs_dfs_ref.c285 unsigned int xid; in cifs_dfs_do_automount() local
313 xid = get_xid(); in cifs_dfs_do_automount()
314 rc = get_dfs_path(xid, ses, full_path + 1, cifs_sb->local_nls, in cifs_dfs_do_automount()
317 free_xid(xid); in cifs_dfs_do_automount()
Dtransport.c603 SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses, in SendReceiveNoRsp() argument
613 rc = SendReceive2(xid, ses, iov, 1, &resp_buf_type, flags); in SendReceiveNoRsp()
708 SendReceive2(const unsigned int xid, struct cifs_ses *ses, in SendReceive2() argument
837 SendReceive(const unsigned int xid, struct cifs_ses *ses, in SendReceive() argument
950 send_lock_cancel(const unsigned int xid, struct cifs_tcon *tcon, in send_lock_cancel() argument
967 return SendReceive(xid, ses, in_buf, out_buf, in send_lock_cancel()
972 SendReceiveBlockingLock(const unsigned int xid, struct cifs_tcon *tcon, in SendReceiveBlockingLock() argument
1069 rc = send_lock_cancel(xid, tcon, in_buf, out_buf); in SendReceiveBlockingLock()
Dmisc.c48 unsigned int xid; in _get_xid() local
58 xid = GlobalCurrentXid++; in _get_xid()
60 return xid; in _get_xid()
64 _free_xid(unsigned int xid) in _free_xid() argument
Dcifsfs.c187 unsigned int xid; in cifs_statfs() local
190 xid = get_xid(); in cifs_statfs()
204 rc = server->ops->queryfs(xid, tcon, buf); in cifs_statfs()
206 free_xid(xid); in cifs_statfs()
Dsess.c533 unsigned int xid; member
641 rc = SendReceive2(sess_data->xid, sess_data->ses, in sess_sendreceive()
1430 int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses, in CIFS_SessSetup() argument
1449 sess_data->xid = xid; in CIFS_SessSetup()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c145 static inline bool i40e_fcoe_xid_is_valid(u16 xid) in i40e_fcoe_xid_is_valid() argument
147 return (xid != FC_XID_UNKNOWN) && (xid < I40E_FCOE_DDP_MAX); in i40e_fcoe_xid_is_valid()
186 ddp->xid = FC_XID_UNKNOWN; in i40e_fcoe_ddp_clear()
251 static int i40e_fcoe_ddp_put(struct net_device *netdev, u16 xid) in i40e_fcoe_ddp_put() argument
257 struct i40e_fcoe_ddp *ddp = &fcoe->ddp[xid]; in i40e_fcoe_ddp_put()
626 u16 xid; in i40e_fcoe_handle_status() local
633 xid = le32_to_cpu(rx_desc->wb.qword0.hi_dword.fcoe_param) & in i40e_fcoe_handle_status()
636 if (!i40e_fcoe_xid_is_valid(xid)) in i40e_fcoe_handle_status()
639 ddp = &fcoe->ddp[xid]; in i40e_fcoe_handle_status()
640 WARN_ON(xid != ddp->xid); in i40e_fcoe_handle_status()
[all …]
Di40e_fcoe.h101 u16 xid; member
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c68 int ixgbe_fcoe_ddp_put(struct net_device *netdev, u16 xid) in ixgbe_fcoe_ddp_put() argument
80 if (xid >= IXGBE_FCOE_DDP_MAX) in ixgbe_fcoe_ddp_put()
85 ddp = &fcoe->ddp[xid]; in ixgbe_fcoe_ddp_put()
98 IXGBE_WRITE_REG(hw, IXGBE_FCDFC(0, xid), 0); in ixgbe_fcoe_ddp_put()
99 IXGBE_WRITE_REG(hw, IXGBE_FCDFC(3, xid), in ixgbe_fcoe_ddp_put()
100 (xid | IXGBE_FCFLTRW_WE)); in ixgbe_fcoe_ddp_put()
103 IXGBE_WRITE_REG(hw, IXGBE_FCDDC(2, xid), 0); in ixgbe_fcoe_ddp_put()
106 IXGBE_WRITE_REG(hw, IXGBE_FCDDC(3, xid), in ixgbe_fcoe_ddp_put()
107 (xid | IXGBE_FCDMARW_WE)); in ixgbe_fcoe_ddp_put()
110 IXGBE_WRITE_REG(hw, IXGBE_FCDDC(3, xid), in ixgbe_fcoe_ddp_put()
[all …]
Dixgbe.h916 int ixgbe_fcoe_ddp_get(struct net_device *netdev, u16 xid,
918 int ixgbe_fcoe_ddp_target(struct net_device *netdev, u16 xid,
920 int ixgbe_fcoe_ddp_put(struct net_device *netdev, u16 xid);
/linux-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_io.c230 io_req->xid); in bnx2fc_scsi_done()
250 u16 xid; in bnx2fc_cmd_mgr_alloc() local
304 xid = BNX2FC_MIN_XID; in bnx2fc_cmd_mgr_alloc()
317 io_req->xid = xid++; in bnx2fc_cmd_mgr_alloc()
320 &cmgr->free_list[io_req->xid % in bnx2fc_cmd_mgr_alloc()
437 u16 xid; in bnx2fc_elstm_alloc() local
473 xid = io_req->xid; in bnx2fc_elstm_alloc()
474 cmd_mgr->cmds[xid] = io_req; in bnx2fc_elstm_alloc()
488 bd_tbl = io_req->bd_tbl = cmd_mgr->io_bdt_pool[xid]; in bnx2fc_elstm_alloc()
506 u16 xid; in bnx2fc_cmd_alloc() local
[all …]
Dbnx2fc_els.c38 orig_io_req->xid, rrq_req->xid); in bnx2fc_rrq_compl()
48 rrq_req->xid); in bnx2fc_rrq_compl()
72 aborted_io_req->xid); in bnx2fc_send_rrq()
86 rrq.rrq_ox_id = htons(aborted_io_req->xid); in bnx2fc_send_rrq()
105 aborted_io_req->xid); in bnx2fc_send_rrq()
276 orig_io_req->xid); in bnx2fc_srr_compl()
286 orig_io_req->xid, orig_io_req->req_flags); in bnx2fc_srr_compl()
305 orig_io_req->xid); in bnx2fc_srr_compl()
313 orig_io_req->xid, orig_io_req->req_flags); in bnx2fc_srr_compl()
351 orig_io_req->xid); in bnx2fc_srr_compl()
[all …]
Dbnx2fc_hwi.c632 u16 xid; in bnx2fc_process_unsol_compl() local
696 xid = err_entry->fc_hdr.ox_id; in bnx2fc_process_unsol_compl()
697 BNX2FC_TGT_DBG(tgt, "Unsol Error Frame OX_ID = 0x%x\n", xid); in bnx2fc_process_unsol_compl()
705 if (xid > hba->max_xid) { in bnx2fc_process_unsol_compl()
707 xid); in bnx2fc_process_unsol_compl()
711 task_idx = xid / BNX2FC_TASKS_PER_PAGE; in bnx2fc_process_unsol_compl()
712 index = xid % BNX2FC_TASKS_PER_PAGE; in bnx2fc_process_unsol_compl()
717 io_req = (struct bnx2fc_cmd *)hba->cmd_mgr->cmds[xid]; in bnx2fc_process_unsol_compl()
752 "in ABTS processing\n", xid); in bnx2fc_process_unsol_compl()
766 xid); in bnx2fc_process_unsol_compl()
[all …]
Dbnx2fc_debug.c33 io_req->xid, &vaf); in BNX2FC_IO_DBG()
Dbnx2fc.h436 u16 xid; member
537 void bnx2fc_add_2_sq(struct bnx2fc_rport *tgt, u16 xid);
/linux-4.1.27/include/trace/events/
Dsunrpc.h339 TP_PROTO(struct rpc_xprt *xprt, __be32 xid, int status),
341 TP_ARGS(xprt, xid, status),
344 __field(__be32, xid)
351 __entry->xid = xid;
358 __get_str(port), be32_to_cpu(__entry->xid),
363 TP_PROTO(struct rpc_xprt *xprt, __be32 xid, int status),
364 TP_ARGS(xprt, xid, status));
367 TP_PROTO(struct rpc_xprt *xprt, __be32 xid, int status),
368 TP_ARGS(xprt, xid, status));
371 TP_PROTO(struct rpc_xprt *xprt, __be32 xid, int status),
[all …]
/linux-4.1.27/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()
Dsummary.h70 jint32_t xid; /* xattr identifier */ member
127 jint32_t xid; member
Dscan.c332 uint32_t xid, version, totlen, crc; in jffs2_scan_xattr_node() local
344 xid = je32_to_cpu(rx->xid); in jffs2_scan_xattr_node()
357 xd = jffs2_setup_xattr_datum(c, xid, version); in jffs2_scan_xattr_node()
379 ofs, xd->xid, xd->version); in jffs2_scan_xattr_node()
423 ref->xid = je32_to_cpu(rr->xid); in jffs2_scan_xref_node()
435 ofs, ref->xid, ref->ino); in jffs2_scan_xref_node()
/linux-4.1.27/drivers/s390/net/
Dctcm_mpc.c843 priv->xid->xid2_flag2 = 0x00; in mpc_action_go_ready()
970 ch->xid = (struct xid2 *)skb_tail_pointer(ch->xid_skb); in mpc_channel_action()
981 ch->xid->xid2_dlc_type = in mpc_channel_action()
986 ch->xid->xid2_buf_len = 0x00; in mpc_channel_action()
1198 mpcginfo->xid = thisxid; in ctcmpc_unpack_skb()
1303 grp->xid = (struct xid2 *)skb_tail_pointer(grp->xid_skb); in ctcmpc_init_mpc_group()
1305 grp->xid->xid2_adj_id = jiffies | 0xfff00000; in ctcmpc_init_mpc_group()
1306 grp->xid->xid2_sender_id = jiffies; in ctcmpc_init_mpc_group()
1324 priv->xid = grp->xid; in ctcmpc_init_mpc_group()
1550 struct xid2 *xid = mpcginfo->xid; in mpc_validate_xid() local
[all …]
Dctcm_mpc.h152 struct xid2 *xid; member
182 struct xid2 *xid; member
Dctcm_main.h180 struct xid2 *xid; member
207 struct xid2 *xid; /* MPC only */ member
Dctcm_main.c1091 kfree(priv->xid); in ctcm_free_netdevice()
1092 priv->xid = NULL; in ctcm_free_netdevice()
/linux-4.1.27/drivers/scsi/libfc/
Dfc_exch.c452 index = (ep->xid - ep->em->min_xid) >> fc_cpu_order; in fc_exch_delete()
861 ep->oxid = ep->xid = (index << fc_cpu_order | cpu) + mp->min_xid; in fc_exch_em_alloc()
907 static struct fc_exch *fc_exch_find(struct fc_exch_mgr *mp, u16 xid) in fc_exch_find() argument
912 if ((xid >= mp->min_xid) && (xid <= mp->max_xid)) { in fc_exch_find()
913 pool = per_cpu_ptr(mp->pool, xid & fc_cpu_mask); in fc_exch_find()
915 ep = fc_exch_ptr_get(pool, (xid - mp->min_xid) >> fc_cpu_order); in fc_exch_find()
917 WARN_ON(ep->xid != xid); in fc_exch_find()
981 ep->rxid = ep->xid; in fc_exch_resp()
1012 u16 xid; in fc_seq_lookup_recip() local
1021 xid = ntohs(fh->fh_ox_id); /* we originated exch */ in fc_seq_lookup_recip()
[all …]
Dfc_libfc.h89 exch->xid, ##args))
110 void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid);
Dfc_fcp.c304 void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid) in fc_fcp_ddp_setup() argument
311 if (lport->tt.ddp_setup(lport, xid, scsi_sglist(fsp->cmd), in fc_fcp_ddp_setup()
313 fsp->xfer_ddp = xid; in fc_fcp_ddp_setup()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dniobuf.c52 struct ptlrpc_connection *conn, int portal, __u64 xid, in ptl_send_buf() argument
83 len, portal, xid, offset); in ptl_send_buf()
86 conn->c_peer, portal, xid, offset, 0); in ptl_send_buf()
93 libcfs_id2str(conn->c_peer), portal, xid, rc); in ptl_send_buf()
122 __u64 xid; in ptlrpc_register_bulk() local
158 xid = req->rq_xid & ~((__u64)desc->bd_md_max_brw - 1); in ptlrpc_register_bulk()
161 xid != desc->bd_last_xid, in ptlrpc_register_bulk()
163 desc->bd_registered, xid, desc->bd_last_xid); in ptlrpc_register_bulk()
167 desc->bd_last_xid = xid; in ptlrpc_register_bulk()
173 for (posted_md = 0; posted_md < total_md; posted_md++, xid++) { in ptlrpc_register_bulk()
[all …]
/linux-4.1.27/net/sunrpc/
Dbackchannel_rqst.c215 static struct rpc_rqst *xprt_alloc_bc_request(struct rpc_xprt *xprt, __be32 xid) in xprt_alloc_bc_request() argument
229 req->rq_xid = xid; in xprt_alloc_bc_request()
284 struct rpc_rqst *xprt_lookup_bc_request(struct rpc_xprt *xprt, __be32 xid) in xprt_lookup_bc_request() argument
292 if (req->rq_xid == xid) in xprt_lookup_bc_request()
295 req = xprt_alloc_bc_request(xprt, xid); in xprt_lookup_bc_request()
Ddebugfs.c24 u32 xid = 0; in tasks_show() local
33 xid = be32_to_cpu(task->tk_rqstp->rq_xid); in tasks_show()
37 clnt->cl_clid, xid, task->tk_timeout, task->tk_ops, in tasks_show()
Dxprt.c804 struct rpc_rqst *xprt_lookup_rqst(struct rpc_xprt *xprt, __be32 xid) in xprt_lookup_rqst() argument
809 if (entry->rq_xid == xid) { in xprt_lookup_rqst()
810 trace_xprt_lookup_rqst(xprt, xid, 0); in xprt_lookup_rqst()
815 ntohl(xid)); in xprt_lookup_rqst()
816 trace_xprt_lookup_rqst(xprt, xid, -ENOENT); in xprt_lookup_rqst()
1221 return (__force __be32)xprt->xid++; in xprt_alloc_xid()
1226 xprt->xid = prandom_u32(); in xprt_init_xid()
Dsvcsock.c1016 __be32 xid; in receive_cb_reply() local
1019 xid = *p++; in receive_cb_reply()
1025 req = xprt_lookup_rqst(bc_xprt, xid); in receive_cb_reply()
1049 bc_xprt, ntohl(xid)); in receive_cb_reply()
/linux-4.1.27/drivers/net/usb/
Drndis_host.c111 u32 xid = 0, msg_len, request_id, msg_type, rsp, in rndis_command() local
122 xid = dev->xid++; in rndis_command()
123 if (!xid) in rndis_command()
124 xid = dev->xid++; in rndis_command()
125 buf->request_id = (__force __le32) xid; in rndis_command()
135 if (unlikely(retval < 0 || xid == 0)) in rndis_command()
168 if (likely(request_id == xid)) { in rndis_command()
181 request_id, xid); in rndis_command()
Dnet1080.c481 header->packet_id = cpu_to_le16((u16)dev->xid++); in net1080_tx_fixup()
/linux-4.1.27/drivers/target/tcm_fc/
Dtfc_io.c114 __func__, ep->xid); in ft_queue_data_in()
188 __func__, fp, ep->xid, in ft_queue_data_in()
256 "not set\n", __func__, ep->xid, f_ctl, in ft_recv_write_data()
362 if (lport && (ep->xid <= lport->lro_xid)) { in ft_invl_hw_context()
368 ep->xid); in ft_invl_hw_context()
Dtfc_cmd.c178 "xid <0x%x>\n", __func__, fp, ep->xid); in ft_queue_status()
237 if ((ep->xid <= lport->lro_xid) && in ft_write_pending()
240 lport->tt.ddp_target(lport, ep->xid, in ft_write_pending()
/linux-4.1.27/net/ipv4/
Dipconfig.c186 __be32 xid; member
249 get_random_bytes(&d->xid, sizeof(__be32)); in ic_open_devs()
251 d->xid = 0; in ic_open_devs()
254 dev->name, able, d->xid)); in ic_open_devs()
622 __be32 xid; /* Transaction ID */ member
844 b->xid = d->xid; in ic_bootp_send_if()
1026 b->xid != d->xid) { in ic_bootp_recv()
1028 b->op, b->xid); in ic_bootp_recv()
1033 if (b->xid != ic_dev_xid) { in ic_bootp_recv()
1224 ic_dev_xid = d->xid; in ic_dynamic()
/linux-4.1.27/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()
Dnetlink.c104 data->xid = lkb->lkb_ua->xid; in fill_data()
Duser.c43 __u64 xid; member
111 kb->i.lock.xid = kb32->i.lock.xid; in compat_input()
262 ua->xid = params->xid; in device_user_lock()
Ddlm_internal.h675 uint64_t xid; member
Dlock.c5865 ua->xid = ua_tmp->xid; in dlm_user_convert()
5940 ua->xid = ua_tmp->xid; in dlm_user_adopt_orphan()
/linux-4.1.27/fs/nfsd/
Dnfscache.c124 nfsd_cache_hash(__be32 xid) in nfsd_cache_hash() argument
126 return hash_32(be32_to_cpu(xid), maskbits); in nfsd_cache_hash()
412 __be32 xid = rqstp->rq_xid; in nfsd_cache_lookup() local
417 u32 hash = nfsd_cache_hash(xid); in nfsd_cache_lookup()
461 rp->c_xid = xid; in nfsd_cache_lookup()
Dnfs4recover.c707 uint32_t xid; in cld_pipe_downcall() local
719 if (copy_from_user(&xid, &cmsg->cm_xid, sizeof(xid)) != 0) { in cld_pipe_downcall()
728 if (get_unaligned(&tmp->cu_msg.cm_xid) == xid) { in cld_pipe_downcall()
738 dprintk("%s: couldn't find upcall -- xid=%u\n", __func__, xid); in cld_pipe_downcall()
/linux-4.1.27/net/irda/
Dirlap_frame.c411 struct xid_frame *xid; in irlap_recv_discovery_xid_rsp() local
424 xid = (struct xid_frame *) skb->data; in irlap_recv_discovery_xid_rsp()
426 info->daddr = le32_to_cpu(xid->saddr); in irlap_recv_discovery_xid_rsp()
427 info->saddr = le32_to_cpu(xid->daddr); in irlap_recv_discovery_xid_rsp()
485 struct xid_frame *xid; in irlap_recv_discovery_xid_cmd() local
495 xid = (struct xid_frame *) skb->data; in irlap_recv_discovery_xid_cmd()
497 info->daddr = le32_to_cpu(xid->saddr); in irlap_recv_discovery_xid_cmd()
498 info->saddr = le32_to_cpu(xid->daddr); in irlap_recv_discovery_xid_cmd()
507 switch (xid->flags & 0x03) { in irlap_recv_discovery_xid_cmd()
524 info->s = xid->slotnr; in irlap_recv_discovery_xid_cmd()
/linux-4.1.27/include/uapi/linux/
Djffs2.h171 jint32_t xid; /* XATTR identifier number */ member
188 jint32_t xid; /* XATTR identifier number */ member
Ddlm_netlink.h29 __u64 xid; member
Ddlm_device.h39 __u64 xid; member
/linux-4.1.27/include/linux/sunrpc/
Dbc_xprt.h35 struct rpc_rqst *xprt_lookup_bc_request(struct rpc_xprt *xprt, __be32 xid);
Dxprt.h209 u32 xid; /* Next XID value to use */ member
342 struct rpc_rqst * xprt_lookup_rqst(struct rpc_xprt *xprt, __be32 xid);
/linux-4.1.27/net/8021q/
Dvlan_dev.c382 static int vlan_dev_fcoe_ddp_setup(struct net_device *dev, u16 xid, in vlan_dev_fcoe_ddp_setup() argument
390 rc = ops->ndo_fcoe_ddp_setup(real_dev, xid, sgl, sgc); in vlan_dev_fcoe_ddp_setup()
395 static int vlan_dev_fcoe_ddp_done(struct net_device *dev, u16 xid) in vlan_dev_fcoe_ddp_done() argument
402 len = ops->ndo_fcoe_ddp_done(real_dev, xid); in vlan_dev_fcoe_ddp_done()
440 static int vlan_dev_fcoe_ddp_target(struct net_device *dev, u16 xid, in vlan_dev_fcoe_ddp_target() argument
448 rc = ops->ndo_fcoe_ddp_target(real_dev, xid, sgl, sgc); in vlan_dev_fcoe_ddp_target()
/linux-4.1.27/sound/pci/ice1712/
Dquartet.c671 #define PRIV_SW(xid, xbit, xreg) [xid] = {.bit = xbit,\ argument
676 #define PRIV_ENUM2(xid, xbit, xreg, xtext1, xtext2) [xid] = {.bit = xbit,\ argument
/linux-4.1.27/drivers/media/usb/as102/
Das10x_cmd.c385 uint16_t xid, uint16_t cmd_len) in as10x_cmd_build() argument
387 pcmd->header.req_id = cpu_to_le16(xid); in as10x_cmd_build()
/linux-4.1.27/sound/core/
Dinit.c208 int snd_card_new(struct device *parent, int idx, const char *xid, in snd_card_new() argument
226 if (xid) in snd_card_new()
227 strlcpy(card->id, xid, sizeof(card->id)); in snd_card_new()
/linux-4.1.27/include/linux/usb/
Dusbnet.h51 u32 xid; member
/linux-4.1.27/arch/mips/include/asm/pci/
Dbridge.h828 #define mkate(xaddr, xid, attr) ((xaddr) & 0x0000fffffffff000ULL) | \ argument
829 ((xid)<<ATE_TIDSHIFT) | \
/linux-4.1.27/drivers/scsi/fcoe/
Dfcoe.c1031 static int fcoe_ddp_setup(struct fc_lport *lport, u16 xid, in fcoe_ddp_setup() argument
1038 xid, sgl, in fcoe_ddp_setup()
1053 static int fcoe_ddp_target(struct fc_lport *lport, u16 xid, in fcoe_ddp_target() argument
1059 return netdev->netdev_ops->ndo_fcoe_ddp_target(netdev, xid, in fcoe_ddp_target()
1073 static int fcoe_ddp_done(struct fc_lport *lport, u16 xid) in fcoe_ddp_done() argument
1078 return netdev->netdev_ops->ndo_fcoe_ddp_done(netdev, xid); in fcoe_ddp_done()
/linux-4.1.27/drivers/hid/
Dhid-wiimote-modules.c561 __u8 xid, yid; in wiimod_ir_in_ir() local
569 xid = ABS_HAT0X; in wiimod_ir_in_ir()
573 xid = ABS_HAT1X; in wiimod_ir_in_ir()
577 xid = ABS_HAT2X; in wiimod_ir_in_ir()
581 xid = ABS_HAT3X; in wiimod_ir_in_ir()
607 input_report_abs(wdata->ir, xid, x); in wiimod_ir_in_ir()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_cache.c1761 static void osc_process_ar(struct osc_async_rc *ar, __u64 xid, in osc_process_ar() argument
1774 if (ar->ar_force_sync && (xid >= ar->ar_min_xid)) in osc_process_ar()
1786 __u64 xid = 0; in osc_ap_completion() local
1789 xid = ptlrpc_req_xid(oap->oap_request); in osc_ap_completion()
1800 if (oap->oap_cmd & OBD_BRW_WRITE && xid > 0) { in osc_ap_completion()
1802 osc_process_ar(&cli->cl_ar, xid, rc); in osc_ap_completion()
1803 osc_process_ar(&loi->loi_ar, xid, rc); in osc_ap_completion()
/linux-4.1.27/drivers/isdn/act2000/
Dcapi.h91 __u8 xid[100]; /* XID Information */ member
/linux-4.1.27/include/sound/
Dcore.h255 int snd_card_new(struct device *parent, int idx, const char *xid,
/linux-4.1.27/include/scsi/
Dlibfc.h441 u16 xid; member
/linux-4.1.27/sound/oss/
Dad1848.c1821 int xid; in ad1848_detect() local
1824 xid = inb(io_Indexed_Data(devc)); in ad1848_detect()
1826 switch (xid & 0x1f) in ad1848_detect()
1858 printk("Chip ident is %X.\n", xid&0x1F); in ad1848_detect()
/linux-4.1.27/include/linux/
Dnetdevice.h1116 u16 xid,
1120 u16 xid);
1122 u16 xid,
/linux-4.1.27/drivers/staging/gdm724x/
Dgdm_lte.c601 u32 xid; /* unique id */ in gdm_lte_netif_rx() member