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

/freebsd-current/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) argument
40 return (nlmsg_get_buf(nw, size, waitok));
H A Dktest_netlink_message_writer.c45 int waitok; member in struct:test_nlbuf_attrs
52 { .type = 3, .off = _OUT(waitok), .cb = nlattr_get_uint32 },
76 ret = nlmsg_get_buf_wrapper(&nw, attrs->size, attrs->waitok);
H A Dnetlink_message_writer.c48 nlmsg_get_buf(struct nl_writer *nw, u_int len, bool waitok) argument
50 const int mflag = waitok ? M_WAITOK : M_NOWAIT;
55 waitok ? "wait" : "nowait");
/freebsd-current/sys/net/route/
H A Droute_subscription.c69 enum rib_subscription_type type, bool waitok)
72 int flags = M_ZERO | (waitok ? M_WAITOK : M_NOWAIT);
93 enum rib_subscription_type type, bool waitok)
103 return (rib_subscribe_internal(rnh, f, arg, type, waitok));
108 enum rib_subscription_type type, bool waitok)
113 if ((rs = allocate_subscription(f, arg, type, waitok)) == NULL)
68 allocate_subscription(rib_subscription_cb_t *f, void *arg, enum rib_subscription_type type, bool waitok) argument
92 rib_subscribe(uint32_t fibnum, int family, rib_subscription_cb_t *f, void *arg, enum rib_subscription_type type, bool waitok) argument
107 rib_subscribe_internal(struct rib_head *rnh, rib_subscription_cb_t *f, void *arg, enum rib_subscription_type type, bool waitok) argument
H A Dfib_algo.h119 struct fib_lookup_module *flm, bool waitok);
H A Droute_ctl.h194 bool waitok);
197 bool waitok);
H A Dfib_algo.c1558 alloc_fib_dp_array(uint32_t num_tables, bool waitok) argument
1565 fdh = malloc(sz, M_RTABLE, (waitok ? M_WAITOK : M_NOWAIT) | M_ZERO);
/freebsd-current/lib/libthr/thread/
H A Dthr_suspend_np.c160 int waitok)
173 if (waitok) {
159 suspend_common(struct pthread *curthread, struct pthread *thread, int waitok) argument
/freebsd-current/sys/dev/iommu/
H A Dbusdma_iommu.c1004 bool waitok; local
1020 waitok = (flags & BUS_DMA_NOWAIT) != 0;
1022 entry = iommu_gas_alloc_entry(domain, waitok ? 0 : IOMMU_PGF_WAITOK);
1027 ma = malloc(sizeof(vm_page_t) * atop(length), M_TEMP, waitok ?
1039 IOMMU_MAP_ENTRY_MAP, waitok ? IOMMU_MF_CANWAIT : 0, ma);
/freebsd-current/sys/kern/
H A Duipc_mqueue.c260 size_t msg_len, unsigned msg_prio, int waitok,
263 size_t msg_len, unsigned *msg_prio, int waitok,
1684 * Send a message. if waitok is false, thread will not be
1690 size_t msg_len, unsigned msg_prio, int waitok,
1707 if (!waitok) {
1839 * Get a message. if waitok is false, thread will not be
1845 size_t msg_len, unsigned *msg_prio, int waitok,
1857 if (!waitok) {
2283 int error, waitok; local
2289 waitok
1689 mqueue_send(struct mqueue *mq, const char *msg_ptr, size_t msg_len, unsigned msg_prio, int waitok, const struct timespec *abs_timeout) argument
1844 mqueue_receive(struct mqueue *mq, char *msg_ptr, size_t msg_len, unsigned *msg_prio, int waitok, const struct timespec *abs_timeout) argument
2320 int error, waitok; local
[all...]
/freebsd-current/sys/vm/
H A Duma_core.c1711 zone_reclaim(uma_zone_t zone, int domain, int waitok, bool drain) argument
1722 if (waitok == M_WAITOK) {
/freebsd-current/sys/ufs/ffs/
H A Dffs_softdep.c388 softdep_prealloc(struct vnode *vp, int waitok) argument
3147 softdep_prealloc(struct vnode *vp, int waitok) argument
3171 if (waitok == MNT_NOWAIT)
3178 ffs_syncvnode(vp, waitok, 0);

Completed in 317 milliseconds