/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...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | test.c | 52 if (eq(com[0],"[")) 54 if (!eq(com[--ac], "]")) 88 if (eq(p2, "-o")) 91 /* if (!eq(p2, ")")) 107 if ((p2 != 0) && eq(p2, "-a")) 116 if (eq(nxtarg(0), "!")) 131 if (eq(a, "(")) 134 if (!eq(nxtarg(0), ")")) 140 if ((p2 == 0) || (!eq(p2, "=") && !eq(p [all...] |
/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...] |
/illumos-gate/usr/src/cmd/mdb/test/typedef/ |
H A D | tst.models.ksh | 6 if [[ ! $? -eq 0 ]]; then
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/env/ |
H A D | tst.unsetenv2.ksh | 33 [[ $? -eq 1 ]] && exit 0
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgscripts/ |
H A D | i.CompCpio.sh | 149 if [ $local_install -eq 1 ]; then 166 if [ $no_select -eq 1 ]; then 170 if [ $Rm_alt_sav -eq 1 ]; then 176 elif [ $Spcl_lib -eq 1 ]; then 177 if [ $Tmp_Creat -eq 0 ]; then 181 if [ $Spcl_init -eq 0 ]; then 194 elif [ $Spcl_exec -eq 1 ]; then 195 if [ $Tmp_Creat -eq 0 ]; then 200 if [ $rm_cpio -eq 1 ]; then 205 elif [ $rm_ln -eq [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
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...] |
/illumos-gate/usr/src/cmd/vgrind/ |
H A D | vgrind.ksh | 138 if [ $filter -eq 1 -a \( $twospec -eq 1 -o $pspec -eq 1 \) ] ; then 143 if [ $filter -eq 1 -a $tspec -eq 1 ] ; then 148 if [ $tspec -eq 1 -a \( $twospec -eq 1 -o $pspec -eq 1 \) ] ; then 155 if [ $uselp -eq 1 ] ; then 168 if [ $stdoutisatty -eq [all...] |
/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/cmd/sendmail/lib/ |
H A D | sendmail-client | 48 if [ $? -eq 0 -a -n "$submit_path" ]; then 65 [ $ret -eq 1 ] && exit 1 70 if [ $ret -eq 2 ] ; then
|
/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/tools/depcheck/ |
H A D | get_depend_info | 93 if ($arg eq "-h") { 96 } elsif ($arg eq "-dbdir") { 98 } elsif ($arg eq "-s") { 101 } elsif ($arg eq "-p") { 104 } elsif ($arg eq "-f") { 107 } elsif ($arg eq "-cons") { 109 } elsif ($arg eq "-pkg") { 111 } elsif ($arg eq "-root") { 129 if ($PackageOnly eq true) { 136 $Silent = true if (($Verbose eq fals [all...] |
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | svc-dumpadm | 75 \( ! $rootiszfs -eq 1 -o $alreadydedicated -eq 0 \) ]; then 140 if [ $isswap -eq 1 ]; then 146 if [ $swapchanged -eq 1 ]; then 163 if [ $isswap -eq 0 -o $swapchanged -eq 1 ]; then
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/uctf/ |
H A D | tst.libtype.ksh | 33 if [[ $? -eq 0 ]]; then
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 78 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) argument 172 cidx = eq 817 struct sge_eq *eq = &wrq->eq; local 932 struct sge_eq *eq = &txq->eq; local 1073 init_eq(struct sge_eq *eq, uint16_t eqtype, uint16_t qsize, uint8_t tx_chan, uint16_t iqid) argument 1391 ctrl_eq_alloc(struct adapter *sc, struct sge_eq *eq) argument 1435 eth_eq_alloc(struct adapter *sc, struct port_info *pi, struct sge_eq *eq) argument 1478 ofld_eq_alloc(struct adapter *sc, struct port_info *pi, struct sge_eq *eq) argument 1521 alloc_eq(struct adapter *sc, struct port_info *pi, struct sge_eq *eq) argument 1569 free_eq(struct adapter *sc, struct sge_eq *eq) argument 1658 struct sge_eq *eq = &txq->eq; local 1705 struct sge_eq *eq = &txq->eq; local 2443 struct sge_eq *eq = &txq->eq; local 2518 struct sge_eq *eq = &txq->eq; local 2564 struct sge_eq *eq = &txq->eq; local 2784 copy_to_txd(struct sge_eq *eq, caddr_t from, caddr_t *to, int len) argument 2801 ring_tx_db(struct adapter *sc, struct sge_eq *eq) argument 2834 struct sge_eq *eq = &txq->eq; local 2905 struct sge_eq *eq = &txq->eq; local [all...] |
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_script.sh | 180 elif [ "${status[1]}" -eq 0 ]; then 183 if [ "${status[6]}" -eq 16 ]; then 206 if [ "${status[6]}" -eq 0 ]; then 208 elif [ "${status[6]}" -eq -16 ]; then 210 elif [ "${status[6]}" -eq -32 ]; then
|
/illumos-gate/usr/src/cmd/svc/shell/ |
H A D | smf_include.sh | 137 if [ $? -eq 0 ]; then 192 [ $ret -eq 1 ] && return 0 203 [ "$3" -eq 0 ] && return 0 208 while [ $? -eq 0 ] ; do 220 if [ $time_waited -gt 0 -a $remainder -eq 0 ]; then
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | idsconfig.sh | 609 [ $DEBUG -eq 1 ] && ${ECHO} "In get_passwd()" 658 [ $DEBUG -eq 1 ] && ${ECHO} "In get_passwd_nochk()" 694 if [ $? -eq 1 ]; then 796 if [ $? -eq 0 ]; then 864 [ $DEBUG -eq 1 ] && ${ECHO} "Checking baseDN: $ck_DN" 868 [ $DEBUG -eq 1 ] && ${ECHO} "check_baseDN: No '=' in baseDN." 881 [ $DEBUG -eq 1 ] && ${ECHO} "check_baseDN: invalid key=${dkey}" 885 [ $DEBUG -eq 1 ] && ${ECHO} "check_baseDN: valid key=${dkey}" 915 if [ $_FIRST -eq 1 ]; then 1102 [ $DEBUG -eq [all...] |
/illumos-gate/usr/src/cmd/print/selector/ |
H A D | print-service | 139 ($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/auditrecord/ |
H A D | audit_record_xml | 60 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/diff3/ |
H A D | diff3.sh | 81 if [ $STATUS -eq 1 ] 85 if [ $RET -eq 1 ] 106 if [ $STATUS -eq 1 ] 110 if [ $RET -eq 1 ]
|
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | devices-local | 38 if [ $? -eq 0 ]; then 58 if [ $? -eq 0 ]; then
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
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/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/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...] |