Home
last modified time | relevance | path

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

12345678910>>...37

/freebsd-10-stable/sys/dev/netmap/
Dnetmap_mbq.c44 static inline void __mbq_init(struct mbq *q) in __mbq_init()
51 void mbq_safe_init(struct mbq *q) in mbq_safe_init()
58 void mbq_init(struct mbq *q) in mbq_init()
64 static inline void __mbq_enqueue(struct mbq *q, struct mbuf *m) in __mbq_enqueue()
77 void mbq_safe_enqueue(struct mbq *q, struct mbuf *m) in mbq_safe_enqueue()
85 void mbq_enqueue(struct mbq *q, struct mbuf *m) in mbq_enqueue()
91 static inline struct mbuf *__mbq_dequeue(struct mbq *q) in __mbq_dequeue()
109 struct mbuf *mbq_safe_dequeue(struct mbq *q) in mbq_safe_dequeue()
121 struct mbuf *mbq_dequeue(struct mbq *q) in mbq_dequeue()
128 static void __mbq_purge(struct mbq *q, int safe) in __mbq_purge()
[all …]
Dnetmap_mbq.h66 mbq_lock(struct mbq *q) in mbq_lock()
72 mbq_unlock(struct mbq *q) in mbq_unlock()
84 static inline unsigned int mbq_len(struct mbq *q) in mbq_len()
/freebsd-10-stable/sys/netgraph/bluetooth/include/
Dng_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-10-stable/sys/contrib/altq/altq/
Daltq_classq.h69 #define qtype(q) (q)->qtype_ /* Get queue type */ argument
70 #define qlimit(q) (q)->qlim_ /* Max packets to be queued */ argument
71 #define qlen(q) (q)->qlen_ /* Current queue length. */ argument
72 #define qsize(q) (q)->qsize_ /* Current queue size. */ argument
73 #define qtail(q) (q)->tail_ /* Tail of the queue */ argument
74 #define qhead(q) ((q)->tail_ ? (q)->tail_->m_nextpkt : NULL) argument
76 #define qempty(q) ((q)->qlen_ == 0) /* Is the queue empty?? */ argument
77 #define q_is_codel(q) ((q)->qtype_ == Q_CODEL) /* Is the queue a codel queue */ argument
78 #define q_is_red(q) ((q)->qtype_ == Q_RED) /* Is the queue a red queue */ argument
79 #define q_is_rio(q) ((q)->qtype_ == Q_RIO) /* Is the queue a rio queue */ argument
[all …]
/freebsd-10-stable/crypto/heimdal/lib/asn1/
Dder_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-10-stable/sys/ofed/include/linux/
Dwait.h50 __wake_up(struct __wait_queue_head *q, int all) in __wake_up()
66 #define wake_up(q) __wake_up(q, 0) argument
67 #define wake_up_nr(q, nr) __wake_up(q, 1) argument
68 #define wake_up_all(q) __wake_up(q, 1) argument
69 #define wake_up_interruptible(q) __wake_up(q, 0) argument
70 #define wake_up_interruptible_nr(q, nr) __wake_up(q, 1) argument
71 #define wake_up_interruptible_all(q, nr) __wake_up(q, 1) argument
73 #define wait_event(q, cond) \ argument
89 #define wait_event_interruptible(q, cond) \ argument
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Dbqueue.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-10-stable/contrib/amd/fsinfo/
Dfsinfo.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
Dfsi_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()
Dwr_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-10-stable/sys/contrib/dev/ath/ath_hal/ar9300/
Dar9300_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()
513 ar9300_get_tx_dp(struct ath_hal *ah, u_int q) in ar9300_get_tx_dp()
523 ar9300_set_tx_dp(struct ath_hal *ah, u_int q, u_int32_t txdp) in ar9300_set_tx_dp()
538 ar9300_start_tx_dma(struct ath_hal *ah, u_int q) in ar9300_start_tx_dma()
548 ar9300_num_tx_pending(struct ath_hal *ah, u_int q) in ar9300_num_tx_pending()
584 ar9300_stop_tx_dma(struct ath_hal *ah, u_int q, u_int timeout) in ar9300_stop_tx_dma()
[all …]
/freebsd-10-stable/contrib/unbound/libunbound/
Dcontext.c102 context_query_delete(struct ctx_query* q) in context_query_delete()
131 struct ctx_query* q = (struct ctx_query*)calloc(1, sizeof(*q)); in context_new() local
210 context_serialize_new_query(struct ctx_query* q, uint32_t* len) in context_serialize_new_query()
235 struct ctx_query* q = (struct ctx_query*)calloc(1, sizeof(*q)); in context_deserialize_new_query() local
268 struct ctx_query* q; in context_lookup_new_query() local
284 context_serialize_answer(struct ctx_query* q, int err, sldns_buffer* pkt, in context_serialize_answer()
320 struct ctx_query* q = NULL ; in context_deserialize_answer() local
358 context_serialize_cancel(struct ctx_query* q, uint32_t* len) in context_serialize_cancel()
374 struct ctx_query* q; in context_deserialize_cancel() local
/freebsd-10-stable/contrib/ntp/libparse/
Dparsesolaris.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 …]
Dparsestreams.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-10-stable/sys/netpfil/ipfw/
Ddn_sched_qfq.c258 static inline struct qfq_group *qfq_ffs(struct qfq_sched *q, in qfq_ffs()
299 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1); in qfq_new_queue() local
330 struct qfq_sched *q = (struct qfq_sched *)(_q->_si + 1); in qfq_free_queue() local
352 qfq_calc_state(struct qfq_sched *q, struct qfq_group *grp) in qfq_calc_state()
375 qfq_move_groups(struct qfq_sched *q, unsigned long mask, int src, int dst) in qfq_move_groups()
382 qfq_unblock_groups(struct qfq_sched *q, int index, uint64_t old_finish) in qfq_unblock_groups()
409 qfq_make_eligible(struct qfq_sched *q, uint64_t old_V) in qfq_make_eligible()
485 qfq_slot_rotate(struct qfq_sched *q, struct qfq_group *grp, uint64_t roundedS) in qfq_slot_rotate()
495 qfq_update_eligible(struct qfq_sched *q, uint64_t old_V) in qfq_update_eligible()
515 qfq_update_class(struct qfq_sched *q, struct qfq_group *grp, in qfq_update_class()
[all …]
Ddn_sched_fifo.c64 fifo_enqueue(struct dn_sch_inst *si, struct dn_queue *q, struct mbuf *m) in fifo_enqueue()
83 struct dn_queue *q = (struct dn_queue *)(si + 1); in fifo_new_sched() local
94 struct dn_queue *q = (struct dn_queue *)(si + 1); in fifo_free_sched() local
Ddn_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()
Ddn_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()
256 struct rr_queue *q = (struct rr_queue *)_q; in rr_new_queue() local
275 struct rr_queue *q = (struct rr_queue *)_q; in rr_free_queue() local
/freebsd-10-stable/sys/dev/fatm/
Dif_fatm.c147 fatm_utopia_writeregs_complete(struct fatm_softc *sc, struct cmdqueue *q) in fatm_utopia_writeregs_complete()
169 struct cmdqueue *q; in fatm_utopia_writereg() local
227 fatm_utopia_readregs_complete(struct fatm_softc *sc, struct cmdqueue *q) in fatm_utopia_readregs_complete()
253 struct cmdqueue *q; in fatm_utopia_readregs_internal() local
463 struct cmdqueue *q; in fatm_stop() local
854 struct cmdqueue *q; in fatm_getprom() local
1076 struct supqueue *q; in fatm_supply_small_buffers() local
1165 struct supqueue *q; in fatm_supply_large_buffers() local
1256 struct rxqueue *q; in fatm_init_locked() local
1389 struct cmdqueue *q; in fatm_intr_drain_cmd() local
[all …]
/freebsd-10-stable/lib/msun/tests/
Drem_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-10-stable/sys/dev/ath/ath_hal/ar5211/
Dar5211_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-10-stable/sys/dev/ath/ath_hal/ar5210/
Dar5210_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-10-stable/sys/dev/ntb/if_ntb/
Dif_ntb.c133 struct ntb_net_queue *q; in ntb_net_attach() local
198 struct ntb_net_queue *q; in ntb_net_detach() local
318 ntb_transmit_locked(struct ntb_net_queue *q) in ntb_transmit_locked()
358 struct ntb_net_queue *q; in ntb_transmit() local
383 struct ntb_net_queue *q = arg; in ntb_handle_tx() local
393 struct ntb_net_queue *q = arg; in ntb_qp_full() local
407 struct ntb_net_queue *q; in ntb_qflush() local
435 struct ntb_net_queue *q = qp_data; in ntb_net_rx_handler() local
476 struct ntb_net_queue *q = data; in ntb_net_event_handler() local
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
Ddt_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-10-stable/contrib/ntp/sntp/libopts/
Drestore.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>>...37