Home
last modified time | relevance | path

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

12

/fs/cifs/
Dcifsproto.h85 extern int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
99 extern int SendReceiveBlockingLock(const unsigned int xid,
127 extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
138 struct file_lock *flock, const unsigned int xid);
148 unsigned int xid);
161 int xid, const struct cifs_fid *fid);
164 struct super_block *sb, unsigned int xid);
166 unsigned int xid, char *full_path, __u32 dosattr);
169 const unsigned int xid);
226 extern int cifs_negotiate_protocol(const unsigned int xid,
[all …]
Dsmb2proto.h66 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
70 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
74 FILE_BASIC_INFO *buf, const unsigned int xid);
75 extern int smb2_mkdir(const unsigned int xid, struct cifs_tcon *tcon,
79 struct cifs_tcon *tcon, const unsigned int xid);
80 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
82 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
84 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon,
87 extern int smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon,
90 extern int smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,
[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 …]
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.c228 smb2_negotiate(const unsigned int xid, struct cifs_ses *ses) in smb2_negotiate() argument
232 rc = SMB2_negotiate(xid, ses); in smb2_negotiate()
273 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces() argument
279 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, in SMB3_request_interfaces()
301 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb3_qfs_tcon() argument
316 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL); in smb3_qfs_tcon()
321 SMB3_request_interfaces(xid, tcon); in smb3_qfs_tcon()
324 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
326 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
328 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon()
[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()
91 rc = SMB2_get_srv_num(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
111 const unsigned int xid) in smb2_unlock_range() argument
166 stored_rc = smb2_lockv(xid, tcon, in smb2_unlock_range()
191 stored_rc = smb2_lockv(xid, tcon, cfile->fid.persistent_fid, in smb2_unlock_range()
207 smb2_push_mand_fdlocks(struct cifs_fid_locks *fdlocks, const unsigned int xid, in smb2_push_mand_fdlocks() argument
223 stored_rc = smb2_lockv(xid, tcon, in smb2_push_mand_fdlocks()
235 stored_rc = smb2_lockv(xid, tcon, in smb2_push_mand_fdlocks()
[all …]
Ddir.c216 cifs_do_create(struct inode *inode, struct dentry *direntry, unsigned int xid, in cifs_do_create() argument
246 oflags, oplock, &fid->netfid, xid); in cifs_do_create()
255 CIFSSMBClose(xid, tcon, fid->netfid); in cifs_do_create()
269 CIFSSMBClose(xid, tcon, fid->netfid); in cifs_do_create()
362 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_do_create()
391 CIFSSMBUnixSetFileInfo(xid, tcon, &args, fid->netfid, in cifs_do_create()
407 xid); in cifs_do_create()
410 xid, fid); in cifs_do_create()
449 server->ops->close(xid, tcon, fid); in cifs_do_create()
461 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()
201 unsigned int xid; in cifs_xattr_get() local
213 xid = get_xid(); in cifs_xattr_get()
237 rc = pTcon->ses->server->ops->query_all_EAs(xid, pTcon, in cifs_xattr_get()
273 rc = CIFSSMBGetPosixACL(xid, pTcon, full_path, in cifs_xattr_get()
[all …]
Dioctl.c37 static int cifs_file_clone_range(unsigned int xid, struct file *src_file, in cifs_file_clone_range() argument
79 rc = target_tcon->ses->server->ops->clone_range(xid, in cifs_file_clone_range()
94 static long cifs_ioctl_clone(unsigned int xid, struct file *dst_file, in cifs_ioctl_clone() argument
132 rc = cifs_file_clone_range(xid, src_file.file, dst_file); in cifs_ioctl_clone()
141 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo() argument
182 unsigned int xid; in cifs_ioctl() local
189 xid = get_xid(); in cifs_ioctl()
202 rc = CIFSGetExtAttr(xid, tcon, in cifs_ioctl()
249 xid, tcon, pSMBFile); in cifs_ioctl()
254 rc = cifs_ioctl_clone(xid, filep, 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()
418 unsigned int xid; in cifsFileInfo_put() local
420 xid = get_xid(); in cifsFileInfo_put()
422 server->ops->close(xid, tcon, &cifs_file->fid); in cifsFileInfo_put()
423 _free_xid(xid); in cifsFileInfo_put()
[all …]
Dsmb2pdu.c396 SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses) in SMB2_negotiate() argument
449 rc = SendReceive2(xid, ses, iov, 1, &resp_buftype, flags); in SMB2_negotiate()
523 int smb3_validate_negotiate(const unsigned int xid, struct cifs_tcon *tcon) in smb3_validate_negotiate() argument
568 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, in smb3_validate_negotiate()
610 unsigned int xid; member
695 rc = SendReceive2(sess_data->xid, sess_data->ses, in SMB2_sess_sendreceive()
982 SMB2_sess_setup(const unsigned int xid, struct cifs_ses *ses, in SMB2_sess_setup() argument
1003 sess_data->xid = xid; in SMB2_sess_setup()
1020 SMB2_logoff(const unsigned int xid, struct cifs_ses *ses) in SMB2_logoff() argument
1046 rc = SendReceiveNoRsp(xid, ses, (char *) &req->hdr, 0); in SMB2_logoff()
[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()
650 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon) in CIFSSMBTDis() argument
675 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)smb_buffer, 0); in CIFSSMBTDis()
744 CIFSSMBLogoff(const unsigned int xid, struct cifs_ses *ses) in CIFSSMBLogoff() argument
777 rc = SendReceiveNoRsp(xid, ses, (char *) pSMB, 0); in CIFSSMBLogoff()
790 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, in CIFSPOSIXDelFile() argument
851 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSPOSIXDelFile()
866 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name, in CIFSSMBDelFile() argument
898 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBDelFile()
[all …]
Dconnect.c2347 unsigned int rc, xid; in cifs_put_smb_ses() local
2366 xid = get_xid(); in cifs_put_smb_ses()
2367 rc = server->ops->logoff(xid, ses); in cifs_put_smb_ses()
2371 _free_xid(xid); in cifs_put_smb_ses()
2517 unsigned int xid; in cifs_get_smb_ses() local
2522 xid = get_xid(); in cifs_get_smb_ses()
2530 rc = cifs_negotiate_protocol(xid, ses); in cifs_get_smb_ses()
2535 free_xid(xid); in cifs_get_smb_ses()
2540 rc = cifs_setup_session(xid, ses, in cifs_get_smb_ses()
2546 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()
565 find_cifs_entry(const unsigned int xid, struct cifs_tcon *tcon, loff_t pos, in find_cifs_entry() argument
606 server->ops->close_dir(xid, tcon, &cfile->fid); in find_cifs_entry()
619 rc = initiate_cifs_search(xid, file); in find_cifs_entry()
637 rc = server->ops->query_dir_next(xid, tcon, &cfile->fid, in find_cifs_entry()
776 unsigned int xid; in cifs_readdir() local
786 xid = get_xid(); in cifs_readdir()
793 rc = initiate_cifs_search(xid, file); in cifs_readdir()
820 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
318 xid = get_xid(); in cifs_dfs_do_automount()
319 rc = get_dfs_path(xid, ses, full_path + 1, cifs_sb->local_nls, in cifs_dfs_do_automount()
322 free_xid(xid); in cifs_dfs_do_automount()
Dtransport.c544 SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses, in SendReceiveNoRsp() argument
554 rc = SendReceive2(xid, ses, iov, 1, &resp_buf_type, flags); in SendReceiveNoRsp()
651 SendReceive2(const unsigned int xid, struct cifs_ses *ses, in SendReceive2() argument
782 SendReceive(const unsigned int xid, struct cifs_ses *ses, in SendReceive() argument
895 send_lock_cancel(const unsigned int xid, struct cifs_tcon *tcon, in send_lock_cancel() argument
912 return SendReceive(xid, ses, in_buf, out_buf, in send_lock_cancel()
917 SendReceiveBlockingLock(const unsigned int xid, struct cifs_tcon *tcon, in SendReceiveBlockingLock() argument
1014 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.h20 __field(__be32, xid)
26 __entry->xid = rqstp->rq_xid,
32 __be32_to_cpu(__entry->xid), knfsd_fh_hash(&__entry->fh),
Dnfscache.c116 nfsd_cache_hash(__be32 xid) in nfsd_cache_hash() argument
118 return hash_32(be32_to_cpu(xid), maskbits); in nfsd_cache_hash()
384 __be32 xid = rqstp->rq_xid; in nfsd_cache_lookup() local
389 u32 hash = nfsd_cache_hash(xid); in nfsd_cache_lookup()
433 rp->c_xid = xid; in nfsd_cache_lookup()
/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