Searched refs:buf_queue (Results 1 - 17 of 17) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/dev/scsipi/
H A Dcdvar.h47 struct bufq_state *buf_queue; member in struct:cd_softc
H A Dsdvar.h87 struct bufq_state *buf_queue; member in struct:sd_softc
H A Dssvar.h70 struct bufq_state *buf_queue; /* the queue of pending IO operations */ member in struct:ss_softc
H A Dss.c167 bufq_alloc(&ss->buf_queue, "fcfs", 0);
204 bufq_drain(ss->buf_queue);
206 bufq_free(ss->buf_queue);
424 bufq_put(ss->buf_queue, bp);
477 if ((bp = bufq_peek(ss->buf_queue)) == NULL)
H A Dstvar.h139 struct bufq_state *buf_queue; /* the queue of pending IO */ member in struct:st_softc
H A Dsd.c234 bufq_alloc(&sd->buf_queue, BUFQ_DISK_DEFAULT_STRAT, BUFQ_SORT_RAWBLOCK);
362 bufq_drain(sd->buf_queue);
364 bufq_free(sd->buf_queue);
727 bufq_put(sd->buf_queue, bp);
798 if ((bp = bufq_get(sd->buf_queue)) != NULL) {
811 if ((bp = bufq_peek(sd->buf_queue)) == NULL)
899 if (bufq_get(sd->buf_queue) != bp)
902 bufq_get(sd->buf_queue);
1244 strlcpy(dks->dks_name, bufq_getstrategyname(sd->buf_queue),
1272 old = sd->buf_queue;
[all...]
H A Dst.c377 bufq_alloc(&st->buf_queue, "fcfs", 0);
427 bufq_drain(st->buf_queue);
429 bufq_free(st->buf_queue);
1065 bufq_put(st->buf_queue, bp);
1125 if ((bp = bufq_get(st->buf_queue)) != NULL) {
1136 if ((bp = bufq_peek(st->buf_queue)) == NULL)
1158 bufq_get(st->buf_queue);
1165 bufq_get(st->buf_queue);
1179 bufq_get(st->buf_queue);
1233 if (bufq_get(st->buf_queue) !
[all...]
H A Dss_scanjet.c283 if (bufq_get(ss->buf_queue) != bp)
286 bufq_get(ss->buf_queue);
H A Dss_mustek.c484 if (bufq_get(ss->buf_queue) != bp)
487 bufq_get(ss->buf_queue);
H A Dcd.c258 bufq_alloc(&cd->buf_queue, "disksort", BUFQ_SORT_RAWBLOCK);
317 bufq_drain(cd->buf_queue);
319 bufq_free(cd->buf_queue);
708 bufq_put(cd->buf_queue, bp);
777 if ((bp = bufq_get(cd->buf_queue)) != NULL) {
790 if ((bp = bufq_peek(cd->buf_queue)) == NULL)
863 if (bufq_get(cd->buf_queue) != bp)
866 bufq_get(cd->buf_queue);
977 bufq_put(cd->buf_queue, nbp);
1626 strlcpy(dks->dks_name, bufq_getstrategyname(cd->buf_queue),
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/syslogd/
H A Dextern.h80 extern bool message_queue_remove(struct filed *, struct buf_queue *);
88 extern void fprintlog(struct filed *, struct buf_msg *, struct buf_queue *);
H A Dtls.h144 struct buf_queue *qentry;
189 bool tls_send(struct filed *, char *, size_t, struct buf_queue*);
H A Dsyslogd.h296 struct buf_queue { struct
298 STAILQ_ENTRY(buf_queue) entries;
300 STAILQ_HEAD(buf_queue_head, buf_queue);
H A Dsyslogd.c248 static struct buf_queue *
250 struct buf_queue *
252 size_t buf_queue_obj_size(struct buf_queue*);
2119 fprintlog(struct filed *f, struct buf_msg *passedbuffer, struct buf_queue *qentry)
3393 struct buf_queue *buf; \
4213 struct buf_queue *qentry;
4279 static struct buf_queue *
4284 static struct buf_queue *qentry_static;
4286 struct buf_queue *qentry_tmp;
4339 struct buf_queue *qentr
[all...]
H A Dtls.c1694 tls_send(struct filed *f, char *line, size_t len, struct buf_queue *qentry)
/netbsd-6-1-5-RELEASE/sys/dev/isa/
H A Dmcd.c152 struct bufq_state *buf_queue; member in struct:mcd_softc
265 bufq_alloc(&sc->buf_queue, "disksort", BUFQ_SORT_RAWBLOCK);
476 bufq_put(sc->buf_queue, bp);
496 if ((bp = bufq_get(sc->buf_queue)) == NULL) {
/netbsd-6-1-5-RELEASE/sys/dev/raidframe/
H A Drf_netbsdkintf.c232 struct bufq_state *buf_queue; /* used for the device queue */ member in struct:raid_softc
379 bufq_alloc(&raid_softc[raidID].buf_queue, BUFQ_DISK_DEFAULT_STRAT, BUFQ_SORT_RAWBLOCK);
895 bufq_put(rs->buf_queue, bp);
1866 strlcpy(dks->dks_name, bufq_getstrategyname(rs->buf_queue),
1890 old = rs->buf_queue;
1892 rs->buf_queue = new;
2037 if ((bp = bufq_get(rs->buf_queue)) == NULL) {
3817 * rf_buf_queue_check(int raidid) -- looks into the buf_queue to see
3827 if ((bufq_peek(raid_softc[raidid].buf_queue) != NULL) &&

Completed in 203 milliseconds