Searched defs:mutex (Results 1 - 7 of 7) sorted by relevance

/arch/mips/kernel/
H A Drtlx.c52 struct mutex mutex; member in struct:chan_waitqueues
315 mutex_lock(&channel_wqs[index].mutex);
341 mutex_unlock(&channel_wqs[index].mutex);
358 mutex_lock(&channel_wqs[index].mutex);
384 mutex_unlock(&channel_wqs[index].mutex);
512 mutex_init(&channel_wqs[i].mutex);
/arch/ia64/kernel/
H A Dsalinfo.c35 * Replace the counting semaphore with a mutex and a test if the cpumask is non-empty.
143 struct semaphore mutex; member in struct:salinfo_data
184 /* Kick the mutex that tells user space that there is work to do. Instead of
185 * trying to track the state of the mutex across multiple cpus, in user
187 * it is far easier just to grab the mutex if it is free then release it.
195 (void)(down_trylock(&data->mutex) ?: 0);
196 up(&data->mutex);
312 if (cpus_empty(data->cpu_event) && down_trylock(&data->mutex)) {
315 if (down_interruptible(&data->mutex))
647 sema_init(&data->mutex,
[all...]
/arch/powerpc/platforms/ps3/
H A Dsystem-bus.c41 struct mutex mutex; member in struct:__anon2500
58 mutex_lock(&usage_hack.mutex);
85 mutex_unlock(&usage_hack.mutex);
94 mutex_lock(&usage_hack.mutex);
116 mutex_unlock(&usage_hack.mutex);
124 mutex_lock(&usage_hack.mutex);
141 mutex_unlock(&usage_hack.mutex);
149 mutex_lock(&usage_hack.mutex);
161 mutex_unlock(&usage_hack.mutex);
[all...]
/arch/arm/kernel/
H A Detm.c27 #include <linux/mutex.h>
55 struct mutex mutex; member in struct:tracectx
336 if (!mutex_trylock(&tracer.mutex)) {
342 mutex_unlock(&tracer.mutex);
374 mutex_lock(&t->mutex);
419 mutex_unlock(&t->mutex);
453 mutex_lock(&t->mutex);
472 mutex_unlock(&t->mutex);
493 mutex_lock(&t->mutex);
[all...]
/arch/powerpc/platforms/cell/spufs/
H A Dspufs.h26 #include <linux/mutex.h>
91 struct mutex mapping_lock;
95 struct mutex state_mutex;
96 struct mutex run_mutex;
160 struct mutex mutex; member in struct:spu_gang
166 struct mutex aff_mutex;
H A Dfile.c53 struct mutex mutex; /* protects access to these buffers */ member in struct:spufs_attr
70 mutex_init(&attr->mutex);
93 ret = mutex_lock_interruptible(&attr->mutex);
111 mutex_unlock(&attr->mutex);
127 ret = mutex_lock_interruptible(&attr->mutex);
141 mutex_unlock(&attr->mutex);
2530 /* spufs_wait will drop the mutex and
2539 * state mutex held */
2544 * us while we dropped the mutex i
[all...]
/arch/powerpc/platforms/powermac/
H A Dlow_i2c.c44 #include <linux/mutex.h>
89 struct mutex mutex; member in struct:pmac_i2c_bus
109 struct mutex mutex; /* Access mutex for use by member in struct:pmac_i2c_host_kw
389 mutex_lock(&host->mutex);
396 mutex_unlock(&host->mutex);
512 mutex_init(&host->mutex);
589 mutex_init(&bus->mutex);
[all...]

Completed in 1144 milliseconds