/freebsd/sys/kern/ |
H A D | kern_alq.c | 58 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 D | kern_ktr.c | 259 struct alq *ktr_alq;
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_alq.c | 53 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 D | if_ath_alq.h | 134 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 D | ah_osdep.c | 193 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 D | if_ath.c | 7124 MODULE_DEPEND(ath_main, alq, 1, 1, 1);
|
/freebsd/sys/sys/ |
H A D | alq.h | 42 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 D | ieee80211_alq.c | 60 static struct alq *ieee80211_alq; 109 SYSCTL_PROC(_net_wlan, OID_AUTO, alq,
|
H A D | ieee80211_freebsd.c | 1192 MODULE_DEPEND(wlan, alq, 1, 1, 1);
|
/freebsd/sys/modules/alq/ |
H A D | Makefile | 2 KMOD= alq
|
/freebsd/usr.bin/indent/tests/ |
H A D | list_head.0 | 11 static LIST_HEAD(, alq) ald_active;
|
H A D | list_head.0.stdout | 11 static LIST_HEAD(, alq) ald_active;
|
H A D | declarations.0 | 67 static LIST_HEAD(, alq) ald_active;
|
H A D | declarations.0.stdout | 61 static LIST_HEAD(, alq) ald_active;
|
/freebsd/share/man/man9/ |
H A D | Makefile | 9 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 D | siftr.c | 271 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 D | Makefile | 34 alq \
|
/freebsd/sys/conf/ |
H A D | files | 3769 kern/kern_alq.c optional alq 4379 netinet/siftr.c optional inet siftr alq | inet6 siftr alq
|