/illumos-gate/usr/src/uts/common/syscall/ |
H A D | processor_info.c | 47 processor_info(processorid_t cpun, processor_info_t *infop) argument 66 if (copyout((caddr_t)&temp, (caddr_t)infop,
|
H A D | sigtimedwait.c | 105 k_siginfo_t info, *infop; local 185 infop = &lwp->lwp_curinfo->sq_info; 187 infop = &info; 188 bzero(infop, sizeof (info)); 189 infop->si_signo = lwp->lwp_cursig; 190 infop->si_code = SI_NOINFO; 195 DTRACE_PROC2(signal__clear, int, ret, ksiginfo_t *, infop); 201 ret = copyout_siginfo(datamodel, infop, siginfop);
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_pci.c | 38 static ACPI_STATUS acpidev_pci_probe(acpidev_walk_info_t *infop); 68 acpidev_pci_update_status(acpidev_walk_info_t *infop) argument 74 dhdl = infop->awi_data; 78 status = acpidev_query_device_status(infop->awi_hdl); 84 dhdl->aod_level = infop->awi_level; 85 dhdl->aod_hdl = infop->awi_hdl; 88 if (acpidev_match_device_id(infop->awi_info, 95 if (ACPI_FAILURE(acpica_get_devinfo(infop->awi_hdl, &dip))) { 120 acpidev_pci_probe(acpidev_walk_info_t *infop) argument 124 ASSERT(infop ! [all...] |
H A D | acpidev_device.c | 35 static ACPI_STATUS acpidev_device_probe(acpidev_walk_info_t *infop); 36 static acpidev_filter_result_t acpidev_device_filter(acpidev_walk_info_t *infop, 38 static ACPI_STATUS acpidev_device_init(acpidev_walk_info_t *infop); 104 acpidev_device_probe(acpidev_walk_info_t *infop) argument 109 ASSERT(infop != NULL); 110 ASSERT(infop->awi_hdl != NULL); 111 ASSERT(infop->awi_info != NULL); 113 if (infop->awi_info->Type != ACPI_TYPE_DEVICE) { 118 switch (infop->awi_op_type) { 135 "acpi_device_probe().", infop 155 acpidev_device_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument 176 acpidev_device_init(acpidev_walk_info_t *infop) argument [all...] |
H A D | acpidev_memory.c | 37 static ACPI_STATUS acpidev_memory_probe(acpidev_walk_info_t *infop); 39 acpidev_walk_info_t *infop, char *devname, int maxlen); 40 static ACPI_STATUS acpidev_memory_init(acpidev_walk_info_t *infop); 99 acpidev_memory_probe(acpidev_walk_info_t *infop) argument 104 ASSERT(infop != NULL); 105 ASSERT(infop->awi_hdl != NULL); 106 ASSERT(infop->awi_info != NULL); 107 if (infop->awi_info->Type != ACPI_TYPE_DEVICE || 108 acpidev_match_device_id(infop->awi_info, 114 switch (infop 155 acpidev_memory_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument 174 acpidev_memory_init(acpidev_walk_info_t *infop) argument [all...] |
H A D | acpidev_scope.c | 35 static ACPI_STATUS acpidev_scope_probe(acpidev_walk_info_t *infop); 36 static acpidev_filter_result_t acpidev_scope_filter(acpidev_walk_info_t *infop, 38 static ACPI_STATUS acpidev_scope_init(acpidev_walk_info_t *infop); 103 acpidev_scope_probe(acpidev_walk_info_t *infop) argument 108 ASSERT(infop != NULL); 109 ASSERT(infop->awi_hdl != NULL); 110 ASSERT(infop->awi_info != NULL); 111 if (infop->awi_info->Type != ACPI_TYPE_LOCAL_SCOPE) { 116 switch (infop->awi_op_type) { 131 "in acpidev_scope_probe().", infop 151 acpidev_scope_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument 172 acpidev_scope_init(acpidev_walk_info_t *infop) argument [all...] |
H A D | acpidev_container.c | 66 static ACPI_STATUS acpidev_container_probe(acpidev_walk_info_t *infop); 68 acpidev_walk_info_t *infop, char *devname, int maxlen); 69 static ACPI_STATUS acpidev_container_init(acpidev_walk_info_t *infop); 71 acpidev_walk_info_t *infop, ACPI_HANDLE hdl, acpidev_filter_rule_t *rulep, 127 acpidev_container_probe(acpidev_walk_info_t *infop) argument 132 ASSERT(infop != NULL); 133 ASSERT(infop->awi_hdl != NULL); 134 ASSERT(infop->awi_info != NULL); 136 if (infop->awi_info->Type != ACPI_TYPE_DEVICE || 137 acpidev_match_device_id(infop 197 acpidev_container_filter_func(acpidev_walk_info_t *infop, ACPI_HANDLE hdl, acpidev_filter_rule_t *rulep, char *devname, int devnamelen) argument 263 acpidev_container_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument 282 acpidev_container_init(acpidev_walk_info_t *infop) argument [all...] |
H A D | acpidev_drv.c | 570 acpidev_walk_info_t *infop; local 576 infop = acpidev_alloc_walk_info(op_type, 0, ACPI_ROOT_OBJECT, 578 if (infop == NULL) { 584 rc = acpidev_probe_child(infop); 589 acpidev_free_walk_info(infop); 653 acpidev_probe_child(acpidev_walk_info_t *infop) argument 665 ASSERT(infop != NULL); 666 if (infop == NULL) { 668 "!acpidev: infop is NULL in acpidev_probe_child()."); 671 ASSERT(infop 792 acpidev_process_object(acpidev_walk_info_t *infop, int flags) argument 1054 acpidev_filter_default(acpidev_walk_info_t *infop, ACPI_HANDLE hdl, acpidev_filter_rule_t *afrp, char *devname, int len) argument 1078 acpidev_filter_device(acpidev_walk_info_t *infop, ACPI_HANDLE hdl, acpidev_filter_rule_t *afrp, int entries, char *devname, int len) argument [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_waitid.c | 46 idtype_t idtype, id_t id, siginfo_t *infop, int options) 57 return (waitid(idtype, id, infop, options)); 73 adp++; /* infop argument */ 82 adp->arg_object = infop; 83 adp->arg_size = sizeof (*infop); 86 adp->arg_object = infop; 87 adp->arg_size = sizeof (*infop); 105 siginfo_32_to_n(&siginfo32, infop); 45 pr_waitid(struct ps_prochandle *Pr, idtype_t idtype, id_t id, siginfo_t *infop, int options) argument
|
/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | error.c | 25 register ss_data *infop; local 27 infop = ss_info(sci_idx); 28 if (infop->current_request == (char const *)NULL) { 30 (strlen(infop->subsystem_name)+1) 34 strcpy(ret_val, infop->subsystem_name); 41 (strlen(infop->subsystem_name)+ 42 strlen(infop->current_request)+ 45 cp1 = infop->subsystem_name; 50 cp1 = infop->current_request;
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | cancel.c | 275 __cleanup_t *infop = (__cleanup_t *)clnup_info; local 277 infop->func = routine; 278 infop->arg = args; 279 infop->fp = fp; 280 infop->next = self->ul_clnup_hdr; 281 self->ul_clnup_hdr = infop; 294 __cleanup_t *infop = self->ul_clnup_hdr; local 296 self->ul_clnup_hdr = infop->next; 298 (*infop->func)(infop [all...] |
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_kstats.c | 143 chip_info_t *infop; local 149 infop = &ngep->chipinfo; 152 (knp++)->value.ui64 = infop->businfo; 153 (knp++)->value.ui64 = infop->command; 154 (knp++)->value.ui64 = infop->vendor; 155 (knp++)->value.ui64 = infop->device; 156 (knp++)->value.ui64 = infop->subven; 157 (knp++)->value.ui64 = infop->subdev; 158 (knp++)->value.ui64 = infop->revision; 159 (knp++)->value.ui64 = infop [all...] |
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_pwr.c | 114 pci_pwr_chld_t *infop = NULL; local 124 infop = *prev_infop; 129 if (infop == NULL) { 135 *prev_infop = infop->next; 140 if (infop->comp_pwr != NULL) { 141 for (i = 0; i < infop->num_comps; i++) { 142 pci_pwr_update_comp(pwr_p, infop, i, PM_LEVEL_NOLEVEL); 145 kmem_free(infop->comp_pwr, sizeof (int) * infop->num_comps); 148 if (infop [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_program.c | 401 dt_header_info_t *infop = data; local 402 dtrace_hdl_t *dtp = infop->dthi_dtp; 417 if (fprintf(infop->dthi_out, "extern void __dtrace_%s___%s(", 418 infop->dthi_pfname, fname) < 0) 422 if (fprintf(infop->dthi_out, "%s", 428 fprintf(infop->dthi_out, ", ") < 0) 432 if (i == 0 && fprintf(infop->dthi_out, "void") < 0) 435 if (fprintf(infop->dthi_out, ");\n") < 0) 438 if (fprintf(infop->dthi_out, 444 infop 454 dt_header_info_t *infop = data; local [all...] |
/illumos-gate/usr/src/cmd/vntsd/ |
H A D | vntsd.c | 280 struct addrinfo *res, *infop; local 303 infop = res; 304 while (infop != NULL) { 306 sa = (struct sockaddr_in *)infop->ai_addr; 312 infop = infop->ai_next;
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | pool_rcm.c | 435 char **infop, char **errorp, nvlist_t *props, rcm_info_t **dependent_info) 438 if ((*infop = strdup(gettext("POOL: In use by pool(4) subsystem"))) 442 *infop = NULL; 434 pool_get_info(rcm_handle_t *hdl, char *rsrcname, id_t pid, uint_t flag, char **infop, char **errorp, nvlist_t *props, rcm_info_t **dependent_info) argument
|
H A D | rcm_impl.c | 392 rcm_info_t **infop) 454 if (infop) 455 *infop = info; 391 add_resource_client(char *modname, char *rsrcname, pid_t pid, uint_t flag, rcm_info_t **infop) argument
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | ptree.c | 670 struct printer_info *infop = (struct printer_info *)arg; local 672 if (infop->t != T_NOTHING && rhs->t != infop->t) 674 if (!name_pattern_match(lhs, infop->pat)) 676 ptree(infop->flags, rhs, 0, 0);
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpinex/ |
H A D | acpinex_event.c | 489 ACPI_DEVICE_INFO *infop, acpidev_data_handle_t dhdl) 496 ASSERT(infop != NULL); 533 acpinex_event_uninstall_handler(ACPI_HANDLE hdl, ACPI_DEVICE_INFO *infop, argument 538 ASSERT(infop != NULL); 571 ACPI_DEVICE_INFO *infop; local 594 if (ACPI_FAILURE(AcpiGetObjectInfo(child, &infop))) { 602 rc = acpinex_event_install_handler(child, sp, infop, 642 infop, dhdl); 649 AcpiOsFree(infop); 656 AcpiOsFree(infop); 488 acpinex_event_install_handler(ACPI_HANDLE hdl, void *arg, ACPI_DEVICE_INFO *infop, acpidev_data_handle_t dhdl) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mp_implfuncs.c | 60 static struct modlinkage *psm_modlinkage_alloc(struct psm_info *infop); 80 psm_modlinkage_alloc(struct psm_info *infop) argument 92 infop->p_mach_idstring); 103 mlpsmp->psm_linkinfo = infop->p_mach_desc; 106 swp->psw_infop = infop; 122 psm_mod_init(void **handlepp, struct psm_info *infop) argument 129 mlinkp = psm_modlinkage_alloc(infop); 147 psm_mod_fini(void **handlepp, struct psm_info *infop) argument 161 psm_mod_info(void **handlepp, struct psm_info *infop, struct modinfo *modinfop) argument 168 mlinkp = psm_modlinkage_alloc(infop); [all...] |
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | filehdr.c | 69 * If 'infop' is not NULL, it is the address of a buffer containing 'info' 81 audio_write_filehdr(int fd, Audio_hdr *hdrp, int file_type, char *infop, argument 94 blen = HEADER_BUFFER + (infop ? ilen : 0) + 4; 103 err = audio_encode_au(hdrp, infop, ilen, buf, &blen); 303 * If 'infop' is not NULL, it is the address of a buffer to which the 318 audio_read_filehdr(int fd, Audio_hdr *hdrp, int *file_type, char *infop, argument 369 if ((infop != NULL) && (ilen != 0)) { 371 * If infop is non-NULL, try to read in the info data 375 err = read(fd, infop, (int)isize); 381 (void) memset(&infop[isiz 971 audio_encode_au(Audio_hdr *hdrp, char *infop, unsigned int ilen, unsigned char *buf, unsigned int *blen) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_door.c | 95 ipmgmt_door_info_t *infop = NULL; local 104 infop = &i_ipmgmt_door_info_tbl[i]; 109 if (infop == NULL) { 116 if (infop->idi_set) { 148 infop->idi_handler((void *)argp);
|
/illumos-gate/usr/src/cmd/sulogin/ |
H A D | sulogin.c | 137 char *infop, *ptr, *p; local 165 if ((infop = calloc(bufsize, sizeof (char))) == NULL) 168 if (ioctl(fd, CIOCGETCONSOLE, infop) < 0) 172 DEFAULT_CONSOLE, infop);
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_opt_data.c | 154 struct sctp_paddrinfo *infop = ptr; local 160 switch (infop->spinfo_address.ss_family) { 162 sin4 = (struct sockaddr_in *)&infop->spinfo_address; 166 sin6 = (struct sockaddr_in6 *)&infop->spinfo_address; 176 infop->spinfo_state = (fp->sf_state == SCTP_FADDRS_ALIVE) ? 178 infop->spinfo_cwnd = fp->sf_cwnd; 179 infop->spinfo_srtt = TICK_TO_MSEC(fp->sf_srtt); 180 infop->spinfo_rto = TICK_TO_MSEC(fp->sf_rto); 181 infop->spinfo_mtu = fp->sf_pmss;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | sysmsg.c | 515 char *infop; local 573 infop = kmem_alloc(size, KM_SLEEP); 575 error = copystr((caddr_t)arg, infop, size, NULL); 577 error = copyinstr((caddr_t)arg, infop, size, NULL); 594 if (infop[0] != NULL) { 595 if ((rval = lookupname(infop, UIO_SYSSPACE, FOLLOW, 616 if (infop[0] != NULL) 617 (void) strcat(infop, " "); 618 (void) strcat(infop, sysmcache[i].dca_name); 622 if (rval == 0 && copyoutstr(infop, (voi [all...] |