Searched refs:locktype (Results 1 - 25 of 93) sorted by relevance

1234

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/netatalk-3.0.5/libevent/
H A Devthread.c150 unsigned locktype; member in struct:debug_lock
159 debug_lock_alloc(unsigned locktype) argument
166 locktype|EVTHREAD_LOCKTYPE_RECURSIVE))) {
173 result->locktype = locktype;
180 debug_lock_free(void *lock_, unsigned locktype) argument
184 EVUTIL_ASSERT(locktype == lock->locktype);
187 lock->locktype|EVTHREAD_LOCKTYPE_RECURSIVE);
198 if (!(lock->locktype
315 evthread_setup_global_lock_(void *lock_, unsigned locktype, int enable_locks) argument
377 _evthreadimpl_lock_alloc(unsigned locktype) argument
383 _evthreadimpl_lock_free(void *lock, unsigned locktype) argument
[all...]
H A Devthread-internal.h75 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \
77 _evthread_lock_fns.alloc(locktype) : NULL)
80 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \
84 _evthread_lock_fns.free(_lock_tmp_, (locktype)); \
184 void *_evthreadimpl_lock_alloc(unsigned locktype);
185 void _evthreadimpl_lock_free(void *lock, unsigned locktype);
201 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \
202 ((lockvar) = _evthreadimpl_lock_alloc(locktype))
204 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \
208 _evthreadimpl_lock_free(_lock_tmp_, (locktype)); \
[all...]
H A Devthread_pthread.c43 evthread_posix_lock_alloc(unsigned locktype) argument
49 if (locktype & EVTHREAD_LOCKTYPE_RECURSIVE)
59 evthread_posix_lock_free(void *_lock, unsigned locktype) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/netatalk-3.0.5/libevent/
H A Devthread.c150 unsigned locktype; member in struct:debug_lock
159 debug_lock_alloc(unsigned locktype) argument
166 locktype|EVTHREAD_LOCKTYPE_RECURSIVE))) {
173 result->locktype = locktype;
180 debug_lock_free(void *lock_, unsigned locktype) argument
184 EVUTIL_ASSERT(locktype == lock->locktype);
187 lock->locktype|EVTHREAD_LOCKTYPE_RECURSIVE);
198 if (!(lock->locktype
315 evthread_setup_global_lock_(void *lock_, unsigned locktype, int enable_locks) argument
377 _evthreadimpl_lock_alloc(unsigned locktype) argument
383 _evthreadimpl_lock_free(void *lock, unsigned locktype) argument
[all...]
H A Devthread-internal.h75 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \
77 _evthread_lock_fns.alloc(locktype) : NULL)
80 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \
84 _evthread_lock_fns.free(_lock_tmp_, (locktype)); \
184 void *_evthreadimpl_lock_alloc(unsigned locktype);
185 void _evthreadimpl_lock_free(void *lock, unsigned locktype);
201 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \
202 ((lockvar) = _evthreadimpl_lock_alloc(locktype))
204 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \
208 _evthreadimpl_lock_free(_lock_tmp_, (locktype)); \
[all...]
H A Devthread_pthread.c43 evthread_posix_lock_alloc(unsigned locktype) argument
49 if (locktype & EVTHREAD_LOCKTYPE_RECURSIVE)
59 evthread_posix_lock_free(void *_lock, unsigned locktype) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/netatalk-3.0.5/libevent/
H A Devthread.c150 unsigned locktype; member in struct:debug_lock
159 debug_lock_alloc(unsigned locktype) argument
166 locktype|EVTHREAD_LOCKTYPE_RECURSIVE))) {
173 result->locktype = locktype;
180 debug_lock_free(void *lock_, unsigned locktype) argument
184 EVUTIL_ASSERT(locktype == lock->locktype);
187 lock->locktype|EVTHREAD_LOCKTYPE_RECURSIVE);
198 if (!(lock->locktype
315 evthread_setup_global_lock_(void *lock_, unsigned locktype, int enable_locks) argument
377 _evthreadimpl_lock_alloc(unsigned locktype) argument
383 _evthreadimpl_lock_free(void *lock, unsigned locktype) argument
[all...]
H A Devthread-internal.h75 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \
77 _evthread_lock_fns.alloc(locktype) : NULL)
80 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \
84 _evthread_lock_fns.free(_lock_tmp_, (locktype)); \
184 void *_evthreadimpl_lock_alloc(unsigned locktype);
185 void _evthreadimpl_lock_free(void *lock, unsigned locktype);
201 #define EVTHREAD_ALLOC_LOCK(lockvar, locktype) \
202 ((lockvar) = _evthreadimpl_lock_alloc(locktype))
204 #define EVTHREAD_FREE_LOCK(lockvar, locktype) \
208 _evthreadimpl_lock_free(_lock_tmp_, (locktype)); \
[all...]
H A Devthread_pthread.c43 evthread_posix_lock_alloc(unsigned locktype) argument
49 if (locktype & EVTHREAD_LOCKTYPE_RECURSIVE)
59 evthread_posix_lock_free(void *_lock, unsigned locktype) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/netatalk-3.0.5/libevent/include/event2/
H A Dthread.h105 /** Function to allocate and initialize new lock of type 'locktype'.
107 void *(*alloc)(unsigned locktype);
109 * with type 'locktype'. */
110 void (*free)(void *lock, unsigned locktype);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/netatalk-3.0.5/libevent/include/event2/
H A Dthread.h105 /** Function to allocate and initialize new lock of type 'locktype'.
107 void *(*alloc)(unsigned locktype);
109 * with type 'locktype'. */
110 void (*free)(void *lock, unsigned locktype);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/netatalk-3.0.5/libevent/include/event2/
H A Dthread.h105 /** Function to allocate and initialize new lock of type 'locktype'.
107 void *(*alloc)(unsigned locktype);
109 * with type 'locktype'. */
110 void (*free)(void *lock, unsigned locktype);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/kernel/
H A Dspinlock.c46 #define BUILD_LOCK_OPS(op, locktype) \
47 void __lockfunc __raw_##op##_lock(locktype##_t *lock) \
63 unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \
84 void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \
89 void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/kernel/
H A Dspinlock.c46 #define BUILD_LOCK_OPS(op, locktype) \
47 void __lockfunc __raw_##op##_lock(locktype##_t *lock) \
63 unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \
84 void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \
89 void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/smbd/
H A Dblocking.c270 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
271 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
350 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
356 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
384 ((locktype & LOCKING_ANDX_SHARED_LOCK) ?
404 fsp->fsp_name, fsp->fnum, (unsigned int)locktype, num_locks) );
508 unsigned char locktype = 0; local
511 locktype = CVAL(blr->inbuf,smb_vwv3);
530 locktype,
836 unsigned char locktype,
831 blocking_lock_cancel(files_struct *fsp, uint32 lock_pid, SMB_BIG_UINT offset, SMB_BIG_UINT count, enum brl_flavour lock_flav, unsigned char locktype, NTSTATUS err) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/smbd/
H A Dblocking.c308 unsigned char locktype = CVAL(blr->req->vwv+3, 0); local
309 bool large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
395 unsigned char locktype = CVAL(blr->req->vwv+3, 0); local
401 bool large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
431 ((locktype & LOCKING_ANDX_SHARED_LOCK) ?
453 (unsigned int)locktype, num_locks));
554 unsigned char locktype = 0; local
562 locktype = CVAL(blr->req->vwv+3, 0);
574 locktype,
811 unsigned char locktype,
806 blocking_lock_cancel(files_struct *fsp, uint32 lock_pid, uint64_t offset, uint64_t count, enum brl_flavour lock_flav, unsigned char locktype, NTSTATUS err) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/smbd/
H A Dblocking.c270 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
271 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
350 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
356 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
384 ((locktype & LOCKING_ANDX_SHARED_LOCK) ?
404 fsp->fsp_name, fsp->fnum, (unsigned int)locktype, num_locks) );
508 unsigned char locktype = 0; local
511 locktype = CVAL(blr->inbuf,smb_vwv3);
530 locktype,
836 unsigned char locktype,
831 blocking_lock_cancel(files_struct *fsp, uint32 lock_pid, SMB_BIG_UINT offset, SMB_BIG_UINT count, enum brl_flavour lock_flav, unsigned char locktype, NTSTATUS err) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/smbd/
H A Dblocking.c308 unsigned char locktype = CVAL(blr->req->vwv+3, 0); local
309 bool large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
395 unsigned char locktype = CVAL(blr->req->vwv+3, 0); local
401 bool large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
431 ((locktype & LOCKING_ANDX_SHARED_LOCK) ?
453 (unsigned int)locktype, num_locks));
554 unsigned char locktype = 0; local
562 locktype = CVAL(blr->req->vwv+3, 0);
574 locktype,
811 unsigned char locktype,
806 blocking_lock_cancel(files_struct *fsp, uint32 lock_pid, uint64_t offset, uint64_t count, enum brl_flavour lock_flav, unsigned char locktype, NTSTATUS err) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/smbd/
H A Dblocking.c308 unsigned char locktype = CVAL(blr->req->vwv+3, 0); local
309 bool large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
395 unsigned char locktype = CVAL(blr->req->vwv+3, 0); local
401 bool large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
431 ((locktype & LOCKING_ANDX_SHARED_LOCK) ?
453 (unsigned int)locktype, num_locks));
554 unsigned char locktype = 0; local
562 locktype = CVAL(blr->req->vwv+3, 0);
574 locktype,
811 unsigned char locktype,
806 blocking_lock_cancel(files_struct *fsp, uint32 lock_pid, uint64_t offset, uint64_t count, enum brl_flavour lock_flav, unsigned char locktype, NTSTATUS err) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/smbd/
H A Dblocking.c270 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
271 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
350 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
356 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
384 ((locktype & LOCKING_ANDX_SHARED_LOCK) ?
404 fsp->fsp_name, fsp->fnum, (unsigned int)locktype, num_locks) );
508 unsigned char locktype = 0; local
511 locktype = CVAL(blr->inbuf,smb_vwv3);
530 locktype,
836 unsigned char locktype,
831 blocking_lock_cancel(files_struct *fsp, uint32 lock_pid, SMB_BIG_UINT offset, SMB_BIG_UINT count, enum brl_flavour lock_flav, unsigned char locktype, NTSTATUS err) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba/source/smbd/
H A Dblocking.c198 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
199 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
388 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
394 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
417 if(!do_lock(fsp,conn,count,offset, ((locktype & 1) ? F_RDLCK : F_WRLCK),
429 fsp->fsp_name, fsp->fnum, (unsigned int)locktype, num_locks) );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba/source/smbd/
H A Dblocking.c198 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
199 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
388 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
394 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
417 if(!do_lock(fsp,conn,count,offset, ((locktype & 1) ? F_RDLCK : F_WRLCK),
429 fsp->fsp_name, fsp->fnum, (unsigned int)locktype, num_locks) );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba/source/smbd/
H A Dblocking.c198 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
199 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
388 unsigned char locktype = CVAL(inbuf,smb_vwv3); local
394 BOOL large_file_format = (locktype & LOCKING_ANDX_LARGE_FILES);
417 if(!do_lock(fsp,conn,count,offset, ((locktype & 1) ? F_RDLCK : F_WRLCK),
429 fsp->fsp_name, fsp->fnum, (unsigned int)locktype, num_locks) );
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/netatalk-3.0.5/libatalk/adouble/
H A Dad_lock.c354 int ad_lock(struct adouble *ad, uint32_t eid, int locktype, off_t off, off_t len, int fork) argument
366 locktypetostr(locktype),
371 if ((locktype & ADLOCK_FILELOCK) && (len != 1))
374 type = locktype;
503 int ad_tmplock(struct adouble *ad, uint32_t eid, int locktype, off_t off, off_t len, int fork) argument
512 locktypetostr(locktype),
518 type = locktype;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/netatalk-3.0.5/libatalk/adouble/
H A Dad_lock.c354 int ad_lock(struct adouble *ad, uint32_t eid, int locktype, off_t off, off_t len, int fork) argument
366 locktypetostr(locktype),
371 if ((locktype & ADLOCK_FILELOCK) && (len != 1))
374 type = locktype;
503 int ad_tmplock(struct adouble *ad, uint32_t eid, int locktype, off_t off, off_t len, int fork) argument
512 locktypetostr(locktype),
518 type = locktype;

Completed in 253 milliseconds

1234