Defined in 1 files as a prototype:
Defined in 6 files as a macro:
Defined in 2 files as a function:
Referenced in 242 files:
- common/lib/libc/stdlib/random.c, 4 times
- common/lib/libprop/prop_object_impl.h, line 386
- crypto/external/bsd/heimdal/dist/include/heim_threads.h, line 84
- external/bsd/openldap/dist/libraries/libldap_r/thr_cthreads.c, line 138
- external/bsd/openldap/dist/libraries/libldap_r/thr_thr.c, line 146
- external/bsd/unbound/dist/util/locks.h, 2 times
- external/cddl/osnet/dist/cmd/ztest/ztest.c, 15 times
- external/cddl/osnet/dist/lib/libzpool/common/kernel.c, line 150
- external/gpl2/gettext/dist/gettext-runtime/intl/lock.c, 2 times
- external/gpl2/gettext/dist/gettext-runtime/intl/lock.h, line 540
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/lock.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/lock.h, line 539
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/lock.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/libgettextpo/lock.h, line 539
- lib/libbsdmalloc/malloc.c, 3 times
- lib/libc/gdtoa/gdtoaimp.h, line 507
- lib/libc/gen/arc4random.c, 3 times
- lib/libc/gen/closedir.c, line 70
- lib/libc/gen/getgrent.c, 9 times
- lib/libc/gen/getgroupmembership.c, line 389
- lib/libc/gen/getlogin.c, 2 times
- lib/libc/gen/getpwent.c, 9 times
- lib/libc/gen/getusershell.c, 3 times
- lib/libc/gen/popen.c, line 80
- lib/libc/gen/pthread_atfork.c, 2 times
- lib/libc/gen/readdir.c, 2 times
- lib/libc/gen/rewinddir.c, line 62
- lib/libc/gen/seekdir.c, line 65
- lib/libc/gen/sysctlgetmibinfo.c, line 402
- lib/libc/gen/syslog.c, line 120
- lib/libc/gen/telldir.c, line 63
- lib/libc/gmon/gmon.c, 4 times
- lib/libc/include/reentrant.h, line 282
- lib/libc/locale/nb_lc_template.h, line 195
- lib/libc/net/getprotobyname.c, line 57
- lib/libc/net/getprotobynumber.c, line 58
- lib/libc/net/getprotoent.c, 3 times
- lib/libc/net/getservbyname.c, line 57
- lib/libc/net/getservbyport.c, line 58
- lib/libc/net/getservent.c, 3 times
- lib/libc/net/nsdispatch.c, 4 times
- lib/libc/rpc/auth_unix.c, line 363
- lib/libc/rpc/clnt_dg.c, 7 times
- lib/libc/rpc/clnt_raw.c, 4 times
- lib/libc/rpc/clnt_vc.c, 7 times
- lib/libc/rpc/rpc_soc.c, 2 times
- lib/libc/rpc/rpcb_clnt.c, line 483
- lib/libc/rpc/svc_auth.c, 2 times
- lib/libc/rpc/svc_dg.c, 4 times
- lib/libc/rpc/svc_generic.c, line 115
- lib/libc/rpc/svc_raw.c, 6 times
- lib/libc/rpc/svc_simple.c, 2 times
- lib/libc/rpc/svc_vc.c, 2 times
- lib/libc/stdio/flockfile.c, 3 times
- lib/libc/stdlib/atexit.c, 2 times
- lib/libc/stdlib/jemalloc.c, line 929
- lib/libc/stdlib/malloc.c, line 102
- lib/libc/stdlib/quick_exit.c, line 71
- lib/libc/yp/yplib.c, line 81
- sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_solaris.cc, line 213
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_atom.c, line 1277
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_atombios_dp.c, line 78
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_atombios_i2c.c, line 58
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_bo_list.c, 6 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_ci_dpm.c, 6 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cik.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cik_sdma.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_ctx.c, 4 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_cz_dpm.c, 6 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_fence.c, 3 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_fiji_dpm.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gem.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v7_0.c, 16 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gfx_v8_0.c, 11 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_i2c.c, line 52
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_iceland_dpm.c, 3 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_irq.c, line 68
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_kv_dpm.c, 6 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_mn.c, 7 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_object.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_pm.c, 13 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_prime.c, line 81
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_ring.c, 3 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_sdma_v2_4.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_sdma_v3_0.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_tonga_dpm.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_vce_v3_0.c, line 124
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_vi.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_vm.c, line 938
- sys/external/bsd/drm2/dist/drm/amd/amdkfd/kfd_chardev.c, 10 times
- sys/external/bsd/drm2/dist/drm/amd/amdkfd/kfd_device.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdkfd/kfd_device_queue_manager.c, 12 times
- sys/external/bsd/drm2/dist/drm/amd/amdkfd/kfd_doorbell.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdkfd/kfd_events.c, 9 times
- sys/external/bsd/drm2/dist/drm/amd/amdkfd/kfd_packet_manager.c, 5 times
- sys/external/bsd/drm2/dist/drm/amd/amdkfd/kfd_pasid.c, 2 times
- sys/external/bsd/drm2/dist/drm/amd/amdkfd/kfd_process.c, 6 times
- sys/external/bsd/drm2/dist/drm/drm_auth.c, 2 times
- sys/external/bsd/drm2/dist/drm/drm_bridge.c, 3 times
- sys/external/bsd/drm2/dist/drm/drm_bufs.c, 6 times
- sys/external/bsd/drm2/dist/drm/drm_context.c, 8 times
- sys/external/bsd/drm2/dist/drm/drm_crtc.c, 17 times
- sys/external/bsd/drm2/dist/drm/drm_debugfs.c, 2 times
- sys/external/bsd/drm2/dist/drm/drm_dp_helper.c, 2 times
- sys/external/bsd/drm2/dist/drm/drm_dp_mst_topology.c, 29 times
- sys/external/bsd/drm2/dist/drm/drm_drv.c, 6 times
- sys/external/bsd/drm2/dist/drm/drm_fb_helper.c, 4 times
- sys/external/bsd/drm2/dist/drm/drm_fops.c, 7 times
- sys/external/bsd/drm2/dist/drm/drm_gem.c, 5 times
- sys/external/bsd/drm2/dist/drm/drm_global.c, 2 times
- sys/external/bsd/drm2/dist/drm/drm_info.c, 4 times
- sys/external/bsd/drm2/dist/drm/drm_ioctl.c, 3 times
- sys/external/bsd/drm2/dist/drm/drm_irq.c, 2 times
- sys/external/bsd/drm2/dist/drm/drm_lock.c, line 104
- sys/external/bsd/drm2/dist/drm/drm_modeset_lock.c, line 83
- sys/external/bsd/drm2/dist/drm/drm_panel.c, 3 times
- sys/external/bsd/drm2/dist/drm/drm_prime.c, 4 times
- sys/external/bsd/drm2/dist/drm/drm_probe_helper.c, 3 times
- sys/external/bsd/drm2/dist/drm/drm_vm.c, 5 times
- sys/external/bsd/drm2/dist/drm/i915/i915_debugfs.c, 9 times
- sys/external/bsd/drm2/dist/drm/i915/i915_dma.c, 3 times
- sys/external/bsd/drm2/dist/drm/i915/i915_drv.c, 5 times
- sys/external/bsd/drm2/dist/drm/i915/i915_gem.c, 7 times
- sys/external/bsd/drm2/dist/drm/i915/i915_gem_context.c, line 492
- sys/external/bsd/drm2/dist/drm/i915/i915_gem_dmabuf.c, 2 times
- sys/external/bsd/drm2/dist/drm/i915/i915_gem_execbuffer.c, 5 times
- sys/external/bsd/drm2/dist/drm/i915/i915_gem_stolen.c, 3 times
- sys/external/bsd/drm2/dist/drm/i915/i915_gem_tiling.c, 2 times
- sys/external/bsd/drm2/dist/drm/i915/i915_gem_userptr.c, 5 times
- sys/external/bsd/drm2/dist/drm/i915/i915_irq.c, 2 times
- sys/external/bsd/drm2/dist/drm/i915/i915_suspend.c, 2 times
- sys/external/bsd/drm2/dist/drm/i915/i915_sysfs.c, 6 times
- sys/external/bsd/drm2/dist/drm/i915/intel_audio.c, 3 times
- sys/external/bsd/drm2/dist/drm/i915/intel_csr.c, 3 times
- sys/external/bsd/drm2/dist/drm/i915/intel_display.c, 36 times
- sys/external/bsd/drm2/dist/drm/i915/intel_dp.c, 15 times
- sys/external/bsd/drm2/dist/drm/i915/intel_dsi.c, 3 times
- sys/external/bsd/drm2/dist/drm/i915/intel_dsi_panel_vbt.c, line 225
- sys/external/bsd/drm2/dist/drm/i915/intel_dsi_pll.c, 3 times
- sys/external/bsd/drm2/dist/drm/i915/intel_fbc.c, 6 times
- sys/external/bsd/drm2/dist/drm/i915/intel_fbdev.c, 5 times
- sys/external/bsd/drm2/dist/drm/i915/intel_frontbuffer.c, 6 times
- sys/external/bsd/drm2/dist/drm/i915/intel_guc_loader.c, 2 times
- sys/external/bsd/drm2/dist/drm/i915/intel_hdmi.c, 7 times
- sys/external/bsd/drm2/dist/drm/i915/intel_hotplug.c, line 318
- sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c, line 544
- sys/external/bsd/drm2/dist/drm/i915/intel_lvds.c, 2 times
- sys/external/bsd/drm2/dist/drm/i915/intel_overlay.c, 4 times
- sys/external/bsd/drm2/dist/drm/i915/intel_panel.c, 6 times
- sys/external/bsd/drm2/dist/drm/i915/intel_pm.c, 15 times
- sys/external/bsd/drm2/dist/drm/i915/intel_psr.c, 6 times
- sys/external/bsd/drm2/dist/drm/i915/intel_runtime_pm.c, 14 times
- sys/external/bsd/drm2/dist/drm/i915/intel_sideband.c, 3 times
- sys/external/bsd/drm2/dist/drm/i915/intel_uncore.c, line 1203
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_abi16.c, line 75
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_connector.c, line 991
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_display.c, line 748
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c, 3 times
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_fbcon.c, line 445
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nv84_fence.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nouveau_usif.c, line 348
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_engine.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_base.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_user.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/nouveau_nvkm_engine_disp_base.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_dmanv04.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_dmanv40.c, line 164
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_gf100.c, line 63
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_gk104.c, line 64
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_gpfifogf100.c, line 67
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_gpfifogk104.c, line 49
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_nv50.c, line 59
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/pm/nouveau_nvkm_engine_pm_base.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_ramgf100.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_ramnv50.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/nouveau_nvkm_subdev_i2c_aux.c, line 114
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/nouveau_nvkm_subdev_i2c_bus.c, line 135
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/nouveau_nvkm_subdev_i2c_pad.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/nouveau_nvkm_subdev_instmem_gk20a.c, 3 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/nouveau_nvkm_subdev_instmem_nv04.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/nouveau_nvkm_subdev_instmem_nv40.c, 2 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/ltc/nouveau_nvkm_subdev_ltc_base.c, line 55
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mmu/nouveau_nvkm_subdev_mmu_base.c, 4 times
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mmu/nouveau_nvkm_subdev_mmu_gf100.c, line 178
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mmu/nouveau_nvkm_subdev_mmu_nv41.c, line 79
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mmu/nouveau_nvkm_subdev_mmu_nv50.c, line 168
- sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pmu/nouveau_nvkm_subdev_pmu_base.c, 2 times
- sys/external/bsd/drm2/dist/drm/qxl/qxl_cmd.c, 5 times
- sys/external/bsd/drm2/dist/drm/qxl/qxl_gem.c, line 73
- sys/external/bsd/drm2/dist/drm/qxl/qxl_object.c, 2 times
- sys/external/bsd/drm2/dist/drm/qxl/qxl_release.c, line 359
- sys/external/bsd/drm2/dist/drm/radeon/r600_cp.c, line 2635
- sys/external/bsd/drm2/dist/drm/radeon/radeon_atom.c, 2 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_atombios_dp.c, 2 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_atombios_i2c.c, 2 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_cik.c, 18 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_cs.c, line 563
- sys/external/bsd/drm2/dist/drm/radeon/radeon_dp_auxch.c, line 101
- sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c, line 1019
- sys/external/bsd/drm2/dist/drm/radeon/radeon_gem.c, 3 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_i2c.c, 7 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_irq_kms.c, 2 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.c, 2 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_kms.c, 2 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_mn.c, 7 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_object.c, 2 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_pm.c, 27 times
- sys/external/bsd/drm2/dist/drm/radeon/radeon_prime.c, line 81
- sys/external/bsd/drm2/dist/drm/radeon/radeon_r600.c, line 4657
- sys/external/bsd/drm2/dist/drm/radeon/radeon_ring.c, line 150
- sys/external/bsd/drm2/dist/drm/radeon/radeon_si.c, line 7381
- sys/external/bsd/drm2/dist/drm/radeon/radeon_vm.c, 2 times
- sys/external/bsd/drm2/dist/drm/sis/sis_mm.c, 6 times
- sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c, 2 times
- sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c, line 100
- sys/external/bsd/drm2/dist/drm/ttm/ttm_object.c, line 609
- sys/external/bsd/drm2/dist/drm/ttm/ttm_page_alloc_dma.c, 3 times
- sys/external/bsd/drm2/dist/drm/vgem/vgem_drv.c, 2 times
- sys/external/bsd/drm2/dist/drm/via/via_mm.c, 6 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_cmdbuf.c, 2 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_context.c, 4 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_cotable.c, line 326
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_execbuf.c, 2 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fb.c, 4 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fence.c, 2 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fifo.c, line 313
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_kms.c, 5 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_overlay.c, 7 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_resource.c, 5 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_shader.c, 6 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_so.c, 3 times
- sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_surface.c, 3 times
- sys/external/bsd/drm2/drm/drm_cdevsw.c, 4 times
- sys/external/bsd/drm2/drm/drm_fops.c, 4 times
- sys/external/bsd/drm2/drm/drm_gem_vm.c, line 89
- sys/external/bsd/drm2/drm/drm_lock.c, 2 times
- sys/external/bsd/drm2/drm/drm_vm.c, line 83
- sys/external/bsd/drm2/include/linux/kref.h, line 129
- sys/external/bsd/drm2/include/linux/mutex.h, 2 times
- tests/lib/libpthread/t_mutex.c, 22 times