Home
last modified time | relevance | path

Searched refs:sigio (Results 1 – 24 of 24) sorted by relevance

/freebsd/sys/sys/
H A Dsigio.h45 struct sigio { struct
50 SLIST_ENTRY(sigio) sio_pgsigio; /* (pg) sigio's for process or group */ argument
51 struct sigio **sio_myref; /* (c) location of the pointer that holds argument
59 SLIST_HEAD(sigiolst, sigio); argument
61 pid_t fgetown(struct sigio **sigiop);
62 int fsetown(pid_t pgid, struct sigio **sigiop);
63 void funsetown(struct sigio **sigiop);
H A Deventvar.h48 struct sigio *kq_sigio;
H A Dprocdesc.h56 struct sigio;
H A Dpipe.h111 struct sigio *pipe_sigio; /* information for async I/O */
H A Dsignalvar.h325 struct sigio;
386 void pgsigio(struct sigio **sigiop, int sig, int checkctty);
H A Dtty.h108 struct sigio *t_sigio; /* (t) Asynchronous I/O. */
H A Dsocketvar.h100 struct sigio *so_sigio; /* [sg] information for async I/O or
/freebsd/contrib/netbsd-tests/lib/librumpclient/
H A Dt_fd.c53 ATF_TC_WITH_CLEANUP(sigio);
54 ATF_TC_HEAD(sigio, tc) in ATF_TC_HEAD() argument
63 ATF_TC_CLEANUP(sigio, tc) { system("env RUMP_SERVER=" RUMPSERV " rump.halt"); } in ATF_TC_CLEANUP() argument
103 ATF_TC_BODY(sigio, tc) in ATF_TC_BODY() argument
143 ATF_TP_ADD_TC(tp, sigio); in ATF_TP_ADD_TCS()
/freebsd/crypto/openssl/crypto/evp/
H A Dbio_ok.c107 int sigio; /* must process signature */ member
141 ctx->sigio = 1; in ok_new()
230 if (ctx->sigio == 1) { in ok_read()
238 if (ctx->sigio == 0) { in ok_read()
272 if (ctx->sigio && !sig_out(b)) in ok_write()
342 ctx->sigio = 1; in ok_ctrl()
468 ctx->sigio = 0; in sig_out()
509 ctx->sigio = 0; in sig_in()
/freebsd/sys/kern/
H A Dkern_devctl.c73 struct sigio *sigio; member
240 funsetown(&devsoftc.sigio); in devclose()
300 return fsetown(*(int *)data, &devsoftc.sigio); in devioctl()
302 *(int *)data = fgetown(&devsoftc.sigio); in devioctl()
428 if (devsoftc.async && devsoftc.sigio != NULL) in devctl_queue()
429 pgsigio(&devsoftc.sigio, SIGIO, 0); in devctl_queue()
H A Dkern_descrip.c1069 sigiofree(struct sigio *sigio) in sigiofree() argument
1076 funsetown_locked(struct sigio *sigio) in funsetown_locked() argument
1083 if (sigio == NULL) in funsetown_locked()
1089 SLIST_REMOVE(&pg->pg_sigiolst, sigio, sigio, sio_pgsigio); in funsetown_locked()
1094 SLIST_REMOVE(&p->p_sigiolst, sigio, sigio, sio_pgsigio); in funsetown_locked()
1097 return (sigio); in funsetown_locked()
1108 struct sigio *sigio; in funsetown() local
1132 struct sigio *sigio, *tmp; in funsetownlst() local
1199 struct sigio *osigio, *sigio; in fsetown() local
1207 sigio = malloc(sizeof(struct sigio), M_SIGIO, M_WAITOK); in fsetown()
[all …]
H A Dkern_sig.c4270 struct sigio *sigio; in pgsigio() local
4277 sigio = *sigiop; in pgsigio()
4278 if (sigio == NULL) { in pgsigio()
4282 if (sigio->sio_pgid > 0) { in pgsigio()
4283 PROC_LOCK(sigio->sio_proc); in pgsigio()
4284 if (CANSIGIO(sigio->sio_ucred, sigio->sio_proc->p_ucred)) in pgsigio()
4285 kern_psignal(sigio->sio_proc, sig); in pgsigio()
4286 PROC_UNLOCK(sigio->sio_proc); in pgsigio()
4287 } else if (sigio->sio_pgid < 0) { in pgsigio()
4290 PGRP_LOCK(sigio->sio_pgrp); in pgsigio()
[all …]
H A Dsubr_log.c87 struct sigio *sc_sigio; /* information for async I/O */
/freebsd/tools/test/gpioevents/
H A Dgpioevents.c56 static volatile sig_atomic_t sigio = 0; variable
60 sigio = 1; in sigio_handler()
457 if (sigio == 1) { in run_sigio()
458 sigio = 0; in run_sigio()
/freebsd/sys/dev/gpio/
H A Dgpioc.c86 struct sigio *sigio; member
551 if (priv->async == true && priv->sigio != NULL) in gpioc_interrupt_handler()
552 pgsigio(&priv->sigio, SIGIO, 0); in gpioc_interrupt_handler()
669 funsetown(&priv->sigio); in gpioc_cdevpriv_dtor()
937 *(int *)arg = fgetown(&priv->sigio); in gpioc_ioctl()
942 res = fsetown(*(int *)arg, &priv->sigio); in gpioc_ioctl()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dfs.h92 struct sigio *f_sigio;
117 #define fasync_struct sigio *
/freebsd/sys/net/
H A Dbpfdesc.h91 struct sigio * bd_sigio; /* information for async I/O */
H A Dif_tuntap.c140 struct sigio *tun_sigio; /* async I/O info */
/freebsd/sys/dev/evdev/
H A Devdev_private.h227 struct sigio * ec_sigio;
/freebsd/sys/dev/vt/
H A Dvt_sysmouse.c86 static struct sigio *sysmouse_sigio;
/freebsd/tools/build/test-includes/
H A Dbadfiles.inc114 sys/sigio.h \
/freebsd/sys/security/audit/
H A Daudit_pipe.c115 struct sigio *ap_sigio;
/freebsd/sys/dev/drm2/
H A DdrmP.h941 struct sigio *buf_sigio; /* Processes waiting for SIGIO */
/freebsd/sys/dev/atkbdc/
H A Dpsm.c473 struct sigio *async; /* Processes waiting for SIGIO */