Home
last modified time | relevance | path

Searched refs:eq (Results 1 – 25 of 128) sorted by relevance

123456

/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_eventq.c38 fmd_eventq_t *eq = fmd_zalloc(sizeof (fmd_eventq_t), FMD_SLEEP); in fmd_eventq_create() local
40 (void) pthread_mutex_init(&eq->eq_lock, NULL); in fmd_eventq_create()
41 (void) pthread_cond_init(&eq->eq_cv, NULL); in fmd_eventq_create()
43 eq->eq_mod = mp; in fmd_eventq_create()
44 eq->eq_stats = stats; in fmd_eventq_create()
45 eq->eq_stats_lock = stats_lock; in fmd_eventq_create()
46 eq->eq_limit = limit; in fmd_eventq_create()
47 eq->eq_sgid = fmd_dispq_getgid(fmd.d_disp, eq); in fmd_eventq_create()
49 return (eq); in fmd_eventq_create()
53 fmd_eventq_destroy(fmd_eventq_t *eq) in fmd_eventq_destroy() argument
[all …]
/titanic_41/usr/src/cmd/sh/
H A Dtest.c52 if (eq(com[0],"[")) in test()
54 if (!eq(com[--ac], "]")) in test()
88 if (eq(p2, "-o")) in exp()
107 if ((p2 != 0) && eq(p2, "-a")) in e1()
116 if (eq(nxtarg(0), "!")) in e2()
131 if (eq(a, "(")) in e3()
134 if (!eq(nxtarg(0), ")")) in e3()
140 if ((p2 == 0) || (!eq(p2, "=") && !eq(p2, "!="))) in e3()
142 if (eq(a, "-r")) in e3()
144 if (eq(a, "-w")) in e3()
[all …]
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_event.c46 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_t *eqe);
[all …]
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_event.c47 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_t *eqe);
[all …]
/titanic_41/usr/src/cmd/ttymon/
H A Dsttyparse.c64 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("kill") && --argc)
[all …]
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c78 static inline void init_eq(struct sge_eq *eq, uint16_t eqtype, uint16_t qsize,
95 static int ctrl_eq_alloc(struct adapter *sc, struct sge_eq *eq);
97 struct sge_eq *eq);
100 struct sge_eq *eq);
103 struct sge_eq *eq);
104 static int free_eq(struct adapter *sc, struct sge_eq *eq);
147 static inline void copy_to_txd(struct sge_eq *eq, caddr_t from, caddr_t *to,
149 static inline void ring_tx_db(struct adapter *sc, struct sge_eq *eq);
168 reclaimable(struct sge_eq *eq) in reclaimable() argument
172 cidx = eq->spg->cidx; /* stable snapshot */ in reclaimable()
[all …]
H A Dadapter.h270 struct sge_eq eq; /* MUST be first */ member
347 struct sge_eq eq; /* MUST be first */ member
539 #define EQ_LOCK(eq) mutex_enter(&(eq)->lock) argument
540 #define EQ_UNLOCK(eq) mutex_exit(&(eq)->lock) argument
541 #define EQ_LOCK_ASSERT_OWNED(eq) ASSERT(mutex_owned(&(eq)->lock)) argument
542 #define EQ_LOCK_ASSERT_NOTOWNED(eq) ASSERT(!mutex_owned(&(eq)->lock)) argument
544 #define TXQ_LOCK(txq) EQ_LOCK(&(txq)->eq)
545 #define TXQ_UNLOCK(txq) EQ_UNLOCK(&(txq)->eq)
546 #define TXQ_LOCK_ASSERT_OWNED(txq) EQ_LOCK_ASSERT_OWNED(&(txq)->eq)
547 #define TXQ_LOCK_ASSERT_NOTOWNED(txq) EQ_LOCK_ASSERT_NOTOWNED(&(txq)->eq)
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_queue.c36 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);
76 struct oce_eq *eq; in oce_eq_create() local
82 eq = kmem_zalloc(sizeof (struct oce_eq), KM_NOSLEEP); in oce_eq_create()
84 if (eq == NULL) { in oce_eq_create()
92 eq->ring = create_ring_buffer(dev, q_len, in oce_eq_create()
95 if (eq->ring == NULL) { in oce_eq_create()
97 "EQ ring alloc failed:0x%p", (void *)eq->ring); in oce_eq_create()
[all …]
H A Doce_intr.c189 (caddr_t)dev->eq[i], NULL); in oce_setup_handlers()
306 struct oce_eq *eq; in oce_isr() local
315 eq = (struct oce_eq *)(void *)(arg1); in oce_isr()
317 dev = eq->parent; in oce_isr()
319 eqe = RING_GET_CONSUMER_ITEM_VA(eq->ring, struct oce_eqe); in oce_isr()
341 RING_GET(eq->ring, 1); in oce_isr()
342 eqe = RING_GET_CONSUMER_ITEM_VA(eq->ring, struct oce_eqe); in oce_isr()
347 oce_arm_eq(dev, eq->eq_id, num_eqe, B_TRUE, B_TRUE); in oce_isr()
/titanic_41/usr/src/ucbcmd/stty/
H A Dsttyparse.c43 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("cooked")) {
151 else if(eq("sane")) {
164 if(eq(speeds[i].string))
174 if(eq(speeds[i].string))
185 if(eq(speeds[i].string)) {
[all …]
/titanic_41/usr/src/cmd/checkeq/
H A Dcheckeq.c53 int start, line, eq, ndel, totdel; in check() local
56 start = eq = line = ndel = totdel = 0; in check()
64 if (eq++) in check()
73 if (eq == 0) in check()
78 eq = 0; in check()
84 } else if (eq && *in == 'd' && *(in+1) == 'e' && in check()
103 if (ndel > 0 && eq > 0) in check()
131 if (eq) in check()
/titanic_41/usr/src/cmd/make/lib/mksh/
H A Dmacro.cc275 wchar_t *eq = (wchar_t *) NULL; in expand_macro() local
481 if ((eq = (wchar_t *) wcschr(colon + 1, in expand_macro()
485 left_tail_len = eq - colon - 1; in expand_macro()
492 eq - colon - 1); in expand_macro()
493 left_tail[eq - colon - 1] = (int) nul_char; in expand_macro()
495 if ((colon = (wchar_t *) wcschr(eq + 1, in expand_macro()
497 tmp_len = colon - eq; in expand_macro()
503 eq + 1, in expand_macro()
504 colon - eq - 1); in expand_macro()
505 right_tail[colon - eq - 1] = in expand_macro()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dfm.c47 errorq_t eq; in ereportq_pend_walk_init() local
56 if (mdb_vread(&eq, sizeof (eq), addr) == -1) { in ereportq_pend_walk_init()
61 if (!(eq.eq_flags & ERRORQ_NVLIST)) { in ereportq_pend_walk_init()
66 wsp->walk_addr = (uintptr_t)eq.eq_pend; in ereportq_pend_walk_init()
99 errorq_t eq; in ereportq_dump_walk_init() local
108 if (mdb_vread(&eq, sizeof (eq), addr) == -1) { in ereportq_dump_walk_init()
113 if (!(eq.eq_flags & ERRORQ_NVLIST)) { in ereportq_dump_walk_init()
118 wsp->walk_addr = (uintptr_t)eq.eq_dump; in ereportq_dump_walk_init()
/titanic_41/usr/src/lib/libadt_jni/
H A Dauditxml_jni269 $eventCode{$eventId} = -1 if ($eventType eq 'generic');
344 if ($type eq 'ADT_UINT32STAR') { # int array
375 } elsif (($type eq 'ADT_UIDSTAR') ||
376 ($type eq 'ADT_GIDSTAR')) { # gid_t array
378 $cType = 'gid_t' if ($type eq 'ADT_GIDSTAR');
410 } elsif ($type eq 'ADT_UINT64STAR') { # long array
437 } elsif ($type eq 'ADT_CHAR') { # string in Java, char in C
455 } elsif ($type eq 'ADT_CHARSTAR') {
485 } elsif ($type eq 'ADT_CHAR2STAR') { # array of string
547 } elsif ($type eq 'ADT_TERMIDSTAR') {
[all …]
/titanic_41/usr/src/cmd/print/selector/
H A Dprint-service139 ($command =~ /(en|dis)able/) && ($service eq 'cups') &&
154 if ($service eq 'lp') {
200 ($1 eq 'DeviceURI') &&
202 ($1 eq 'Info') &&
205 ($service eq 'lp') &&
211 ($printer{'Accepting'} eq 'Yes') &&
234 if ($service eq 'cups') {
270 if ($cmd eq 'print-service') {
/titanic_41/usr/src/cmd/vi/port/
H A Dex_set.c69 if (eq("all", cp)) { in set()
81 if (eq("marks", cp)) { in set()
95 if (eq("named",cp)) { in set()
107 if (eq("nbrreg",cp)) { in set()
119 if (eq("buffers",cp)) { in set()
244 if (eq(cp, "w300")) { in set()
252 } else if (eq(cp, "w1200")) { in set()
256 } else if (eq(cp, "w9600")) { in set()
262 if (eq(op->oname, cp) || op->oabbrev && eq(op->oabbrev, cp)) in set()
/titanic_41/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_event.h249 #define ARM_EQ_INDEX(eq) \ argument
250 (((eq >> 2) * PAGESIZE) + (0x0800 + ((eq & 0x03) * 0x08)))
286 int (*eq_func)(hermon_state_t *state, hermon_eqhdl_t eq,
298 void hermon_eq_overflow_handler(hermon_state_t *state, hermon_eqhdl_t eq,
/titanic_41/usr/src/cmd/sgs/lex/common/
H A Dnrform57 if (yymorf .eq. 0)
64 if (yyprev .eq. YYNEWLINE)
68 if (r .eq. 0){
70 if (z .eq. 0)
82 if (verif(t) .eq. state){
97 if (t <= yytop .and. verif(t) .eq. state){
143 if (yyback(atable(ilsp), -r) .eq. 1)
159 if (yytext(1) .eq. 0){
174 if (vstop(isub) .eq. m){
/titanic_41/usr/src/cmd/auditrecord/
H A Daudit_record_xml60 next if ($event->getOmit eq 'always');
82 next if $entryId eq 'subject';
83 next if $entryId eq 'return';
88 $token = "[$token]" if ($opt eq 'optional');
/titanic_41/usr/src/cmd/csh/
H A Dsh.exp.c120 if (**vp && eq(**vp, S_BARBAR /* "||" */)) { in exp0()
144 if (**vp && eq(**vp, S_ANDAND /* "&&" */)) { in exp1()
168 if (**vp && eq(**vp, S_BAR /* "|" */)) { in exp2()
192 if (**vp && eq(**vp, S_HAT /* "^" */)) { in exp2a()
216 if (**vp && eq(**vp, S_AND /* "&" */)) { in exp2b()
253 i = eq(p1, p2); in exp2c()
257 i = !eq(p1, p2); in exp2c()
291 if (**vp && eq(**vp, S_EQ /* "=" */)) in exp3()
445 if (eq(**vp, S_EXAS /* "!" */)) { in exp6()
455 if (eq(**vp, S_TIL /* "~" */)) { in exp6()
[all …]
H A Dsh.set.c79 } else if (*v && eq(*v, S_EQ /* "=" */)) { in doset()
87 if (eq(p, S_LPAR /* "(" */)) { in doset()
112 if (eq(vp, S_path /* "path" */)) { in doset()
115 } else if (eq(vp, S_histchars /* "histchars" */)) { in doset()
119 } else if (eq(vp, S_user /* "user" */)) in doset()
121 else if (eq(vp, S_term /* "term" */)) in doset()
123 else if (eq(vp, S_home /* "home" */)) in doset()
126 else if (eq(vp, S_filec /* "filec" */)) in doset()
128 else if (eq(vp, S_cdpath /* "cdpath" */)) in doset()
253 if (eq(vp, S_path /* "path" */)) { in dolet()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddm_platform.c117 char *tok, *lasts, *eq; in parse_action_string() local
136 if ((eq = strchr(tok, '=')) != NULL && eq[1] != 0) { in parse_action_string()
138 *eq = 0; in parse_action_string()
139 eq++; in parse_action_string()
148 if (isnumber(eq)) { in parse_action_string()
152 strtoull(eq, NULL, 0)) != 0) in parse_action_string()
158 eq) != 0) in parse_action_string()
161 } else if (eq == NULL) { in parse_action_string()
/titanic_41/usr/src/cmd/checknr/
H A Dchecknr.c160 static int eq(char *s1, char *s2);
311 if (eq(mac, "de")) in process()
414 if (stktop >= 0 && eq(mac, br[stk[stktop].opno].clbr)) in chkcmd()
419 if (eq(mac, br[i].opbr)) { in chkcmd()
434 if (eq(mac, br[i].clbr)) { in chkcmd()
453 if (eq(mac, br[stk[j].opno].clbr)) { in nomatch()
491 eq(char *s1, char *s2) in eq() function
509 if (eq(mac, ".")) in checkknown()
/titanic_41/usr/src/cmd/abi/spectrans/spec2map/
H A Dversions.c92 #define eq(s1, s2) (strcmp((s1), (s2)) == 0) macro
215 } else if (!eq(token, TargetArchStr)) { in arch_name()
335 if (eq(token, ":")) { in set()
338 } else if (eq(token, ";")) { in set()
375 if (eq(token, "}")) { in set()
479 if (eq(token, expected)) { in accept_token()
497 while (token && !eq(token, target)) { in skip_to()
/titanic_41/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_hw.h1242 #define TAVOR_EQE_EVTTYPE_GET(eq, eqe) \ argument
1243 ((ddi_get32((eq)->eq_eqinfo.qa_acchdl, \
1246 #define TAVOR_EQE_EVTSUBTYPE_GET(eq, eqe) \ argument
1247 ((ddi_get32((eq)->eq_eqinfo.qa_acchdl, \
1250 #define TAVOR_EQE_CQNUM_GET(eq, eqe) \ argument
1251 ((ddi_get32((eq)->eq_eqinfo.qa_acchdl, \
1254 #define TAVOR_EQE_QPNUM_GET(eq, eqe) \ argument
1255 ((ddi_get32((eq)->eq_eqinfo.qa_acchdl, \
1258 #define TAVOR_EQE_PORTNUM_GET(eq, eqe) \ argument
1259 ((ddi_get32((eq)->eq_eqinfo.qa_acchdl, \
[all …]

123456