bin/csh/csh.c
1156
if (*v && eq(*v, STRmh)) {
bin/csh/csh.c
196
if (eq(str2short(tempv[0]), STRaout)) /* A.out's are quittable */
bin/csh/dir.c
205
if (!(dirflag & DIR_LONG) && hp != NULL && !eq(hp, STRslash) &&
bin/csh/dir.c
228
if (!eq(home, STRslash) && prefix(home, dir))
bin/csh/dol.c
858
if (c < 0 || eq(lbuf, term)) {
bin/csh/exec.c
211
if (pv[0][0] == 0 || eq(pv[0], STRdot)) /* don't make ./xxx */
bin/csh/exec.c
508
if (pv[0][0] == 0 || eq(pv[0], STRdot)) { /* don't make ./xxx */
bin/csh/exec.c
658
if (eq(sp->word, str2short(bptr->bname))) {
bin/csh/exec.c
687
if (pv[0][0] == 0 || eq(pv[0], STRdot)) {
bin/csh/exp.c
100
if (**vp && eq(**vp, STRand2)) {
bin/csh/exp.c
115
if (**vp && eq(**vp, STRor)) {
bin/csh/exp.c
130
if (**vp && eq(**vp, STRcaret)) {
bin/csh/exp.c
145
if (**vp && eq(**vp, STRand)) {
bin/csh/exp.c
171
i = eq(p1, p2);
bin/csh/exp.c
175
i = !eq(p1, p2);
bin/csh/exp.c
204
if (**vp && eq(**vp, STRequal))
bin/csh/exp.c
339
if (eq(**vp, STRbang)) {
bin/csh/exp.c
346
if (eq(**vp, STRtilde)) {
bin/csh/exp.c
353
if (eq(**vp, STRLparen)) {
bin/csh/exp.c
361
if (eq(**vp, STRLbrace)) {
bin/csh/exp.c
377
if (eq(*(*vp)++, STRRbrace))
bin/csh/exp.c
85
if (**vp && eq(**vp, STRor2)) {
bin/csh/func.c
1066
if (*v && eq(*v, STRmh)) {
bin/csh/func.c
1193
if (*v && eq(*v, STRmh)) {
bin/csh/func.c
139
else if (eq((vv = strip(vv)), STRminus)) {
bin/csh/func.c
189
if (eq(p, STRalias) || eq(p, STRunalias)) {
bin/csh/func.c
242
if (eq(*vv, STRthen)) {
bin/csh/func.c
591
eq(aword, STRthen))
bin/csh/func.c
622
if (type == T_GOTO && getword(aword) && eq(aword, goal))
bin/csh/func.c
632
if ((type == T_GOTO && eq(aword, goal)) ||
bin/csh/func.c
633
(type == T_SWITCH && eq(aword, STRdefault)))
bin/csh/func.c
852
if (sep == ' ' && *v && eq(*v, STRmn))
bin/csh/func.c
895
if (eq(vp, STRPATH)) {
bin/csh/parse.c
120
if (p->next != p2 && eq(p->next->word, STRand))
bin/csh/parse.c
169
if (p1->word[0] && eq(p1->word, alout.next->word)) {
bin/csh/parse.c
256
if (p->next != p2 && eq(p->next->word, STRand))
bin/csh/parse.c
565
if (p->next != p2 && eq(p->next->word, STRand)) {
bin/csh/parse.c
572
if (p->next != p2 && eq(p->next->word, STRbang))
bin/csh/proc.c
1145
if (cp == 0 || cp[1] == 0 || eq(cp, STRcent2) || eq(cp, STRcentplus)) {
bin/csh/proc.c
1150
if (eq(cp, STRcentminus) || eq(cp, STRcenthash)) {
bin/csh/proc.c
1259
|| (gointr && eq(gointr, STRminus));
bin/csh/proc.c
174
!eq(dcwd->di_name, fp->p_cwd->di_name)) {
bin/csh/proc.c
303
!eq(dcwd->di_name, fp->p_cwd->di_name)) {
bin/csh/proc.c
310
if (eq(value(STRlistjobs), STRlong))
bin/csh/proc.c
326
(!gointr || !eq(gointr, STRminus))) {
bin/csh/proc.c
778
!eq(tp->p_cwd->di_name, dcwd->di_name)) {
bin/csh/proc.c
797
if (flag & SHELLDIR && !eq(tp->p_cwd->di_name, dcwd->di_name)) {
bin/csh/proc.c
848
if (v[1] || !eq(*v, STRml))
bin/csh/sem.c
111
if (eq(t->t_dcom[0], STRnice))
bin/csh/sem.c
130
else if (eq(t->t_dcom[0], STRnohup))
bin/csh/sem.c
137
else if (eq(t->t_dcom[0], STRtime))
bin/csh/sem.c
304
|| (gointr && eq(gointr, STRminus));
bin/csh/set.c
100
if (eq(p, STRLparen)) {
bin/csh/set.c
123
if (eq(vp, STRpath)) {
bin/csh/set.c
127
else if (eq(vp, STRhistchars)) {
bin/csh/set.c
133
else if (eq(vp, STRuser)) {
bin/csh/set.c
137
else if (eq(vp, STRwordchars)) {
bin/csh/set.c
140
else if (eq(vp, STRterm))
bin/csh/set.c
142
else if (eq(vp, STRhome)) {
bin/csh/set.c
160
else if (eq(vp, STRfilec))
bin/csh/set.c
273
if (eq(vp, STRpath)) {
bin/csh/set.c
577
if (*val == 0 || eq(*val, STRRparen))
bin/csh/set.c
93
else if (*v && eq(*v, STRequal)) {
games/cribbage/cards.c
103
if (!eq(a, d[i]))
games/cribbage/cards.c
89
if (eq(a, b[i]))
games/cribbage/cribbage.h
81
int eq(CARD, CARD);
regress/lib/libc/db/dbtest.c
582
char *eq;
regress/lib/libc/db/dbtest.c
584
if ((eq = strchr(s, '=')) == NULL)
regress/lib/libc/db/dbtest.c
586
*eq++ = '\0';
regress/lib/libc/db/dbtest.c
587
if (!isdigit((unsigned char)*eq))
regress/lib/libc/db/dbtest.c
593
ib.flags = atoi(eq);
regress/lib/libc/db/dbtest.c
597
ib.cachesize = atoi(eq);
regress/lib/libc/db/dbtest.c
601
ib.maxkeypage = atoi(eq);
regress/lib/libc/db/dbtest.c
605
ib.minkeypage = atoi(eq);
regress/lib/libc/db/dbtest.c
609
ib.lorder = atoi(eq);
regress/lib/libc/db/dbtest.c
613
ib.psize = atoi(eq);
regress/lib/libc/db/dbtest.c
619
ih.bsize = atoi(eq);
regress/lib/libc/db/dbtest.c
623
ih.ffactor = atoi(eq);
regress/lib/libc/db/dbtest.c
627
ih.nelem = atoi(eq);
regress/lib/libc/db/dbtest.c
631
ih.cachesize = atoi(eq);
regress/lib/libc/db/dbtest.c
635
ih.lorder = atoi(eq);
regress/lib/libc/db/dbtest.c
641
rh.flags = atoi(eq);
regress/lib/libc/db/dbtest.c
645
rh.cachesize = atoi(eq);
regress/lib/libc/db/dbtest.c
649
rh.lorder = atoi(eq);
regress/lib/libc/db/dbtest.c
653
rh.reclen = atoi(eq);
regress/lib/libc/db/dbtest.c
657
rh.bval = atoi(eq);
regress/lib/libc/db/dbtest.c
661
rh.psize = atoi(eq);
regress/lib/libm/msun/test-utils.h
162
bool eq = fpequal_tol(_x, _y, tol, flags); \
regress/lib/libm/msun/test-utils.h
163
long double _diff = eq ? 0.0L : fabsl(_x - _y); \
regress/lib/libm/msun/test-utils.h
164
ATF_CHECK_MSG(eq, "%s (%.25Lg) ~= %s (%.25Lg), diff=%Lg, maxdiff=%Lg,", \
sys/arch/mips64/mips64/fp_emulate.c
901
uint cc, lt, eq, uo;
sys/arch/mips64/mips64/fp_emulate.c
908
lt = eq = uo = 0;
sys/arch/mips64/mips64/fp_emulate.c
929
eq = 1 << 1;
sys/arch/mips64/mips64/fp_emulate.c
948
eq = 1 << 1;
sys/arch/mips64/mips64/fp_emulate.c
962
if ((uo | eq | lt) & op)
sys/arch/powerpc64/dev/xive.c
400
struct xive_eq *eq;
sys/arch/powerpc64/dev/xive.c
435
eq = &sc->sc_eq[ci->ci_cpuid][cppr];
sys/arch/powerpc64/dev/xive.c
436
event = XIVE_DMA_KVA(eq->eq_queue);
sys/arch/powerpc64/dev/xive.c
437
while ((event[eq->eq_idx] & XIVE_EQ_GEN_MASK) == eq->eq_gen) {
sys/arch/powerpc64/dev/xive.c
438
lirq = event[eq->eq_idx] & ~XIVE_EQ_GEN_MASK;
sys/arch/powerpc64/dev/xive.c
447
eq->eq_idx = (eq->eq_idx + 1) & XIVE_EQ_IDX_MASK;
sys/arch/powerpc64/dev/xive.c
450
if (eq->eq_idx == 0)
sys/arch/powerpc64/dev/xive.c
451
eq->eq_gen ^= XIVE_EQ_GEN_MASK;
sys/arch/sparc64/dev/msi.c
89
msi_eq_offset(struct msi_eq *meq, int eq)
sys/arch/sparc64/dev/msi.c
91
return (meq->meq_queuesize * eq);
sys/arch/sparc64/dev/pyro.c
340
struct pyro_eq *eq;
sys/arch/sparc64/dev/pyro.c
387
pbm->pp_eq = mallocarray(num_eq, sizeof(*eq), M_DEVBUF, M_WAITOK);
sys/arch/sparc64/dev/pyro.c
395
eq = &pbm->pp_eq[unit];
sys/arch/sparc64/dev/pyro.c
397
eq->eq_id = unit;
sys/arch/sparc64/dev/pyro.c
398
eq->eq_intr = msi_eq_devino[2] + unit;
sys/arch/sparc64/dev/pyro.c
399
eq->eq_pbm = pbm;
sys/arch/sparc64/dev/pyro.c
400
snprintf(eq->eq_name, sizeof(eq->eq_name), "%s:%d",
sys/arch/sparc64/dev/pyro.c
402
eq->eq_head = FIRE_EQ_HEAD(unit);
sys/arch/sparc64/dev/pyro.c
403
eq->eq_tail = FIRE_EQ_TAIL(unit);
sys/arch/sparc64/dev/pyro.c
404
eq->eq_ring = msgs + (unit * meq->meq_nentries);
sys/arch/sparc64/dev/pyro.c
405
eq->eq_mask = (meq->meq_nentries - 1);
sys/arch/sparc64/dev/pyro.c
412
ihandle = eq->eq_intr | sc->sc_ign;
sys/arch/sparc64/dev/pyro.c
413
eq->eq_ih = pyro_intr_establish_cpu(pbm->pp_memt, sc->sc_bust,
sys/arch/sparc64/dev/pyro.c
415
pyro_msi_eq_intr, eq, eq->eq_name);
sys/arch/sparc64/dev/pyro.c
416
if (eq->eq_ih == NULL) {
sys/arch/sparc64/dev/pyro.c
825
struct pyro_eq *eq = arg;
sys/arch/sparc64/dev/pyro.c
826
struct pyro_pbm *pbm = eq->eq_pbm;
sys/arch/sparc64/dev/pyro.c
833
head = bus_space_read_8(sc->sc_bust, sc->sc_csrh, eq->eq_head);
sys/arch/sparc64/dev/pyro.c
834
tail = bus_space_read_8(sc->sc_bust, sc->sc_csrh, eq->eq_tail);
sys/arch/sparc64/dev/pyro.c
840
msg = &eq->eq_ring[head];
sys/arch/sparc64/dev/pyro.c
854
head &= eq->eq_mask;
sys/arch/sparc64/dev/pyro.c
857
bus_space_write_8(sc->sc_bust, sc->sc_csrh, eq->eq_head, head);
sys/arch/sparc64/dev/vpci.c
260
struct vpci_eq *eq;
sys/arch/sparc64/dev/vpci.c
290
pbm->vp_eq = mallocarray(num_eq, sizeof(*eq), M_DEVBUF,
sys/arch/sparc64/dev/vpci.c
295
eq = &pbm->vp_eq[unit];
sys/arch/sparc64/dev/vpci.c
300
eq->eq_id = unit;
sys/arch/sparc64/dev/vpci.c
301
eq->eq_pbm = pbm;
sys/arch/sparc64/dev/vpci.c
302
snprintf(eq->eq_name, sizeof(eq->eq_name), "%s:%d",
sys/arch/sparc64/dev/vpci.c
305
eq->eq_meq = msi_eq_alloc(sc->sc_dmat, msi_eq_size, 1);
sys/arch/sparc64/dev/vpci.c
306
if (eq->eq_meq == NULL)
sys/arch/sparc64/dev/vpci.c
310
eq->eq_meq->meq_map->dm_segs[0].ds_addr,
sys/arch/sparc64/dev/vpci.c
311
eq->eq_meq->meq_nentries);
sys/arch/sparc64/dev/vpci.c
315
eq->eq_mask = (eq->eq_meq->meq_nentries *
sys/arch/sparc64/dev/vpci.c
325
eq->eq_ih = vpci_intr_establish_cpu(pbm->vp_memt, pbm->vp_memt,
sys/arch/sparc64/dev/vpci.c
327
vpci_msi_eq_intr, eq, eq->eq_name);
sys/arch/sparc64/dev/vpci.c
328
if (eq->eq_ih == NULL)
sys/arch/sparc64/dev/vpci.c
354
eq = &pbm->vp_eq[unit];
sys/arch/sparc64/dev/vpci.c
356
if (eq->eq_meq != NULL)
sys/arch/sparc64/dev/vpci.c
357
msi_eq_free(sc->sc_dmat, eq->eq_meq);
sys/arch/sparc64/dev/vpci.c
361
free(pbm->vp_eq, M_DEVBUF, num_eq * sizeof(*eq));
sys/arch/sparc64/dev/vpci.c
636
int eq = 0;
sys/arch/sparc64/dev/vpci.c
660
eq = CPU_INFO_UNIT(cpu) % pbm->vp_neq;
sys/arch/sparc64/dev/vpci.c
663
err = hv_pci_msi_setmsiq(devhandle, msi, eq, 0);
sys/arch/sparc64/dev/vpci.c
727
struct vpci_eq *eq = arg;
sys/arch/sparc64/dev/vpci.c
728
struct vpci_pbm *pbm = eq->eq_pbm;
sys/arch/sparc64/dev/vpci.c
736
err = hv_pci_msiq_gethead(devhandle, eq->eq_id, &head);
sys/arch/sparc64/dev/vpci.c
738
printf("%s: pci_msiq_gethead(%d): %d\n", __func__, eq->eq_id,
sys/arch/sparc64/dev/vpci.c
741
err = hv_pci_msiq_gettail(devhandle, eq->eq_id, &tail);
sys/arch/sparc64/dev/vpci.c
743
printf("%s: pci_msiq_gettail(%d): %d\n", __func__, eq->eq_id,
sys/arch/sparc64/dev/vpci.c
750
msg = (struct vpci_msi_msg *)(eq->eq_meq->meq_va + head);
sys/arch/sparc64/dev/vpci.c
766
head &= eq->eq_mask;
sys/arch/sparc64/dev/vpci.c
769
err = hv_pci_msiq_sethead(devhandle, eq->eq_id, head);
sys/arch/sparc64/dev/vpci.c
771
printf("%s: pci_msiq_sethead(%d): %d\n", __func__, eq->eq_id,
sys/dev/pci/if_mcx.c
4348
mcx_create_eq(struct mcx_softc *sc, struct mcx_eq *eq, int uar,
sys/dev/pci/if_mcx.c
4361
eq->eq_cons = 0;
sys/dev/pci/if_mcx.c
4368
if (mcx_dmamem_alloc(sc, &eq->eq_mem, npages * MCX_PAGE_SIZE,
sys/dev/pci/if_mcx.c
4374
eqe = (struct mcx_eq_entry *)MCX_DMA_KVA(&eq->eq_mem);
sys/dev/pci/if_mcx.c
4399
bus_dmamap_sync(sc->sc_dmat, MCX_DMA_MAP(&eq->eq_mem),
sys/dev/pci/if_mcx.c
4400
0, MCX_DMA_LEN(&eq->eq_mem), BUS_DMASYNC_PREREAD);
sys/dev/pci/if_mcx.c
4403
mcx_cmdq_mboxes_pas(&mxm, sizeof(*mbin), npages, &eq->eq_mem);
sys/dev/pci/if_mcx.c
4424
eq->eq_n = mcx_get_id(out->cmd_eqn);
sys/dev/pci/if_mcx.c
4428
mcx_arm_eq(sc, eq, uar);
sys/dev/pci/if_mcx.c
4433
bus_dmamap_sync(sc->sc_dmat, MCX_DMA_MAP(&eq->eq_mem),
sys/dev/pci/if_mcx.c
4434
0, MCX_DMA_LEN(&eq->eq_mem), BUS_DMASYNC_POSTREAD);
sys/dev/pci/if_mcx.c
4437
mcx_dmamem_free(sc, &eq->eq_mem);
sys/dev/pci/if_mcx.c
6672
mcx_query_eq(struct mcx_softc *sc, struct mcx_eq *eq, struct mcx_eq_ctx *eq_ctx)
sys/dev/pci/if_mcx.c
6692
in->cmd_eqn = htobe32(eq->eq_n);
sys/dev/pci/if_mcx.c
7088
mcx_arm_eq(struct mcx_softc *sc, struct mcx_eq *eq, int uar)
sys/dev/pci/if_mcx.c
7094
val = (eq->eq_n << 24) | (eq->eq_cons & 0xffffff);
sys/dev/pci/if_mcx.c
7101
mcx_next_eq_entry(struct mcx_softc *sc, struct mcx_eq *eq)
sys/dev/pci/if_mcx.c
7106
eqe = (struct mcx_eq_entry *)MCX_DMA_KVA(&eq->eq_mem);
sys/dev/pci/if_mcx.c
7107
next = eq->eq_cons % (1 << MCX_LOG_EQ_SIZE);
sys/dev/pci/if_mcx.c
7109
((eq->eq_cons >> MCX_LOG_EQ_SIZE) & 1)) {
sys/dev/pci/if_mcx.c
7110
eq->eq_cons++;
sys/dev/pci/if_mcx.c
7120
struct mcx_eq *eq = &sc->sc_admin_eq;
sys/dev/pci/if_mcx.c
7123
bus_dmamap_sync(sc->sc_dmat, MCX_DMA_MAP(&eq->eq_mem),
sys/dev/pci/if_mcx.c
7124
0, MCX_DMA_LEN(&eq->eq_mem), BUS_DMASYNC_POSTREAD);
sys/dev/pci/if_mcx.c
7126
while ((eqe = mcx_next_eq_entry(sc, eq)) != NULL) {
sys/dev/pci/if_mcx.c
7152
bus_dmamap_sync(sc->sc_dmat, MCX_DMA_MAP(&eq->eq_mem),
sys/dev/pci/if_mcx.c
7153
0, MCX_DMA_LEN(&eq->eq_mem), BUS_DMASYNC_PREREAD);
sys/dev/pci/if_mcx.c
7155
mcx_arm_eq(sc, eq, sc->sc_uar);
sys/dev/pci/if_mcx.c
7165
struct mcx_eq *eq = &q->q_eq;
sys/dev/pci/if_mcx.c
7169
bus_dmamap_sync(sc->sc_dmat, MCX_DMA_MAP(&eq->eq_mem),
sys/dev/pci/if_mcx.c
7170
0, MCX_DMA_LEN(&eq->eq_mem), BUS_DMASYNC_POSTREAD);
sys/dev/pci/if_mcx.c
7172
while ((eqe = mcx_next_eq_entry(sc, eq)) != NULL) {
sys/dev/pci/if_mcx.c
7182
bus_dmamap_sync(sc->sc_dmat, MCX_DMA_MAP(&eq->eq_mem),
sys/dev/pci/if_mcx.c
7183
0, MCX_DMA_LEN(&eq->eq_mem), BUS_DMASYNC_PREREAD);
sys/dev/pci/if_mcx.c
7185
mcx_arm_eq(sc, eq, q->q_uar);
sys/dev/pci/if_mcx.c
8848
struct mcx_eq_ctx eq;
sys/dev/pci/if_mcx.c
8953
if (mcx_query_eq(sc, &q->q_eq, &u.eq) != 0) {
sys/dev/pci/if_mcx.c
8959
kstat_kv_u64(kvs++) = bemtoh32(&u.eq.eq_producer_counter);
sys/dev/pci/if_mcx.c
8960
kstat_kv_u64(kvs++) = bemtoh32(&u.eq.eq_consumer_counter);
sys/dev/pci/if_mcx.c
8962
switch ((bemtoh32(&u.eq.eq_status) & MCX_EQ_CTX_STATUS_MASK) >>
sys/dev/pci/if_mcx.c
8977
switch ((bemtoh32(&u.eq.eq_status) & MCX_EQ_CTX_STATE_MASK) >>
sys/dev/pci/if_oce.c
1043
struct oce_eq *eq;
sys/dev/pci/if_oce.c
1102
OCE_EQ_FOREACH(sc, eq, i)
sys/dev/pci/if_oce.c
1103
oce_arm_eq(eq, 0, TRUE, FALSE);
sys/dev/pci/if_oce.c
1127
struct oce_eq *eq;
sys/dev/pci/if_oce.c
1140
OCE_EQ_FOREACH(sc, eq, i)
sys/dev/pci/if_oce.c
1141
oce_drain_eq(eq);
sys/dev/pci/if_oce.c
130
#define OCE_EQ_FOREACH(sc, eq, i) \
sys/dev/pci/if_oce.c
131
for (i = 0, eq = sc->sc_eq[0]; i < sc->sc_neq; i++, eq = sc->sc_eq[i])
sys/dev/pci/if_oce.c
1389
struct oce_eq *eq = sc->sc_eq[0];
sys/dev/pci/if_oce.c
1394
oce_dma_sync(&eq->ring->dma, BUS_DMASYNC_POSTREAD);
sys/dev/pci/if_oce.c
1396
OCE_RING_FOREACH(eq->ring, eqe, eqe->evnt != 0) {
sys/dev/pci/if_oce.c
1403
oce_arm_eq(eq, 0, TRUE, FALSE);
sys/dev/pci/if_oce.c
1407
oce_dma_sync(&eq->ring->dma, BUS_DMASYNC_PREWRITE);
sys/dev/pci/if_oce.c
1410
oce_arm_eq(eq, neqe, FALSE, TRUE);
sys/dev/pci/if_oce.c
1413
for (i = 0; i < eq->cq_valid; i++) {
sys/dev/pci/if_oce.c
1414
cq = eq->cq[i];
sys/dev/pci/if_oce.c
1419
oce_arm_eq(eq, 0, TRUE, FALSE);
sys/dev/pci/if_oce.c
1944
struct oce_eq *eq;
sys/dev/pci/if_oce.c
1960
OCE_EQ_FOREACH(sc, eq, i) {
sys/dev/pci/if_oce.c
1961
if (eq)
sys/dev/pci/if_oce.c
1972
oce_create_wq(struct oce_softc *sc, struct oce_eq *eq)
sys/dev/pci/if_oce.c
1992
cq = oce_create_cq(sc, eq, CQ_LEN_512, sizeof(struct oce_nic_tx_cqe),
sys/dev/pci/if_oce.c
2024
eq->cq[eq->cq_valid] = cq;
sys/dev/pci/if_oce.c
2025
eq->cq_valid++;
sys/dev/pci/if_oce.c
2078
oce_create_rq(struct oce_softc *sc, struct oce_eq *eq, int rss)
sys/dev/pci/if_oce.c
2100
cq = oce_create_cq(sc, eq, CQ_LEN_1024, sizeof(struct oce_nic_rx_cqe),
sys/dev/pci/if_oce.c
2128
eq->cq[eq->cq_valid] = cq;
sys/dev/pci/if_oce.c
2129
eq->cq_valid++;
sys/dev/pci/if_oce.c
2179
struct oce_eq *eq;
sys/dev/pci/if_oce.c
2182
eq = malloc(sizeof(struct oce_eq), M_DEVBUF, M_NOWAIT | M_ZERO);
sys/dev/pci/if_oce.c
2183
if (eq == NULL)
sys/dev/pci/if_oce.c
2186
eq->ring = oce_create_ring(sc, EQ_LEN_1024, EQE_SIZE_4, 8);
sys/dev/pci/if_oce.c
2187
if (!eq->ring) {
sys/dev/pci/if_oce.c
2188
free(eq, M_DEVBUF, 0);
sys/dev/pci/if_oce.c
2192
eq->id = -1;
sys/dev/pci/if_oce.c
2193
eq->sc = sc;
sys/dev/pci/if_oce.c
2194
eq->nitems = EQ_LEN_1024; /* length of event queue */
sys/dev/pci/if_oce.c
2195
eq->isize = EQE_SIZE_4; /* size of a queue item */
sys/dev/pci/if_oce.c
2196
eq->delay = OCE_DEFAULT_EQD; /* event queue delay */
sys/dev/pci/if_oce.c
2198
if (oce_new_eq(sc, eq)) {
sys/dev/pci/if_oce.c
2199
oce_destroy_ring(sc, eq->ring);
sys/dev/pci/if_oce.c
2200
free(eq, M_DEVBUF, 0);
sys/dev/pci/if_oce.c
2204
return (eq);
sys/dev/pci/if_oce.c
2216
oce_arm_eq(struct oce_eq *eq, int neqe, int rearm, int clearint)
sys/dev/pci/if_oce.c
2218
oce_write_db(eq->sc, PD_EQ_DB, eq->id | PD_EQ_DB_EVENT |
sys/dev/pci/if_oce.c
2223
oce_drain_eq(struct oce_eq *eq)
sys/dev/pci/if_oce.c
2228
oce_dma_sync(&eq->ring->dma, BUS_DMASYNC_POSTREAD);
sys/dev/pci/if_oce.c
2229
OCE_RING_FOREACH(eq->ring, eqe, eqe->evnt != 0) {
sys/dev/pci/if_oce.c
223
struct oce_eq * eq;
sys/dev/pci/if_oce.c
2233
oce_dma_sync(&eq->ring->dma, BUS_DMASYNC_PREWRITE);
sys/dev/pci/if_oce.c
2234
oce_arm_eq(eq, neqe, FALSE, TRUE);
sys/dev/pci/if_oce.c
2238
oce_destroy_eq(struct oce_eq *eq)
sys/dev/pci/if_oce.c
2241
struct oce_softc *sc = eq->sc;
sys/dev/pci/if_oce.c
2243
if (eq->id >= 0) {
sys/dev/pci/if_oce.c
2245
cmd.params.req.id = htole16(eq->id);
sys/dev/pci/if_oce.c
2249
if (eq->ring != NULL)
sys/dev/pci/if_oce.c
2250
oce_destroy_ring(sc, eq->ring);
sys/dev/pci/if_oce.c
2251
free(eq, M_DEVBUF, 0);
sys/dev/pci/if_oce.c
2255
oce_create_mq(struct oce_softc *sc, struct oce_eq *eq)
sys/dev/pci/if_oce.c
2271
cq = oce_create_cq(sc, eq, CQ_LEN_256, sizeof(struct oce_mq_cqe),
sys/dev/pci/if_oce.c
2292
eq->cq[eq->cq_valid] = cq;
sys/dev/pci/if_oce.c
2293
eq->cq_valid++;
sys/dev/pci/if_oce.c
2294
mq->cq->eq = eq;
sys/dev/pci/if_oce.c
2348
oce_create_cq(struct oce_softc *sc, struct oce_eq *eq, int nitems, int isize,
sys/dev/pci/if_oce.c
2364
cq->eq = eq;
sys/dev/pci/if_oce.c
3355
oce_new_eq(struct oce_softc *sc, struct oce_eq *eq)
sys/dev/pci/if_oce.c
3362
npages = oce_load_ring(sc, eq->ring, &cmd.params.req.pages[0],
sys/dev/pci/if_oce.c
3371
cmd.params.req.ctx.size = (eq->isize == 4) ? 0 : 1;
sys/dev/pci/if_oce.c
3372
cmd.params.req.ctx.count = ilog2(eq->nitems / 256);
sys/dev/pci/if_oce.c
3374
cmd.params.req.ctx.delay_mult = htole32(eq->delay);
sys/dev/pci/if_oce.c
3381
eq->id = letoh16(cmd.params.rsp.eq_id);
sys/dev/pci/if_oce.c
3413
ctx->v2.eq_id = cq->eq->id;
sys/dev/pci/if_oce.c
3428
ctx->v0.eq_id = cq->eq->id;
usr.bin/doas/env.c
117
const char *e, *eq;
usr.bin/doas/env.c
124
if ((eq = strchr(e, '=')) == NULL || eq == e)
usr.bin/doas/env.c
126
len = eq - e;
usr.bin/doas/env.c
132
node = createnode(name, eq + 1);
usr.bin/doas/env.c
169
const char *e, *eq;
usr.bin/doas/env.c
179
if ((eq = strchr(e, '=')) == NULL)
usr.bin/doas/env.c
182
len = eq - e;
usr.bin/doas/env.c
201
if (eq) {
usr.bin/doas/env.c
202
val = eq + 1;
usr.bin/mg/search.c
46
static int eq(int, int, int);
usr.bin/mg/search.c
701
if (eq(c, pat[0], xcase) != FALSE) {
usr.bin/mg/search.c
712
if (eq(c, *pp++, xcase) == FALSE)
usr.bin/mg/search.c
717
if (eq(c, *pp++, xcase) == FALSE)
usr.bin/mg/search.c
765
if (eq(c, *epp, xcase) != FALSE) {
usr.bin/mg/search.c
782
if (eq(c, *--pp, xcase) == FALSE) {
usr.sbin/amd/amd/mtab.c
88
char *eq = strchr(str, '=');
usr.sbin/amd/amd/mtab.c
89
if (eq)
usr.sbin/amd/amd/mtab.c
90
return atoi(eq+1);
usr.sbin/amd/amd/opts.c
223
char *eq = strchr(f, '=');
usr.sbin/amd/amd/opts.c
225
if (!eq || eq[1] == '\0' || eq == f) {
usr.sbin/amd/amd/opts.c
240
if (eq[-1] == '!') { /* != */
usr.sbin/amd/amd/opts.c
242
eq[-1] = '\0';
usr.sbin/amd/amd/opts.c
243
opt = eq + 1;
usr.sbin/amd/amd/opts.c
244
} else if (eq[-1] == ':') { /* := */
usr.sbin/amd/amd/opts.c
246
eq[-1] = '\0';
usr.sbin/amd/amd/opts.c
247
opt = eq + 1;
usr.sbin/amd/amd/opts.c
248
} else if (eq[1] == '=') { /* == */
usr.sbin/amd/amd/opts.c
250
eq[0] = '\0';
usr.sbin/amd/amd/opts.c
251
opt = eq + 2;
usr.sbin/amd/amd/opts.c
252
} else if (eq[1] == '!') { /* =! */
usr.sbin/amd/amd/opts.c
254
eq[0] = '\0';
usr.sbin/amd/amd/opts.c
255
opt = eq + 2;
usr.sbin/amd/amd/opts.c
258
eq[0] = '\0';
usr.sbin/amd/amd/opts.c
259
opt = eq + 1;
usr.sbin/iscsid/pdu.c
115
eq = strchr(buf, '=');
usr.sbin/iscsid/pdu.c
116
if (!eq) {
usr.sbin/iscsid/pdu.c
121
*eq++ = '\0';
usr.sbin/iscsid/pdu.c
123
k[i].value = eq;
usr.sbin/iscsid/pdu.c
124
buf = eq + strlen(eq) + 1;
usr.sbin/iscsid/pdu.c
95
char *eq;
usr.sbin/unbound/testcode/replay.c
228
char eq;
usr.sbin/unbound/testcode/replay.c
231
if(sscanf(remain, " %1023s %c %n", buf, &eq, &skip) != 2)
usr.sbin/unbound/testcode/replay.c
234
if(eq != '=')
usr.sbin/unbound/testcode/unitauth.c
873
char* eq = strchr(ql, '\n');
usr.sbin/unbound/testcode/unitauth.c
876
if(eq) *eq = 0;
usr.sbin/unbound/testcode/unitauth.c
885
if(eq) *eq = '\n';
usr.sbin/unbound/testcode/unitauth.c
888
if(eq) ql = eq+1;