Home
last modified time | relevance | path

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

/f-stack/freebsd/sys/
H A Dsigio.h48 struct sigio { struct
53 SLIST_ENTRY(sigio) sio_pgsigio; /* (pg) sigio's for process or group */ argument
54 struct sigio **sio_myref; /* (c) location of the pointer that holds argument
62 SLIST_HEAD(sigiolst, sigio); argument
64 pid_t fgetown(struct sigio **sigiop);
65 int fsetown(pid_t pgid, struct sigio **sigiop);
66 void funsetown(struct sigio **sigiop);
H A Deventvar.h50 struct sigio *kq_sigio;
H A Dprocdesc.h58 struct sigio;
H A Dpipe.h115 struct sigio *pipe_sigio; /* information for async I/O */
H A Dsignalvar.h329 struct sigio;
391 void pgsigio(struct sigio **sigiop, int sig, int checkctty);
H A Dtty.h110 struct sigio *t_sigio; /* (t) Asynchronous I/O. */
H A Dsocketvar.h103 struct sigio *so_sigio; /* [sg] information for async I/O or
/f-stack/lib/
H A Dff_glue.c970 struct sigio **sigiop; in pgsigio()
976 struct sigio *sigio; local
983 sigio = *sigiop;
984 if (sigio == NULL) {
988 if (sigio->sio_pgid > 0) {
989 PROC_LOCK(sigio->sio_proc);
990 if (CANSIGIO(sigio->sio_ucred, sigio->sio_proc->p_ucred))
992 PROC_UNLOCK(sigio->sio_proc);
993 } else if (sigio->sio_pgid < 0) {
996 PGRP_LOCK(sigio->sio_pgrp);
[all …]
/f-stack/freebsd/kern/
H A Dkern_descrip.c1016 sigiofree(struct sigio *sigio) in sigiofree() argument
1023 funsetown_locked(struct sigio *sigio) in funsetown_locked() argument
1036 SLIST_REMOVE(&sigio->sio_pgrp->pg_sigiolst, sigio, in funsetown_locked()
1042 SLIST_REMOVE(&sigio->sio_proc->p_sigiolst, sigio, in funsetown_locked()
1046 return (sigio); in funsetown_locked()
1057 struct sigio *sigio; in funsetown() local
1081 struct sigio *sigio, *tmp; in funsetownlst() local
1148 struct sigio *osigio, *sigio; in fsetown() local
1158 sigio = malloc(sizeof(struct sigio), M_SIGIO, M_WAITOK); in fsetown()
1216 *sigiop = sigio; in fsetown()
[all …]
H A Dkern_sig.c3908 struct sigio *sigio; in pgsigio() local
3915 sigio = *sigiop; in pgsigio()
3916 if (sigio == NULL) { in pgsigio()
3920 if (sigio->sio_pgid > 0) { in pgsigio()
3921 PROC_LOCK(sigio->sio_proc); in pgsigio()
3922 if (CANSIGIO(sigio->sio_ucred, sigio->sio_proc->p_ucred)) in pgsigio()
3923 kern_psignal(sigio->sio_proc, sig); in pgsigio()
3924 PROC_UNLOCK(sigio->sio_proc); in pgsigio()
3925 } else if (sigio->sio_pgid < 0) { in pgsigio()
3928 PGRP_LOCK(sigio->sio_pgrp); in pgsigio()
[all …]
H A Dsubr_log.c92 struct sigio *sc_sigio; /* information for async I/O */
H A Dsubr_bus.c411 struct sigio *sigio; member
480 funsetown(&devsoftc.sigio); in devclose()
540 return fsetown(*(int *)data, &devsoftc.sigio); in devioctl()
542 *(int *)data = fgetown(&devsoftc.sigio); in devioctl()
668 if (devsoftc.async && devsoftc.sigio != NULL) in devctl_queue()
669 pgsigio(&devsoftc.sigio, SIGIO, 0); in devctl_queue()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_process_cycle.c88 ngx_uint_t sigio; in ngx_master_process_cycle() local
91 ngx_uint_t n, sigio; in ngx_master_process_cycle() local
151 sigio = 0; in ngx_master_process_cycle()
157 sigio = 0; in ngx_master_process_cycle()
183 "wake up, sigio %i", sigio); in ngx_master_process_cycle()
201 if (sigio) { in ngx_master_process_cycle()
202 sigio--; in ngx_master_process_cycle()
206 sigio = ccf->worker_processes + 2 /* cache processes */; in ngx_master_process_cycle()
/f-stack/freebsd/net/
H A Dbpfdesc.h94 struct sigio * bd_sigio; /* information for async I/O */
H A Dif_tuntap.c140 struct sigio *tun_sigio; /* async I/O info */
/f-stack/tools/compat/include/net/
H A Dbpfdesc.h93 struct sigio * bd_sigio; /* information for async I/O */
/f-stack/tools/compat/include/sys/
H A Dsocketvar.h103 struct sigio *so_sigio; /* [sg] information for async I/O or
/f-stack/freebsd/security/audit/
H A Daudit_pipe.c118 struct sigio *ap_sigio;