Home
last modified time | relevance | path

Searched refs:new_unrhdr (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/sys/fs/pseudofs/
H A Dpseudofs_fileno.c56 pi->pi_unrhdr = new_unrhdr(3, INT_MAX / NO_PID, &pi->pi_mutex); in pfs_fileno_init()
/freebsd/sys/cddl/dev/dtrace/
H A Ddtrace_load.c75 dtrace_arena = new_unrhdr(1, INT_MAX, &dtrace_unr_mtx); in dtrace_load()
/freebsd/sys/dev/backlight/
H A Dbacklight.c162 backlight_unit = new_unrhdr(0, INT_MAX, NULL); in backlight_drvinit()
/freebsd/sys/fs/devfs/
H A Ddevfs_vfsops.c75 devfs_unr = new_unrhdr(0, INT_MAX, NULL); in devfs_mount()
H A Ddevfs_devs.c748 devfs_inos = new_unrhdr(DEVFS_ROOTINO + 1, INT_MAX, &devmtx); in devfs_devs_init()
/freebsd/sys/dev/drm2/
H A Ddrm_gem_names.c48 names->unr = new_unrhdr(1, INT_MAX, NULL); /* XXXKIB */ in drm_gem_names_init()
H A Ddrm_gem.c88 mm->idxunr = new_unrhdr(0, DRM_GEM_MAX_IDX, NULL); in drm_gem_init()
/freebsd/sys/dev/led/
H A Dled.c334 led_unit = new_unrhdr(0, INT_MAX, NULL); in led_drvinit()
/freebsd/sys/kern/
H A Dsubr_unit.c488 new_unrhdr(int low, int high, struct mtx *mutex) in new_unrhdr() function
1213 uh = new_unrhdr(TBASE, INT_MAX, NULL); in test_iter()
1313 uh = new_unrhdr(0, count - 1, NULL); in main()
H A Dtty_pts.c866 pts_pool = new_unrhdr(0, INT_MAX, NULL); in pts_init()
H A Dsys_socket.c572 soaio_kproc_unr = new_unrhdr(1, INT_MAX, NULL); in soaio_init()
/freebsd/sys/netgraph/
H A Dng_device.c170 ngd_unit = new_unrhdr(0, MAX_NGD, NULL); in ng_device_mod_event()
H A Dng_bridge.c372 priv->linkUnit = new_unrhdr(0, INT_MAX, NULL); in ng_bridge_constructor()
373 priv->uplinkUnit = new_unrhdr(1, INT_MAX, NULL); in ng_bridge_constructor()
H A Dng_eiface.c674 V_ng_eiface_unit = new_unrhdr(0, 0xffff, NULL); in vnet_ng_eiface_init()
H A Dng_iface.c805 V_ng_iface_unit = new_unrhdr(0, 0xffff, NULL); in vnet_ng_iface_init()
/freebsd/sys/dev/usb/net/
H A Dusb_ethernet.c563 ueunit = new_unrhdr(0, INT_MAX, NULL); in uether_modevent()
/freebsd/sys/sys/
H A Dsystm.h530 struct unrhdr *new_unrhdr(int low, int high, struct mtx *mutex);
/freebsd/sys/dev/sound/pcm/
H A Dsound.c845 pcmsg_unrhdr = new_unrhdr(1, INT_MAX, NULL); in sound_modevent()
/freebsd/sys/net/
H A Dif_clone.c492 ifc->ifc_unrhdr = new_unrhdr(0, ifc->ifc_maxunit, &ifc->ifc_mtx); in if_clone_alloc()
/freebsd/sys/nlm/
H A Dnlm_advlock.c101 nlm_svid_allocator = new_unrhdr(PID_MAX + 2, INT_MAX, &nlm_svid_lock); in nlm_client_init()
/freebsd/sys/dev/nvmf/controller/
H A Dctl_frontend_nvmf.c756 np->ids = new_unrhdr(0, MIN(CTL_MAX_INIT_PER_PORT - 1, in nvmft_port_create()
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c103 ipoib_unrhdr = new_unrhdr(0, 65535, NULL); in ipoib_unrhdr_init()
/freebsd/sys/dev/usb/serial/
H A Dusb_serial.c200 ucom_unrhdr = new_unrhdr(0, UCOM_UNIT_MAX - 1, NULL); in ucom_init()
/freebsd/sys/fs/tarfs/
H A Dtarfs_vfsops.c894 tmp->ino_unr = new_unrhdr(TARFS_MININO, INT_MAX, &tmp->allnode_lock); in tarfs_alloc_mount()
/freebsd/sys/x86/iommu/
H A Dintel_drv.c471 unit->domids = new_unrhdr(0, dmar_nd2mask(DMAR_CAP_ND(unit->hw_cap)), in dmar_attach()

12