async
static u_char async, kernel, polling; /* Really, you don't want to know. */
async = 0;
if (async)
if (async)
async = 1;
int async, int timo)
fl = (async != 0 ? IM_WAIT : IM_POLL);
int async)
if (async != 0) {
icp->icp_evt.eu.async.ionode =
icp->icp_evt.eu.async.status = icp->icp_status;
icp->icp_evt.size = sizeof(icp->icp_evt.eu.async);
icp->icp_evt.eu.async.ionode =
icp->icp_evt.eu.async.service = service;
icp->icp_evt.eu.async.status = icp->icp_status;
icp->icp_evt.eu.async.info = icp->icp_info;
*(u_int32_t *) icp->icp_evt.eu.async.scsi_coord =
sizeof(e->event_data.eu.async);
} __packed async;
mlx_flush(struct mlx_softc *mlx, int async)
if (async)
goto async;
async:
if (sc->async)
if (sc->async) {
if (sc->async) {
sc->async = curproc->p_pid;
sc->async = 0;
pid = sc->async;
if (sc->async != 0)
sc->async = 0;
pid_t async; /* process who wants audio SIGIO */
int async)
sc->cmdq.cur, type, len, async));
return async ? 0 : tsleep(desc, 0, "iwicmd", hz);
int idx, code, async, group_id;
async = hcmd->flags & IWM_CMD_ASYNC;
KASSERT(!async);
code, hdrlen + paylen, async ? " (async)" : ""));
if (!async) {
iwn_cmd(struct iwn_softc *sc, int code, const void *buf, int size, int async)
DPRINTFN(4, ("iwn_cmd %d size=%d %s\n", code, size, async ? " (async)" : ""));
return async ? 0 : tsleep(desc, PCATCH, "iwncmd", hz);
iwn4965_add_node(struct iwn_softc *sc, struct iwn_node_info *node, int async)
return iwn_cmd(sc, IWN_CMD_ADD_NODE, &hnode, sizeof hnode, async);
iwn5000_add_node(struct iwn_softc *sc, struct iwn_node_info *node, int async)
return iwn_cmd(sc, IWN_CMD_ADD_NODE, node, sizeof (*node), async);
iwn_add_broadcast_node(struct iwn_softc *sc, int async)
if ((error = ops->add_node(sc, &node, async)) != 0)
return iwn_cmd(sc, IWN_CMD_LINK_QUALITY, &linkq, sizeof linkq, async);
iwn4965_set_txpower(struct iwn_softc *sc, int async)
return iwn_cmd(sc, IWN_CMD_TXPOWER, &cmd, sizeof cmd, async);
iwn5000_set_txpower(struct iwn_softc *sc, int async)
return iwn_cmd(sc, cmdid, &cmd, sizeof cmd, async);
iwn_set_pslevel(struct iwn_softc *sc, int dtim, int level, int async)
return iwn_cmd(sc, IWN_CMD_SET_POWER_MODE, &cmd, sizeof cmd, async);
wpi_cmd(struct wpi_softc *sc, int code, const void *buf, int size, int async)
return async ? 0 : tsleep(cmd, PCATCH, "wpicmd", hz);
wpi_set_txpower(struct wpi_softc *sc, struct ieee80211_channel *c, int async)
return wpi_cmd(sc, WPI_CMD_TXPOWER, &txpower, sizeof txpower, async);
int oasync, async, poll, error;
async = (xs->xs_control & XS_CTL_ASYNC);
if (async)
sc->async = 0;
if ((pid = sc->async) != 0) {
if (sc->async != 0) {
if ((p = proc_find(sc->async)) != NULL)
if (sc->async != 0) {
sc->async = curproc->p_pid;
sc->async));
sc->async = 0;
pid_t async; /* process who wants audio SIGIO */
if (ev->async) {
if (ev->async) {
int async; /* send SIGIO on input ready */
sc->sc_base.me_evp->async = *(int *)data != 0;
sc->sc_base.me_evp->async = *(int *)data != 0;
evar->async = *(int *)data != 0;
int async = ddep->de_pmp->pm_mountp->mnt_flag & MNT_ASYNC;
if (async)
if (async)
if (async)
if (async)
int async = pdep->de_pmp->pm_mountp->mnt_flag & MNT_ASYNC;
if (async)
bool async;
async = vp->v_mount->mnt_flag & MNT_ASYNC;
if (!async && oldoff >> 16 != uio->uio_offset >> 16) {
int async = pdep->de_pmp->pm_mountp->mnt_flag & MNT_ASYNC;
if (async)
SYSCTL_INT(_vfs_nfsd, OID_AUTO, async, CTLFLAG_RW, &nfs_async, 0,
int async = vp->v_mount->mnt_flag & MNT_ASYNC;
if (!async && (vp->v_type != VDIR)) {
bio_doread(struct vnode *vp, daddr_t blkno, int size, int async)
SET(bp->b_flags, B_READ | async);
if (async)
} else if (async)
if (async == 0)
int error, async, used_syncer, used_extattr;
async = mp->mnt_flag & MNT_ASYNC;
mp->mnt_flag |= async;
const bool async = ((flags & VRELEL_ASYNC) != 0);
if (uvm_lwp_is_pagedaemon(curlwp) || async) {
(!async ? UVM_PAGE_ARRAY_FILL_WRITEBACK : 0)) : 0);
if (!async && (flags & PGO_RECLAIM) == 0) {
const bool async = (flags & PGO_SYNCIO) == 0;
if (!wasclean && !async && vp->v_numoutput != 0) {
const bool async = (flags & PGO_SYNCIO) == 0;
if (async) {
else if (async || lazy)
if (async) {
pgs = kmem_zalloc(pgs_size, async ? KM_NOSLEEP : KM_SLEEP);
async ? UFP_NOWAIT : UFP_ALL) != orignmempages) {
KASSERT(async != 0);
async ? UFP_NOWAIT : UFP_ALL) != npages) {
KASSERT(async != 0);
async, memwrite, blockalloc, glocked);
if (error == 0 && async)
if (i < ridx || i >= ridx + orignmempages || async) {
bool async, bool memwrite, bool blockalloc, bool glocked)
UVMPAGER_MAPIN_READ | (async ? 0 : UVMPAGER_MAPIN_WAITOK));
if (async) {
if (async)
if (async) {
bool async = (origflags & PGO_SYNCIO) == 0;
int async = bp->b_flags & B_ASYNC;
if (async)
if (async)
off, off, (off + bp->b_bcount), async ? "a" : ""));
if (BUF_ISWRITE(bp) && !async)
bool async;
async = vp->v_mount->mnt_flag & MNT_ASYNC;
if (!async && oldoff >> 16 != uio->uio_offset >> 16) {
bool async;
async = vp->v_mount->mnt_flag & MNT_ASYNC;
if (!async && oldoff >> fshift != uio->uio_offset >> fshift) {
bool async = (flags & PGO_SYNCIO) == 0;
if (!async) {
bool async;
async = vp->v_mount->mnt_flag & MNT_ASYNC;
async = true;
__USE(async);
bool async;
async = vp->v_mount->mnt_flag & MNT_ASYNC;
if (!async && oldoff >> fshift != uio->uio_offset >> fshift) {
bool write, async, swap_encrypt;
async = (flags & B_ASYNC) != 0;
KASSERT(!uvm_lwp_is_pagedaemon(curlwp) || async);
if (async) {
if (async) {
ATF_TP_ADD_TC(tp, async);
ATF_TC(async);
ATF_TC_HEAD(async, tc)
ATF_TC_BODY(async, tc)