Home
last modified time | relevance | path

Searched defs:q (Results 1 – 25 of 974) sorted by relevance

12345678910>>...39

/freebsd-11-stable/sys/dev/netmap/
HDnetmap_mbq.c47 static inline void __mbq_init(struct mbq *q) in __mbq_init()
54 void mbq_safe_init(struct mbq *q) in mbq_safe_init()
61 void mbq_init(struct mbq *q) in mbq_init()
67 static inline void __mbq_enqueue(struct mbq *q, struct mbuf *m) in __mbq_enqueue()
80 void mbq_safe_enqueue(struct mbq *q, struct mbuf *m) in mbq_safe_enqueue()
88 void mbq_enqueue(struct mbq *q, struct mbuf *m) in mbq_enqueue()
94 static inline struct mbuf *__mbq_dequeue(struct mbq *q) in __mbq_dequeue()
112 struct mbuf *mbq_safe_dequeue(struct mbq *q) in mbq_safe_dequeue()
124 struct mbuf *mbq_dequeue(struct mbq *q) in mbq_dequeue()
131 static void __mbq_purge(struct mbq *q, int safe) in __mbq_purge()
[all …]
HDnetmap_mbq.h68 mbq_peek(struct mbq *q) in mbq_peek()
74 mbq_lock(struct mbq *q) in mbq_lock()
80 mbq_unlock(struct mbq *q) in mbq_unlock()
92 static inline unsigned int mbq_len(struct mbq *q) in mbq_len()
/freebsd-11-stable/sys/netgraph/bluetooth/include/
HDng_bluetooth.h75 #define NG_BT_MBUFQ_INIT(q, _maxlen) \ argument
84 #define NG_BT_MBUFQ_DESTROY(q) \ argument
89 #define NG_BT_MBUFQ_FIRST(q) (q)->head argument
91 #define NG_BT_MBUFQ_LEN(q) (q)->len argument
93 #define NG_BT_MBUFQ_FULL(q) ((q)->len >= (q)->maxlen) argument
95 #define NG_BT_MBUFQ_DROP(q) (q)->drops ++ argument
97 #define NG_BT_MBUFQ_ENQUEUE(q, i) \ argument
110 #define NG_BT_MBUFQ_DEQUEUE(q, i) \ argument
123 #define NG_BT_MBUFQ_PREPEND(q, i) \ argument
133 #define NG_BT_MBUFQ_DRAIN(q) \ argument
[all …]
/freebsd-11-stable/sys/net/altq/
HDaltq_classq.h70 #define qtype(q) (q)->qtype_ /* Get queue type */ argument
71 #define qlimit(q) (q)->qlim_ /* Max packets to be queued */ argument
72 #define qlen(q) (q)->qlen_ /* Current queue length. */ argument
73 #define qsize(q) (q)->qsize_ /* Current queue size. */ argument
74 #define qtail(q) (q)->tail_ /* Tail of the queue */ argument
75 #define qhead(q) ((q)->tail_ ? (q)->tail_->m_nextpkt : NULL) argument
77 #define qempty(q) ((q)->qlen_ == 0) /* Is the queue empty?? */ argument
78 #define q_is_codel(q) ((q)->qtype_ == Q_CODEL) /* Is the queue a codel queue */ argument
79 #define q_is_red(q) ((q)->qtype_ == Q_RED) /* Is the queue a red queue */ argument
80 #define q_is_rio(q) ((q)->qtype_ == Q_RIO) /* Is the queue a rio queue */ argument
[all …]
/freebsd-11-stable/crypto/heimdal/lib/asn1/
HDder_cmp.c37 der_heim_oid_cmp(const heim_oid *p, const heim_oid *q) in der_heim_oid_cmp()
48 const heim_octet_string *q) in der_heim_octet_string_cmp()
57 const heim_printable_string *q) in der_printable_string_cmp()
64 const heim_ia5_string *q) in der_ia5_string_cmp()
71 const heim_bit_string *q) in der_heim_bit_string_cmp()
92 const heim_integer *q) in der_heim_integer_cmp()
102 der_heim_bmp_string_cmp(const heim_bmp_string *p, const heim_bmp_string *q) in der_heim_bmp_string_cmp()
111 const heim_universal_string *q) in der_heim_universal_string_cmp()
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDbqueue.c23 obj2node(bqueue_t *q, void *data) in obj2node()
35 bqueue_init(bqueue_t *q, uint64_t size, size_t node_offset) in bqueue_init()
54 bqueue_destroy(bqueue_t *q) in bqueue_destroy()
69 bqueue_enqueue(bqueue_t *q, void *data, uint64_t item_size) in bqueue_enqueue()
88 bqueue_dequeue(bqueue_t *q) in bqueue_dequeue()
108 bqueue_empty(bqueue_t *q) in bqueue_empty()
/freebsd-11-stable/contrib/amd/fsinfo/
HDfsinfo.h127 #define AM_FIRST(ty, q) ((ty *) ((q)->q_forw)) argument
128 #define HEAD(ty, q) ((ty *) q) argument
130 #define ITER(v, ty, q) for ((v) = AM_FIRST(ty,(q)); (v) != HEAD(ty,(q)); (v) = NEXT(ty,(v))) argument
131 #define AM_LAST(ty, q) ((ty *) ((q)->q_back)) argument
132 #define NEXT(ty, q) ((ty *) (((qelem *) q)->q_forw)) argument
HDfsi_analyze.c141 char *q; in find_volname() local
174 check_exportfs(qelem *q, fsi_mount *e) in check_exportfs()
211 analyze_dkmount_tree(qelem *q, fsi_mount *parent, disk_fs *dk) in analyze_dkmount_tree()
247 analyze_dkmounts(disk_fs *dk, qelem *q) in analyze_dkmounts()
358 qelem *q = new_que(); in fixup_required_disk_info() local
455 qelem *q = hp->h_disk_fs; in analyze_drives() local
478 qelem *q = hp->h_mount; in analyze_mounts() local
568 analyze_hosts(qelem *q) in analyze_hosts()
622 analyze_automount_tree(qelem *q, char *pref, int lvl) in analyze_automount_tree()
657 analyze_automounts(qelem *q) in analyze_automounts()
HDwr_exportfs.c49 write_export_info(FILE *ef, qelem *q, int errors) in write_export_info()
65 write_dkexports(FILE *ef, qelem *q) in write_dkexports()
80 write_exportfs(qelem *q) in write_exportfs()
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/
HDar9300_xmit.c97 ar9300_set_tx_queue_props(struct ath_hal *ah, int q, const HAL_TXQ_INFO *q_info) in ar9300_set_tx_queue_props()
113 ar9300_get_tx_queue_props(struct ath_hal *ah, int q, HAL_TXQ_INFO *q_info) in ar9300_get_tx_queue_props()
143 int q; in ar9300_setup_tx_queue() local
248 ar9300_release_tx_queue(struct ath_hal *ah, u_int q) in ar9300_release_tx_queue()
283 ar9300_reset_tx_queue(struct ath_hal *ah, u_int q) in ar9300_reset_tx_queue()
536 ar9300_get_tx_dp(struct ath_hal *ah, u_int q) in ar9300_get_tx_dp()
546 ar9300_set_tx_dp(struct ath_hal *ah, u_int q, u_int32_t txdp) in ar9300_set_tx_dp()
561 ar9300_start_tx_dma(struct ath_hal *ah, u_int q) in ar9300_start_tx_dma()
571 ar9300_num_tx_pending(struct ath_hal *ah, u_int q) in ar9300_num_tx_pending()
607 ar9300_stop_tx_dma(struct ath_hal *ah, u_int q, u_int timeout) in ar9300_stop_tx_dma()
[all …]
/freebsd-11-stable/contrib/unbound/libunbound/
HDcontext.c116 context_query_delete(struct ctx_query* q) in context_query_delete()
145 struct ctx_query* q = (struct ctx_query*)calloc(1, sizeof(*q)); in context_new() local
225 context_serialize_new_query(struct ctx_query* q, uint32_t* len) in context_serialize_new_query()
250 struct ctx_query* q = (struct ctx_query*)calloc(1, sizeof(*q)); in context_deserialize_new_query() local
283 struct ctx_query* q; in context_lookup_new_query() local
299 context_serialize_answer(struct ctx_query* q, int err, sldns_buffer* pkt, in context_serialize_answer()
339 struct ctx_query* q = NULL ; in context_deserialize_answer() local
378 context_serialize_cancel(struct ctx_query* q, uint32_t* len) in context_serialize_cancel()
394 struct ctx_query* q; in context_deserialize_cancel() local
/freebsd-11-stable/contrib/ntp/libparse/
HDparsesolaris.c284 queue_t *q, in setup_stream()
319 queue_t *q, in parseopen()
409 queue_t *q, in parseclose()
443 queue_t *q in parsersvc()
472 queue_t *q, in parsewput()
616 queue_t *q, in parserput()
779 queue_t *q in init_linemon()
825 queue_t *q, in close_linemon()
872 queue_t *q, in init_zs_linemon()
942 queue_t *q, in close_zs_linemon()
[all …]
HDparsestreams.c440 queue_t *q, in setup_stream()
471 queue_t *q, in parseopen()
566 queue_t *q, in parseclose()
601 queue_t *q in parsersvc()
630 queue_t *q, in parsewput()
773 queue_t *q, in parserput()
929 register queue_t *q in init_linemon()
975 register queue_t *q, in close_linemon()
1018 register queue_t *q, in init_zs_linemon()
1084 register queue_t *q, in close_zs_linemon()
[all …]
/freebsd-11-stable/sys/netpfil/ipfw/
HDdn_sched_qfq.c262 static inline struct qfq_group *qfq_ffs(struct qfq_sched *q, in qfq_ffs()
303 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1); in qfq_new_queue() local
334 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1); in qfq_free_queue() local
358 qfq_calc_state(struct qfq_sched *q, struct qfq_group *grp) in qfq_calc_state()
381 qfq_move_groups(struct qfq_sched *q, unsigned long mask, int src, int dst) in qfq_move_groups()
388 qfq_unblock_groups(struct qfq_sched *q, int index, uint64_t old_finish) in qfq_unblock_groups()
415 qfq_make_eligible(struct qfq_sched *q, uint64_t old_V) in qfq_make_eligible()
492 qfq_slot_rotate(struct qfq_sched *q, struct qfq_group *grp, uint64_t roundedS) in qfq_slot_rotate()
503 qfq_update_eligible(struct qfq_sched *q, uint64_t old_V) in qfq_update_eligible()
523 qfq_update_class(struct qfq_sched *q, struct qfq_group *grp, in qfq_update_class()
[all …]
HDdn_sched_fifo.c64 fifo_enqueue(struct dn_sch_inst *si, struct dn_queue *q, struct mbuf *m) in fifo_enqueue()
84 struct dn_queue *q = (struct dn_queue *)(si + 1); in fifo_new_sched() local
95 struct dn_queue *q = (struct dn_queue *)(si + 1); in fifo_free_sched() local
HDdn_sched_rr.c59 struct dn_queue q; /* Standard queue */ member
82 rr_append(struct rr_queue *q, struct rr_si *si) in rr_append()
117 remove_queue_q(struct rr_queue *q, struct rr_si *si) in remove_queue_q()
151 rr_enqueue(struct dn_sch_inst *_si, struct dn_queue *q, struct mbuf *m) in rr_enqueue()
258 struct rr_queue *q = (struct rr_queue *)_q; in rr_new_queue() local
283 struct rr_queue *q = (struct rr_queue *)_q; in rr_free_queue() local
HDdn_aqm_codel.c189 codel_extract_head(struct dn_queue *q, aqm_time_t *pkt_ts) in codel_extract_head()
221 aqm_codel_enqueue(struct dn_queue *q, struct mbuf *m) in aqm_codel_enqueue()
277 aqm_codel_dequeue(struct dn_queue *q) in aqm_codel_dequeue()
287 aqm_codel_init(struct dn_queue *q) in aqm_codel_init()
322 aqm_codel_cleanup(struct dn_queue *q) in aqm_codel_cleanup()
/freebsd-11-stable/sys/dev/fatm/
HDif_fatm.c148 fatm_utopia_writeregs_complete(struct fatm_softc *sc, struct cmdqueue *q) in fatm_utopia_writeregs_complete()
170 struct cmdqueue *q; in fatm_utopia_writereg() local
228 fatm_utopia_readregs_complete(struct fatm_softc *sc, struct cmdqueue *q) in fatm_utopia_readregs_complete()
254 struct cmdqueue *q; in fatm_utopia_readregs_internal() local
464 struct cmdqueue *q; in fatm_stop() local
855 struct cmdqueue *q; in fatm_getprom() local
1077 struct supqueue *q; in fatm_supply_small_buffers() local
1166 struct supqueue *q; in fatm_supply_large_buffers() local
1257 struct rxqueue *q; in fatm_init_locked() local
1390 struct cmdqueue *q; in fatm_intr_drain_cmd() local
[all …]
/freebsd-11-stable/lib/msun/tests/
HDrem_test.c113 int q; in test_invalid() local
146 int q; in testl() local
168 int q; in testd() local
190 int q; in testf() local
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5210/
HDar5210_xmit.c36 ar5210SetTxQueueProps(struct ath_hal *ah, int q, const HAL_TXQ_INFO *qInfo) in ar5210SetTxQueueProps()
52 ar5210GetTxQueueProps(struct ath_hal *ah, int q, HAL_TXQ_INFO *qInfo) in ar5210GetTxQueueProps()
73 int q; in ar5210SetupTxQueue() local
123 ar5210ReleaseTxQueue(struct ath_hal *ah, u_int q) in ar5210ReleaseTxQueue()
154 ar5210ResetTxQueue(struct ath_hal *ah, u_int q) in ar5210ResetTxQueue()
257 ar5210GetTxDP(struct ath_hal *ah, u_int q) in ar5210GetTxDP()
282 ar5210SetTxDP(struct ath_hal *ah, u_int q, uint32_t txdp) in ar5210SetTxDP()
367 ar5210StartTxDma(struct ath_hal *ah, u_int q) in ar5210StartTxDma()
400 ar5210NumTxPending(struct ath_hal *ah, u_int q) in ar5210NumTxPending()
428 ar5210StopTxDma(struct ath_hal *ah, u_int q) in ar5210StopTxDma()
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5211/
HDar5211_xmit.c80 ar5211SetTxQueueProps(struct ath_hal *ah, int q, const HAL_TXQ_INFO *qInfo) in ar5211SetTxQueueProps()
96 ar5211GetTxQueueProps(struct ath_hal *ah, int q, HAL_TXQ_INFO *qInfo) in ar5211GetTxQueueProps()
117 int q; in ar5211SetupTxQueue() local
199 ar5211ReleaseTxQueue(struct ath_hal *ah, u_int q) in ar5211ReleaseTxQueue()
233 ar5211ResetTxQueue(struct ath_hal *ah, u_int q) in ar5211ResetTxQueue()
403 ar5211GetTxDP(struct ath_hal *ah, u_int q) in ar5211GetTxDP()
413 ar5211SetTxDP(struct ath_hal *ah, u_int q, uint32_t txdp) in ar5211SetTxDP()
433 ar5211StartTxDma(struct ath_hal *ah, u_int q) in ar5211StartTxDma()
454 ar5211NumTxPending(struct ath_hal *ah, u_int q) in ar5211NumTxPending()
476 ar5211StopTxDma(struct ath_hal *ah, u_int q) in ar5211StopTxDma()
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
HDjemalloc_internal_macros.h43 #define QU(q) ((uint64_t)q) argument
44 #define QI(q) ((int64_t)q) argument
48 #define KQU(q) QU(q##ULL) argument
49 #define KQI(q) QI(q##LL) argument
/freebsd-11-stable/sys/dev/ntb/if_ntb/
HDif_ntb.c133 struct ntb_net_queue *q; in ntb_net_attach() local
199 struct ntb_net_queue *q; in ntb_net_detach() local
319 ntb_transmit_locked(struct ntb_net_queue *q) in ntb_transmit_locked()
359 struct ntb_net_queue *q; in ntb_transmit() local
384 struct ntb_net_queue *q = arg; in ntb_handle_tx() local
394 struct ntb_net_queue *q = arg; in ntb_qp_full() local
408 struct ntb_net_queue *q; in ntb_qflush() local
436 struct ntb_net_queue *q = qp_data; in ntb_net_rx_handler() local
477 struct ntb_net_queue *q = data; in ntb_net_event_handler() local
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_list.c46 dt_list_t *q = new; /* q = new list element */ in dt_list_append() local
65 dt_list_t *q = dlp->dl_next; /* q = head list element */ in dt_list_prepend() local
84 dt_list_t *q = new; in dt_list_insert() local
/freebsd-11-stable/contrib/ntp/sntp/libopts/
HDrestore.c55 tOptDesc * q = p->pOptDesc + (pOD - pOpts->pOptDesc); in fixupSavedOptionArgs() local
59 tOptDesc * q = p->pOptDesc + (pOD - pOpts->pOptDesc); in fixupSavedOptionArgs() local
66 tOptDesc * q = p->pOptDesc + (pOD - pOpts->pOptDesc); in fixupSavedOptionArgs() local

12345678910>>...39