Home
last modified time | relevance | path

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

12

/fs/cifs/
Dcifsproto.h42 #define GetXid() (int)_GetXid(); cFYI(1,("CIFS VFS: in %s as Xid: %d with uid: %d",__func__, xid,cu…
52 extern int SendReceiveNoRsp(const unsigned int xid, struct cifsSesInfo *ses,
57 extern int SendReceiveBlockingLock(const unsigned int xid,
82 extern int CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses,
101 struct super_block *sb, int xid, const __u16 *pfid);
104 struct super_block *sb, int xid);
116 extern int cifs_setup_session(unsigned int xid, struct cifsSesInfo *pSesInfo,
118 extern int CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses);
120 extern int CIFSTCon(unsigned int xid, struct cifsSesInfo *ses,
124 extern int CIFSFindFirst(const int xid, struct cifsTconInfo *tcon,
[all …]
Dxattr.c47 int xid; in cifs_removexattr() local
60 xid = GetXid(); in cifs_removexattr()
67 FreeXid(xid); in cifs_removexattr()
85 rc = CIFSSMBSetEA(xid, pTcon, full_path, ea_name, NULL, in cifs_removexattr()
91 FreeXid(xid); in cifs_removexattr()
101 int xid; in cifs_setxattr() local
114 xid = GetXid(); in cifs_setxattr()
121 FreeXid(xid); in cifs_setxattr()
133 FreeXid(xid); in cifs_setxattr()
146 rc = CIFSSMBSetEA(xid, pTcon, full_path, ea_name, ea_value, in cifs_setxattr()
[all …]
Dlink.c36 int xid; in cifs_hardlink() local
43 xid = GetXid(); in cifs_hardlink()
60 rc = CIFSUnixCreateHardLink(xid, pTcon, fromName, toName, in cifs_hardlink()
65 rc = CIFSCreateHardLink(xid, pTcon, fromName, toName, in cifs_hardlink()
102 FreeXid(xid); in cifs_hardlink()
111 int xid; in cifs_follow_link() local
117 xid = GetXid(); in cifs_follow_link()
140 rc = CIFSSMBUnixQuerySymLink(xid, pTcon, full_path, in cifs_follow_link()
164 FreeXid(xid); in cifs_follow_link()
173 int xid; in cifs_symlink() local
[all …]
Dinode.c246 const unsigned char *full_path, struct super_block *sb, int xid) argument
262 rc = CIFSSMBUnixQPathInfo(xid, pTcon, full_path, &find_data,
310 struct cifs_sb_info *cifs_sb, int xid) argument
329 rc = CIFSSMBOpen(xid, pTcon, path, FILE_OPEN, GENERIC_READ,
337 rc = CIFSSMBRead(xid, pTcon,
375 CIFSSMBClose(xid, pTcon, netfid);
384 struct cifs_sb_info *cifs_sb, int xid) argument
391 rc = CIFSSMBQueryEA(xid, cifs_sb->tcon, path, "SETFILEBITS",
442 struct super_block *sb, int xid, const __u16 *pfid) argument
473 rc = CIFSSMBQPathInfo(xid, pTcon, full_path, pfindData,
[all …]
Dfile.c103 char *full_path, int xid) in cifs_open_inode_helper() argument
149 full_path, inode->i_sb, xid); in cifs_open_inode_helper()
152 full_path, buf, inode->i_sb, xid, NULL); in cifs_open_inode_helper()
168 int xid, oplock; in cifs_open() local
180 xid = GetXid(); in cifs_open()
206 FreeXid(xid); in cifs_open()
217 FreeXid(xid); in cifs_open()
272 rc = CIFSSMBOpen(xid, pTcon, full_path, disposition, in cifs_open()
281 rc = SMBLegacyOpen(xid, pTcon, full_path, disposition, in cifs_open()
304 &oplock, buf, full_path, xid); in cifs_open()
[all …]
Ddir.c134 int *poplock, __u16 *pnetfid, int xid) in cifs_posix_open() argument
176 rc = CIFSPOSIXCreate(xid, cifs_sb->tcon, posix_flags, mode, in cifs_posix_open()
222 int xid; in cifs_create() local
244 xid = GetXid(); in cifs_create()
251 FreeXid(xid); in cifs_create()
268 mode, oflags, &oplock, &fileHandle, xid); in cifs_create()
315 FreeXid(xid); in cifs_create()
327 rc = CIFSSMBOpen(xid, tcon, full_path, disposition, in cifs_create()
336 rc = SMBLegacyOpen(xid, tcon, full_path, disposition, in cifs_create()
367 CIFSSMBUnixSetInfo(xid, tcon, full_path, &args, in cifs_create()
[all …]
Dioctl.c37 int xid; in cifs_ioctl() local
48 xid = GetXid(); in cifs_ioctl()
60 FreeXid(xid); in cifs_ioctl()
80 rc = CIFSGetExtAttr(xid, tcon, pSMBFile->netfid, in cifs_ioctl()
108 FreeXid(xid); in cifs_ioctl()
Dcifsacl.c562 int xid; in get_cifs_acl() local
574 xid = GetXid(); in get_cifs_acl()
582 FreeXid(xid); in get_cifs_acl()
593 rc = CIFSSMBOpen(xid, cifs_sb->tcon, path, FILE_OPEN, in get_cifs_acl()
599 FreeXid(xid); in get_cifs_acl()
604 rc = CIFSSMBGetCIFSACL(xid, cifs_sb->tcon, fid, &pntsd, pacllen); in get_cifs_acl()
609 CIFSSMBClose(xid, cifs_sb->tcon, fid); in get_cifs_acl()
612 FreeXid(xid); in get_cifs_acl()
622 int xid; in set_cifs_acl() local
638 xid = GetXid(); in set_cifs_acl()
[all …]
Dcifssmb.c447 CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses) in CIFSSMBNegotiate() argument
497 rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, in CIFSSMBNegotiate()
740 CIFSSMBTDis(const int xid, struct cifsTconInfo *tcon) in CIFSSMBTDis() argument
765 rc = SendReceiveNoRsp(xid, tcon->ses, smb_buffer, 0); in CIFSSMBTDis()
778 CIFSSMBLogoff(const int xid, struct cifsSesInfo *ses) in CIFSSMBLogoff() argument
812 rc = SendReceiveNoRsp(xid, ses, (struct smb_hdr *) pSMB, 0); in CIFSSMBLogoff()
825 CIFSPOSIXDelFile(const int xid, struct cifsTconInfo *tcon, const char *fileName, in CIFSPOSIXDelFile() argument
885 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSPOSIXDelFile()
900 CIFSSMBDelFile(const int xid, struct cifsTconInfo *tcon, const char *fileName, in CIFSSMBDelFile() argument
931 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBDelFile()
[all …]
Dcifsfs.c231 int xid; in cifs_statfs() local
233 xid = GetXid(); in cifs_statfs()
253 rc = CIFSSMBQFSPosixInfo(xid, tcon, buf); in cifs_statfs()
260 rc = CIFSSMBQFSInfo(xid, tcon, buf); in cifs_statfs()
268 rc = SMBOldQFSInfo(xid, tcon, buf); in cifs_statfs()
270 FreeXid(xid); in cifs_statfs()
427 int xid; in cifs_xquota_set() local
438 xid = GetXid(); in cifs_xquota_set()
444 FreeXid(xid); in cifs_xquota_set()
451 int xid; in cifs_xquota_get() local
[all …]
Dconnect.c1578 int xid; in cifs_put_smb_ses() local
1591 xid = GetXid(); in cifs_put_smb_ses()
1592 CIFSSMBLogoff(xid, ses); in cifs_put_smb_ses()
1593 _FreeXid(xid); in cifs_put_smb_ses()
1624 int xid; in cifs_put_tcon() local
1636 xid = GetXid(); in cifs_put_tcon()
1637 CIFSSMBTDis(xid, tcon); in cifs_put_tcon()
1638 _FreeXid(xid); in cifs_put_tcon()
1646 get_dfs_path(int xid, struct cifsSesInfo *pSesInfo, const char *old_path, in get_dfs_path() argument
1668 rc = CIFSTCon(xid, pSesInfo, temp_unc, NULL, nls_codepage); in get_dfs_path()
[all …]
Dtransport.c421 SendReceiveNoRsp(const unsigned int xid, struct cifsSesInfo *ses, in SendReceiveNoRsp() argument
431 rc = SendReceive2(xid, ses, iov, 1, &resp_buf_type, flags); in SendReceiveNoRsp()
438 SendReceive2(const unsigned int xid, struct cifsSesInfo *ses, in SendReceive2() argument
575 receive_len, xid)); in SendReceive2()
634 SendReceive(const unsigned int xid, struct cifsSesInfo *ses, in SendReceive() argument
766 receive_len, xid)); in SendReceive()
844 send_lock_cancel(const unsigned int xid, struct cifsTconInfo *tcon, in send_lock_cancel() argument
861 return SendReceive(xid, ses, in_buf, out_buf, in send_lock_cancel()
866 SendReceiveBlockingLock(const unsigned int xid, struct cifsTconInfo *tcon, in SendReceiveBlockingLock() argument
964 rc = send_lock_cancel(xid, tcon, in_buf, out_buf); in SendReceiveBlockingLock()
[all …]
Dreaddir.c439 static int initiate_cifs_search(const int xid, struct file *file) in initiate_cifs_search() argument
488 rc = CIFSFindFirst(xid, pTcon, full_path, cifs_sb->local_nls, in initiate_cifs_search()
711 static int find_cifs_entry(const int xid, struct cifsTconInfo *pTcon, in find_cifs_entry() argument
747 CIFSFindClose(xid, pTcon, cifsFile->netfid); in find_cifs_entry()
760 rc = initiate_cifs_search(xid, file); in find_cifs_entry()
772 rc = CIFSFindNext(xid, pTcon, cifsFile->netfid, in find_cifs_entry()
989 int xid, i; in cifs_readdir() local
999 xid = GetXid(); in cifs_readdir()
1030 rc = initiate_cifs_search(xid, file); in cifs_readdir()
1033 FreeXid(xid); in cifs_readdir()
[all …]
Dcifs_dfs_ref.c310 int xid, i; in cifs_dfs_follow_mountpoint() local
317 xid = GetXid(); in cifs_dfs_follow_mountpoint()
342 rc = get_dfs_path(xid, ses , full_path + 1, cifs_sb->local_nls, in cifs_dfs_follow_mountpoint()
380 FreeXid(xid); in cifs_dfs_follow_mountpoint()
Dmisc.c46 unsigned int xid; in _GetXid() local
56 xid = GlobalCurrentXid++; in _GetXid()
58 return xid; in _GetXid()
62 _FreeXid(unsigned int xid) in _FreeXid() argument
Dsess.c416 CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, int first_time, in CIFS_SessSetup() argument
666 rc = SendReceive2(xid, ses, iov, 3 /* num_iovecs */, &resp_buf_type, in CIFS_SessSetup()
/fs/jffs2/
Dxattr.c85 D1(dbg_xattr("%s: xid=%u, version=%u\n", __func__, xd->xid, xd->version)); in unload_xattr_datum()
160 || je32_to_cpu(rx.xid) != xd->xid in do_verify_xattr_datum()
167 je32_to_cpu(rx.xid), xd->xid, in do_verify_xattr_datum()
194 xd->xid, xd->version); in do_verify_xattr_datum()
253 xd->xid, xd->xprefix, xd->xname); in do_load_xattr_datum()
304 rx.xid = cpu_to_je32(xd->xid); in save_xattr_datum()
326 xd->xid, xd->version, xd->xprefix, xd->xname); in save_xattr_datum()
371 xd->xid = ++c->highest_xid; in create_xattr_datum()
414 xd->xid, xd->version); in unrefer_xattr_datum()
476 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.c87 je32_to_cpu(item->x.xid), je32_to_cpu(item->x.version)); in jffs2_sum_add_mem()
165 temp->xid = rx->xid; in jffs2_sum_add_xattr_mem()
320 temp->xid = node->x.xid; in jffs2_sum_add_kvec()
494 je32_to_cpu(spx->xid), je32_to_cpu(spx->version)); in jffs2_sum_process_sum_data()
496 xd = jffs2_setup_xattr_datum(c, je32_to_cpu(spx->xid), in jffs2_sum_process_sum_data()
512 *pseudo_random += je32_to_cpu(spx->xid); in jffs2_sum_process_sum_data()
756 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.c322 uint32_t xid, version, totlen, crc; in jffs2_scan_xattr_node() local
334 xid = je32_to_cpu(rx->xid); in jffs2_scan_xattr_node()
347 xd = jffs2_setup_xattr_datum(c, xid, version); in jffs2_scan_xattr_node()
369 ofs, xd->xid, xd->version); in jffs2_scan_xattr_node()
413 ref->xid = je32_to_cpu(rr->xid); in jffs2_scan_xref_node()
425 ofs, ref->xid, ref->ino); in jffs2_scan_xref_node()
/fs/nfsd/
Dnfscache.c32 #define REQHASH(xid) (((((__force __u32)xid) >> 24) ^ ((__force __u32)xid)) & (HASHSIZE-1)) argument
125 __be32 xid = rqstp->rq_xid; in nfsd_cache_lookup() local
141 rh = &hash_list[REQHASH(xid)]; in nfsd_cache_lookup()
144 xid == rp->c_xid && proc == rp->c_proc && in nfsd_cache_lookup()
182 rp->c_xid = xid; in nfsd_cache_lookup()
/fs/dlm/
Ddebug_fs.c175 u64 xid = 0; in print_format2_lock() local
181 xid = lkb->lkb_ua->xid; in print_format2_lock()
195 (unsigned long long)xid, in print_format2_lock()
240 u64 xid = 0; in print_format3_lock() local
245 xid = lkb->lkb_ua->xid; in print_format3_lock()
253 (unsigned long long)xid, in print_format3_lock()
Dnetlink.c119 data->xid = lkb->lkb_ua->xid; in fill_data()
Duser.c41 __u64 xid; member
110 kb->i.lock.xid = kb32->i.lock.xid; in compat_input()
281 ua->xid = params->xid; in device_user_lock()

12