/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_hermon_hw.c | 1074 dapli_hermon_post_send(DAPL_EP *ep, ibt_send_wr_t *wr, boolean_t ns) in dapli_hermon_post_send() argument 1086 if ((ep->qp_state == IBT_STATE_RESET) || in dapli_hermon_post_send() 1087 (ep->qp_state == IBT_STATE_INIT) || in dapli_hermon_post_send() 1088 (ep->qp_state == IBT_STATE_RTR)) { in dapli_hermon_post_send() 1090 "post_send: invalid qp_state %d\n", ep->qp_state); in dapli_hermon_post_send() 1094 qp = ep->qp_handle; in dapli_hermon_post_send() 1230 dapli_hermon_post_recv(DAPL_EP *ep, ibt_recv_wr_t *wr, boolean_t ns) in dapli_hermon_post_recv() argument 1241 if (ep->qp_state == IBT_STATE_RESET) { in dapli_hermon_post_recv() 1243 "post_recv: invalid qp_state %d\n", ep->qp_state); in dapli_hermon_post_recv() 1246 qp = ep->qp_handle; in dapli_hermon_post_recv()
|
H A D | dapl_tavor_ibtf.h | 44 #define DAPLIB_NEEDS_INIT(ep) ((ep)->qp_state == IBT_STATE_ERROR) argument
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.dir.c | 420 tchar *ep; in dfind() local 427 for (ep = cp; digit(*ep); ep++) in dfind() 429 if (*ep) in dfind()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | glob.c | 719 register char *ep = malloc((unsigned)(strlen(cp) + strlen(dp) + 1)); in strspl() local 721 if (ep == (char *)0) in strspl() 723 (void) strcpy(ep, cp); in strspl() 724 (void) strcat(ep, dp); in strspl() 725 return (ep); in strspl()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | read.c | 229 Edit_t *ep = (struct edit*)shp->gd->ed_context; in sh_readline() local 279 keytrap = ep?ep->e_keytrap:0; in sh_readline() 287 ep->e_nttyparm.c_cc[VEOL] = delim; in sh_readline() 288 ep->e_nttyparm.c_lflag |= ISIG; in sh_readline() 289 tty_set(fd,TCSADRAIN,&ep->e_nttyparm); in sh_readline() 375 while(c-->0 && (buf[m]=ed_getchar(ep,0))) in sh_readline()
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | at.c | 575 char **ep; in copy() local 651 for (ep = environ; *ep; ep++) { in copy() 652 if ((val = strchr(*ep, '=')) == NULL) in copy() 655 (void) printf("export %s; %s=", *ep, *ep); in copy()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_xprt.c | 1053 fmd_event_t *ep; in fmd_xprt_send() local 1057 if (FMD_EVENT_TTL(ep) == 0) { in fmd_xprt_send() 1058 fmd_event_rele(ep); in fmd_xprt_send() 1063 xip->xi_id, (char *)FMD_EVENT_DATA(ep)); in fmd_xprt_send() 1081 fmd_event_rele(ep); in fmd_xprt_send() 1594 ep->ev_flags |= FMD_EVF_VOLATILE; in fmd_xprt_recv() 1595 ep->ev_off = 0; in fmd_xprt_recv() 1596 ep->ev_len = 0; in fmd_xprt_recv() 1598 if (ep->ev_log != NULL) { in fmd_xprt_recv() 1599 fmd_log_rele(ep->ev_log); in fmd_xprt_recv() [all …]
|
H A D | fmd_timerq.c | 47 fmd_timer_f *func, void *arg, fmd_event_t *ep, hrtime_t delta) in fmd_timerq_install() argument 50 hrtime_t base = ep ? fmd_event_hrtime(ep) : now; in fmd_timerq_install()
|
H A D | fmd_case.c | 1583 fmd_event_hold(ep); in fmd_case_insert_principal() 1592 cip->ci_principal = ep; in fmd_case_insert_principal() 1595 if (cit->cit_event == ep) in fmd_case_insert_principal() 1600 new = cit == NULL && ep != oep; in fmd_case_insert_principal() 1605 fmd_event_transition(ep, state); in fmd_case_insert_principal() 1630 if (cit->cit_event == ep) in fmd_case_insert_event() 1642 fmd_event_transition(ep, state); in fmd_case_insert_event() 1647 fmd_event_hold(ep); in fmd_case_insert_event() 1654 cit->cit_event = ep; in fmd_case_insert_event() 1663 fmd_event_transition(ep, state); in fmd_case_insert_event() [all …]
|
H A D | fmd_api.c | 1014 fmd_stat_t *ep, *sp; in fmd_stat_create() local 1022 flags | FMD_USTAT_VALIDATE, argc, argv, &ep)) == NULL) { in fmd_stat_create() 1024 "failed to publish stat '%s'", ep->fmds_name); in fmd_stat_create() 1267 if (fmd_case_insert_event(cp, ep)) in fmd_case_add_ereport() 1432 if (fmd_case_insert_principal(cp, ep)) in fmd_case_setprincipal() 1443 fmd_event_t *ep; in fmd_case_getprincipal() local 1446 ep = cip->ci_principal; in fmd_case_getprincipal() 1450 return (ep); in fmd_case_getprincipal() 1691 err = fmd_serd_eng_record(sgp, ep); in fmd_serd_record() 2407 fmd_event_local(fmd_hdl_t *hdl, fmd_event_t *ep) in fmd_event_local() argument [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_as/ |
H A D | usb_as.c | 698 int alt, ep; in usb_as_set_sample_freq() local 716 ep = uasp->usb_as_alts[alt].alt_ep->bEndpointAddress; in usb_as_set_sample_freq() 732 ep, /* wIndex */ in usb_as_set_sample_freq() 869 uasp->usb_as_record_pkt_size = ep->wMaxPacketSize; in usb_as_setup() 893 rval = usb_pipe_open(uasp->usb_as_dip, ep, &uasp->usb_as_isoc_pp, in usb_as_setup() 1942 usb_ep_descr_t *ep; in usb_as_handle_descriptors() local 2122 ep = &ep_data->ep_descr; in usb_as_handle_descriptors() 2126 *(uasp->usb_as_alts[alternate].alt_ep) = *ep; in usb_as_handle_descriptors() 2134 ep->bLength, ep->bDescriptorType, ep->bEndpointAddress, in usb_as_handle_descriptors() 2135 ep->bmAttributes, ep->wMaxPacketSize, ep->bInterval); in usb_as_handle_descriptors() [all …]
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_connect.c | 852 ndmp_pval *ep; in ndmp_connect_get_data_common() local 866 ep = session->ns_data.dd_env; in ndmp_connect_get_data_common() 867 for (i = 0; ep && i < session->ns_data.dd_env_len; i++, ep++) in ndmp_connect_get_data_common() 873 ep = session->ns_data.dd_env; in ndmp_connect_get_data_common() 874 for (i = 0; i < len; i++, ep++) { in ndmp_connect_get_data_common() 875 ndmp_door_put_string(enc_ctx, ep->name); in ndmp_connect_get_data_common() 876 ndmp_door_put_string(enc_ctx, ep->value); in ndmp_connect_get_data_common()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_pf.c | 845 struct ether_addr e, *ep = NULL; in pf_etheraddr_match() local 848 ep = ether_aton(hostname); in pf_etheraddr_match() 849 if (ep == NULL) { in pf_etheraddr_match() 854 ep = &e; in pf_etheraddr_match() 862 (uchar_t *)ep); in pf_etheraddr_match() 866 (uchar_t *)ep); in pf_etheraddr_match() 870 (uchar_t *)ep); in pf_etheraddr_match() 872 (uchar_t *)ep); in pf_etheraddr_match()
|
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/common/ |
H A D | sw_main_cmn.c | 71 sw_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) in sw_recv() argument 99 (*dispf)(hdl, ep, nvl, class, dp->swd_arg); in sw_recv() 116 sw_timer_install(fmd_hdl_t *hdl, id_t who, void *arg, fmd_event_t *ep, in sw_timer_install() argument 154 fmd_timer_install(hdl, arg, ep, hrt); in sw_timer_install()
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | opts.c | 452 char *ep = pip->exclude; in printer() local 453 while (ep && *ep) in printer() 454 if (*ep++ == *lhs) in printer()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | linearize.h | 163 struct entrypoint *ep; member 322 int unssa(struct entrypoint *ep); 323 void show_entry(struct entrypoint *ep);
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | run.c | 437 wchar_t *buf, *ep, *str; in format() local 452 ep = p + RECSIZE; in format() 545 if (p + wslen(str) + wslen(s) + 1 >= ep) { in format() 555 ep = buf + newlen; in format() 565 if (p >= ep) in format() 1094 wchar_t *ss, *bp, *ep, *os; in print() local 1099 ep = s + RECSIZE; in print() 1121 if (ep < (bp + newlen + 1)) { in print() 1129 ep = bp + newlen + 1; in print()
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itm_util.c | 438 itm_data_t *ep; in escseq_table() local 449 ep = (itm_data_t *)(ol->obj); in escseq_table() 450 if (ep->size < len_min) len_min = ep->size; in escseq_table() 451 if (ep->size > len_max) len_max = ep->size; in escseq_table() 481 ol = ol->next, ep++) { in escseq_table() 482 *ep = *((itm_data_t *)(ol->obj)); in escseq_table() 485 (void *)(ep->place.itm_ptr), ep->size, in escseq_table() 486 &(ep->place), OBJ_REG_TAIL); in escseq_table() 494 i++, ep++) { in escseq_table() 495 if (0 <= data_compare(ep, (ep + 1))) { in escseq_table() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modhash.c | 674 struct mod_hash_entry *e, *ep; in i_mod_hash_remove_nosync() local 677 ep = NULL; /* e's parent */ in i_mod_hash_remove_nosync() 682 ep = e; in i_mod_hash_remove_nosync() 689 if (ep == NULL) /* special case 1st element in bucket */ in i_mod_hash_remove_nosync() 692 ep->mhe_next = e->mhe_next; in i_mod_hash_remove_nosync()
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_getentctx.c | 656 nscd_db_entry_t *ep; in reclaim_getent_ctx() local 672 for (ep = _nscd_walk_db(getent_ctxDB, &cookie); ep != NULL; in reclaim_getent_ctx() 673 ep = _nscd_walk_db(getent_ctxDB, &cookie)) { in reclaim_getent_ctx() 675 ctx = (nscd_getent_ctx_t *)*(ep->data_array); in reclaim_getent_ctx()
|
/illumos-gate/usr/src/tools/smatch/src/gvpr/ |
H A D | subg-rev | 27 // find the ep corresponding to ARG[0] 31 n = node($,g.ep);
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_vfsops.c | 1713 nfs4_error_zinit(ep); in nfs4getfh_otw() 1726 if (ep->error) { in nfs4getfh_otw() 1803 if (!ep->error) in nfs4getfh_otw() 1813 if (!ep->error) { in nfs4getfh_otw() 1829 if (ep->error) { in nfs4getfh_otw() 1906 if (ep->error) in nfs4getfh_otw() 1989 if (ep->error) in nfs4getfh_otw() 2220 if (ep->error == 0 && ep->stat == NFS4_OK) in nfs4_remap_root() 2233 if (ep->error != 0 || ep->stat != 0) { in nfs4_remap_root() 3464 if (ep->error) in nfs4setclientid_otw() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | name.c | 2901 char *ep; in nv_getval() local 2904 *ep = 0; in nv_getval() 3227 register char *ep=0; in lastdot() local 3245 if((ep=sh_checkid(ep+1,cp)) < cp) in lastdot() 3248 ep = 0; in lastdot() 3253 return(eq?0:ep); in lastdot() 3465 if(ep) in nv_setref() 3474 ep[n=strlen(ep)-1] = 0; in nv_setref() 3476 ep[n] = ']'; in nv_setref() 3478 ep = 0; in nv_setref() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ramdisk.c | 797 rd_existing_t *ep = NULL; in rd_attach() local 850 (uchar_t **)&ep, &nep) == DDI_SUCCESS) { in rd_attach() 852 if (nep == 0 || (nep % sizeof (*ep)) != 0) { in rd_attach() 858 nep /= sizeof (*ep); in rd_attach() 864 size += ep[i].size; in rd_attach() 886 rsp->rd_existing = ep; in rd_attach() 911 if (ep != NULL) { in rd_attach() 912 ddi_prop_free(ep); in rd_attach()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 874 size_t bsize = ep->cte_bits / NBBY; in is_bitfield() 887 uint64_t mask = (1ULL << ep->cte_bits) - 1; in print_bitfield() 899 uint_t nbits = ep->cte_bits + (off % NBBY); in print_bitfield() 922 off += ep->cte_bits; in print_bitfield() 955 !(ep->cte_format & CTF_INT_SIGNED)) { in print_bitfield() 1021 if (ep->cte_format & CTF_INT_VARARGS) { in print_int_val() 1026 size = ep->cte_bits / NBBY; in print_int_val() 1027 if (is_bitfield(ep, off)) { in print_int_val() 1028 return (print_bitfield(off, pap, ep)); in print_int_val() 1031 if (IS_CHAR(*ep)) in print_int_val() [all …]
|