Home
last modified time | relevance | path

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

123456

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_eventq.c43 eq->eq_mod = mp; in fmd_eventq_create()
44 eq->eq_stats = stats; 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()
98 eq->eq_size--; in fmd_eventq_drop_topo()
168 eq->eq_size++; in fmd_eventq_insert_at_head()
225 eq->eq_size++; in fmd_eventq_insert_at_time()
248 (eq->eq_size == 0 || (eq->eq_flags & FMD_EVENTQ_SUSPEND))) in fmd_eventq_delete()
249 (void) pthread_cond_wait(&eq->eq_cv, &eq->eq_lock); in fmd_eventq_delete()
258 eq->eq_size--; in fmd_eventq_delete()
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dtest.c129 if (eq(a, "(")) in e3()
138 if ((p2 == 0) || (!eq(p2, "=") && !eq(p2, "!="))) in e3()
140 if (eq(a, "-r")) in e3()
142 if (eq(a, "-w")) in e3()
144 if (eq(a, "-x")) in e3()
146 if (eq(a, "-d")) in e3()
148 if (eq(a, "-c")) in e3()
169 if (eq(a, "-h") || eq(a, "-L")) in e3()
177 else if (eq((a = nxtarg(0)), "-a") || eq(a, "-o")) in e3()
194 if (eq(p2, "-a") || eq(p2, "-o")) in e3()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_event.c138 eq[i]); in hermon_eq_init_all()
379 eq = eqh[i]; in hermon_eq_reset_uar_baseaddr()
396 hermon_eqhdl_t eq; in hermon_eq_arm_all() local
730 hermon_eqhdl_t eq; in hermon_eq_alloc() local
775 eq->eq_eqinfo.qa_alloc_align = eq->eq_eqinfo.qa_bind_align = PAGESIZE; in hermon_eq_alloc()
862 eq->eq_buf = buf; in hermon_eq_alloc()
865 eq->eq_mrhdl = mr; in hermon_eq_alloc()
868 *eqhdl = eq; in hermon_eq_alloc()
904 hermon_eqhdl_t eq; in hermon_eq_free() local
913 eq = *eqhdl; in hermon_eq_free()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_event.c839 tavor_eqhdl_t eq; in tavor_eq_alloc() local
940 eq->eq_sync = TAVOR_EQ_IS_SYNC_REQ(state, eq->eq_eqinfo); in tavor_eq_alloc()
943 if (eq->eq_sync) { in tavor_eq_alloc()
992 eq->eq_buf = buf; in tavor_eq_alloc()
994 eq->eq_mrhdl = mr; in tavor_eq_alloc()
995 *eqhdl = eq; in tavor_eq_alloc()
1031 tavor_eqhdl_t eq; in tavor_eq_free() local
1040 eq = *eqhdl; in tavor_eq_free()
1042 rsrc = eq->eq_rsrcp; in tavor_eq_free()
1044 mr = eq->eq_mrhdl; in tavor_eq_free()
[all …]
/illumos-gate/usr/src/cmd/ttymon/
H A Dsttyparse.c83 if (eq("erase") && --argc)
139 if (eq("ek")) {
144 } else if (eq("line") &&
148 } else if (eq("raw")) {
151 } else if (eq("-raw") | eq("cooked")) {
154 } else if (eq("sane")) {
235 (eq("-raw") || eq("cooked") || eq("sane")))
262 (eq("-raw") || eq("cooked") ||
263 eq("sane"))) {
302 else if ((eq("columns") || eq("cols")) && --argc)
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c1039 if (eq->cidx >= eq->cap) in t4_wrq_tx_locked()
1040 eq->cidx -= eq->cap; in t4_wrq_tx_locked()
1069 eq->pidx -= eq->cap; in t4_wrq_tx_locked()
1083 eq->cidx -= eq->cap; in t4_wrq_tx_locked()
1799 eq->spg = (void *)&eq->desc[eq->cap]; in alloc_eq()
2022 eq->cidx -= eq->cap; in free_txq()
2855 eq->pidx -= eq->cap; in write_txpkts_wr()
2983 eq->pidx -= eq->cap; in write_txpkt_wr()
3170 i = eq->pidx ? eq->pidx - 1 : eq->cap - 1; in ring_tx_db()
3243 eq->cidx -= eq->cap; in reclaim_tx_descs()
[all …]
H A Dadapter.h302 struct sge_eq eq; /* MUST be first */ member
387 struct sge_eq eq; /* MUST be first */ member
624 #define EQ_LOCK(eq) mutex_enter(&(eq)->lock) argument
625 #define EQ_UNLOCK(eq) mutex_exit(&(eq)->lock) argument
626 #define EQ_LOCK_ASSERT_OWNED(eq) ASSERT(mutex_owned(&(eq)->lock)) argument
627 #define EQ_LOCK_ASSERT_NOTOWNED(eq) ASSERT(!mutex_owned(&(eq)->lock)) argument
629 #define TXQ_LOCK(txq) EQ_LOCK(&(txq)->eq)
630 #define TXQ_UNLOCK(txq) EQ_UNLOCK(&(txq)->eq)
631 #define TXQ_LOCK_ASSERT_OWNED(txq) EQ_LOCK_ASSERT_OWNED(&(txq)->eq)
632 #define TXQ_LOCK_ASSERT_NOTOWNED(txq) EQ_LOCK_ASSERT_NOTOWNED(&(txq)->eq)
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_queue.c76 struct oce_eq *eq; in oce_eq_create() local
84 if (eq == NULL) { in oce_eq_create()
149 "EQ created, eq=0x%p eq_id=0x%x", (void *)eq, eq->eq_id); in oce_eq_create()
151 return (eq); in oce_eq_create()
169 oce_drain_eq(eq); in oce_eq_del()
173 eq->ring = NULL; in oce_eq_del()
270 cq->eq = eq; /* eq array index */ in oce_cq_create()
1110 dev = eq->parent; in oce_drain_eq()
1200 struct oce_eq *eq; in oce_create_queues() local
1208 dev->eq[i] = eq; in oce_create_queues()
[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()
/illumos-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c117 if (eq("ek")) {
121 else if (eq("crt") || eq("newcrt")) {
127 else if (eq("dec")) {
140 else if (eq("raw") || eq("cbreak")) {
144 else if (eq("-raw") || eq("-cbreak") || eq("cooked")) {
148 else if(eq("sane")) {
161 if(eq(speeds[i].string))
171 if(eq(speeds[i].string))
198 if(eq(imodes[i].string)) {
211 if(eq(omodes[i].string)) {
[all …]
/illumos-gate/usr/src/cmd/checkeq/
H A Dcheckeq.c51 int start, line, eq, ndel, totdel; in check() local
54 start = eq = line = ndel = totdel = 0; in check()
62 if (eq++) in check()
71 if (eq == 0) in check()
76 eq = 0; in check()
82 } else if (eq && *in == 'd' && *(in+1) == 'e' && in check()
101 if (ndel > 0 && eq > 0) in check()
129 if (eq) in check()
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Dmacro.cc497 tmp_len = colon - eq; in expand_macro()
503 eq + 1, in expand_macro()
524 if (eq < percent) { in expand_macro()
544 if (eq > percent+1) { in expand_macro()
571 eq, in expand_macro()
572 percent - eq); in expand_macro()
578 eq = percent + 1; in expand_macro()
702 if ((eq == NULL) || (eq > p)) { in expand_macro()
724 if ((eq == NULL) || (eq > p)) { in expand_macro()
729 append_string(eq + 1, in expand_macro()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwgetopt.c98 const char *eq = 0; in dwoptnamematches() local
103 for(eq = iplace; *eq; ++eq) { in dwoptnamematches()
104 if (*eq != '=') { in dwoptnamematches()
108 namelen = (eq - iplace); in dwoptnamematches()
112 eq++; in dwoptnamematches()
113 arglen = strlen(eq); in dwoptnamematches()
128 dwoptarg = (char *)eq; in dwoptnamematches()
129 *argloc = (const char *)eq; in dwoptnamematches()
/illumos-gate/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()
/illumos-gate/usr/src/lib/libadt_jni/
H A Dauditxml_jni596 if ($eventType eq 'generic') {
626 if ($eventType eq 'generic') {
684 if (($type eq 'ADT_UINT32STAR') ||
685 ($type eq 'ADT_UIDSTAR') ||
694 } elsif (($type eq 'ADT_CHARSTAR') ||
695 ($type eq 'ADT_CHAR')) { # string
722 if ($eventType eq 'generic') {
882 if ($opt eq 'none') {
949 unless (uc $omit eq 'JNI') || ($omit eq 'always');
1014 } elsif ($type eq '') {
[all …]
/illumos-gate/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') {
/illumos-gate/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()
/illumos-gate/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,
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dnrform55 if (yymorf .eq. 0)
62 if (yyprev .eq. YYNEWLINE)
66 if (r .eq. 0){
68 if (z .eq. 0)
80 if (verif(t) .eq. state){
95 if (t <= yytop .and. verif(t) .eq. state){
141 if (yyback(atable(ilsp), -r) .eq. 1)
157 if (yytext(1) .eq. 0){
172 if (vstop(isub) .eq. m){
/illumos-gate/usr/src/uts/intel/os/
H A Dmicrocode_amd.c148 struct _buf *eq; in ucode_equiv_cpu_amd() local
154 if ((eq = kobj_open_file(name)) == (struct _buf *)-1) { in ucode_equiv_cpu_amd()
159 if (kobj_get_filesize(eq, &size) < 0) { in ucode_equiv_cpu_amd()
160 kobj_close_file(eq); in ucode_equiv_cpu_amd()
167 kobj_close_file(eq); in ucode_equiv_cpu_amd()
174 kobj_close_file(eq); in ucode_equiv_cpu_amd()
178 count = kobj_read_file(eq, (char *)ucode_eqtbl_amd, in ucode_equiv_cpu_amd()
180 kobj_close_file(eq); in ucode_equiv_cpu_amd()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.exp.c168 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()
465 if (eq(**vp, S_LPAR /* "(" */)) { in exp6()
476 if (eq(**vp, S_LBRA /* "{" */)) { in exp6()
[all …]
H A Dsh.set.c76 } else if (*v && eq(*v, S_EQ /* "=" */)) { in doset()
84 if (eq(p, S_LPAR /* "(" */)) { in doset()
109 if (eq(vp, S_path /* "path" */)) { in doset()
116 } else if (eq(vp, S_user /* "user" */)) in doset()
118 else if (eq(vp, S_term /* "term" */)) in doset()
120 else if (eq(vp, S_home /* "home" */)) in doset()
123 else if (eq(vp, S_filec /* "filec" */)) in doset()
125 else if (eq(vp, S_cdpath /* "cdpath" */)) in doset()
250 if (eq(vp, S_path /* "path" */)) { in dolet()
255 if (eq(vp, S_cdpath /* "cdpath" */)) in dolet()
[all …]
/illumos-gate/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');
/illumos-gate/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()
/illumos-gate/usr/src/cmd/checknr/
H A Dchecknr.c162 static int eq(char *s1, char *s2);
313 if (eq(mac, "de")) in process()
416 if (stktop >= 0 && eq(mac, br[stk[stktop].opno].clbr)) in chkcmd()
421 if (eq(mac, br[i].opbr)) { in chkcmd()
436 if (eq(mac, br[i].clbr)) { in chkcmd()
455 if (eq(mac, br[stk[j].opno].clbr)) { in nomatch()
493 eq(char *s1, char *s2) in eq() function
511 if (eq(mac, ".")) in checkknown()

123456