Lines Matching defs:selfd
119 static void selfdfree(struct seltd *, struct selfd *);
136 STAILQ_HEAD(, selfd) st_selq; /* (k) List of selfds. */
137 struct selfd *st_free1; /* (k) free fd for read set. */
138 struct selfd *st_free2; /* (k) free fd for write set. */
148 * One selfd allocated per-thread per-file-descriptor.
151 struct selfd {
152 STAILQ_ENTRY(selfd) sf_link; /* (k) fds owned by this td. */
153 TAILQ_ENTRY(selfd) sf_threads; /* (f) fds on this selinfo. */
160 MALLOC_DEFINE(M_SELFD, "selfd", "selfd");
1399 struct selfd *sfp;
1400 struct selfd *sfn;
1662 struct selfd *sfp;
1663 struct selfd *sfn;
1856 selfdfree(struct seltd *stp, struct selfd *sfp)
1858 STAILQ_REMOVE(&stp->st_selq, sfp, selfd, sf_link);
1872 /* Drain the waiters tied to all the selfd belonging the specified selinfo. */
1894 struct selfd *sfp;
1913 panic("selrecord: No free selfd on selq");
1958 struct selfd *sfp;
1959 struct selfd *sfn;
2070 struct selfd *sfp;
2071 struct selfd *sfn;