Searched refs:oplock (Results 1 - 25 of 63) sorted by relevance

123

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/ntvfs/posix/
H A Dpvfs_oplock.c4 POSIX NTVFS backend - oplock handling
52 if (!h->oplock) {
58 DEBUG(0,("Unable to lock opendb for oplock update\n"));
63 h->oplock->level = OPLOCK_NONE;
65 h->oplock->level = OPLOCK_LEVEL_II;
68 DEBUG(1,("unexpected oplock break level[0x%02X]\n", oplock_break));
69 h->oplock->level = OPLOCK_LEVEL_II;
71 status = odb_update_oplock(olck, h, h->oplock->level);
73 DEBUG(0,("Unable to update oplock level for '%s' - %s\n",
81 /* after a break to none, we no longer have an oplock attache
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/ntvfs/posix/
H A Dpvfs_oplock.c4 POSIX NTVFS backend - oplock handling
52 if (!h->oplock) {
58 DEBUG(0,("Unable to lock opendb for oplock update\n"));
63 h->oplock->level = OPLOCK_NONE;
65 h->oplock->level = OPLOCK_LEVEL_II;
68 DEBUG(1,("unexpected oplock break level[0x%02X]\n", oplock_break));
69 h->oplock->level = OPLOCK_LEVEL_II;
71 status = odb_update_oplock(olck, h, h->oplock->level);
73 DEBUG(0,("Unable to update oplock level for '%s' - %s\n",
81 /* after a break to none, we no longer have an oplock attache
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/ntvfs/posix/
H A Dpvfs_oplock.c4 POSIX NTVFS backend - oplock handling
52 if (!h->oplock) {
58 DEBUG(0,("Unable to lock opendb for oplock update\n"));
63 h->oplock->level = OPLOCK_NONE;
65 h->oplock->level = OPLOCK_LEVEL_II;
68 DEBUG(1,("unexpected oplock break level[0x%02X]\n", oplock_break));
69 h->oplock->level = OPLOCK_LEVEL_II;
71 status = odb_update_oplock(olck, h, h->oplock->level);
73 DEBUG(0,("Unable to update oplock level for '%s' - %s\n",
81 /* after a break to none, we no longer have an oplock attache
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/libcli/raw/
H A Dclioplock.c3 SMB client oplock functions
25 send an ack for an oplock break request
54 set the oplock handler for a connection
60 transport->oplock.handler = handler;
61 transport->oplock.private_data = private_data;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/libcli/raw/
H A Dclioplock.c3 SMB client oplock functions
25 send an ack for an oplock break request
54 set the oplock handler for a connection
60 transport->oplock.handler = handler;
61 transport->oplock.private_data = private_data;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/libcli/raw/
H A Dclioplock.c3 SMB client oplock functions
25 send an ack for an oplock break request
54 set the oplock handler for a connection
60 transport->oplock.handler = handler;
61 transport->oplock.private_data = private_data;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/torture/smb2/
H A Dlease.c68 uint32_t oplock, uint64_t leasekey,
73 io->in.oplock_level = oplock;
114 uint32_t oplock)
117 oplock, 0, 0);
517 /* a oplock break request handler */
544 static inline uint32_t oplock(const char *op) { function
614 tree->session->transport->oplock.handler = torture_oplock_handler;
615 tree->session->transport->oplock.private_data = tree;
626 held, lease(held), contend, oplock(contend),
627 brokento, lease(brokento), granted, oplock(grante
66 smb2_generic_create(struct smb2_create *io, struct smb2_lease *ls, bool dir, const char *name, uint32_t disposition, uint32_t oplock, uint64_t leasekey, uint32_t leasestate) argument
113 smb2_oplock_create(struct smb2_create *io, const char *name, uint32_t oplock) argument
[all...]
H A Doplocks.c66 /* a oplock break request handler */
90 printf("Acking to %s [0x%02X] in oplock handler\n",
113 const char *fname = "oplock.dat";
116 tree->session->transport->oplock.handler = torture_oplock_handler;
117 tree->session->transport->oplock.private_data = tree;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/torture/smb2/
H A Dlease.c68 uint32_t oplock, uint64_t leasekey,
73 io->in.oplock_level = oplock;
114 uint32_t oplock)
117 oplock, 0, 0);
517 /* a oplock break request handler */
544 static inline uint32_t oplock(const char *op) { function
614 tree->session->transport->oplock.handler = torture_oplock_handler;
615 tree->session->transport->oplock.private_data = tree;
626 held, lease(held), contend, oplock(contend),
627 brokento, lease(brokento), granted, oplock(grante
66 smb2_generic_create(struct smb2_create *io, struct smb2_lease *ls, bool dir, const char *name, uint32_t disposition, uint32_t oplock, uint64_t leasekey, uint32_t leasestate) argument
113 smb2_oplock_create(struct smb2_create *io, const char *name, uint32_t oplock) argument
[all...]
H A Doplocks.c66 /* a oplock break request handler */
90 printf("Acking to %s [0x%02X] in oplock handler\n",
113 const char *fname = "oplock.dat";
116 tree->session->transport->oplock.handler = torture_oplock_handler;
117 tree->session->transport->oplock.private_data = tree;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/torture/smb2/
H A Dlease.c68 uint32_t oplock, uint64_t leasekey,
73 io->in.oplock_level = oplock;
114 uint32_t oplock)
117 oplock, 0, 0);
517 /* a oplock break request handler */
544 static inline uint32_t oplock(const char *op) { function
614 tree->session->transport->oplock.handler = torture_oplock_handler;
615 tree->session->transport->oplock.private_data = tree;
626 held, lease(held), contend, oplock(contend),
627 brokento, lease(brokento), granted, oplock(grante
66 smb2_generic_create(struct smb2_create *io, struct smb2_lease *ls, bool dir, const char *name, uint32_t disposition, uint32_t oplock, uint64_t leasekey, uint32_t leasestate) argument
113 smb2_oplock_create(struct smb2_create *io, const char *name, uint32_t oplock) argument
[all...]
H A Doplocks.c66 /* a oplock break request handler */
90 printf("Acking to %s [0x%02X] in oplock handler\n",
113 const char *fname = "oplock.dat";
116 tree->session->transport->oplock.handler = torture_oplock_handler;
117 tree->session->transport->oplock.private_data = tree;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/cifs/
H A Ddir.c136 __u32 oplock)
170 if ((oplock & 0xF) == OPLOCK_EXCLUSIVE) {
174 } else if ((oplock & 0xF) == OPLOCK_READ)
279 __u32 oplock = 0; local
309 oplock = REQ_OPLOCK;
320 inode->i_sb, mode, oflags, &oplock, &fileHandle, xid);
378 &fileHandle, &oplock, buf, cifs_sb->local_nls,
387 &fileHandle, &oplock, buf, cifs_sb->local_nls,
397 if ((tcon->unix_ext) && (oplock & CIFS_CREATE_ACTION)) {
439 if ((oplock
134 cifs_new_fileinfo(struct inode *newinode, __u16 fileHandle, struct file *file, struct vfsmount *mnt, unsigned int oflags, __u32 oplock) argument
494 int oplock = 0; local
613 __u32 oplock = 0; local
[all...]
H A Dfile.c112 struct cifsInodeInfo *pCifsInode, __u32 oplock,
150 if ((oplock & 0xF) == OPLOCK_EXCLUSIVE) {
155 } else if ((oplock & 0xF) == OPLOCK_READ)
166 struct cifsTconInfo *pTcon, int *oplock, FILE_ALL_INFO *buf,
208 if ((*oplock & 0xF) == OPLOCK_EXCLUSIVE) {
212 } else if ((*oplock & 0xF) == OPLOCK_READ)
222 __u32 oplock; local
250 oplock = REQ_OPLOCK;
252 oplock = 0;
263 oflags, &oplock,
111 cifs_posix_open_inode_helper(struct inode *inode, struct file *file, struct cifsInodeInfo *pCifsInode, __u32 oplock, u16 netfid) argument
165 cifs_open_inode_helper(struct inode *inode, struct cifsTconInfo *pTcon, int *oplock, FILE_ALL_INFO *buf, char *full_path, int xid) argument
421 __u32 oplock; local
[all...]
H A Dinode.c97 /* don't bother with revalidation if we have an oplock */
354 int oplock = 0; local
376 CREATE_NOT_DIR, &netfid, &oplock, NULL,
865 int oplock = 0; local
938 CREATE_NOT_DIR, &netfid, &oplock,
972 int oplock = 0; local
984 &netfid, &oplock, NULL, cifs_sb->local_nls,
1195 u32 oplock = 0; local
1205 mode, NULL /* netfid */, pInfo, &oplock,
1407 int oplock, r local
1732 int oplock = 0; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/cifs/
H A Ddir.c136 __u32 oplock)
170 if ((oplock & 0xF) == OPLOCK_EXCLUSIVE) {
174 } else if ((oplock & 0xF) == OPLOCK_READ)
279 __u32 oplock = 0; local
309 oplock = REQ_OPLOCK;
320 inode->i_sb, mode, oflags, &oplock, &fileHandle, xid);
378 &fileHandle, &oplock, buf, cifs_sb->local_nls,
387 &fileHandle, &oplock, buf, cifs_sb->local_nls,
397 if ((tcon->unix_ext) && (oplock & CIFS_CREATE_ACTION)) {
439 if ((oplock
134 cifs_new_fileinfo(struct inode *newinode, __u16 fileHandle, struct file *file, struct vfsmount *mnt, unsigned int oflags, __u32 oplock) argument
494 int oplock = 0; local
613 __u32 oplock = 0; local
[all...]
H A Dfile.c112 struct cifsInodeInfo *pCifsInode, __u32 oplock,
150 if ((oplock & 0xF) == OPLOCK_EXCLUSIVE) {
155 } else if ((oplock & 0xF) == OPLOCK_READ)
166 struct cifsTconInfo *pTcon, int *oplock, FILE_ALL_INFO *buf,
208 if ((*oplock & 0xF) == OPLOCK_EXCLUSIVE) {
212 } else if ((*oplock & 0xF) == OPLOCK_READ)
222 __u32 oplock; local
250 oplock = REQ_OPLOCK;
252 oplock = 0;
263 oflags, &oplock,
111 cifs_posix_open_inode_helper(struct inode *inode, struct file *file, struct cifsInodeInfo *pCifsInode, __u32 oplock, u16 netfid) argument
165 cifs_open_inode_helper(struct inode *inode, struct cifsTconInfo *pTcon, int *oplock, FILE_ALL_INFO *buf, char *full_path, int xid) argument
421 __u32 oplock; local
[all...]
H A Dinode.c97 /* don't bother with revalidation if we have an oplock */
354 int oplock = 0; local
376 CREATE_NOT_DIR, &netfid, &oplock, NULL,
865 int oplock = 0; local
938 CREATE_NOT_DIR, &netfid, &oplock,
972 int oplock = 0; local
984 &netfid, &oplock, NULL, cifs_sb->local_nls,
1195 u32 oplock = 0; local
1205 mode, NULL /* netfid */, pInfo, &oplock,
1407 int oplock, r local
1732 int oplock = 0; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/libcli/smb2/
H A Dsmb2.h110 /* a oplock break request handler */
114 /* private data passed to the oplock handler */
116 } oplock; member in struct:smb2_transport
123 /* private data passed to the oplock handler */
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/libcli/smb2/
H A Dsmb2.h110 /* a oplock break request handler */
114 /* private data passed to the oplock handler */
116 } oplock; member in struct:smb2_transport
123 /* private data passed to the oplock handler */
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/libcli/smb2/
H A Dsmb2.h110 /* a oplock break request handler */
114 /* private data passed to the oplock handler */
116 } oplock; member in struct:smb2_transport
123 /* private data passed to the oplock handler */
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba/source/rpcclient/
H A Ddisplay.c55 convert an oplock mode to a string
59 static fstring oplock; local
63 oplock[0] = 0;
65 if (excl ) fstrcat(oplock, "EXCLUSIVE");
66 if (excl && batch) fstrcat(oplock, "+");
67 if ( batch) fstrcat(oplock, "BATCH");
68 if (!excl && !batch) fstrcat(oplock, "NONE");
70 return oplock;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba/source/rpcclient/
H A Ddisplay.c55 convert an oplock mode to a string
59 static fstring oplock; local
63 oplock[0] = 0;
65 if (excl ) fstrcat(oplock, "EXCLUSIVE");
66 if (excl && batch) fstrcat(oplock, "+");
67 if ( batch) fstrcat(oplock, "BATCH");
68 if (!excl && !batch) fstrcat(oplock, "NONE");
70 return oplock;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba/source/rpcclient/
H A Ddisplay.c55 convert an oplock mode to a string
59 static fstring oplock; local
63 oplock[0] = 0;
65 if (excl ) fstrcat(oplock, "EXCLUSIVE");
66 if (excl && batch) fstrcat(oplock, "+");
67 if ( batch) fstrcat(oplock, "BATCH");
68 if (!excl && !batch) fstrcat(oplock, "NONE");
70 return oplock;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/smbd/
H A Doplock_onefs.c111 * Find a callback record in the list of outstanding oplock operations.
113 * Once n ifs_createfile requests an oplock on a file, the kernel communicates
114 * with samba via the oplock event channel by sending events that reference an
191 * open can be done, an event is sent by the kernel on the oplock event
193 * the deferred open is retried. Unless a level I oplock was acquired by
357 * Revoke an oplock from an unresponsive client.
360 * oplock break to be acknowledged by the client. The oplock is then
380 DEBUG(0,("Level 1 oplock break failed for file %s. Forcefully "
381 "revoking oplock\
502 enum oplock_type oplock = onefs_samba_oplock_to_oplock(oplock_type); local
[all...]

Completed in 237 milliseconds

123