/illumos-gate/usr/src/uts/i86pc/io/acpi_drv/ |
H A D | acpi_drv.c | 863 ACPI_OBJECT *ep; in acpi_drv_obj_copy() local 866 ep = &op->Package.Elements[0]; in acpi_drv_obj_copy() 870 ep->Type == dp->type) { in acpi_drv_obj_copy() 875 (uint32_t)ep->Integer.Value); in acpi_drv_obj_copy() 889 ep->Type == dp->type) { in acpi_drv_obj_copy() 891 dp->name, ep->String.Pointer); in acpi_drv_obj_copy() 894 ep->Type == ACPI_TYPE_BUFFER) { in acpi_drv_obj_copy() 900 MAXNAMELEN : ep->Buffer.Length; in acpi_drv_obj_copy() 908 bcopy(ep->Buffer.Pointer, fp, ep->Buffer.Length); in acpi_drv_obj_copy() 912 dp->offset, ep->Type); in acpi_drv_obj_copy() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | compress.c | 221 uchar_t *cp, *ep; in checksum32() local 224 for (cp = cp_arg, ep = cp + length; cp < ep; cp++) in checksum32()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 387 char *cp, *ep, *tp; in aname_replacer() local 432 if (((ep = strchr(&cp[2], sep)) != NULL) && in aname_replacer() 433 ((tp = strchr(&ep[1], sep)) != NULL)) { in aname_replacer() 436 rule_size = (size_t) (ep - &cp[2]); in aname_replacer() 437 repl_size = (size_t) (tp - &ep[1]); in aname_replacer() 444 strncpy(repl, &ep[1], repl_size); in aname_replacer() 453 ep = in; in aname_replacer() 455 out = ep; in aname_replacer()
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usbai_register.c | 1526 uint_t ep; in usba_free_ep_array() local 1528 for (ep = 0; ep < n_eps; ep++) { in usba_free_ep_array() 1529 usba_free_cv_array(ep_array[ep].ep_cvs, ep_array[ep].ep_n_cvs); in usba_free_ep_array() 1860 usb_ep_descr_t *ep_descr = &ep->ep_descr; in usba_dump_ep() 1864 ep_descr->bEndpointAddress, (void *)ep); in usba_dump_ep() 1870 if (ep->ep_n_cvs > 0) { in usba_dump_ep() 1872 "\t usb_ep_data_t shows %d cv descr(s)", ep->ep_n_cvs); in usba_dump_ep() 1875 for (which_cv = 0; which_cv < ep->ep_n_cvs; which_cv++) { in usba_dump_ep() 1882 which_cv, (void *)&ep->ep_cvs[which_cv], in usba_dump_ep() 1883 ep->ep_cvs[which_cv].cvs_buf_len); in usba_dump_ep() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | storage.c | 248 static void set_up_argument_storage(struct entrypoint *ep, struct basic_block *bb) in set_up_argument_storage() argument 293 void set_up_storage(struct entrypoint *ep) in set_up_storage() argument 298 set_up_argument_storage(ep, ep->entry->bb); in set_up_storage() 301 FOR_EACH_PTR(ep->bbs, bb) { in set_up_storage()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_common.c | 2412 ns_ldap_error_t *ep; in __s_api_make_error() local 2414 ep = (ns_ldap_error_t *)calloc(1, sizeof (*ep)); in __s_api_make_error() 2415 if (ep == NULL) in __s_api_make_error() 2418 ep->status = rc; in __s_api_make_error() 2422 return (ep); in __s_api_make_error() 2436 ep = (ns_ldap_error_t *)malloc(sizeof (*ep)); in __s_api_copy_error() 2437 if (ep != NULL) { in __s_api_copy_error() 2438 *ep = *errorp; in __s_api_copy_error() 2442 free(ep); in __s_api_copy_error() 2443 ep = NULL; in __s_api_copy_error() [all …]
|
/illumos-gate/usr/src/cmd/ndmpadm/ |
H A D | ndmpadm_print.c | 100 ndmp_dt_pval_t *ep; in ndmp_print_env() local 103 ep = si->nsi_data.nd_env; in ndmp_print_env() 104 for (i = 0; ep && i < n; i++, ep++) { in ndmp_print_env() 106 i, ep->np_name); in ndmp_print_env() 107 if ((ep->np_value != NULL) && (*ep->np_value != '\0')) in ndmp_print_env() 108 (void) fprintf(stdout, "\"%s\"\n", ep->np_value); in ndmp_print_env()
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_node.c | 90 struct pcdir *ep) /* node dir entry */ in pc_getnode() argument 98 if (ep == (struct pcdir *)0) { in pc_getnode() 99 ep = &pcfs_rootdirentry; in pc_getnode() 102 scluster = pc_getstartcluster(fsp, ep); in pc_getnode() 111 if (ep->pcd_attr & PCA_DIR) { in pc_getnode() 147 pcp->pc_entry = *ep; in pc_getnode() 154 if (ep->pcd_attr & PCA_DIR) { in pc_getnode() 190 pcp->pc_size = ltohi(ep->pcd_size); in pc_getnode()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | lex.c | 2198 *--sp = *--ep; in stack_shift() 2275 if(ep) in sh_endword() 2279 dp = ep+ strlen(ep); in sh_endword() 2281 ep = 0; in sh_endword() 2293 if(ep) in sh_endword() 2298 sfprintf(sfstdout,"%.*s\n",dp-ep,ep); in sh_endword() 2299 ep = 0; in sh_endword() 2313 dp = ep+n; in sh_endword() 2318 ep = dp-n; in sh_endword() 2323 ep = 0; in sh_endword() [all …]
|
H A D | nvtree.c | 582 char *fmtq,*ep,*xp; in nv_outnode() local 644 ep = nv_getval(mp?mp:np); in nv_outnode() 646 ep = 0; in nv_outnode() 650 xp = ep+nv_size(np); in nv_outnode() 651 while(--xp>ep && *xp==' '); in nv_outnode() 652 if(xp>ep || *xp!=' ') in nv_outnode() 654 if(xp < (ep+nv_size(np))) in nv_outnode() 660 fmtq = ep; in nv_outnode() 666 if(!qp || qp>ep) in nv_outnode() 668 sfwrite(out,fmtq,ep-fmtq); in nv_outnode() [all …]
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_rmr_bind.c | 59 IN DAPL_EP *ep, 68 IN DAPL_EP *ep, 174 rmr->ep = ep_ptr; in dapli_rmr_bind_fuse() 254 rmr->ep = ep_ptr; in dapli_rmr_bind_unfuse()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index_entry.cc | 36 db_index_entry::db_index_entry(char* name, int nlen, entryp ep) in db_index_entry() argument 41 location = ep; in db_index_entry() 51 entryp ep, db_index_entry_p rest) in db_index_entry() argument 57 location = ep; in db_index_entry()
|
H A D | db_index_entry_c.x | 149 % void replace( entryp ep ) {location = ep;}
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | bootp.c | 79 static void setenv_(uchar_t *cp, uchar_t *ep, struct dhcp_opt *opts); 354 uchar_t *ep; in vend_rfc1048() local 363 ep = cp + len; in vend_rfc1048() 368 setenv_(cp, ep, NULL); in vend_rfc1048() 370 while (cp < ep) { in vend_rfc1048() 633 setenv_(uchar_t *cp, uchar_t *ep, struct dhcp_opt *opts) in setenv_() argument 645 while (ncp < ep) { in setenv_()
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | trapstat.c | 690 tstat_tsbmiss_patch_entry_t *ep; in trapstat_hotpatch() local 710 for (ep = tstat_tsbmiss_patch_table; ep->tpe_addr; ep++) { in trapstat_hotpatch() 711 ASSERT(ep->tpe_instr == 0); in trapstat_hotpatch() 712 instr = ep->tpe_instr = *ep->tpe_addr; in trapstat_hotpatch() 721 hot_patch_kernel_text((caddr_t)ep->tpe_addr, in trapstat_hotpatch() 731 for (ep = tstat_tsbmiss_patch_table; ep->tpe_addr; ep++) { in trapstat_hotpatch() 732 ASSERT(ep->tpe_instr == TSTAT_TSBMISS_INSTR); in trapstat_hotpatch() 733 hot_patch_kernel_text((caddr_t)ep->tpe_addr, in trapstat_hotpatch() 734 ep->tpe_instr, sizeof (instr)); in trapstat_hotpatch() 735 ep->tpe_instr = 0; in trapstat_hotpatch()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_self.c | 82 self_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) in self_recv() argument 106 fmd_case_add_ereport(hdl, cp, ep); in self_recv() 165 fmd_case_add_ereport(hdl, cp, ep); in self_recv()
|
/illumos-gate/usr/src/uts/i86pc/io/psm/ |
H A D | psm_common.c | 835 irq_cache_t *new_arr, *ep; in acpi_new_irq_cache_ent() local 854 ep = &irq_cache_table[irq_cache_valid++]; in acpi_new_irq_cache_ent() 855 ep->bus = (uchar_t)bus; in acpi_new_irq_cache_ent() 856 ep->dev = (uchar_t)dev; in acpi_new_irq_cache_ent() 857 ep->ipin = (uchar_t)ipin; in acpi_new_irq_cache_ent() 858 ep->flags = *intr_flagp; in acpi_new_irq_cache_ent() 859 ep->irq = (uchar_t)pci_irq; in acpi_new_irq_cache_ent() 861 ep->lnkobj = acpipsmlnkp->lnkobj; in acpi_new_irq_cache_ent()
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_list.c | 332 void *ep = NODE_TO_ELEM(lp, np); in uu_list_find() local 333 int cmp = func(ep, elem, private); in uu_list_find() 337 return (ep); in uu_list_find() 585 void *ep; in uu_list_teardown() local 594 ep = uu_list_first(lp); in uu_list_teardown() 595 if (ep) in uu_list_teardown() 596 uu_list_remove(lp, ep); in uu_list_teardown() 597 return (ep); in uu_list_teardown()
|
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | apptraceutil.c | 97 print_bitfield(ulong_t off, ctf_encoding_t *ep) in print_bitfield() argument 99 uint64_t mask = (1ULL << ep->cte_bits) - 1; in print_bitfield() 102 size_t size = (ep->cte_bits + (NBBY - 1)) / NBBY; in print_bitfield() 114 off += ep->cte_bits; in print_bitfield()
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr.c | 377 xdr_enum(XDR *xdrs, enum_t *ep) in xdr_enum() argument 384 return (xdr_int(xdrs, (int32_t *)ep)); in xdr_enum() 386 return (xdr_short(xdrs, (short *)ep)); in xdr_enum() 391 (void) (xdr_short(xdrs, (short *)ep)); in xdr_enum() 392 return (xdr_int(xdrs, (int32_t *)ep)); in xdr_enum()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | ds_impl.h | 389 #define DS_LOG_ENTRY_SZ(ep) (sizeof (ds_log_entry_t) + (ep)->datasz) argument 410 #define DS_IS_POOL_ENTRY(ep) (((ep) >= ds_log_entry_pool) && \ argument 411 ((ep) < &(ds_log_entry_pool[DS_LOG_NPOOL])))
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_ho.c | 159 char *ep); 689 char *bp, *ep, **ap, **hap; in gethostans() local 729 ep = pvt->hostbuf + sizeof(pvt->hostbuf); in gethostans() 735 n = dn_expand(ansbuf, eom, cp, bp, ep - bp); in gethostans() 770 n = dn_expand(ansbuf, eom, cp, bp, ep - bp); in gethostans() 814 if (n > (ep - bp) || n > MAXHOSTNAMELEN) { in gethostans() 846 if (n > (ep - bp)) { in gethostans() 875 n = dn_expand(ansbuf, eor, cp, bp, ep - bp); in gethostans() 985 if (n > (ep - bp) || n >= MAXHOSTNAMELEN) in gethostans() 992 map_v4v6_hostent(&pvt->host, &bp, ep); in gethostans() [all …]
|
/illumos-gate/usr/src/ucbcmd/sed/ |
H A D | sed1.c | 654 char *comple(x1, ep, x3, x4) in comple() argument 657 char *ep; 661 p = compile(x1, ep + 1, x3, x4); 662 if(p == ep + 1) 663 return(ep); 664 *ep = circf;
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 1146 adutils_entry_t *ep; in make_entry() local 1169 if ((ep = calloc(1, sizeof (*ep))) == NULL) in make_entry() 1173 ep->num_nvpairs = 1; in make_entry() 1179 ep->num_nvpairs++; in make_entry() 1186 ep->attr_nvpairs = calloc(ep->num_nvpairs, sizeof (*ep->attr_nvpairs)); in make_entry() 1187 if (ep->attr_nvpairs == NULL) { in make_entry() 1188 ep->num_nvpairs = 0; in make_entry() 1193 ap = &ep->attr_nvpairs[0]; in make_entry() 1209 ap = &ep->attr_nvpairs[i]; in make_entry() 1259 free_entry(ep); in make_entry() [all …]
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/xhci/ |
H A D | xhci.c | 659 uintptr_t ep, slot; in xhci_mdb_find() local 667 if (mdb_getopts(argc, argv, 'e', MDB_OPT_UINTPTR_SET, &ep_set, &ep, in xhci_mdb_find() 678 xmf.xmf_ep = (int)ep; in xhci_mdb_find() 692 "and endpoint %d\n", slot, ep); in xhci_mdb_find() 706 xhci_mdb_endpoint_count(uintptr_t addr, const void *ep, void *arg) in xhci_mdb_endpoint_count() argument 716 xhci_mdb_print_endpoint_summary(uintptr_t addr, const void *ep, void *arg) in xhci_mdb_print_endpoint_summary() argument 719 const xhci_endpoint_t *xep = ep; in xhci_mdb_print_endpoint_summary()
|