/linux-4.1.27/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, 790 struct radeon_semaphore *semaphore, 810 struct radeon_semaphore *semaphore, 944 struct radeon_semaphore *semaphore, 954 struct radeon_semaphore *semaphore, 960 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_vce.c | 679 struct radeon_semaphore *semaphore, in radeon_vce_semaphore_emit() argument 682 uint64_t addr = semaphore->gpu_addr; in radeon_vce_semaphore_emit()
|
D | radeon.h | 597 struct radeon_semaphore **semaphore); 599 struct radeon_semaphore *semaphore); 601 struct radeon_semaphore *semaphore); 603 struct radeon_semaphore **semaphore, 1742 struct radeon_semaphore *semaphore, 1830 struct radeon_semaphore *semaphore, bool emit_wait); 2907 …semaphore_ring_emit(rdev, r, cp, semaphore, emit_wait) (rdev)->asic->ring[(r)]->emit_semaphore((rd… argument
|
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 | 2878 struct radeon_semaphore *semaphore, in r600_semaphore_ring_emit() argument 2881 uint64_t addr = semaphore->gpu_addr; in r600_semaphore_ring_emit()
|
D | cik.c | 4010 struct radeon_semaphore *semaphore, in cik_semaphore_ring_emit() argument 4013 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.1.27/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 | 180 struct semaphore irq;
|
D | syscalls.h | 43 struct semaphore;
|
/linux-4.1.27/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
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | intel_ringbuffer.c | 1140 u64 gtt_offset = signaller->semaphore.signal_ggtt[i]; in gen8_rcs_signal() 1181 u64 gtt_offset = signaller->semaphore.signal_ggtt[i]; in gen8_xcs_signal() 1219 u32 mbox_reg = signaller->semaphore.mbox.signal[i]; in gen6_signal() 1250 if (ring->semaphore.signal) in gen6_add_request() 1251 ret = ring->semaphore.signal(ring, 4); in gen6_add_request() 1316 u32 wait_mbox = signaller->semaphore.mbox.wait[waiter->id]; in gen6_ring_sync() 1979 memset(ring->semaphore.sync_seqno, 0, sizeof(ring->semaphore.sync_seqno)); in intel_init_ring_buffer() 2528 ring->semaphore.sync_to = gen8_ring_sync; in intel_init_render_ring_buffer() 2529 ring->semaphore.signal = gen8_rcs_signal; in intel_init_render_ring_buffer() 2543 ring->semaphore.sync_to = gen6_ring_sync; in intel_init_render_ring_buffer() [all …]
|
D | intel_ringbuffer.h | 68 ring->semaphore.signal_ggtt[RCS] = GEN8_SIGNAL_OFFSET(ring, RCS); \ 69 ring->semaphore.signal_ggtt[VCS] = GEN8_SIGNAL_OFFSET(ring, VCS); \ 70 ring->semaphore.signal_ggtt[BCS] = GEN8_SIGNAL_OFFSET(ring, BCS); \ 71 ring->semaphore.signal_ggtt[VECS] = GEN8_SIGNAL_OFFSET(ring, VECS); \ 72 ring->semaphore.signal_ggtt[VCS2] = GEN8_SIGNAL_OFFSET(ring, VCS2); \ 73 ring->semaphore.signal_ggtt[ring->id] = MI_SEMAPHORE_SYNC_INVALID; \ 229 } semaphore; member
|
D | i915_gpu_error.c | 827 ering->semaphore_seqno[idx] = ring->semaphore.sync_seqno[idx]; in gen8_record_semaphore_state() 837 ering->semaphore_seqno[0] = ring->semaphore.sync_seqno[0]; in gen6_record_semaphore_state() 838 ering->semaphore_seqno[1] = ring->semaphore.sync_seqno[1]; in gen6_record_semaphore_state() 843 ering->semaphore_seqno[2] = ring->semaphore.sync_seqno[2]; in gen6_record_semaphore_state()
|
D | i915_gem.c | 2277 for (j = 0; j < ARRAY_SIZE(ring->semaphore.sync_seqno); j++) in i915_gem_init_seqno() 2278 ring->semaphore.sync_seqno[j] = 0; in i915_gem_init_seqno() 2915 if (seqno <= from->semaphore.sync_seqno[idx]) in i915_gem_object_sync() 2923 ret = to->semaphore.sync_to(to, from, seqno); in i915_gem_object_sync() 2929 from->semaphore.sync_seqno[idx] = in i915_gem_object_sync()
|
D | i915_irq.c | 2684 if (offset == signaller->semaphore.signal_ggtt[ring->id]) in semaphore_wait_to_signaller_ring() 2694 if (sync_bits == signaller->semaphore.mbox.wait[ring->id]) in semaphore_wait_to_signaller_ring()
|
D | i915_debugfs.c | 2764 I915_READ(ring->semaphore.mbox.signal[j])); in i915_semaphore_status() 2771 seq_printf(m, " 0x%08x ", ring->semaphore.sync_seqno[j]); in i915_semaphore_status()
|
/linux-4.1.27/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 | 301 acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout);
|
/linux-4.1.27/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.1.27/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.1.27/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 | 134 u32 _rtw_down_sema(struct semaphore *sema);
|
/linux-4.1.27/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.1.27/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 | 67 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.1.27/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 | 2272 Consider, for example, the R/W semaphore slow path. Here a waiting process is 2273 queued on the semaphore, by virtue of it having a piece of its stack linked to 2274 the semaphore's list of waiting processes: 2294 (3) clear the task pointer to tell the waiter it has been given the semaphore; 2311 Once it has queued itself and dropped the semaphore lock, the waiter does not 2338 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.1.27/drivers/md/bcache/ |
D | bcache.h | 314 struct semaphore sb_write_mutex; 349 struct semaphore in_flight; 511 struct semaphore sb_write_mutex; 617 struct semaphore moving_in_flight; 633 struct semaphore uuid_write_mutex;
|
D | btree.h | 140 struct semaphore io_mutex;
|
/linux-4.1.27/Documentation/networking/ |
D | netdevices.txt | 51 Synchronization: rtnl_lock() semaphore. 55 Synchronization: rtnl_lock() semaphore. 60 Synchronization: rtnl_lock() semaphore.
|
/linux-4.1.27/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.1.27/drivers/net/wireless/cw1200/ |
D | scan.h | 25 struct semaphore lock;
|
/linux-4.1.27/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.1.27/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_pwrctrl.h | 152 struct semaphore lock;
|
D | rtw_io.h | 108 struct semaphore sema;
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | quatech_daqp_cs.c | 59 enum { semaphore, buffer } interrupt_mode; enumerator 170 devpriv->interrupt_mode = semaphore; in daqp_ai_cancel() 197 case semaphore: in daqp_interrupt() 314 devpriv->interrupt_mode = semaphore; in daqp_ai_insn_read()
|
D | ni_usb6501.c | 169 struct semaphore sem;
|
D | usbduxfast.c | 164 struct semaphore sem;
|
D | vmk80xx.c | 154 struct semaphore limit_sem;
|
D | dt9812.c | 236 struct semaphore sem;
|
D | usbduxsigma.c | 175 struct semaphore sem;
|
D | usbdux.c | 213 struct semaphore sem;
|
/linux-4.1.27/drivers/acpi/ |
D | osl.c | 1252 struct semaphore *sem = NULL; in acpi_os_create_semaphore() 1254 sem = acpi_os_allocate_zeroed(sizeof(struct semaphore)); in acpi_os_create_semaphore() 1277 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_delete_semaphore() 1297 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_wait_semaphore() 1338 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_signal_semaphore()
|
/linux-4.1.27/drivers/mmc/card/ |
D | queue.h | 49 struct semaphore thread_sem;
|
/linux-4.1.27/include/video/ |
D | udlfb.h | 29 struct semaphore limit_sem;
|
/linux-4.1.27/drivers/gpu/host1x/ |
D | cdma.h | 70 struct semaphore sem; /* signalled when event occurs */
|
/linux-4.1.27/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 | 936 &ha->reg->u1.isp4022.semaphore); in isp_semaphore()
|
D | ql4_fw.h | 119 __le32 semaphore; member
|
/linux-4.1.27/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.1.27/arch/powerpc/kernel/ |
D | eeh_event.c | 38 static struct semaphore eeh_eventlist_sem;
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
D | osdep_service.c | 66 u32 _rtw_down_sema(struct semaphore *sema) in _rtw_down_sema()
|
/linux-4.1.27/ipc/ |
D | sem.c | 2142 struct sem *semaphore = &sma->sem_base[i]; in exit_sem() local 2144 semaphore->semval += un->semadj[i]; in exit_sem() 2158 if (semaphore->semval < 0) in exit_sem() 2159 semaphore->semval = 0; in exit_sem() 2160 if (semaphore->semval > SEMVMX) in exit_sem() 2161 semaphore->semval = SEMVMX; in exit_sem() 2162 semaphore->sempid = task_tgid_vnr(current); in exit_sem()
|
/linux-4.1.27/drivers/scsi/megaraid/ |
D | megaraid_ioctl.h | 288 struct semaphore kioc_semaphore;
|
D | megaraid_sas.h | 1712 struct semaphore ioctl_sem;
|
/linux-4.1.27/drivers/net/irda/ |
D | sir-dev.h | 24 struct semaphore sem;
|
/linux-4.1.27/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.1.27/drivers/staging/gdm72xx/ |
D | netlink_k.c | 40 static struct semaphore netlink_mutex;
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | netlink_k.c | 27 static struct semaphore netlink_mutex;
|
/linux-4.1.27/Documentation/namespaces/ |
D | compatibility-list.txt | 19 object inside the kernel. E.g. semaphore with IPCID or
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | opal-async.c | 32 static struct semaphore opal_async_sem;
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
D | udl_drv.h | 43 struct semaphore limit_sem;
|
/linux-4.1.27/Documentation/RCU/ |
D | arrayRCU.txt | 40 semaphore, message-queue, and shared-memory IDs to the data structure 43 ids->sem semaphore.
|
/linux-4.1.27/drivers/infiniband/ulp/isert/ |
D | ib_isert.h | 227 struct semaphore np_sem;
|
/linux-4.1.27/drivers/block/mtip32xx/ |
D | mtip32xx.h | 447 struct semaphore cmd_slot_unal;
|
/linux-4.1.27/Documentation/vm/ |
D | unevictable-lru.txt | 539 try_to_unmap_anon() attempts to acquire in read mode the mmap semaphore of 545 If the mmap semaphore cannot be acquired, we are not sure whether the page 559 mm_struct's mmap semaphore to mlock the page, returning SWAP_MLOCK if this 585 mmap semaphore of the associated mm_struct for read without blocking. 588 try_to_unmap_cluster() will retain the mmap semaphore for the scan; 591 Then, for each page in the cluster, if we're holding the mmap semaphore 624 attempt to acquire the associated mmap semaphore, mlock the page via 629 semaphore, it will return SWAP_AGAIN. This will allow shrink_page_list() to 642 successfully acquire the VMA's mmap semaphore for read and mlock the page. 671 acquire the VMA's mmap semaphore to test the flags and set PageMlocked.
|
/linux-4.1.27/drivers/staging/unisys/include/ |
D | uisqueue.h | 138 struct semaphore interrupt_callback_lock;
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
D | octeon.h | 338 extern struct semaphore octeon_bootbus_sem;
|
/linux-4.1.27/drivers/hv/ |
D | hv_fcopy.c | 65 struct semaphore read_sema;
|
/linux-4.1.27/Documentation/devicetree/bindings/power/ |
D | renesas,sysc-rmobile.txt | 20 semaphore.
|
/linux-4.1.27/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 | 72 termios semaphore so allowed to sleep. Serialized 269 itself by a semaphore. May sleep.
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
D | mthca_dev.h | 123 struct semaphore poll_sem; 124 struct semaphore event_sem;
|
/linux-4.1.27/include/linux/mlx5/ |
D | driver.h | 258 struct semaphore sem; 259 struct semaphore pages_sem;
|
/linux-4.1.27/net/9p/ |
D | trans_rdma.c | 101 struct semaphore sq_sem; 103 struct semaphore rq_sem;
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | main.h | 572 struct semaphore async_sem; 897 struct semaphore *card_sem; 1257 int mwifiex_add_card(void *, struct semaphore *, struct mwifiex_if_ops *, u8); 1258 int mwifiex_remove_card(struct mwifiex_adapter *, struct semaphore *);
|
D | main.c | 453 struct semaphore *sem = adapter->card_sem; in mwifiex_fw_dpc() 1102 mwifiex_add_card(void *card, struct semaphore *sem, in mwifiex_add_card() 1203 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.1.27/fs/xfs/ |
D | xfs_buf.h | 152 struct semaphore b_sema; /* semaphore for lockables */
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_core.h | 601 struct semaphore wx_sem; 602 struct semaphore rf_sem;
|
/linux-4.1.27/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.1.27/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.1.27/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. 1141 before a key is created (add key) or the key semaphore is taken (update or 1214 The key will have its semaphore write-locked before this method is called, 1280 data upon a key being revoked. The caller will have the key semaphore 1284 a deadlock against the key semaphore. 1325 This method will be called with the key's semaphore read-locked. This will
|
D | Smack.txt | 463 IPC objects, message queues, semaphore sets, and memory segments exist in flat
|
/linux-4.1.27/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.1.27/drivers/staging/rtl8192u/ |
D | r8192U.h | 915 struct semaphore wx_sem; 916 struct semaphore rf_sem; /* Used to lock rf write operation */
|
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/ |
D | lib-types.h | 733 struct semaphore ln_rc_signal;
|
/linux-4.1.27/arch/arm/mach-vexpress/ |
D | spc.c | 109 struct semaphore sem;
|
/linux-4.1.27/Documentation/locking/ |
D | locktorture.txt | 55 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.1.27/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.1.27/drivers/usb/ |
D | usb-skeleton.c | 52 struct semaphore limit_sem; /* limiting the number of writes in progress */
|
/linux-4.1.27/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() 3161 WRT_REG_WORD(®->isp.semaphore, 0); in qla2x00_request_irqs()
|
D | qla_dbg.c | 421 WRT_REG_WORD(®->semaphore, 0); in qla2xxx_dump_ram() 1000 if (RD_REG_WORD(®->semaphore) & BIT_0) { in qla2100_fw_dump() 1007 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.1.27/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 | coda.txt | 373 object in NT and a semaphore in Windows 95.
|
D | vfs.txt | 391 This method is called with the directory inode semaphore held
|
/linux-4.1.27/arch/ia64/kernel/ |
D | salinfo.c | 144 struct semaphore mutex;
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o.h | 477 struct semaphore lock;
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 355 struct semaphore sem;
|
/linux-4.1.27/include/target/ |
D | target_core_base.h | 786 struct semaphore caw_sem;
|
/linux-4.1.27/drivers/md/ |
D | dm-region-hash.c | 77 struct semaphore recovery_count;
|
/linux-4.1.27/include/target/iscsi/ |
D | iscsi_target_core.h | 834 struct semaphore np_login_sem;
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4.h | 614 struct semaphore poll_sem; 615 struct semaphore event_sem;
|
/linux-4.1.27/drivers/scsi/aacraid/ |
D | aacraid.h | 859 struct semaphore wait_sem; // this is used to wait for the next fib to arrive. 930 struct semaphore event_wait;
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 485 struct semaphore *sem; in cmd_work_handler() 1108 struct semaphore *sem; in mlx5_cmd_comp_handler()
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
D | rtllib.h | 2221 struct semaphore wx_sem; 2222 struct semaphore scan_sem; 2223 struct semaphore ips_sem;
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | core.h | 725 struct semaphore sem;
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | lloop.c | 134 struct semaphore lo_sem;
|
/linux-4.1.27/drivers/net/hamradio/ |
D | mkiss.c | 85 struct semaphore dead_sem;
|
D | 6pack.c | 124 struct semaphore dead_sem;
|
/linux-4.1.27/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.1.27/drivers/net/ppp/ |
D | ppp_async.c | 73 struct semaphore dead_sem;
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211.h | 1945 struct semaphore wx_sem; 1946 struct semaphore scan_sem;
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | rfbi.c | 113 struct semaphore bus_lock;
|
D | dsi.c | 334 struct semaphore bus_lock;
|
/linux-4.1.27/drivers/video/fbdev/omap/ |
D | hwa742.c | 116 struct semaphore req_sema;
|
/linux-4.1.27/drivers/infiniband/core/ |
D | user_mad.c | 90 struct semaphore sm_sem;
|
/linux-4.1.27/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.1.27/drivers/crypto/ux500/hash/ |
D | hash_core.c | 83 struct semaphore device_allocation;
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
D | em28xx-dvb.c | 94 struct semaphore pll_mutex;
|
/linux-4.1.27/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 56 struct semaphore device_allocation;
|
/linux-4.1.27/Documentation/PCI/ |
D | pci-error-recovery.txt | 165 >>> *not* schedule or semaphore in this routine; the current powerpc
|
/linux-4.1.27/drivers/video/fbdev/ |
D | smscufx.c | 89 struct semaphore limit_sem;
|
/linux-4.1.27/drivers/net/wan/ |
D | cosa.c | 128 struct semaphore wsem;
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x.h | 1777 struct semaphore stats_lock;
|
/linux-4.1.27/Documentation/sysctl/ |
D | kernel.txt | 407 object: message, semaphore or shared memory respectively.
|
/linux-4.1.27/drivers/staging/dgnc/ |
D | dgnc_tty.c | 47 struct semaphore name = __SEMAPHORE_INITIALIZER(name, 1)
|
/linux-4.1.27/drivers/media/dvb-core/ |
D | dvb_frontend.c | 107 struct semaphore sem;
|
/linux-4.1.27/drivers/i2c/busses/ |
D | Kconfig | 479 bool "Intel Baytrail I2C semaphore support"
|
/linux-4.1.27/fs/btrfs/ |
D | ctree.h | 1774 struct semaphore uuid_tree_rescan_sem;
|
/linux-4.1.27/Documentation/filesystems/cifs/ |
D | CHANGES | 602 creation and file open to such servers. Fix semaphore conflict which causes
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
D | aic79xx.reg | 3792 * Counting semaphore to prevent new select-outs
|
/linux-4.1.27/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1473 struct semaphore proc_sem;
|
/linux-4.1.27/drivers/net/wireless/ |
D | airo.c | 1206 struct semaphore sem;
|