Home
last modified time | relevance | path

Searched refs:async (Results 1 – 25 of 67) sorted by relevance

123

/dflybsd-src/usr.sbin/ppp/
H A Dasync.c59 async_Init(struct async *async) in async_Init() argument
61 async_Setup(async); in async_Init()
62 memset(async->cfg.EscMap, '\0', sizeof async->cfg.EscMap); in async_Init()
66 async_Setup(struct async *async) in async_Setup() argument
68 async->mode = MODE_HUNT; in async_Setup()
69 async->length = 0; in async_Setup()
70 async->my_accmap = async->his_accmap = 0xffffffff; in async_Setup()
74 async_SetLinkParams(struct async *async, u_int32_t mymap, u_int32_t hismap) in async_SetLinkParams() argument
76 async->my_accmap = mymap; in async_SetLinkParams()
77 async->his_accmap = hismap | mymap; in async_SetLinkParams()
[all …]
H A Dasync.h32 struct async { struct
50 extern void async_Init(struct async *); argument
51 extern void async_Setup(struct async *);
52 extern void async_SetLinkParams(struct async *, u_int32_t, u_int32_t);
H A Dphysical.h82 struct async async; /* Our async state */ member
H A DMakefile5 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
/dflybsd-src/contrib/gcc-8.0/libgomp/
H A Doacc-async.c35 acc_async_test (int async) in acc_async_test() argument
37 if (async < acc_async_sync) in acc_async_test()
38 gomp_fatal ("invalid async argument: %d", async); in acc_async_test()
45 return thr->dev->openacc.async_test_func (async); in acc_async_test()
60 acc_wait (int async) in acc_wait() argument
62 if (async < acc_async_sync) in acc_wait()
63 gomp_fatal ("invalid async argument: %d", async); in acc_wait()
70 thr->dev->openacc.async_wait_func (async); in acc_wait()
78 acc_async_wait (int async) in strong_alias()
80 acc_wait (async); in strong_alias()
[all …]
H A Doacc-parallel.c52 static void goacc_wait (int async, int num_waits, va_list *ap);
75 int async = GOMP_ASYNC_SYNC; in GOACC_parallel_keyed() local
133 async = GOMP_LAUNCH_OP (tag); in GOACC_parallel_keyed()
135 if (async == GOMP_LAUNCH_OP_MAX) in GOACC_parallel_keyed()
136 async = va_arg (ap, unsigned); in GOACC_parallel_keyed()
145 goacc_wait (async, num_waits, &ap); in GOACC_parallel_keyed()
156 acc_dev->openacc.async_set_async_func (async); in GOACC_parallel_keyed()
183 async, dims, tgt); in GOACC_parallel_keyed()
186 if (async < acc_async_noval) in GOACC_parallel_keyed()
189 tgt->device_descr->openacc.register_async_cleanup_func (tgt, async); in GOACC_parallel_keyed()
[all …]
H A Doacc-cuda.c57 acc_get_cuda_stream (int async) in acc_get_cuda_stream() argument
61 if (async < 0) in acc_get_cuda_stream()
65 return thr->dev->openacc.cuda.get_stream_func (async); in acc_get_cuda_stream()
71 acc_set_cuda_stream (int async, void *stream) in acc_set_cuda_stream() argument
75 if (async < 0 || stream == NULL) in acc_set_cuda_stream()
83 return thr->dev->openacc.cuda.set_stream_func (async, stream); in acc_set_cuda_stream()
H A Doacc-host.c143 int async __attribute__ ((unused)), in host_openacc_exec() argument
152 int async __attribute__ ((unused))) in host_openacc_register_async_cleanup() argument
157 host_openacc_async_test (int async __attribute__ ((unused))) in host_openacc_async_test() argument
169 host_openacc_async_wait (int async __attribute__ ((unused))) in host_openacc_async_wait() argument
185 host_openacc_async_wait_all_async (int async __attribute__ ((unused))) in host_openacc_async_wait_all_async() argument
190 host_openacc_async_set_async (int async __attribute__ ((unused))) in host_openacc_async_set_async() argument
H A Doacc-plugin.c34 GOMP_PLUGIN_async_unmap_vars (void *ptr, int async) in GOMP_PLUGIN_async_unmap_vars() argument
39 devicep->openacc.async_set_async_func (async); in GOMP_PLUGIN_async_unmap_vars()
H A Doacc-mem.c674 gomp_acc_remove_pointer (void *h, bool force_copyfrom, int async, int mapnum) in gomp_acc_remove_pointer() argument
726 if (async < acc_async_noval) in gomp_acc_remove_pointer()
729 t->device_descr->openacc.register_async_cleanup_func (t, async); in gomp_acc_remove_pointer()
/dflybsd-src/sys/netgraph/async/
H A Dng_async.c70 hook_p async; /* Asynchronous side */ member
165 NETGRAPH_INIT(async, &typestruct);
254 hookp = &sc->async; in nga_newhook()
275 if (hook == sc->async) in nga_rcvdata()
393 if (hook == sc->async) in nga_disconnect()
394 hookp = &sc->async; in nga_disconnect()
445 NG_SEND_DATA(error, sc->async, m, meta); in nga_rcv_sync()
508 NG_SEND_DATA(error, sc->async, m, meta); in nga_rcv_sync()
/dflybsd-src/sys/netgraph7/async/
H A Dng_async.c78 hook_p async; /* Asynchronous side */ member
169 NETGRAPH_INIT(async, &typestruct);
264 hookp = &sc->async; in nga_newhook()
295 if (hook == sc->async) in nga_rcvdata()
410 if (hook == sc->async) in nga_disconnect()
411 hookp = &sc->async; in nga_disconnect()
465 NG_FWD_ITEM_HOOK(error, item, sc->async ); in nga_rcv_sync()
532 NG_FWD_NEW_DATA(error, item, sc->async, m); in nga_rcv_sync()
/dflybsd-src/sys/dev/netif/iwm/
H A Dif_iwm_util.c169 int async, wantresp; in iwm_send_cmd() local
176 async = hcmd->flags & IWM_CMD_ASYNC; in iwm_send_cmd()
186 KASSERT(!async, ("invalid async parameter")); in iwm_send_cmd()
290 async ? " (async)" : ""); in iwm_send_cmd()
318 if (!async) { in iwm_send_cmd()
/dflybsd-src/usr.sbin/ypbind/
H A Dyp_ping.c215 int async; in __yp_ping() local
267 async = TRUE; in __yp_ping()
268 clnt_control(clnt, CLSET_ASYNC, (char *)&async); in __yp_ping()
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/std/
H A Dfuture139 async = 1,
189 async(launch __policy, _Fn&& __fn, _Args&&... __args);
193 async(_Fn&& __fn, _Args&&... __args);
356 // This call is a no-op by default except on an async future,
357 // in which case the async thread is joined. It's also not a
569 // Wait for completion of async function.
767 async(launch, _Fn&&, _Args&&...);
810 async(launch, _Fn&&, _Args&&...);
853 async(launch, _Fn&&, _Args&&...);
1588 // Shared state created by std::async().
[all …]
/dflybsd-src/sys/dev/sound/midi/
H A Dmidi.c114 struct proc *async; member
561 if (m->async) { in midi_in()
562 PHOLD(m->async); in midi_in()
563 ksignal(m->async, SIGIO); in midi_in()
564 PRELE(m->async); in midi_in()
603 if (m->async) { in midi_out()
604 PHOLD(m->async); in midi_out()
605 ksignal(m->async, SIGIO); in midi_out()
606 PRELE(m->async); in midi_out()
657 m->async = 0; in midi_open()
/dflybsd-src/contrib/gcc-4.7/libstdc++-v3/include/std/
H A Dfuture125 async = 1,
169 async(launch __policy, _Fn&& __fn, _Args&&... __args);
184 async(_Fn&& __fn, _Args&&... __args);
481 // Misnamed: waits for completion of async function.
648 async(launch, _Fn&&, _Args&&...);
691 async(launch, _Fn&&, _Args&&...);
734 async(launch, _Fn&&, _Args&&...);
1482 /// async
1485 async(launch __policy, _Fn&& __fn, _Args&&... __args)
1489 if ((__policy & (launch::async|launch::deferred)) == launch::async)
[all …]
/dflybsd-src/etc/mtree/
H A DBSD.include.dist295 async
349 async
/dflybsd-src/sys/dev/disk/xdisk/
H A Dxdisk.c94 int async; member
151 static void xa_start(xa_tag_t *tag, kdmsg_msg_t *msg, int async);
874 xa_start(xa_tag_t *tag, kdmsg_msg_t *msg, int async) in xa_start() argument
879 tag->async = async; in xa_start()
1015 if (tag->async) in xa_done()
1132 tag->async = 0; in xa_sync_completion()
/dflybsd-src/contrib/gdb-7/gdb/
H A Dserial.c526 return (scb->ops->async != NULL); in serial_can_async_p()
532 return (scb->ops->async != NULL) && (scb->async_handler != NULL); in serial_is_async_p()
546 scb->ops->async (scb, handler != NULL); in serial_async()
/dflybsd-src/sys/netgraph/
H A DMakefile5 async \
/dflybsd-src/sys/netgraph7/
H A DMakefile5 async \
/dflybsd-src/sys/vfs/ufs/
H A DREADME59 With soft updates: writes: 6 sync, 1,113,686 async; run time 19hr, 50min
60 Normal filesystem: writes: 1,459,147 sync, 487,031 async; run time 27hr, 15min
94 tar: 0.0u 0.5s 0:00.65 76.9% 0+0k 0+44io 0pf+0w (0 sync, 33 async writes)
95 rm: 0.0u 0.2s 0:00.20 100.0% 0+0k 0+37io 0pf+0w (0 sync, 72 async writes)
98 tar: 0.0u 1.1s 0:07.27 16.5% 0+0k 60+586io 0pf+0w (523 sync, 0 async writes)
99 rm: 0.0u 0.5s 0:01.84 29.3% 0+0k 0+318io 0pf+0w (258 sync, 65 async writes)
225 also statistics on number of sync and async writes
/dflybsd-src/sys/dev/disk/iscsi/initiator/
H A Discsi.h276 typedef struct async { struct
406 async_t async; member
/dflybsd-src/sys/kern/
H A Dvfs_cluster.c1249 int async; in cluster_write() local
1255 async = vp->v_mount->mnt_flag & MNT_ASYNC; in cluster_write()
1257 async = 0; in cluster_write()
1302 if (!async && seqcount > 0) { in cluster_write()
1375 if (!async && cc->v_clen == 0) { /* I/O not contiguous */ in cluster_write()

123