Home
last modified time | relevance | path

Searched refs:waitok (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/lib/libthr/thread/
H A Dthr_suspend_np.c163 int waitok) in suspend_common() argument
176 if (waitok) { in suspend_common()
/freebsd-13.1/sys/net/route/
H A Droute_ctl.h154 bool waitok);
157 bool waitok);
H A Droute_ctl.c1464 enum rib_subscription_type type, bool waitok) in allocate_subscription() argument
1467 int flags = M_ZERO | (waitok ? M_WAITOK : M_NOWAIT); in allocate_subscription()
1488 enum rib_subscription_type type, bool waitok) in rib_subscribe() argument
1498 return (rib_subscribe_internal(rnh, f, arg, type, waitok)); in rib_subscribe()
1503 enum rib_subscription_type type, bool waitok) in rib_subscribe_internal() argument
1508 if ((rs = allocate_subscription(f, arg, type, waitok)) == NULL) in rib_subscribe_internal()
H A Dfib_algo.h121 struct fib_lookup_module *flm, bool waitok);
H A Dfib_algo.c1557 alloc_fib_dp_array(uint32_t num_tables, bool waitok) in alloc_fib_dp_array() argument
1564 fdh = malloc(sz, M_RTABLE, (waitok ? M_WAITOK : M_NOWAIT) | M_ZERO); in alloc_fib_dp_array()
/freebsd-13.1/sys/kern/
H A Duipc_mqueue.c1710 if (!waitok) { in mqueue_send()
1860 if (!waitok) { in mqueue_receive()
2277 int waitok; in sys_kmq_timedreceive() local
2290 waitok = !(fp->f_flag & O_NONBLOCK); in sys_kmq_timedreceive()
2292 uap->msg_prio, waitok, abs_timeout); in sys_kmq_timedreceive()
2304 int error, waitok; in sys_kmq_timedsend() local
2317 waitok = !(fp->f_flag & O_NONBLOCK); in sys_kmq_timedsend()
2802 int waitok; in freebsd32_kmq_timedsend() local
2817 waitok = !(fp->f_flag & O_NONBLOCK); in freebsd32_kmq_timedsend()
2833 int error, waitok; in freebsd32_kmq_timedreceive() local
[all …]
/freebsd-13.1/sys/dev/iommu/
H A Dbusdma_iommu.c1027 bool waitok; in bus_dma_iommu_load_ident() local
1043 waitok = (flags & BUS_DMA_NOWAIT) != 0; in bus_dma_iommu_load_ident()
1045 entry = iommu_map_alloc_entry(domain, waitok ? 0 : IOMMU_PGF_WAITOK); in bus_dma_iommu_load_ident()
1050 ma = malloc(sizeof(vm_page_t) * atop(length), M_TEMP, waitok ? in bus_dma_iommu_load_ident()
1062 waitok ? IOMMU_MF_CANWAIT : 0, ma); in bus_dma_iommu_load_ident()
/freebsd-13.1/sys/ufs/ffs/
H A Dffs_softdep.c430 softdep_prealloc(vp, waitok) in softdep_prealloc() argument
432 int waitok;
3254 softdep_prealloc(vp, waitok) in softdep_prealloc() argument
3256 int waitok;
3280 if (waitok == MNT_NOWAIT)
3287 ffs_syncvnode(vp, waitok, 0);
/freebsd-13.1/sys/vm/
H A Duma_core.c1657 zone_reclaim(uma_zone_t zone, int domain, int waitok, bool drain) in zone_reclaim() argument
1668 if (waitok == M_WAITOK) { in zone_reclaim()