Home
last modified time | relevance | path

Searched defs:sem (Results 1 – 25 of 36) sorted by relevance

12

/drivers/tty/
Dtty_ldsem.c57 void __init_ldsem(struct ld_semaphore *sem, const char *name, in __init_ldsem()
74 static void __ldsem_wake_readers(struct ld_semaphore *sem) in __ldsem_wake_readers()
104 static inline int writer_trylock(struct ld_semaphore *sem) in writer_trylock()
119 static void __ldsem_wake_writer(struct ld_semaphore *sem) in __ldsem_wake_writer()
135 static void __ldsem_wake(struct ld_semaphore *sem) in __ldsem_wake()
143 static void ldsem_wake(struct ld_semaphore *sem) in ldsem_wake()
156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) in down_read_failed()
230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) in down_write_failed()
295 static int __ldsem_down_read_nested(struct ld_semaphore *sem, in __ldsem_down_read_nested()
314 static int __ldsem_down_write_nested(struct ld_semaphore *sem, in __ldsem_down_write_nested()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Dreset.c51 u32 sem; in mlx4_reset() local
/drivers/acpi/
Dosl.c1202 struct semaphore *sem = NULL; in acpi_os_create_semaphore() local
1227 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_delete_semaphore() local
1247 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_wait_semaphore() local
1291 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_signal_semaphore() local
/drivers/gpu/drm/gma500/
Dmmu.h15 struct rw_semaphore sem; member
/drivers/media/usb/as102/
Das102_drv.h64 struct mutex sem; member
/drivers/net/ethernet/sfc/
Defx.h229 static inline bool efx_rwsem_assert_write_locked(struct rw_semaphore *sem) in efx_rwsem_assert_write_locked()
/drivers/infiniband/core/
Diwpm_util.h71 struct semaphore sem; member
Dnetlink.c50 struct rw_semaphore sem; member
/drivers/net/ethernet/sfc/siena/
Defx.h206 static inline bool efx_rwsem_assert_write_locked(struct rw_semaphore *sem) in efx_rwsem_assert_write_locked()
/drivers/net/ethernet/sfc/falcon/
Defx.h265 static inline bool ef4_rwsem_assert_write_locked(struct rw_semaphore *sem) in ef4_rwsem_assert_write_locked()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_reset.h85 struct rw_semaphore sem; member
/drivers/input/joystick/
Dturbografx.c66 struct mutex sem; member
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddevcom.c33 struct rw_semaphore sem; member
/drivers/macintosh/
Drack-meter.c69 struct mutex sem; member
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dnv04.c413 u32 reassign, chid, get, sem; in nv04_fifo_intr() local
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c310 qlcnic_pcie_sem_lock(struct qlcnic_adapter *adapter, int sem, u32 id_reg) in qlcnic_pcie_sem_lock()
346 qlcnic_pcie_sem_unlock(struct qlcnic_adapter *adapter, int sem) in qlcnic_pcie_sem_unlock()
/drivers/char/xilinx_hwicap/
Dxilinx_hwicap.h60 struct mutex sem; member
/drivers/misc/cxl/
Dflash.c28 static struct semaphore sem; variable
/drivers/gpio/
Dgpiolib.h72 struct rw_semaphore sem; member
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_api_cmd.h183 struct semaphore sem; member
/drivers/infiniband/ulp/isert/
Dib_isert.h207 struct semaphore sem; member
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c293 netxen_pcie_sem_lock(struct netxen_adapter *adapter, int sem, u32 id_reg) in netxen_pcie_sem_lock()
313 netxen_pcie_sem_unlock(struct netxen_adapter *adapter, int sem) in netxen_pcie_sem_unlock()
/drivers/cpufreq/
Dbrcmstb-avs-cpufreq.c180 struct semaphore sem; member
/drivers/scsi/be2iscsi/
Dbe_cmds.c1605 u32 sem; in beiscsi_get_post_stage() local
/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c172 u32 sem = 0; in wx_acquire_sw_sync() local

12