/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | ev.c | 118 static void post_qp_event(struct c4iw_dev *dev, struct c4iw_cq *chp, in post_qp_event() argument 144 event.device = chp->ibcq.device; in post_qp_event() 146 event.element.cq = &chp->ibcq; in post_qp_event() 152 spin_lock_irqsave(&chp->comp_handler_lock, flag); in post_qp_event() 153 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event() 154 spin_unlock_irqrestore(&chp->comp_handler_lock, flag); in post_qp_event() 159 struct c4iw_cq *chp; in c4iw_ev_dispatch() local 180 chp = get_chp(dev, cqid); in c4iw_ev_dispatch() 181 if (!chp) { in c4iw_ev_dispatch() 193 atomic_inc(&chp->refcnt); in c4iw_ev_dispatch() [all …]
|
H A D | cq.c | 261 struct c4iw_cq *chp = to_c4iw_cq(qhp->ibqp.send_cq); in c4iw_flush_sq() local 262 struct t4_cq *cq = &chp->cq; in c4iw_flush_sq() 361 void c4iw_flush_hw_cq(struct c4iw_cq *chp) in c4iw_flush_hw_cq() argument 368 CTR3(KTR_IW_CXGBE, "%s cq %p cqid 0x%x", __func__, &chp->cq, in c4iw_flush_hw_cq() 369 chp->cq.cqid); in c4iw_flush_hw_cq() 370 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe); in c4iw_flush_hw_cq() 378 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq() 427 flush_completed_wrs(&qhp->wq, &chp->cq); in c4iw_flush_hw_cq() 429 swcqe = &chp->cq.sw_queue[chp->cq.sw_pidx]; in c4iw_flush_hw_cq() 432 t4_swcq_produce(&chp->cq); in c4iw_flush_hw_cq() [all …]
|
/freebsd/contrib/ofed/libcxgb4/ |
H A D | verbs.c | 173 struct c4iw_cq *chp; in c4iw_create_cq() local 177 chp = calloc(1, sizeof *chp); in c4iw_create_cq() 178 if (!chp) { in c4iw_create_cq() 184 &chp->ibv_cq, &cmd, sizeof cmd, in c4iw_create_cq() 193 ret = pthread_spin_init(&chp->lock, PTHREAD_PROCESS_PRIVATE); in c4iw_create_cq() 197 gettimeofday(&chp->time, NULL); in c4iw_create_cq() 199 chp->rhp = dev; in c4iw_create_cq() 200 chp->cq.qid_mask = resp.qid_mask; in c4iw_create_cq() 201 chp->cq.cqid = resp.cqid; in c4iw_create_cq() 202 chp->cq.size = resp.size; in c4iw_create_cq() [all …]
|
H A D | cq.c | 99 struct c4iw_cq *chp = to_c4iw_cq(qhp->ibv_qp.send_cq); in c4iw_flush_sq() local 100 struct t4_cq *cq = &chp->cq; in c4iw_flush_sq() 198 void c4iw_flush_hw_cq(struct c4iw_cq *chp) in c4iw_flush_hw_cq() argument 205 PDBG("%s cqid 0x%x\n", __func__, chp->cq.cqid); in c4iw_flush_hw_cq() 206 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe); in c4iw_flush_hw_cq() 214 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq() 271 flush_completed_wrs(&qhp->wq, &chp->cq); in c4iw_flush_hw_cq() 273 swcqe = &chp->cq.sw_queue[chp->cq.sw_pidx]; in c4iw_flush_hw_cq() 276 t4_swcq_produce(&chp->cq); in c4iw_flush_hw_cq() 279 t4_hwcq_consume(&chp->cq); in c4iw_flush_hw_cq() [all …]
|
H A D | dev.c | 242 static void dump_cq(struct c4iw_cq *chp) in dump_cq() argument 248 "cidx_inc %d bits_type_ts %016" PRIx64 " notempty %d\n", chp, in dump_cq() 249 chp->cq.cqid, chp->cq.queue, chp->cq.cidx, in dump_cq() 250 chp->cq.sw_queue, chp->cq.sw_cidx, chp->cq.sw_pidx, chp->cq.sw_in_use, in dump_cq() 251 … chp->cq.size, chp->cq.error, chp->cq.gen, chp->cq.cidx_inc, be64toh(chp->cq.bits_type_ts), in dump_cq() 252 t4_cq_notempty(&chp->cq)); in dump_cq() 254 for (i=0; i < chp->cq.size; i++) { in dump_cq() 255 u64 *p = (u64 *)(chp->cq.queue + i); in dump_cq() 258 if (i == chp->cq.cidx) in dump_cq() 383 struct c4iw_cq *chp = dev->cqid2ptr[i]; in dump_state() local [all …]
|
H A D | libcxgb4.h | 229 void c4iw_flush_hw_cq(struct c4iw_cq *chp);
|
/freebsd/sys/kgssapi/ |
H A D | gssd_prot.c | 189 xdr_gss_channel_bindings_t(XDR *xdrs, gss_channel_bindings_t *chp) in xdr_gss_channel_bindings_t() argument 196 ch = *chp; in xdr_gss_channel_bindings_t() 220 *chp = GSS_C_NO_CHANNEL_BINDINGS; in xdr_gss_channel_bindings_t() 235 *chp = ch; in xdr_gss_channel_bindings_t() 240 ch = *chp; in xdr_gss_channel_bindings_t()
|
H A D | gssd.x | 43 %extern bool_t xdr_gss_channel_bindings_t(XDR *xdrs, gss_channel_bindings_t *chp);
|
/freebsd/bin/ls/ |
H A D | ls.c | 654 FTSENT *p, *chp; in traverse() local 665 chp = fts_children(ftsp, 0); in traverse() 666 if (chp != NULL) in traverse() 667 display(NULL, chp, options); in traverse() 709 chp = fts_children(ftsp, ch_options); in traverse() 710 display(p, chp, options); in traverse() 712 if (!f_recursive && chp != NULL) in traverse()
|
/freebsd/contrib/nvi/cl/ |
H A D | cl_funcs.c | 460 cl_keyval(SCR *sp, scr_keyval_t val, CHAR_T *chp, int *dnep) in cl_keyval() argument 471 *dnep = (*chp = clp->orig.c_cc[VEOF]) == _POSIX_VDISABLE; in cl_keyval() 474 *dnep = (*chp = clp->orig.c_cc[VERASE]) == _POSIX_VDISABLE; in cl_keyval() 477 *dnep = (*chp = clp->orig.c_cc[VKILL]) == _POSIX_VDISABLE; in cl_keyval() 481 *dnep = (*chp = clp->orig.c_cc[VWERASE]) == _POSIX_VDISABLE; in cl_keyval()
|
/freebsd/contrib/nvi/common/ |
H A D | key.c | 223 char *chp; in v_key_name() local 243 if ((chp = O_STR(sp, O_PRINT)) != NULL) in v_key_name() 244 if (strstr(chp, sp->cname) != NULL) in v_key_name() 246 if ((chp = O_STR(sp, O_NOPRINT)) != NULL) in v_key_name() 247 if (strstr(chp, sp->cname) != NULL) in v_key_name()
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | buffer.c | 319 struct evbuffer_chain **chp; in evbuffer_chain_insert() local 320 chp = evbuffer_free_trailing_empty_chains(buf); in evbuffer_chain_insert() 321 *chp = chain; in evbuffer_chain_insert() 323 buf->last_with_datap = chp; in evbuffer_chain_insert() 891 struct evbuffer_chain **chp; in APPEND_CHAIN() local 896 chp = evbuffer_free_trailing_empty_chains(dst); in APPEND_CHAIN() 897 *chp = src->first; in APPEND_CHAIN() 900 dst->last_with_datap = chp; in APPEND_CHAIN() 1308 struct evbuffer_chain **chp; in evbuffer_remove_buffer() local 1309 chp = evbuffer_free_trailing_empty_chains(dst); in evbuffer_remove_buffer() [all …]
|
/freebsd/contrib/libevent/ |
H A D | buffer.c | 319 struct evbuffer_chain **chp; in evbuffer_chain_insert() local 320 chp = evbuffer_free_trailing_empty_chains(buf); in evbuffer_chain_insert() 321 *chp = chain; in evbuffer_chain_insert() 323 buf->last_with_datap = chp; in evbuffer_chain_insert() 891 struct evbuffer_chain **chp; in APPEND_CHAIN() local 896 chp = evbuffer_free_trailing_empty_chains(dst); in APPEND_CHAIN() 897 *chp = src->first; in APPEND_CHAIN() 900 dst->last_with_datap = chp; in APPEND_CHAIN() 1308 struct evbuffer_chain **chp; in evbuffer_remove_buffer() local 1309 chp = evbuffer_free_trailing_empty_chains(dst); in evbuffer_remove_buffer() [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_beacon.c | 151 struct chanAccParams chp; in ath_beaconq_config() local 154 ieee80211_wme_ic_getparams(ic, &chp); in ath_beaconq_config() 155 wmep = &chp.cap_wmeParams[WME_AC_BE]; in ath_beaconq_config()
|
H A D | if_ath.c | 4095 struct chanAccParams chp; in ath_txq_update() local 4100 ieee80211_wme_ic_getparams(ic, &chp); in ath_txq_update() 4101 wmep = &chp.cap_wmeParams[ac]; in ath_txq_update()
|
/freebsd/contrib/nvi/vi/ |
H A D | v_txt.c | 2409 txt_insch(SCR *sp, TEXT *tp, CHAR_T *chp, u_int flags) in txt_insch() argument 2423 tp->lb[tp->cno++] = *chp; in txt_insch() 2434 if (*chp == '\t') { in txt_insch() 2440 nlen = KEY_COL(sp, *chp); in txt_insch() 2499 tp->lb[tp->cno++] = *chp; in txt_insch() 2515 tp->lb[tp->cno++] = *chp; in txt_insch()
|
/freebsd/sys/dev/rtwn/ |
H A D | if_rtwn.c | 1686 struct chanAccParams chp; in rtwn_wme_update() local 1693 ieee80211_wme_ic_getparams(ic, &chp); in rtwn_wme_update() 1698 memcpy(wmep, chp.cap_wmeParams, sizeof(sc->cap_wmeParams)); in rtwn_wme_update()
|
/freebsd/share/misc/ |
H A D | iso639 | 123 chp chp Chipewyan; Dene Suline
|
/freebsd/sys/dev/otus/ |
H A D | if_otus.c | 2447 struct chanAccParams chp; in otus_updateedca_locked() local 2451 ieee80211_wme_ic_getparams(ic, &chp); in otus_updateedca_locked() 2455 edca = chp.cap_wmeParams; in otus_updateedca_locked()
|
/freebsd/sys/dev/ral/ |
H A D | rt2661.c | 2023 struct chanAccParams chp; in rt2661_wme_update() local 2026 ieee80211_wme_ic_getparams(ic, &chp); in rt2661_wme_update() 2028 wmep = chp.cap_wmeParams; in rt2661_wme_update()
|
H A D | rt2860.c | 3106 struct chanAccParams chp; in rt2860_updateedca() local 3110 ieee80211_wme_ic_getparams(ic, &chp); in rt2860_updateedca() 3112 wmep = chp.cap_wmeParams; in rt2860_updateedca()
|
/freebsd/sys/dev/usb/wlan/ |
H A D | if_rum.c | 2283 struct chanAccParams chp; in rum_wme_update() local 2288 ieee80211_wme_ic_getparams(ic, &chp); in rum_wme_update() 2289 chanp = chp.cap_wmeParams; in rum_wme_update()
|
H A D | if_mtw.c | 1804 struct chanAccParams chp; in mtw_wme_update() local 1808 ieee80211_wme_ic_getparams(ic, &chp); in mtw_wme_update() 1809 ac = chp.cap_wmeParams; in mtw_wme_update()
|
/freebsd/sys/dev/iwi/ |
H A D | if_iwi.c | 1047 struct chanAccParams chp; in iwi_wme_setparams() local 1051 ieee80211_wme_ic_getparams(ic, &chp); in iwi_wme_setparams() 1055 wmep = &chp.cap_wmeParams[ac]; in iwi_wme_setparams()
|
/freebsd/sys/dev/mwl/ |
H A D | if_mwl.c | 2879 struct chanAccParams chp; in mwl_txq_update() local 2885 ieee80211_wme_ic_getparams(ic, &chp); in mwl_txq_update() 2886 wmep = &chp.cap_wmeParams[ac]; in mwl_txq_update()
|