Searched refs:lock (Results 151 - 175 of 2113) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/intl/
H A Dlock.h32 Taking the lock: gl_lock_lock (name);
33 Releasing the lock: gl_lock_unlock (name);
41 Taking the lock: gl_rwlock_rdlock (name);
43 Releasing the lock: gl_rwlock_unlock (name);
51 Taking the lock: gl_recursive_lock_lock (name);
52 Releasing the lock: gl_recursive_lock_unlock (name);
234 pthread_rwlock_t rwlock; /* read-write lock */
278 extern void glthread_rwlock_init (gl_rwlock_t *lock);
279 extern void glthread_rwlock_rdlock (gl_rwlock_t *lock);
280 extern void glthread_rwlock_wrlock (gl_rwlock_t *lock);
290 pthread_mutex_t lock; /* protects the remaining fields */ member in struct:__anon2180
930 CRITICAL_SECTION lock; member in struct:__anon2186
969 CRITICAL_SECTION lock; /* protects the remaining fields */ member in struct:__anon2188
1008 CRITICAL_SECTION lock; member in struct:__anon2189
1036 CRITICAL_SECTION lock; member in struct:__anon2190
[all...]
H A Dfinddomain.c42 # include <bits/libc-lock.h>
48 # include "lock.h"
88 gl_rwlock_define_initialized (static, lock);
89 gl_rwlock_rdlock (lock);
97 gl_rwlock_unlock (lock);
152 gl_rwlock_wrlock (lock);
161 gl_rwlock_unlock (lock);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dlock.h31 Taking the lock: gl_lock_lock (name);
32 Releasing the lock: gl_lock_unlock (name);
40 Taking the lock: gl_rwlock_rdlock (name);
42 Releasing the lock: gl_rwlock_unlock (name);
50 Taking the lock: gl_recursive_lock_lock (name);
51 Releasing the lock: gl_recursive_lock_unlock (name);
233 pthread_rwlock_t rwlock; /* read-write lock */
277 extern void glthread_rwlock_init (gl_rwlock_t *lock);
278 extern void glthread_rwlock_rdlock (gl_rwlock_t *lock);
279 extern void glthread_rwlock_wrlock (gl_rwlock_t *lock);
289 pthread_mutex_t lock; /* protects the remaining fields */ member in struct:__anon2304
929 CRITICAL_SECTION lock; member in struct:__anon2310
968 CRITICAL_SECTION lock; /* protects the remaining fields */ member in struct:__anon2312
1007 CRITICAL_SECTION lock; member in struct:__anon2313
1035 CRITICAL_SECTION lock; member in struct:__anon2314
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/
H A Dlock.h31 Taking the lock: gl_lock_lock (name);
32 Releasing the lock: gl_lock_unlock (name);
40 Taking the lock: gl_rwlock_rdlock (name);
42 Releasing the lock: gl_rwlock_unlock (name);
50 Taking the lock: gl_recursive_lock_lock (name);
51 Releasing the lock: gl_recursive_lock_unlock (name);
233 pthread_rwlock_t rwlock; /* read-write lock */
277 extern void glthread_rwlock_init (gl_rwlock_t *lock);
278 extern void glthread_rwlock_rdlock (gl_rwlock_t *lock);
279 extern void glthread_rwlock_wrlock (gl_rwlock_t *lock);
289 pthread_mutex_t lock; /* protects the remaining fields */ member in struct:__anon2367
929 CRITICAL_SECTION lock; member in struct:__anon2373
968 CRITICAL_SECTION lock; /* protects the remaining fields */ member in struct:__anon2375
1007 CRITICAL_SECTION lock; member in struct:__anon2376
1035 CRITICAL_SECTION lock; member in struct:__anon2377
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/tests/
H A Dgettext-6-prg.c43 pthread_mutex_t lock; variable
47 Before the call, the lock is unlocked. After the call, it is locked. */
51 if (pthread_mutex_lock (&lock))
54 if (pthread_cond_wait (&waitqueue, &lock))
59 Before the call, the lock is locked. After the call, it is unlocked. */
66 if (pthread_mutex_unlock (&lock))
147 if (pthread_mutex_init (&lock, NULL))
H A Dgettext-7-prg.c43 pthread_mutex_t lock; variable
47 Before the call, the lock is unlocked. After the call, it is locked. */
51 if (pthread_mutex_lock (&lock))
54 if (pthread_cond_wait (&waitqueue, &lock))
59 Before the call, the lock is locked. After the call, it is unlocked. */
66 if (pthread_mutex_unlock (&lock))
151 if (pthread_mutex_init (&lock, NULL))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/
H A Dc2_pd.c47 spin_lock(&c2dev->pd_table.lock);
61 spin_unlock(&c2dev->pd_table.lock);
67 spin_lock(&c2dev->pd_table.lock);
69 spin_unlock(&c2dev->pd_table.lock);
77 spin_lock_init(&c2dev->pd_table.lock);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/sc/
H A Dtimer.c58 spin_lock_irqsave(&sc_adapter[card]->lock, flags);
66 spin_unlock_irqrestore(&sc_adapter[card]->lock, flags);
74 spin_unlock_irqrestore(&sc_adapter[card]->lock, flags);
115 spin_lock_irqsave(&sc_adapter[card]->lock, flags);
117 spin_unlock_irqrestore(&sc_adapter[card]->lock, flags);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/cxgb3/
H A Dl2t.c48 * Module locking notes: There is a RW lock protecting the L2 table as a
50 * under the protection of the table lock, individual entry changes happen
51 * while holding that entry's spinlock. The table lock nests outside the
52 * entry locks. Allocations of new entries take the table lock as writers so
54 * take the table lock as readers so multiple entries can be updated in
120 * Must be called with the entry's lock held.
139 spin_lock_bh(&e->lock);
142 spin_unlock_bh(&e->lock);
146 spin_lock_bh(&e->lock);
149 spin_unlock_bh(&e->lock);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/block/aoe/
H A Daoeblk.c97 spin_lock_irqsave(&d->lock, flags);
100 spin_unlock_irqrestore(&d->lock, flags);
103 spin_unlock_irqrestore(&d->lock, flags);
115 spin_lock_irqsave(&d->lock, flags);
118 spin_unlock_irqrestore(&d->lock, flags);
122 spin_unlock_irqrestore(&d->lock, flags);
155 spin_lock_irqsave(&d->lock, flags);
160 spin_unlock_irqrestore(&d->lock, flags);
172 spin_unlock_irqrestore(&d->lock, flags);
213 spin_lock_irqsave(&d->lock, flag
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/seq/
H A Dseq_fifo.c53 spin_lock_init(&f->lock);
103 spin_lock_irqsave(&f->lock, flags);
108 spin_unlock_irqrestore(&f->lock, flags);
132 spin_lock_irqsave(&f->lock, flags);
139 spin_unlock_irqrestore(&f->lock, flags);
182 spin_lock_irqsave(&f->lock, flags);
186 spin_unlock_irqrestore(&f->lock, flags);
191 spin_unlock_irq(&f->lock);
193 spin_lock_irq(&f->lock);
196 spin_unlock_irqrestore(&f->lock, flag
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dinet6_hashtables.c29 rwlock_t *lock; local
35 lock = &hashinfo->lhash_lock;
42 lock = &hashinfo->ehash[hash].lock;
43 write_lock(lock);
48 write_unlock(lock);
56 * The sockhash lock must be held as a reader here.
75 read_lock(&head->lock);
95 read_unlock(&head->lock);
100 read_unlock(&head->lock);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/afs/
H A Dvnode.c76 * - caller must hold vnode->lock
185 spin_lock(&vnode->lock);
190 spin_unlock(&vnode->lock);
204 spin_lock(&vnode->lock);
216 spin_unlock(&vnode->lock);
257 spin_lock(&vnode->lock);
261 spin_unlock(&vnode->lock);
292 spin_unlock(&vnode->lock);
297 spin_lock(&vnode->lock);
301 spin_unlock(&vnode->lock);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/emu10k1/
H A Daudio.c69 spin_lock_irqsave(&wiinst->lock, flags);
72 spin_unlock_irqrestore(&wiinst->lock, flags);
80 spin_unlock_irqrestore(&wiinst->lock, flags);
90 spin_lock_irqsave(&wiinst->lock, flags);
94 spin_unlock_irqrestore(&wiinst->lock, flags);
99 spin_lock_irqsave(&wiinst->lock, flags);
108 spin_unlock_irqrestore(&wiinst->lock, flags);
159 spin_lock_irqsave(&woinst->lock, flags);
162 spin_unlock_irqrestore(&woinst->lock, flags);
174 spin_unlock_irqrestore(&woinst->lock, flag
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/lock/
H A Dlock_list.c12 #include "dbinc/lock.h"
20 * each lock. A lock is represented by a 16-bit page-count, a lock
21 * object and a page list. A lock object consists of a 16-bit size
35 * specific lock, then we cannot interpret obj and the pagelist must
38 * Consider a lock list for: File A, pages 1&2, File B pages 3-5, Applock
42 * LOCK for file A LOCK for file B application-specific lock
111 DB_LOCK_ILOCK *lock, *plock; local
160 lock
227 DB_LOCK_ILOCK *lock; local
319 DB_LOCK_ILOCK *lock; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/btree/
H A Dbt_search.c49 #include "dbinc/lock.h"
69 DB_LOCK lock; local
80 * write lock on a page before getting it. This depends on how deep it
82 * if we need to lock the root page we may have to upgrade it later,
83 * because we won't get the correct lock initially.
94 if ((ret = __db_lget(dbc, 0, pg, lock_mode, 0, &lock)) != 0)
98 /* Did not read it, so we can release the lock */
99 (void)__LPUT(dbc, lock);
104 * Decide if we need to save this page; if we do, write lock it.
105 * We deliberately don't lock
170 DB_LOCK lock; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/lib/
H A Dbitext.c52 spin_lock(&t->lock);
66 spin_unlock(&t->lock);
93 spin_unlock(&t->lock);
109 spin_lock(&t->lock);
118 spin_unlock(&t->lock);
129 spin_lock_init(&t->lock);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/drivers/
H A Dharddog_kern.c53 static DEFINE_SPINLOCK(lock);
69 spin_lock(&lock);
84 spin_unlock(&lock);
87 spin_unlock(&lock);
99 spin_lock(&lock);
106 spin_unlock(&lock);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/misc/
H A Drio500.c27 * 30/05/2003 replaced lock/unlock kernel with up/down
71 struct mutex lock; /* general race avoidance */ member in struct:rio_usb_data
80 mutex_lock(&(rio->lock));
83 mutex_unlock(&(rio->lock));
90 mutex_unlock(&(rio->lock));
119 mutex_lock(&(rio->lock));
259 mutex_unlock(&(rio->lock));
279 intr = mutex_lock_interruptible(&(rio->lock));
287 mutex_unlock(&(rio->lock));
310 mutex_unlock(&(rio->lock));
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dlm_interface.h21 * modify the filesystem. The lock module shouldn't assign a journal to the FS
69 * Don't wait to acquire the lock if it can't be granted immediately.
72 * Send one blocking callback if TRY is set and the lock is not granted.
75 * GFS sets this flag on lock requests it makes while doing journal recovery.
85 * Override fairness considerations. Suppose a lock is held in a shared state
86 * and there is a pending request for the deferred state. A shared lock
88 * request and directly join the other shared lock. A shared lock request
90 * requested had acquired and released the lock.
103 * Masks the lower two bits of lock stat
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dhvcs.c267 spinlock_t lock; member in struct:hvcs_struct
366 spin_lock_irqsave(&hvcsd->lock, flags);
368 spin_unlock_irqrestore(&hvcsd->lock, flags);
380 spin_lock_irqsave(&hvcsd->lock, flags);
382 spin_unlock_irqrestore(&hvcsd->lock, flags);
405 spin_lock_irqsave(&hvcsd->lock, flags);
407 spin_unlock_irqrestore(&hvcsd->lock, flags);
425 spin_lock_irqsave(&hvcsd->lock, flags);
428 spin_unlock_irqrestore(&hvcsd->lock, flags);
435 spin_unlock_irqrestore(&hvcsd->lock, flag
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/display/
H A Ddisplay-sysfs.c50 mutex_lock(&dsp->lock);
53 mutex_unlock(&dsp->lock);
75 mutex_lock(&dsp->lock);
81 mutex_unlock(&dsp->lock);
92 mutex_lock(&dsp->lock);
95 mutex_unlock(&dsp->lock);
110 mutex_lock(&dsp->lock);
113 mutex_unlock(&dsp->lock);
121 mutex_lock(&dsp->lock);
124 mutex_unlock(&dsp->lock);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mfd/
H A Dmcp-core.c96 spin_lock_irq(&mcp->lock);
98 spin_unlock_irq(&mcp->lock);
111 spin_lock_irq(&mcp->lock);
113 spin_unlock_irq(&mcp->lock);
130 spin_lock_irqsave(&mcp->lock, flags);
132 spin_unlock_irqrestore(&mcp->lock, flags);
149 spin_lock_irqsave(&mcp->lock, flags);
151 spin_unlock_irqrestore(&mcp->lock, flags);
166 spin_lock_irq(&mcp->lock);
169 spin_unlock_irq(&mcp->lock);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dwait.c15 spin_lock_init(&q->lock);
26 spin_lock_irqsave(&q->lock, flags);
28 spin_unlock_irqrestore(&q->lock, flags);
37 spin_lock_irqsave(&q->lock, flags);
39 spin_unlock_irqrestore(&q->lock, flags);
47 spin_lock_irqsave(&q->lock, flags);
49 spin_unlock_irqrestore(&q->lock, flags);
72 spin_lock_irqsave(&q->lock, flags);
81 spin_unlock_irqrestore(&q->lock, flags);
91 spin_lock_irqsave(&q->lock, flag
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/serial/
H A Dcypress_m8.c124 spinlock_t lock; /* private lock */ member in struct:cypress_private
384 spin_lock_irqsave(&priv->lock, flags);
388 spin_unlock_irqrestore(&priv->lock, flags);
411 spin_lock_irqsave(&priv->lock, flags);
419 spin_unlock_irqrestore(&priv->lock, flags);
422 spin_lock_irqsave(&priv->lock, flags);
424 spin_unlock_irqrestore(&priv->lock, flags);
435 spin_lock_irqsave(&priv->lock, flags);
437 spin_unlock_irqrestore(&priv->lock, flag
[all...]

Completed in 301 milliseconds

1234567891011>>