Home
last modified time | relevance | path

Searched refs:sema_init (Results 1 – 23 of 23) sorted by relevance

/src/sys/compat/linuxkpi/common/include/linux/
H A Dsemaphore.h55 sema_init(&sem->sema, val, "lnxsema"); in linux_sema_init()
63 sema_init(&sem->sema, 1, "lnxsema"); in init_MUTEX()
66 #define sema_init(...) linux_sema_init(__VA_ARGS__) macro
/src/sys/sys/
H A Dsema.h46 void sema_init(struct sema *sema, int value, const char *description);
/src/sys/dev/qat/qat_api/qat_utils/src/
H A DQatUtilsSemaphore.c24 sema_init(*pSid, start_value, "qat sema"); in qatUtilsSemaphoreInit()
/src/cddl/contrib/opensolaris/head/
H A Dsynch.h122 int sema_init(sema_t *, unsigned int, int, void *);
/src/sys/kern/
H A Dkern_sema.c47 sema_init(struct sema *sema, int value, const char *description) in sema_init() function
H A Dvfs_aio.c406 sema_init(&aio_newproc_sem, 0, "aio_new_proc"); in aio_onceonly()
/src/sys/dev/smartpqi/
H A Dsmartpqi_misc.c135 sema_init(sema, value, name); in os_create_semaphore()
/src/sys/dev/ips/
H A Dips_pci.c68 sema_init(&sc->cmd_sema, 0, "IPS Command Semaphore"); in ips_pci_attach()
/src/sys/dev/hyperv/storvsc/
H A Dhv_storvsc_drv_freebsd.c416 sema_init(&request->synch_sema, 0, ("stor_synch_sema")); in storvsc_send_multichannel_request()
482 sema_init(&request->synch_sema, 0, ("stor_synch_sema")); in hv_storvsc_channel_init()
659 sema_init(&request->synch_sema, 0, "stor synch sema"); in hv_storvsc_host_reset()
1139 sema_init(&sc->hs_drain_sema, 0, "Store Drain Sema"); in storvsc_attach()
/src/sys/dev/vmware/vmci/
H A Dvmci_kernel_if.c309 sema_init(event, 0, "vmci_event"); in vmci_create_event()
/src/sys/dev/ocs_fc/
H A Docs_os.c773 sema_init(&sem->sem, val, sem->name); in ocs_sem_init()
/src/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cmd.c1601 sema_init(&cmd->sem, cmd->max_reg_cmds); in mlx5_cmd_init()
1602 sema_init(&cmd->pages_sem, 1); in mlx5_cmd_init()
/src/sys/dev/hyperv/utilities/
H A Dhv_kvp.c859 sema_init(&sc->dev_sema, 0, "hv_kvp device semaphore"); in hv_kvp_attach()
/src/sys/dev/mthca/
H A Dmthca_cmd.c520 sema_init(&dev->cmd.poll_sem, 1); in mthca_cmd_init()
571 sema_init(&dev->cmd.event_sem, dev->cmd.max_cmds); in mthca_cmd_use_events()
/src/sys/dev/mana/
H A Dhw_channel.c630 sema_init(&hwc->sema, num_msg, "gdma hwc sema"); in mana_hwc_init_inflight_msg()
/src/sys/arm/broadcom/bcm2835/
H A Dbcm2835_cpufreq.c1322 sema_init(&vc_sema, 1, "vcsema"); in bcm2835_cpufreq_attach()
/src/sys/dev/bnxt/bnxt_re/
H A Dqplib_rcfw.c1332 sema_init(&rcfw->rcfw_inflight, rcfw->curr_shadow_qd); in bnxt_qplib_enable_rcfw_channel()
/src/sys/ofed/drivers/infiniband/core/
H A Dib_user_mad.c1186 sema_init(&port->sm_sem, 1); in ib_umad_init_port()
/src/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c2492 sema_init(&priv->cmd.poll_sem, 1); in mlx4_cmd_init()
2493 sema_init(&priv->cmd.event_sem, 0); in mlx4_cmd_init()
/src/share/man/man9/
H A DMakefile2027 sema.9 sema_init.9 \
/src/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c2875 sema_init(&dev->umrc.sem, MAX_UMR_WR); in create_umr_res()
/src/sys/dev/mrsas/
H A Dmrsas.c992 sema_init(&sc->ioctl_count_sema, MRSAS_MAX_IOCTL_CMDS, in mrsas_ich_startup()
/src/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiapi.c549 sema_init(&mx,0,"sem"); in agtiapi_CharIoctl()