/illumos-gate/usr/src/cmd/checkeq/ |
H A D | checkeq.c | 53 int start, line, eq, ndel, totdel; local 56 start = eq = line = ndel = totdel = 0; 64 if (eq++) 73 if (eq == 0) 78 eq = 0; 84 } else if (eq && *in == 'd' && *(in+1) == 'e' && 103 if (ndel > 0 && eq > 0) 131 if (eq)
|
/illumos-gate/usr/src/ucbcmd/stty/ |
H A D | sttyparse.c | 43 static int gct(), eq(), encode(); 120 if (eq("ek")) { 124 else if (eq("crt") || eq("newcrt")) { 130 else if (eq("dec")) { 143 else if (eq("raw") || eq("cbreak")) { 147 else if (eq("-raw") || eq("-cbreak") || eq("cooke 277 static int eq(string) function [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | fm.c | 47 errorq_t eq; local 56 if (mdb_vread(&eq, sizeof (eq), addr) == -1) { 61 if (!(eq.eq_flags & ERRORQ_NVLIST)) { 66 wsp->walk_addr = (uintptr_t)eq.eq_pend; 99 errorq_t eq; local 108 if (mdb_vread(&eq, sizeof (eq), addr) == -1) { 113 if (!(eq.eq_flags & ERRORQ_NVLIST)) { 118 wsp->walk_addr = (uintptr_t)eq [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_intr.c | 189 (caddr_t)dev->eq[i], NULL); 306 struct oce_eq *eq; local 315 eq = (struct oce_eq *)(void *)(arg1); 317 dev = eq->parent; 319 eqe = RING_GET_CONSUMER_ITEM_VA(eq->ring, struct oce_eqe); 341 RING_GET(eq->ring, 1); 342 eqe = RING_GET_CONSUMER_ITEM_VA(eq->ring, struct oce_eqe); 346 /* ring the eq doorbell, signify that it's done processing */ 347 oce_arm_eq(dev, eq->eq_id, num_eqe, B_TRUE, B_TRUE);
|
H A D | oce_queue.c | 36 oce_mq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len); 45 oce_cq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len, 54 static int oce_wq_create(struct oce_wq *wq, struct oce_eq *eq); 61 static int oce_rq_create(struct oce_rq *rq, uint32_t if_id, struct oce_eq *eq); 68 * eqcfg - pointer to a config structure containg the eq parameters 76 struct oce_eq *eq; local 81 /* allocate an eq */ 82 eq = kmem_zalloc(sizeof (struct oce_eq), KM_NOSLEEP); 84 if (eq == NULL) { 92 eq 163 oce_eq_del(struct oce_dev *dev, struct oce_eq *eq) argument 195 oce_cq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len, uint32_t item_size, boolean_t sol_event, boolean_t is_eventable, boolean_t nodelay, uint32_t ncoalesce) argument 328 oce_mq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len) argument 579 oce_wq_create(struct oce_wq *wq, struct oce_eq *eq) argument 823 oce_rq_create(struct oce_rq *rq, uint32_t if_id, struct oce_eq *eq) argument 1104 oce_drain_eq(struct oce_eq *eq) argument 1200 struct oce_eq *eq; local [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_eventq.c | 38 fmd_eventq_t *eq = fmd_zalloc(sizeof (fmd_eventq_t), FMD_SLEEP); local 40 (void) pthread_mutex_init(&eq->eq_lock, NULL); 41 (void) pthread_cond_init(&eq->eq_cv, NULL); 43 eq->eq_mod = mp; 44 eq->eq_stats = stats; 45 eq->eq_stats_lock = stats_lock; 46 eq->eq_limit = limit; 47 eq->eq_sgid = fmd_dispq_getgid(fmd.d_disp, eq); 49 return (eq); 53 fmd_eventq_destroy(fmd_eventq_t *eq) argument 68 fmd_eventq_drop(fmd_eventq_t *eq, fmd_eventqelem_t *eqe) argument 79 fmd_eventq_drop_topo(fmd_eventq_t *eq) argument 118 fmd_eventqstat_dispatch(fmd_eventq_t *eq) argument 141 fmd_eventq_insert_at_head(fmd_eventq_t *eq, fmd_event_t *ep) argument 179 fmd_eventq_insert_at_time(fmd_eventq_t *eq, fmd_event_t *ep) argument 236 fmd_eventq_delete(fmd_eventq_t *eq) argument 310 fmd_eventq_done(fmd_eventq_t *eq) argument 327 fmd_eventq_cancel(fmd_eventq_t *eq, uint_t type, void *data) argument 348 fmd_eventq_suspend(fmd_eventq_t *eq) argument 356 fmd_eventq_resume(fmd_eventq_t *eq) argument 365 fmd_eventq_abort(fmd_eventq_t *eq) argument [all...] |
H A D | fmd_mdb.c | 1606 struct fmd_eventq eq; local 1617 if (mdb_vread(&eq, sizeof (eq), (uintptr_t)m.mod_queue) 1618 != sizeof (eq)) { 1623 wsp->walk_addr = (uintptr_t)eq.eq_list.l_next;
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | sttyparse.c | 64 static int eq(const char *string); 83 if (eq("erase") && --argc) 85 else if (eq("intr") && --argc) 87 else if (eq("quit") && --argc) 89 else if (eq("eof") && --argc) 91 else if (eq("min") && --argc) { 96 } else if (eq("eol") && --argc) 98 else if (eq("eol2") && --argc) 100 else if (eq("time") && --argc) { 105 } else if (eq("kil 317 eq(const char *string) function [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | dev.c | 310 char *eq; local 315 if ((eq = strchr(part[i], '=')) == NULL || 316 *(eq + 1) == '\0') 320 *eq = '\0'; 322 devid = eq + 1; 324 tpl0id = eq + 1;
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | expreserve.c | 88 #define eq(a, b) strcmp(a, b) == 0 macro
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | versions.c | 92 #define eq(s1, s2) (strcmp((s1), (s2)) == 0) macro 215 } else if (!eq(token, TargetArchStr)) { 335 if (eq(token, ":")) { 338 } else if (eq(token, ";")) { 375 if (eq(token, "}")) { 479 if (eq(token, expected)) { 497 while (token && !eq(token, target)) {
|
/illumos-gate/usr/src/cmd/checknr/ |
H A D | checknr.c | 160 static int eq(char *s1, char *s2); 311 if (eq(mac, "de")) 414 if (stktop >= 0 && eq(mac, br[stk[stktop].opno].clbr)) 419 if (eq(mac, br[i].opbr)) { 434 if (eq(mac, br[i].clbr)) { 453 if (eq(mac, br[stk[j].opno].clbr)) { 489 /* eq: are two strings equal? */ 491 eq(char *s1, char *s2) function 509 if (eq(mac, "."))
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | dm_platform.c | 117 char *tok, *lasts, *eq; local 136 if ((eq = strchr(tok, '=')) != NULL && eq[1] != 0) { 138 *eq = 0; 139 eq++; 148 if (isnumber(eq)) { 152 strtoull(eq, NULL, 0)) != 0) 158 eq) != 0) 161 } else if (eq == NULL) {
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_event.c | 46 static void hermon_eq_poll(hermon_state_t *state, hermon_eqhdl_t eq); 51 static int hermon_eq_handler_init(hermon_state_t *state, hermon_eqhdl_t eq, 53 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe)); 54 static int hermon_eq_handler_fini(hermon_state_t *state, hermon_eqhdl_t eq); 56 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 58 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 60 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 62 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 64 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 66 hermon_eqhdl_t eq, hermon_hw_eqe_ 93 struct hermon_sw_eq_s **eq; local 329 struct hermon_sw_eq_s **eq; local 374 hermon_eqhdl_t eq, *eqh; local 396 hermon_eqhdl_t eq; local 509 hermon_eq_poll(hermon_state_t *state, hermon_eqhdl_t eq) argument 730 hermon_eqhdl_t eq; local 904 hermon_eqhdl_t eq; local 971 hermon_eq_handler_init(hermon_state_t *state, hermon_eqhdl_t eq, uint_t evt_type_mask, int (*eq_func)(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe)) argument 1014 hermon_eq_handler_fini(hermon_state_t *state, hermon_eqhdl_t eq) argument 1051 hermon_eq_demux(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1126 hermon_port_state_change_handler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1192 hermon_comm_estbl_handler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1242 hermon_local_wq_cat_err_handler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1292 hermon_invreq_local_wq_err_handler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1342 hermon_local_acc_vio_wq_err_handler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1392 hermon_sendq_drained_handler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1458 hermon_path_mig_handler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1508 hermon_path_mig_err_handler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1558 hermon_catastrophic_handler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1618 hermon_srq_last_wqe_reached_handler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1663 hermon_fexch_error_handler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument 1717 hermon_no_eqhandler(hermon_state_t *state, hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe) argument [all...] |
H A D | hermon_cq.c | 1057 hermon_cq_handler(hermon_state_t *state, hermon_eqhdl_t eq, argument 1064 cqnum = HERMON_EQE_CQNUM_GET(eq, eqe); 1103 hermon_cq_err_handler(hermon_state_t *state, hermon_eqhdl_t eq, argument 1113 cqnum = HERMON_EQE_CQNUM_GET(eq, eqe);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | glob.c | 54 #define eq(a, b) (strcmp(a, b) == 0) macro 166 if (eq(as, "{") || eq(as, "{}")) { 633 else if (eq(p, "{") || eq(p, "{}"))
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_cq.c | 1052 tavor_cq_handler(tavor_state_t *state, tavor_eqhdl_t eq, argument 1061 eqe_evttype = TAVOR_EQE_EVTTYPE_GET(eq, eqe); 1069 tavor_eq_overflow_handler(state, eq, eqe); 1077 cqnum = TAVOR_EQE_CQNUM_GET(eq, eqe); 1085 tavor_eq_doorbell(state, TAVOR_EQDB_DISARM_CQ, eq->eq_eqnum, cqnum); 1126 tavor_cq_err_handler(tavor_state_t *state, tavor_eqhdl_t eq, argument 1137 eqe_evttype = TAVOR_EQE_EVTTYPE_GET(eq, eqe); 1145 tavor_eq_overflow_handler(state, eq, eqe); 1154 cqnum = TAVOR_EQE_CQNUM_GET(eq, eqe);
|
H A D | tavor_event.c | 47 static void tavor_eq_poll(tavor_state_t *state, tavor_eqhdl_t eq); 52 static int tavor_eq_handler_init(tavor_state_t *state, tavor_eqhdl_t eq, 54 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe)); 55 static int tavor_eq_handler_fini(tavor_state_t *state, tavor_eqhdl_t eq); 56 static void tavor_eqe_sync(tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe, uint_t flag, 59 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); 61 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); 63 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); 65 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); 67 tavor_eqhdl_t eq, tavor_hw_eqe_ 655 tavor_eq_poll(tavor_state_t *state, tavor_eqhdl_t eq) argument 908 tavor_eqhdl_t eq; local 1119 tavor_eqhdl_t eq; local 1194 tavor_eq_handler_init(tavor_state_t *state, tavor_eqhdl_t eq, uint_t evt_type_mask, int (*eq_func)(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe)) argument 1243 tavor_eq_handler_fini(tavor_state_t *state, tavor_eqhdl_t eq) argument 1292 tavor_eqe_sync(tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe, uint_t flag, uint_t force_sync) argument 1329 tavor_port_state_change_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 1413 tavor_comm_estbl_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 1484 tavor_local_wq_cat_err_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 1555 tavor_invreq_local_wq_err_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 1626 tavor_local_acc_vio_wq_err_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 1697 tavor_sendq_drained_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 1784 tavor_path_mig_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 1855 tavor_path_mig_err_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 1926 tavor_srq_catastrophic_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 2001 tavor_srq_last_wqe_reached_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 2072 tavor_ecc_detection_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 2117 tavor_eq_overflow_handler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument 2149 tavor_no_eqhandler(tavor_state_t *state, tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe) argument [all...] |
H A D | tavor_cmd.c | 316 tavor_cmd_complete_handler(tavor_state_t *state, tavor_eqhdl_t eq, argument 324 eqe_evttype = TAVOR_EQE_EVTTYPE_GET(eq, eqe); 332 tavor_eq_overflow_handler(state, eq, eqe); 342 cmdp = &state->ts_cmd_list.cml_cmd[TAVOR_EQE_CMDTOKEN_GET(eq, eqe)]; 346 cmdp->cmd_outparm = ((uint64_t)TAVOR_EQE_CMDOUTP0_GET(eq, eqe) << 32) | 347 TAVOR_EQE_CMDOUTP1_GET(eq, eqe); 348 cmdp->cmd_status = TAVOR_EQE_CMDSTATUS_GET(eq, eqe);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | microcode.c | 320 struct _buf *eq; local 323 if ((eq = kobj_open_file(name)) == (struct _buf *)-1) 326 if (kobj_get_filesize(eq, &size) < 0) { 327 kobj_close_file(eq); 333 kobj_close_file(eq); 337 count = kobj_read_file(eq, (char *)ucode_eqtbl_amd, size, 0); 338 kobj_close_file(eq);
|
/illumos-gate/usr/src/cmd/make/lib/mksh/ |
H A D | macro.cc | 275 wchar_t *eq = (wchar_t *) NULL; local 481 if ((eq = (wchar_t *) wcschr(colon + 1, 485 left_tail_len = eq - colon - 1; 492 eq - colon - 1); 493 left_tail[eq - colon - 1] = (int) nul_char; 495 if ((colon = (wchar_t *) wcschr(eq + 1, 497 tmp_len = colon - eq; 503 eq + 1, 504 colon - eq - 1); 505 right_tail[colon - eq [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | defs.h | 215 #define eq(a, b) (cf(a, b) == 0) macro
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | disp.c | 1006 dispq_t *eq; local 1010 for (dq = dp->disp_q, eq = dp->disp_q_limit; dq < eq; ++dq) {
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/ |
H A D | lm_l5.c | 247 DbgMessage(pdev, INFORMi, "is eq %d, bd_chain %p, bd_left %d\n", 366 DbgMessage(pdev, INFORMi, "fc eq %d, bd_chain %p, bd_left %d\n", 1486 lm_eq_chain_t *eq = NULL; local 1490 eq = &LM_SC_EQ(pdev, sb_idx); 1492 if (eq->hw_con_idx_ptr && 1493 mm_le16_to_cpu(*eq->hw_con_idx_ptr) != lm_bd_chain_cons_idx(&eq->bd_chain) ) 1508 lm_eq_chain_t *eq = NULL; local 1512 eq = &LM_FC_EQ(pdev, sb_idx); 1514 if (eq [all...] |
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_impl.h | 215 struct oce_eq *eq[OCE_MAX_EQ]; /* Event Queues */ member in struct:oce_dev
|