/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_semaphore.c | 35 struct amdgpu_semaphore **semaphore) in amdgpu_semaphore_create() argument 39 *semaphore = kmalloc(sizeof(struct amdgpu_semaphore), GFP_KERNEL); in amdgpu_semaphore_create() 40 if (*semaphore == NULL) { in amdgpu_semaphore_create() 44 &(*semaphore)->sa_bo, 8, 8); in amdgpu_semaphore_create() 46 kfree(*semaphore); in amdgpu_semaphore_create() 47 *semaphore = NULL; in amdgpu_semaphore_create() 50 (*semaphore)->waiters = 0; in amdgpu_semaphore_create() 51 (*semaphore)->gpu_addr = amdgpu_sa_bo_gpu_addr((*semaphore)->sa_bo); in amdgpu_semaphore_create() 53 *((uint64_t *)amdgpu_sa_bo_cpu_addr((*semaphore)->sa_bo)) = 0; in amdgpu_semaphore_create() 59 struct amdgpu_semaphore *semaphore) in amdgpu_semaphore_emit_signal() argument [all …]
|
D | amdgpu_test.c | 293 struct amdgpu_semaphore *semaphore = NULL; in amdgpu_test_ring_sync() local 296 r = amdgpu_semaphore_create(adev, &semaphore); in amdgpu_test_ring_sync() 307 amdgpu_semaphore_emit_wait(ringA, semaphore); in amdgpu_test_ring_sync() 319 amdgpu_semaphore_emit_wait(ringA, semaphore); in amdgpu_test_ring_sync() 338 amdgpu_semaphore_emit_signal(ringB, semaphore); in amdgpu_test_ring_sync() 359 amdgpu_semaphore_emit_signal(ringB, semaphore); in amdgpu_test_ring_sync() 369 amdgpu_semaphore_free(adev, &semaphore, NULL); in amdgpu_test_ring_sync() 387 struct amdgpu_semaphore *semaphore = NULL; in amdgpu_test_ring_sync2() local 391 r = amdgpu_semaphore_create(adev, &semaphore); in amdgpu_test_ring_sync2() 402 amdgpu_semaphore_emit_wait(ringA, semaphore); in amdgpu_test_ring_sync2() [all …]
|
D | amdgpu_sync.c | 287 struct amdgpu_semaphore *semaphore; in amdgpu_sync_rings() local 320 r = amdgpu_semaphore_create(adev, &semaphore); in amdgpu_sync_rings() 324 sync->semaphores[count++] = semaphore; in amdgpu_sync_rings() 332 if (!amdgpu_semaphore_emit_signal(other, semaphore)) { in amdgpu_sync_rings() 342 if (!amdgpu_semaphore_emit_wait(ring, semaphore)) { in amdgpu_sync_rings()
|
D | amdgpu_vce.h | 38 struct amdgpu_semaphore *semaphore,
|
D | amdgpu.h | 336 struct amdgpu_semaphore *semaphore, 649 struct amdgpu_semaphore **semaphore); 651 struct amdgpu_semaphore *semaphore); 653 struct amdgpu_semaphore *semaphore); 655 struct amdgpu_semaphore **semaphore, 2255 #define amdgpu_ring_emit_semaphore(r, semaphore, emit_wait) (r)->funcs->emit_semaphore((r), (semaph… argument
|
D | uvd_v6_0.c | 495 struct amdgpu_semaphore *semaphore, in uvd_v6_0_ring_emit_semaphore() argument 498 uint64_t addr = semaphore->gpu_addr; in uvd_v6_0_ring_emit_semaphore()
|
D | uvd_v5_0.c | 495 struct amdgpu_semaphore *semaphore, in uvd_v5_0_ring_emit_semaphore() argument 498 uint64_t addr = semaphore->gpu_addr; in uvd_v5_0_ring_emit_semaphore()
|
D | uvd_v4_2.c | 451 struct amdgpu_semaphore *semaphore, in uvd_v4_2_ring_emit_semaphore() argument 454 uint64_t addr = semaphore->gpu_addr; in uvd_v4_2_ring_emit_semaphore()
|
D | amdgpu_vce.c | 755 struct amdgpu_semaphore *semaphore, in amdgpu_vce_ring_emit_semaphore() argument 758 uint64_t addr = semaphore->gpu_addr; in amdgpu_vce_ring_emit_semaphore()
|
D | cik_sdma.c | 308 struct amdgpu_semaphore *semaphore, in cik_sdma_ring_emit_semaphore() argument 311 u64 addr = semaphore->gpu_addr; in cik_sdma_ring_emit_semaphore()
|
D | sdma_v2_4.c | 348 struct amdgpu_semaphore *semaphore, in sdma_v2_4_ring_emit_semaphore() argument 351 u64 addr = semaphore->gpu_addr; in sdma_v2_4_ring_emit_semaphore()
|
D | sdma_v3_0.c | 459 struct amdgpu_semaphore *semaphore, in sdma_v3_0_ring_emit_semaphore() argument 462 u64 addr = semaphore->gpu_addr; in sdma_v3_0_ring_emit_semaphore()
|
D | gfx_v8_0.c | 4648 struct amdgpu_semaphore *semaphore, in gfx_v8_0_ring_emit_semaphore() argument 4651 uint64_t addr = semaphore->gpu_addr; in gfx_v8_0_ring_emit_semaphore()
|
D | gfx_v7_0.c | 2530 struct amdgpu_semaphore *semaphore, in gfx_v7_0_ring_emit_semaphore() argument 2533 uint64_t addr = semaphore->gpu_addr; in gfx_v7_0_ring_emit_semaphore()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_semaphore.c | 35 struct radeon_semaphore **semaphore) in radeon_semaphore_create() argument 39 *semaphore = kmalloc(sizeof(struct radeon_semaphore), GFP_KERNEL); in radeon_semaphore_create() 40 if (*semaphore == NULL) { in radeon_semaphore_create() 44 &(*semaphore)->sa_bo, 8, 8); in radeon_semaphore_create() 46 kfree(*semaphore); in radeon_semaphore_create() 47 *semaphore = NULL; in radeon_semaphore_create() 50 (*semaphore)->waiters = 0; in radeon_semaphore_create() 51 (*semaphore)->gpu_addr = radeon_sa_bo_gpu_addr((*semaphore)->sa_bo); in radeon_semaphore_create() 53 *((uint64_t *)radeon_sa_bo_cpu_addr((*semaphore)->sa_bo)) = 0; in radeon_semaphore_create() 59 struct radeon_semaphore *semaphore) in radeon_semaphore_emit_signal() argument [all …]
|
D | radeon_test.c | 312 struct radeon_semaphore *semaphore = NULL; in radeon_test_ring_sync() local 315 r = radeon_semaphore_create(rdev, &semaphore); in radeon_test_ring_sync() 326 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync() 338 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync() 357 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); in radeon_test_ring_sync() 378 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); in radeon_test_ring_sync() 388 radeon_semaphore_free(rdev, &semaphore, NULL); in radeon_test_ring_sync() 406 struct radeon_semaphore *semaphore = NULL; in radeon_test_ring_sync2() local 410 r = radeon_semaphore_create(rdev, &semaphore); in radeon_test_ring_sync2() 421 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync2() [all …]
|
D | radeon_sync.c | 146 struct radeon_semaphore *semaphore; in radeon_sync_rings() local 165 r = radeon_semaphore_create(rdev, &semaphore); in radeon_sync_rings() 169 sync->semaphores[count++] = semaphore; in radeon_sync_rings() 177 if (!radeon_semaphore_emit_signal(rdev, i, semaphore)) { in radeon_sync_rings() 187 if (!radeon_semaphore_emit_wait(rdev, ring, semaphore)) { in radeon_sync_rings()
|
D | uvd_v3_1.c | 42 struct radeon_semaphore *semaphore, in uvd_v3_1_semaphore_emit() argument 45 uint64_t addr = semaphore->gpu_addr; in uvd_v3_1_semaphore_emit()
|
D | uvd_v2_2.c | 74 struct radeon_semaphore *semaphore, in uvd_v2_2_semaphore_emit() argument 77 uint64_t addr = semaphore->gpu_addr; in uvd_v2_2_semaphore_emit()
|
D | radeon_asic.h | 80 struct radeon_semaphore *semaphore, 326 struct radeon_semaphore *semaphore, 332 struct radeon_semaphore *semaphore, 792 struct radeon_semaphore *semaphore, 812 struct radeon_semaphore *semaphore, 946 struct radeon_semaphore *semaphore, 956 struct radeon_semaphore *semaphore, 962 struct radeon_semaphore *semaphore,
|
D | r600_dma.c | 315 struct radeon_semaphore *semaphore, in r600_dma_semaphore_ring_emit() argument 318 u64 addr = semaphore->gpu_addr; in r600_dma_semaphore_ring_emit()
|
D | radeon.h | 596 struct radeon_semaphore **semaphore); 598 struct radeon_semaphore *semaphore); 600 struct radeon_semaphore *semaphore); 602 struct radeon_semaphore **semaphore, 1743 struct radeon_semaphore *semaphore, 1831 struct radeon_semaphore *semaphore, bool emit_wait); 2746 …semaphore_ring_emit(rdev, r, cp, semaphore, emit_wait) (rdev)->asic->ring[(r)]->emit_semaphore((rd… argument
|
D | radeon_vce.c | 697 struct radeon_semaphore *semaphore, in radeon_vce_semaphore_emit() argument 700 uint64_t addr = semaphore->gpu_addr; in radeon_vce_semaphore_emit()
|
D | uvd_v1_0.c | 466 struct radeon_semaphore *semaphore, in uvd_v1_0_semaphore_emit() argument
|
D | cik_sdma.c | 230 struct radeon_semaphore *semaphore, in cik_sdma_semaphore_ring_emit() argument 233 u64 addr = semaphore->gpu_addr; in cik_sdma_semaphore_ring_emit()
|
D | r600.c | 2925 struct radeon_semaphore *semaphore, in r600_semaphore_ring_emit() argument 2928 uint64_t addr = semaphore->gpu_addr; in r600_semaphore_ring_emit()
|
D | cik.c | 4035 struct radeon_semaphore *semaphore, in cik_semaphore_ring_emit() argument 4038 uint64_t addr = semaphore->gpu_addr; in cik_semaphore_ring_emit()
|
D | r100.c | 874 struct radeon_semaphore *semaphore, in r100_semaphore_ring_emit() argument
|
/linux-4.4.14/include/linux/ |
D | semaphore.h | 16 struct semaphore { struct 30 struct semaphore name = __SEMAPHORE_INITIALIZER(name, 1) argument 32 static inline void sema_init(struct semaphore *sem, int val) in sema_init() 35 *sem = (struct semaphore) __SEMAPHORE_INITIALIZER(*sem, val); in sema_init() 39 extern void down(struct semaphore *sem); 40 extern int __must_check down_interruptible(struct semaphore *sem); 41 extern int __must_check down_killable(struct semaphore *sem); 42 extern int __must_check down_trylock(struct semaphore *sem); 43 extern int __must_check down_timeout(struct semaphore *sem, long jiffies); 44 extern void up(struct semaphore *sem);
|
D | hil_mlc.h | 136 struct semaphore csem; /* Raised when loop idle */ 139 struct semaphore osem; /* Raised when outpacket dispatched */ 143 struct semaphore isem; /* Raised when a packet arrives */
|
D | hp_sdc.h | 71 struct semaphore *semaphore; /* Semaphore to sleep on. */ member
|
D | netpoll.h | 39 struct semaphore dev_lock;
|
D | hid.h | 510 struct semaphore driver_lock; /* protects the current driver, except during input */ 511 struct semaphore driver_input_lock; /* protects the current driver */
|
D | parport.h | 185 struct semaphore irq;
|
D | syscalls.h | 43 struct semaphore;
|
/linux-4.4.14/kernel/locking/ |
D | semaphore.c | 36 static noinline void __down(struct semaphore *sem); 37 static noinline int __down_interruptible(struct semaphore *sem); 38 static noinline int __down_killable(struct semaphore *sem); 39 static noinline int __down_timeout(struct semaphore *sem, long timeout); 40 static noinline void __up(struct semaphore *sem); 53 void down(struct semaphore *sem) in down() 75 int down_interruptible(struct semaphore *sem) in down_interruptible() 101 int down_killable(struct semaphore *sem) in down_killable() 130 int down_trylock(struct semaphore *sem) in down_trylock() 155 int down_timeout(struct semaphore *sem, long timeout) in down_timeout() [all …]
|
D | Makefile | 2 obj-y += mutex.o semaphore.o rwsem.o percpu-rwsem.o
|
/linux-4.4.14/drivers/staging/wilc1000/ |
D | wilc_wfi_netdevice.h | 136 struct semaphore SemHandleUpdateStats; 137 struct semaphore hSemScanReq; 169 struct semaphore txq_add_to_head_cs; 175 struct semaphore cfg_event; 176 struct semaphore sync_event; 177 struct semaphore txq_event; 179 struct semaphore txq_thread_started;
|
D | host_interface.h | 307 struct semaphore gtOsCfgValuesSem; 308 struct semaphore hSemTestKeyBlock; 310 struct semaphore hSemTestDisconnectBlock; 311 struct semaphore hSemGetRSSI; 312 struct semaphore hSemGetLINKSPEED; 313 struct semaphore hSemGetCHNL; 314 struct semaphore hSemInactiveTime;
|
D | wilc_msgqueue.h | 23 struct semaphore hSem;
|
D | linux_wlan.c | 95 static struct semaphore close_exit_sync; 344 error = down_timeout((struct semaphore *)vp, msecs_to_jiffies(timeout)); in linux_wlan_lock_timeout()
|
D | host_interface.c | 240 static struct semaphore hif_sema_thread; 241 static struct semaphore hif_sema_driver; 242 static struct semaphore hif_sema_wait_response; 243 static struct semaphore hif_sema_deinit;
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_ringbuffer.c | 1245 u64 gtt_offset = signaller->semaphore.signal_ggtt[i]; in gen8_rcs_signal() 1286 u64 gtt_offset = signaller->semaphore.signal_ggtt[i]; in gen8_xcs_signal() 1324 u32 mbox_reg = signaller->semaphore.mbox.signal[i]; in gen6_signal() 1354 if (ring->semaphore.signal) in gen6_add_request() 1355 ret = ring->semaphore.signal(req, 4); in gen6_add_request() 1421 u32 wait_mbox = signaller->semaphore.mbox.wait[waiter->id]; in gen6_ring_sync() 2134 memset(ring->semaphore.sync_seqno, 0, sizeof(ring->semaphore.sync_seqno)); in intel_init_ring_buffer() 2683 ring->semaphore.sync_to = gen8_ring_sync; in intel_init_render_ring_buffer() 2684 ring->semaphore.signal = gen8_rcs_signal; in intel_init_render_ring_buffer() 2699 ring->semaphore.sync_to = gen6_ring_sync; in intel_init_render_ring_buffer() [all …]
|
D | intel_ringbuffer.h | 70 ring->semaphore.signal_ggtt[RCS] = GEN8_SIGNAL_OFFSET(ring, RCS); \ 71 ring->semaphore.signal_ggtt[VCS] = GEN8_SIGNAL_OFFSET(ring, VCS); \ 72 ring->semaphore.signal_ggtt[BCS] = GEN8_SIGNAL_OFFSET(ring, BCS); \ 73 ring->semaphore.signal_ggtt[VECS] = GEN8_SIGNAL_OFFSET(ring, VECS); \ 74 ring->semaphore.signal_ggtt[VCS2] = GEN8_SIGNAL_OFFSET(ring, VCS2); \ 75 ring->semaphore.signal_ggtt[ring->id] = MI_SEMAPHORE_SYNC_INVALID; \ 262 } semaphore; member
|
D | i915_gpu_error.c | 837 ering->semaphore_seqno[idx] = ring->semaphore.sync_seqno[idx]; in gen8_record_semaphore_state() 847 ering->semaphore_seqno[0] = ring->semaphore.sync_seqno[0]; in gen6_record_semaphore_state() 848 ering->semaphore_seqno[1] = ring->semaphore.sync_seqno[1]; in gen6_record_semaphore_state() 853 ering->semaphore_seqno[2] = ring->semaphore.sync_seqno[2]; in gen6_record_semaphore_state()
|
D | i915_gem.c | 2483 for (j = 0; j < ARRAY_SIZE(ring->semaphore.sync_seqno); j++) in i915_gem_init_seqno() 2484 ring->semaphore.sync_seqno[j] = 0; in i915_gem_init_seqno() 3153 if (seqno <= from->semaphore.sync_seqno[idx]) in __i915_gem_object_sync() 3163 ret = to->semaphore.sync_to(*to_req, from, seqno); in __i915_gem_object_sync() 3171 from->semaphore.sync_seqno[idx] = in __i915_gem_object_sync()
|
D | i915_irq.c | 2764 if (offset == signaller->semaphore.signal_ggtt[ring->id]) in semaphore_wait_to_signaller_ring() 2774 if (sync_bits == signaller->semaphore.mbox.wait[ring->id]) in semaphore_wait_to_signaller_ring()
|
D | i915_debugfs.c | 3054 I915_READ(ring->semaphore.mbox.signal[j])); in i915_semaphore_status() 3061 seq_printf(m, " 0x%08x ", ring->semaphore.sync_seqno[j]); in i915_semaphore_status()
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | exsystem.c | 65 acpi_status acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout) in acpi_ex_system_wait_semaphore() argument 71 status = acpi_os_wait_semaphore(semaphore, 1, ACPI_DO_NOT_WAIT); in acpi_ex_system_wait_semaphore() 82 status = acpi_os_wait_semaphore(semaphore, 1, timeout); in acpi_ex_system_wait_semaphore()
|
D | acinterp.h | 323 acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout);
|
/linux-4.4.14/drivers/input/serio/ |
D | hp_sdc_mlc.c | 196 if (priv->trans.act.semaphore != &mlc->csem) in hp_sdc_mlc_cts() 206 priv->trans.act.semaphore = &mlc->csem; in hp_sdc_mlc_cts() 220 priv->trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_cts() 248 priv->trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_out() 289 priv->trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_out() 319 hp_sdc_mlc_priv.trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_init()
|
D | hp_sdc.c | 201 if (curr->act.semaphore) in hp_sdc_take() 202 up(curr->act.semaphore); in hp_sdc_take() 331 if (curr->act.semaphore) in hp_sdc_tasklet() 332 up(curr->act.semaphore); in hp_sdc_tasklet() 569 up(curr->act.semaphore); in hp_sdc_put() 836 struct semaphore s_sync; in hp_sdc_init() 906 t_sync.act.semaphore = &s_sync; in hp_sdc_init() 1002 struct semaphore tq_init_sem; in hp_sdc_register() 1047 tq_init.act.semaphore = &tq_init_sem; in hp_sdc_register()
|
/linux-4.4.14/drivers/char/ |
D | snsc.h | 37 struct semaphore sd_rbs; /* semaphore for read buffer */ 38 struct semaphore sd_wbs; /* semaphore for write buffer */
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
D | rtw_pwrctrl.h | 100 static inline void _init_pwrlock(struct semaphore *plock) in _init_pwrlock() 105 static inline void _enter_pwrlock(struct semaphore *plock) in _enter_pwrlock() 110 static inline void _exit_pwrlock(struct semaphore *plock) in _exit_pwrlock() 165 struct semaphore lock;
|
D | rtw_xmit.h | 272 struct semaphore xmit_sema; 273 struct semaphore terminate_xmitthread_sema; 298 struct semaphore tx_retevt;/* all tx return event; */
|
D | rtw_cmd.h | 47 struct semaphore cmd_queue_sema; 48 struct semaphore terminate_cmdthread_sema;
|
D | osdep_service.h | 86 u32 _rtw_down_sema(struct semaphore *sema);
|
/linux-4.4.14/fs/jffs2/ |
D | README.Locking | 141 This read/write semaphore protects against concurrent access to the 154 This read/write semaphore protects against concurrent access to the 156 In read-only path, write-semaphore is too much exclusion. It's enough 157 by read-semaphore. But you must hold write-semaphore when updating, 162 when updating such a object is necessary under holding read semaphore. 163 For example, do_jffs2_getxattr() holds read-semaphore to scan xref and 164 xdatum at first. But it retries this process with holding write-semaphore 165 after release read-semaphore, if it's necessary to load name/value pair
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | rtl871x_pwrctrl.h | 90 static inline void _enter_pwrlock(struct semaphore *plock) in _enter_pwrlock() 96 struct semaphore lock;
|
D | osdep_intf.h | 39 struct semaphore io_retevt;
|
D | osdep_service.h | 63 static inline u32 _down_sema(struct semaphore *sema) in _down_sema()
|
D | rtl871x_cmd.h | 53 struct semaphore cmd_queue_sema; 54 struct semaphore terminate_cmdthread_sema;
|
/linux-4.4.14/Documentation/ |
D | percpu-rw-semaphore.txt | 4 Percpu rw semaphores is a new read-write semaphore design that is 8 cores take the lock for reading, the cache line containing the semaphore
|
D | 00-INDEX | 354 percpu-rw-semaphore.txt 355 - RCU based read-write semaphore optimized for locking for reading
|
D | kprobes.txt | 132 non-recursive and can never relinquish the CPU (e.g., via a semaphore 564 a semaphore).
|
D | memory-barriers.txt | 2227 Consider, for example, the R/W semaphore slow path. Here a waiting process is 2228 queued on the semaphore, by virtue of it having a piece of its stack linked to 2229 the semaphore's list of waiting processes: 2249 (3) clear the task pointer to tell the waiter it has been given the semaphore; 2266 Once it has queued itself and dropped the semaphore lock, the waiter does not 2293 This could be dealt with using the semaphore lock, but then the down_xxx()
|
D | kernel-docs.txt | 356 Keywords: locks, locking, spinlock, semaphore, atomic, race
|
D | devices.txt | 397 179 = /dev/xsvc High-speed shared-mem/semaphore service
|
/linux-4.4.14/drivers/md/bcache/ |
D | bcache.h | 299 struct semaphore sb_write_mutex; 334 struct semaphore in_flight; 494 struct semaphore sb_write_mutex; 600 struct semaphore moving_in_flight; 616 struct semaphore uuid_write_mutex;
|
D | btree.h | 140 struct semaphore io_mutex;
|
/linux-4.4.14/Documentation/networking/ |
D | netdevices.txt | 51 Synchronization: rtnl_lock() semaphore. 55 Synchronization: rtnl_lock() semaphore. 60 Synchronization: rtnl_lock() semaphore.
|
/linux-4.4.14/drivers/media/pci/ngene/ |
D | ngene.h | 717 struct semaphore reslock; 769 struct semaphore cmd_mutex; 770 struct semaphore stream_mutex; 771 struct semaphore pll_mutex; 772 struct semaphore i2c_switch_mutex;
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | scan.h | 25 struct semaphore lock;
|
/linux-4.4.14/drivers/input/misc/ |
D | hp_sdc_rtc.c | 59 static struct semaphore i8042tregs; 86 struct semaphore tsem; in hp_sdc_rtc_do_read_bbrtc() 105 t.act.semaphore = &tsem; in hp_sdc_rtc_do_read_bbrtc() 177 t.act.semaphore = &i8042tregs; in hp_sdc_rtc_read_i8042timer()
|
/linux-4.4.14/drivers/staging/rtl8723au/include/ |
D | rtw_xmit.h | 278 struct semaphore xmit_sema; 279 struct semaphore terminate_xmitthread_sema; 313 struct semaphore tx_retevt;/* all tx return event; */
|
D | rtw_io.h | 108 struct semaphore sema;
|
D | rtw_pwrctrl.h | 152 struct semaphore lock;
|
/linux-4.4.14/drivers/acpi/ |
D | osl.c | 1241 struct semaphore *sem = NULL; in acpi_os_create_semaphore() 1243 sem = acpi_os_allocate_zeroed(sizeof(struct semaphore)); in acpi_os_create_semaphore() 1266 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_delete_semaphore() 1286 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_wait_semaphore() 1330 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_signal_semaphore()
|
/linux-4.4.14/drivers/mmc/card/ |
D | queue.h | 50 struct semaphore thread_sem;
|
/linux-4.4.14/drivers/gpu/host1x/ |
D | cdma.h | 70 struct semaphore sem; /* signalled when event occurs */
|
/linux-4.4.14/include/video/ |
D | udlfb.h | 29 struct semaphore limit_sem;
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_dbg.c | 72 (uint8_t) offsetof(struct isp_reg, u1.isp4022.semaphore), in qla4xxx_dump_registers() 73 readw(&ha->reg->u1.isp4022.semaphore)); in qla4xxx_dump_registers()
|
D | ql4_def.h | 937 &ha->reg->u1.isp4022.semaphore); in isp_semaphore()
|
D | ql4_fw.h | 119 __le32 semaphore; member
|
/linux-4.4.14/Documentation/ia64/ |
D | err_inject.txt | 388 /* clear old semaphore */ 392 /* get one semaphore */ 395 printf("Please remove semaphore with key=0x%lx, then run the tool.\n", 402 /* initialize the semaphore to 1: */ 811 /* Create semaphore: If one_lock, one semaphore for all processors. 812 Otherwise, one semaphore for each processor. */ 815 printf("Can not create semaphore...exit\n"); 823 printf("Can not create semaphore for cpu%d...exit\n",i);
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | eeh_event.c | 38 static struct semaphore eeh_eventlist_sem;
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
D | osdep_service.c | 66 u32 _rtw_down_sema(struct semaphore *sema) in _rtw_down_sema()
|
/linux-4.4.14/lib/ |
D | test_rhashtable.c | 76 static struct semaphore prestart_sem; 77 static struct semaphore startup_sem = __SEMAPHORE_INITIALIZER(startup_sem, 0);
|
/linux-4.4.14/ipc/ |
D | sem.c | 2144 struct sem *semaphore = &sma->sem_base[i]; in exit_sem() local 2146 semaphore->semval += un->semadj[i]; in exit_sem() 2160 if (semaphore->semval < 0) in exit_sem() 2161 semaphore->semval = 0; in exit_sem() 2162 if (semaphore->semval > SEMVMX) in exit_sem() 2163 semaphore->semval = SEMVMX; in exit_sem() 2164 semaphore->sempid = task_tgid_vnr(current); in exit_sem()
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | megaraid_ioctl.h | 288 struct semaphore kioc_semaphore;
|
D | megaraid_sas.h | 1766 struct semaphore ioctl_sem;
|
/linux-4.4.14/drivers/net/irda/ |
D | sir-dev.h | 24 struct semaphore sem;
|
/linux-4.4.14/fs/affs/ |
D | affs.h | 45 struct semaphore i_link_lock; /* Protects internal inode access. */ 46 struct semaphore i_ext_lock; /* Protects internal inode access. */
|
/linux-4.4.14/Documentation/namespaces/ |
D | compatibility-list.txt | 19 object inside the kernel. E.g. semaphore with IPCID or
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | opal-async.c | 32 static struct semaphore opal_async_sem;
|
/linux-4.4.14/drivers/staging/gdm72xx/ |
D | netlink_k.c | 40 static struct semaphore netlink_mutex;
|
/linux-4.4.14/drivers/staging/gdm724x/ |
D | netlink_k.c | 27 static struct semaphore netlink_mutex;
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
D | udl_drv.h | 43 struct semaphore limit_sem;
|
/linux-4.4.14/Documentation/RCU/ |
D | arrayRCU.txt | 52 to map from semaphore, message-queue, and shared-memory IDs to the data 55 ids->sem semaphore.
|
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_core.h | 380 struct semaphore wx_sem; 381 struct semaphore rf_sem;
|
/linux-4.4.14/drivers/staging/unisys/include/ |
D | visorbus.h | 147 struct semaphore visordriver_callback_lock;
|
/linux-4.4.14/drivers/infiniband/ulp/isert/ |
D | ib_isert.h | 220 struct semaphore sem;
|
/linux-4.4.14/drivers/block/mtip32xx/ |
D | mtip32xx.h | 447 struct semaphore cmd_slot_unal;
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | octeon.h | 338 extern struct semaphore octeon_bootbus_sem;
|
/linux-4.4.14/Documentation/devicetree/bindings/power/ |
D | renesas,sysc-rmobile.txt | 20 semaphore.
|
/linux-4.4.14/Documentation/serial/ |
D | driver | 44 There are three locks. A per-port spinlock, a per-port tmpbuf semaphore, 45 and an overall semaphore. 61 The port_sem semaphore is used to protect against ports being added/ 63 semaphore has been the 'mutex' member of the tty_port struct, and
|
D | tty.txt | 81 termios semaphore so allowed to sleep. Serialized 284 itself by a semaphore. May sleep.
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_dev.h | 123 struct semaphore poll_sem; 124 struct semaphore event_sem;
|
/linux-4.4.14/net/9p/ |
D | trans_rdma.c | 99 struct semaphore sq_sem; 101 struct semaphore rq_sem;
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | main.h | 624 struct semaphore async_sem; 973 struct semaphore *card_sem; 1365 int mwifiex_add_card(void *, struct semaphore *, struct mwifiex_if_ops *, u8); 1366 int mwifiex_remove_card(struct mwifiex_adapter *, struct semaphore *);
|
D | main.c | 507 struct semaphore *sem = adapter->card_sem; in mwifiex_fw_dpc() 1315 mwifiex_add_card(void *card, struct semaphore *sem, in mwifiex_add_card() 1416 int mwifiex_remove_card(struct mwifiex_adapter *adapter, struct semaphore *sem) in mwifiex_remove_card()
|
D | usb.c | 27 static struct semaphore add_remove_card_sem;
|
D | sdio.c | 52 static struct semaphore add_remove_card_sem;
|
D | pcie.c | 38 static struct semaphore add_remove_card_sem;
|
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/ |
D | lib-types.h | 583 struct semaphore ln_rc_signal;
|
/linux-4.4.14/fs/xfs/ |
D | xfs_buf.h | 154 struct semaphore b_sema; /* semaphore for lockables */
|
/linux-4.4.14/include/linux/mlx5/ |
D | driver.h | 265 struct semaphore sem; 266 struct semaphore pages_sem;
|
/linux-4.4.14/drivers/staging/rtl8192u/ |
D | r8192U.h | 882 struct semaphore wx_sem; 883 struct semaphore rf_sem; /* Used to lock rf write operation */
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | ibmphp_hpc.c | 106 static struct semaphore semOperations; // lock all operations and 108 static struct semaphore sem_exit; // make sure polling thread goes away
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | esas2r.h | 948 struct semaphore fm_api_semaphore; 949 struct semaphore fs_api_semaphore; 950 struct semaphore nvram_semaphore;
|
/linux-4.4.14/Documentation/security/ |
D | keys.txt | 1065 (2) The key's semaphore. 1067 The semaphore could be used to govern access to the payload and to control 1074 RCU must be used when the semaphore isn't already held; if the semaphore 1076 semaphore must still be used to serialise modifications to the key. The 1093 payload just dereferenced if the key's semaphore is not held. 1148 before a key is created (add key) or the key semaphore is taken (update or 1223 The key will have its semaphore write-locked before this method is called, 1289 data upon a key being revoked. The caller will have the key semaphore 1293 a deadlock against the key semaphore. 1334 This method will be called with the key's semaphore read-locked. This will
|
D | Smack.txt | 498 IPC objects, message queues, semaphore sets, and memory segments exist in flat
|
/linux-4.4.14/drivers/usb/misc/ |
D | usblcd.c | 54 struct semaphore limit_sem; /* to stop writes at
|
D | ftdi-elan.c | 173 struct semaphore sw_lock;
|
/linux-4.4.14/arch/arm/mach-vexpress/ |
D | spc.c | 109 struct semaphore sem;
|
/linux-4.4.14/drivers/staging/rtl8192e/ |
D | rtllib.h | 1654 struct semaphore wx_sem; 1655 struct semaphore scan_sem; 1656 struct semaphore ips_sem;
|
/linux-4.4.14/Documentation/scsi/ |
D | ChangeLog.sym53c8xx_2 | 117 semaphore in order to behave synchronously as required by the eh
|
D | ChangeLog.1992-1997 | 1753 option for no-multi lun scan. Add semaphore for possible problems 1834 * sr.h: Add needs_sector_size semaphore. 1884 * scsi.c: Add lockable semaphore for removable devices that can have 1895 to lock door for devices that do not have lockable semaphore set.
|
D | ChangeLog.lpfc | 390 waiting on a semaphore and "modprobe -r lpfc" is not always 392 semaphore for the interruptable sleep.
|
/linux-4.4.14/Documentation/locking/ |
D | locktorture.txt | 58 o "rwsem_lock": read/write down() and up() semaphore pairs.
|
D | mutex-design.txt | 148 as large as 'struct semaphore' (24 bytes) and tied, along with rwsems,
|
/linux-4.4.14/drivers/usb/ |
D | usb-skeleton.c | 52 struct semaphore limit_sem; /* limiting the number of writes in progress */
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 79 if (RD_REG_WORD(®->semaphore) & BIT_0) { in qla2100_intr_handler() 100 WRT_REG_WORD(®->semaphore, 0); in qla2100_intr_handler() 101 RD_REG_WORD(®->semaphore); in qla2100_intr_handler() 219 WRT_REG_WORD(®->semaphore, 0); in qla2300_intr_handler() 3187 WRT_REG_WORD(®->isp.semaphore, 0); in qla2x00_request_irqs()
|
D | qla_dbg.c | 421 WRT_REG_WORD(®->semaphore, 0); in qla2xxx_dump_ram() 1008 if (RD_REG_WORD(®->semaphore) & BIT_0) { in qla2100_fw_dump() 1015 WRT_REG_WORD(®->semaphore, 0); in qla2100_fw_dump()
|
D | qla_def.h | 450 uint16_t semaphore; /* Semaphore */ member
|
D | qla_init.c | 1078 WRT_REG_WORD(®->semaphore, 0); in qla2x00_reset_chip()
|
/linux-4.4.14/Documentation/filesystems/ |
D | fuse.txt | 370 | [acquire inode semaphore | 376 | | [acquire inode semaphore
|
D | xfs-delayed-logging-design.txt | 649 time will tell if using a read-write semaphore for exclusion will limit
|
D | vfs.txt | 391 This method is called with the directory inode semaphore held
|
D | coda.txt | 373 object in NT and a semaphore in Windows 95.
|
/linux-4.4.14/arch/ia64/kernel/ |
D | salinfo.c | 144 struct semaphore mutex;
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 358 struct semaphore sem;
|
/linux-4.4.14/drivers/md/ |
D | dm-region-hash.c | 77 struct semaphore recovery_count;
|
/linux-4.4.14/include/target/ |
D | target_core_base.h | 792 struct semaphore caw_sem;
|
/linux-4.4.14/include/target/iscsi/ |
D | iscsi_target_core.h | 823 struct semaphore np_login_sem;
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4.h | 625 struct semaphore poll_sem; 626 struct semaphore event_sem;
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | lloop.c | 134 struct semaphore lo_sem;
|
/linux-4.4.14/drivers/net/hamradio/ |
D | mkiss.c | 85 struct semaphore dead_sem;
|
D | 6pack.c | 124 struct semaphore dead_sem;
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | vmk80xx.c | 155 struct semaphore limit_sem;
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | core.h | 725 struct semaphore sem;
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 625 struct semaphore *sem; in cmd_work_handler() 1265 struct semaphore *sem; in mlx5_cmd_comp_handler()
|
/linux-4.4.14/drivers/scsi/aacraid/ |
D | aacraid.h | 864 struct semaphore wait_sem; // this is used to wait for the next fib to arrive. 935 struct semaphore event_wait;
|
/linux-4.4.14/drivers/scsi/ |
D | qla1280.h | 152 uint16_t semaphore; /* Semaphore */ member
|
D | qla1280.c | 1467 WRT_REG_WORD(®->semaphore, 0); in qla1280_initialize_adapter() 3435 mailbox[0] = RD_REG_WORD_dmasync(®->semaphore); in qla1280_isr() 3456 WRT_REG_WORD(®->semaphore, 0); in qla1280_isr()
|
/linux-4.4.14/drivers/net/ppp/ |
D | ppp_async.c | 73 struct semaphore dead_sem;
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211.h | 1807 struct semaphore wx_sem; 1808 struct semaphore scan_sem;
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | rfbi.c | 114 struct semaphore bus_lock;
|
D | dsi.c | 335 struct semaphore bus_lock;
|
/linux-4.4.14/drivers/video/fbdev/omap/ |
D | hwa742.c | 116 struct semaphore req_sema;
|
/linux-4.4.14/drivers/infiniband/core/ |
D | user_mad.c | 90 struct semaphore sm_sem;
|
/linux-4.4.14/Documentation/usb/ |
D | power-management.txt | 475 autoresume -- the device semaphore (udev->dev.sem) will be held when a 484 critical section). Holding the device semaphore will block all
|
/linux-4.4.14/drivers/crypto/ux500/hash/ |
D | hash_core.c | 83 struct semaphore device_allocation;
|
/linux-4.4.14/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 56 struct semaphore device_allocation;
|
/linux-4.4.14/drivers/video/fbdev/ |
D | smscufx.c | 89 struct semaphore limit_sem;
|
/linux-4.4.14/Documentation/PCI/ |
D | pci-error-recovery.txt | 165 >>> *not* schedule or semaphore in this routine; the current powerpc
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-dvb.c | 94 struct semaphore pll_mutex;
|
/linux-4.4.14/drivers/net/wan/ |
D | cosa.c | 128 struct semaphore wsem;
|
/linux-4.4.14/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 2505 deadlocked on a semaphore or something similar. In this case, when 3131 #5 0x1006a744 in __down (sem=0x507d241c) at semaphore.c:71 3132 #6 0x1006aa10 in __down_failed () at semaphore.c:157 3197 #5 0x1006a744 in __down (sem=0x507d241c) at semaphore.c:71 3200 #6 0x1006aa10 in __down_failed () at semaphore.c:157
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x.h | 1806 struct semaphore stats_lock;
|
/linux-4.4.14/Documentation/sysctl/ |
D | kernel.txt | 419 object: message, semaphore or shared memory respectively.
|
/linux-4.4.14/drivers/media/dvb-core/ |
D | dvb_frontend.c | 107 struct semaphore sem;
|
/linux-4.4.14/drivers/i2c/busses/ |
D | Kconfig | 492 bool "Intel Baytrail I2C semaphore support"
|
/linux-4.4.14/fs/btrfs/ |
D | ctree.h | 1800 struct semaphore uuid_tree_rescan_sem;
|
/linux-4.4.14/Documentation/filesystems/cifs/ |
D | CHANGES | 602 creation and file open to such servers. Fix semaphore conflict which causes
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic79xx.reg | 3792 * Counting semaphore to prevent new select-outs
|
/linux-4.4.14/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1473 struct semaphore proc_sem;
|
/linux-4.4.14/drivers/net/wireless/ |
D | airo.c | 1206 struct semaphore sem;
|