Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_alq.c58 struct alq { struct
76 LIST_ENTRY(alq) aq_act; /* List of active queues */ argument
77 LIST_ENTRY(alq) aq_link; /* List of all queues */
87 #define ALQ_LOCK(alq) mtx_lock_spin(&(alq)->aq_mtx) argument
88 #define ALQ_UNLOCK(alq) mtx_unlock_spin(&(alq)->aq_mtx) argument
90 #define HAS_PENDING_DATA(alq) ((alq)->aq_freebytes != (alq)->aq_buflen) argument
98 static LIST_HEAD(, alq) ald_queues;
99 static LIST_HEAD(, alq) ald_active;
109 static int ald_add(struct alq *);
110 static int ald_rem(struct alq *);
[all …]
H A Dkern_ktr.c259 struct alq *ktr_alq;
/freebsd/sys/dev/ath/
H A Dif_ath_alq.c53 if_ath_alq_get(struct if_ath_alq *alq, int len) in if_ath_alq_get() argument
57 if (alq->sc_alq_isactive == 0) in if_ath_alq_get()
60 ale = alq_getn(alq->sc_alq_alq, len, ALQ_NOWAIT); in if_ath_alq_get()
62 alq->sc_alq_numlost++; in if_ath_alq_get()
67 if_ath_alq_init(struct if_ath_alq *alq, const char *devname) in if_ath_alq_init() argument
70 bzero(alq, sizeof(*alq)); in if_ath_alq_init()
72 strncpy(alq->sc_alq_devname, devname, ATH_ALQ_DEVNAME_LEN); in if_ath_alq_init()
73 printf("%s (%s): attached\n", __func__, alq->sc_alq_devname); in if_ath_alq_init()
74 snprintf(alq->sc_alq_filename, ATH_ALQ_FILENAME_LEN, in if_ath_alq_init()
75 "/tmp/ath_%s_alq.log", alq->sc_alq_devname); in if_ath_alq_init()
[all …]
H A Dif_ath_alq.h134 struct alq * sc_alq_alq; /* alq state */
161 if_ath_alq_checkdebug(struct if_ath_alq *alq, uint16_t op) in if_ath_alq_checkdebug() argument
164 return ((alq->sc_alq_debug | ATH_ALQ_LOG_ALWAYS_MASK) in if_ath_alq_checkdebug()
168 extern void if_ath_alq_init(struct if_ath_alq *alq, const char *devname);
169 extern void if_ath_alq_setcfg(struct if_ath_alq *alq, uint32_t macVer,
171 extern void if_ath_alq_tidyup(struct if_ath_alq *alq);
172 extern int if_ath_alq_start(struct if_ath_alq *alq);
173 extern int if_ath_alq_stop(struct if_ath_alq *alq);
174 extern void if_ath_alq_post(struct if_ath_alq *alq, uint16_t op,
179 if_ath_alq_post_intr(struct if_ath_alq *alq, uint32_t status, in if_ath_alq_post_intr() argument
[all …]
H A Dah_osdep.c193 static struct alq *ath_hal_alq;
238 SYSCTL_PROC(_hw_ath_hal, OID_AUTO, alq,
457 MODULE_DEPEND(ath_hal, alq, 1, 1, 1);
H A Dif_ath.c7124 MODULE_DEPEND(ath_main, alq, 1, 1, 1);
/freebsd/sys/sys/
H A Dalq.h42 struct alq;
79 int alq_open_flags(struct alq **alqp, const char *file, struct ucred *cred, int cmode,
81 int alq_open(struct alq **alqp, const char *file, struct ucred *cred, int cmode,
99 int alq_writen(struct alq *alq, void *data, int len, int flags);
100 int alq_write(struct alq *alq, void *data, int flags);
105 void alq_flush(struct alq *alq);
110 void alq_close(struct alq *alq);
128 struct ale *alq_getn(struct alq *alq, int len, int flags);
129 struct ale *alq_get(struct alq *alq, int flags);
137 void alq_post_flags(struct alq *alq, struct ale *ale, int flags);
[all …]
/freebsd/sys/net80211/
H A Dieee80211_alq.c60 static struct alq *ieee80211_alq;
109 SYSCTL_PROC(_net_wlan, OID_AUTO, alq,
H A Dieee80211_freebsd.c1192 MODULE_DEPEND(wlan, alq, 1, 1, 1);
/freebsd/sys/modules/alq/
H A DMakefile2 KMOD= alq
/freebsd/usr.bin/indent/tests/
H A Dlist_head.011 static LIST_HEAD(, alq) ald_active;
H A Dlist_head.0.stdout11 static LIST_HEAD(, alq) ald_active;
H A Ddeclarations.067 static LIST_HEAD(, alq) ald_active;
H A Ddeclarations.0.stdout61 static LIST_HEAD(, alq) ald_active;
/freebsd/share/man/man9/
H A DMakefile9 alq.9 \
471 MLINKS+=alq.9 ALQ.9 \
472 alq.9 alq_close.9 \
473 alq.9 alq_flush.9 \
474 alq.9 alq_get.9 \
475 alq.9 alq_getn.9 \
476 alq.9 alq_open.9 \
477 alq.9 alq_open_flags.9 \
478 alq.9 alq_post.9 \
479 alq.9 alq_post_flags.9 \
[all …]
/freebsd/sys/netinet/
H A Dsiftr.c271 static struct alq *siftr_alq = NULL;
1074 struct alq *new_alq; in siftr_sysctl_logfile_name_handler()
1398 MODULE_DEPEND(siftr, alq, 1, 1, 1);
/freebsd/sys/modules/
H A DMakefile34 alq \
/freebsd/sys/conf/
H A Dfiles3769 kern/kern_alq.c optional alq
4379 netinet/siftr.c optional inet siftr alq | inet6 siftr alq