Home
last modified time | relevance | path

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

/freebsd/sys/net/route/
H A Droute_subscription.c69 enum rib_subscription_type type, bool waitok) in allocate_subscription() argument
72 int flags = M_ZERO | (waitok ? M_WAITOK : M_NOWAIT); in allocate_subscription()
93 enum rib_subscription_type type, bool waitok) in rib_subscribe() argument
103 return (rib_subscribe_internal(rnh, f, arg, type, waitok)); in rib_subscribe()
108 enum rib_subscription_type type, bool waitok) in rib_subscribe_internal() argument
113 if ((rs = allocate_subscription(f, arg, type, waitok)) == NULL) in rib_subscribe_internal()
H A Droute_ctl.h194 bool waitok);
197 bool waitok);
H A Dfib_algo.h119 struct fib_lookup_module *flm, bool waitok);
H A Dfib_algo.c1558 alloc_fib_dp_array(uint32_t num_tables, bool waitok) in alloc_fib_dp_array() argument
1565 fdh = malloc(sz, M_RTABLE, (waitok ? M_WAITOK : M_NOWAIT) | M_ZERO); in alloc_fib_dp_array()
/freebsd/sys/netlink/
H A Dktest_netlink_message_writer.h33 bool nlmsg_get_buf_wrapper(struct nl_writer *nw, u_int size, bool waitok);
38 nlmsg_get_buf_wrapper(struct nl_writer *nw, u_int size, bool waitok) in nlmsg_get_buf_wrapper() argument
40 return (nlmsg_get_buf(nw, size, waitok)); in nlmsg_get_buf_wrapper()
H A Dktest_netlink_message_writer.c45 int waitok; member
52 { .type = 3, .off = _OUT(waitok), .cb = nlattr_get_uint32 },
76 ret = nlmsg_get_buf_wrapper(&nw, attrs->size, attrs->waitok); in test_nlbuf_writer_allocation()
H A Dnetlink_message_writer.c48 nlmsg_get_buf(struct nl_writer *nw, u_int len, bool waitok) in nlmsg_get_buf() argument
50 const int mflag = waitok ? M_WAITOK : M_NOWAIT; in nlmsg_get_buf()
55 waitok ? "wait" : "nowait"); in nlmsg_get_buf()
/freebsd/lib/libthr/thread/
H A Dthr_suspend_np.c160 int waitok) in suspend_common() argument
173 if (waitok) { in suspend_common()
/freebsd/sys/kern/
H A Duipc_mqueue.c1703 if (!waitok) { in mqueue_send()
1853 if (!waitok) { in mqueue_receive()
2270 int waitok; in sys_kmq_timedreceive() local
2283 waitok = !(fp->f_flag & O_NONBLOCK); in sys_kmq_timedreceive()
2285 uap->msg_prio, waitok, abs_timeout); in sys_kmq_timedreceive()
2297 int error, waitok; in sys_kmq_timedsend() local
2310 waitok = !(fp->f_flag & O_NONBLOCK); in sys_kmq_timedsend()
2795 int waitok; in freebsd32_kmq_timedsend() local
2810 waitok = !(fp->f_flag & O_NONBLOCK); in freebsd32_kmq_timedsend()
2826 int error, waitok; in freebsd32_kmq_timedreceive() local
[all …]
/freebsd/sys/dev/iommu/
H A Dbusdma_iommu.c1004 bool waitok; in bus_dma_iommu_load_ident() local
1020 waitok = (flags & BUS_DMA_NOWAIT) != 0; in bus_dma_iommu_load_ident()
1022 entry = iommu_gas_alloc_entry(domain, waitok ? 0 : IOMMU_PGF_WAITOK); in bus_dma_iommu_load_ident()
1027 ma = malloc(sizeof(vm_page_t) * atop(length), M_TEMP, waitok ? in bus_dma_iommu_load_ident()
1039 IOMMU_MAP_ENTRY_MAP, waitok ? IOMMU_MF_CANWAIT : 0, ma); in bus_dma_iommu_load_ident()
/freebsd/sys/vm/
H A Duma_core.c1711 zone_reclaim(uma_zone_t zone, int domain, int waitok, bool drain) in zone_reclaim() argument
1722 if (waitok == M_WAITOK) { in zone_reclaim()
/freebsd/sys/ufs/ffs/
H A Dffs_softdep.c388 softdep_prealloc(struct vnode *vp, int waitok) in softdep_prealloc() argument
3147 softdep_prealloc(struct vnode *vp, int waitok) in softdep_prealloc() argument
3171 if (waitok == MNT_NOWAIT) in softdep_prealloc()
3178 ffs_syncvnode(vp, waitok, 0); in softdep_prealloc()