/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_net_utils.c | 56 static SLPError get_all_interfaces(slp_handle_ifinfo_t *info); 62 * hp IN / OUT holds cached-per-handle if info 224 static SLPError get_all_interfaces(slp_handle_ifinfo_t *info) { argument 234 /* create a socket with which to get interface info */ 251 /* allocate memory for interface info */ 259 /* get if info */ 311 /* i contains the number we actually got info on */ 312 info->numifs = i; 313 info->all_ifs = all_ifs; 318 info [all...] |
/illumos-gate/usr/src/lib/libcontract/common/ |
H A D | process.c | 108 struct ctlib_event_info *info = evthdl; local 109 if (info->event.ctev_cttype != CTT_PROCESS) 111 if (info->nvl == NULL) 113 return (nvlist_lookup_uint32(info->nvl, CTPE_PID, (uint_t *)pid)); 119 struct ctlib_event_info *info = evthdl; local 120 if (info->event.ctev_cttype != CTT_PROCESS) 122 if (info->event.ctev_type != CT_PR_EV_FORK) 124 if (info->nvl == NULL) 126 return (nvlist_lookup_uint32(info->nvl, CTPE_PPID, (uint_t *)ppid)); 132 struct ctlib_event_info *info local 145 struct ctlib_event_info *info = evthdl; local 158 struct ctlib_event_info *info = evthdl; local 171 struct ctlib_event_info *info = evthdl; local 184 struct ctlib_event_info *info = evthdl; local 198 struct ctlib_event_info *info = evthdl; local 212 struct ctlib_event_info *info = evthdl; local 230 struct ctlib_status_info *info = stathdl; local 241 struct ctlib_status_info *info = stathdl; local 252 struct ctlib_status_info *info = stathdl; local 265 struct ctlib_status_info *info = stathdl; local 277 struct ctlib_status_info *info = stathdl; local 288 struct ctlib_status_info *info = stathdl; local 299 struct ctlib_status_info *info = stathdl; local 311 struct ctlib_status_info *info = stathdl; local [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_program.c | 532 dt_header_info_t info; local 547 info.dthi_dtp = dtp; 548 info.dthi_out = out; 549 info.dthi_empty = 0; 551 info.dthi_pmname = alloca(strlen(pvp->pv_desc.dtvd_name) + 1); 552 dt_header_fmt_macro(info.dthi_pmname, pvp->pv_desc.dtvd_name); 554 info.dthi_pfname = alloca(strlen(pvp->pv_desc.dtvd_name) + 1 + i); 555 dt_header_fmt_func(info.dthi_pfname, pvp->pv_desc.dtvd_name); 560 if (dt_idhash_iter(pvp->pv_probes, dt_header_probe, &info) != 0) 564 if (dt_idhash_iter(pvp->pv_probes, dt_header_decl, &info) ! [all...] |
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | misc.c | 226 * Entry info = Address of label_info structure to update. 228 * Exit info = Updated. 237 labelinfo(struct label_info *info) argument 252 *info = inforet.info;
|
/illumos-gate/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 76 struct dk_cinfo info; local 102 if (ioctl(fd, DKIOCINFO, &info) != 0) { 106 if (vol_getmntdev(fp, &mnt, sb.st_rdev, &info) != 0) { 176 /* try to get info about media */ 190 * info on the media -- soo (this is kinda' a hack) 416 struct dk_cinfo info; local 441 if (ioctl(fd, DKIOCINFO, &info) != 0) { 446 if (vol_getmntdev(fp, &mnt, sb.st_rdev, &info) != 0) {
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | callers.c | 192 /* initialize Devconfig info */ 413 static char *info; /* dynamically allocated MAXLINE */ local 417 if (info == NULL) { 418 info = malloc(MAXLINE); 419 if (info == NULL) { 420 DEBUG(1, "malloc failed for info in gdial\n", 0); 424 while (getdialline(info, MAXLINE)) { 425 if ((info[0] == '#') || (info[0] == ' ') || 426 (info[ [all...] |
H A D | interface.c | 171 static struct t_info info; local 174 if (t_getinfo(fd, &info) != 0) { 188 if (info.tsdu <= 0 || nbytes <= info.tsdu) 191 /* (info.tsdu > 0) and buf exceeds it */ 193 while (nbytes >= info.tsdu) { 194 if ((ret = t_snd(fd, &buf[i], info.tsdu, NULL)) != info.tsdu) 196 i += info.tsdu; 197 nbytes -= info [all...] |
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | tli_wrappers.c | 95 t_getinfo(int fd, struct t_info *info) argument 97 return (_tx_getinfo(fd, info, TX_TLI_API)); 124 t_open(const char *path, int flags, struct t_info *info) argument 126 return (_tx_open(path, flags, info, TX_TLI_API));
|
H A D | xti_wrappers.c | 110 _xti_getinfo(int fd, struct t_info *info) argument 112 return (_tx_getinfo(fd, info, TX_XTI_API)); 140 _xti_open(const char *path, int flags, struct t_info *info) argument 142 return (_tx_open(path, flags, info, TX_XTI_API));
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_door.c | 87 struct door_info info; local 101 if (door_info(did, &info) < 0 || (info.di_attributes & DOOR_REVOKED)) { 335 clnt_door_control(CLIENT *cl, int request, char *info) argument 350 /* for other requests which use info */ 351 if (info == NULL) 357 *(int *)info = cu->cu_fd; 367 *(uint32_t *)info = ntohl(*(uint32_t *)cu->cu_header); 373 *(uint32_t *)cu->cu_header = htonl(*(uint32_t *)info - 1); 385 *(uint32_t *)info [all...] |
/illumos-gate/usr/src/lib/librcm/ |
H A D | librcm_event.c | 381 struct door_info info; local 384 if (door_info(fd, &info) == -1) { 395 if ((cookie = (door_cookie_t *)(uintptr_t)info.di_data) != NULL) {
|
H A D | librcm_impl.h | 138 nvlist_t *info; member in struct:rcm_info
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | ioctl.c | 282 struct T_info_ack info; member in struct:__anon2827 287 memcpy(&args.info, iarg->ic_dp, 290 (char *) &args.info; 298 memcpy(iarg->ic_dp, &args.info,
|
H A D | wait.c | 173 siginfo_t info; local 185 memset(&info, 0, sizeof (siginfo_t)); 211 error = _waitid(idtype, pid, &info, noptions); 216 if ((options & WNOHANG) && (info.si_pid == 0)) 233 *status = wstat(info.si_code, info.si_status); 234 return (info.si_pid);
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_cron.c | 89 audit_cron_getinfo(char *fname, char *fname_aux, struct auditinfo_addr *info) argument 121 &(info->ai_auid), 122 &(info->ai_mask.am_success), 123 &(info->ai_mask.am_failure), 124 &(info->ai_termid.at_port), 125 &(info->ai_termid.at_type), 126 &(info->ai_termid.at_addr[0]), 127 &(info->ai_termid.at_addr[1]), 128 &(info->ai_termid.at_addr[2]), 129 &(info 183 audit_cron_setinfo(char *fname, struct auditinfo_addr *info) argument 289 struct auditinfo_addr info; local [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | walkstack.c | 261 * detect signals and pass that info to the user stack walker 343 * print out stack frame info 440 Dl_info info; local 443 if (dladdr1(pc, &info, (void **)&sym, 448 if ((info.dli_fname != NULL && info.dli_sname != NULL) && 449 ((uintptr_t)pc - (uintptr_t)info.dli_saddr < sym->st_size)) { 451 * we have containing symbol info 454 info.dli_fname, 455 info [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_i386.c | 569 __fex_get_op(siginfo_t *sip, ucontext_t *uap, fex_info_t *info) argument 593 info->op = fex_cnvt; 594 info->op2.type = fex_nodata; 601 info->op = fex_other; 602 info->op1.type = info->op2.type = info->res.type = fex_nodata; 603 info->flags = 0; 606 info->op1.type = fex_float; 607 info 1238 __fex_st_result(siginfo_t *sip, ucontext_t *uap, fex_info_t *info) argument [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rcm.c | 345 * The table is appended to the info argument. If the info argument is a 346 * null pointer, then a new string is malloc'ed. If the info argument is 350 fp_rcm_info(char *rsrc, char **errstring, char **info) argument 360 if (info == NULL) { 373 if ((ret = fp_rcm_info_table(rinfo, info)) != FPCFGA_OK) 492 char *info; local 503 info = gettext("Information"); 527 if ((w = strlen(info)) > w_info) 563 w = strlen(info); [all...] |
/illumos-gate/usr/src/cmd/power/ |
H A D | parse.c | 79 * Set cpr/pm permission from default file info. 308 * return a reference to a config info struct. 313 cinfo_t *cip, *info = NULL; local 336 info = cip; 342 return (info);
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | cpufreq.c | 163 dtrace_proginfo_t info; local 255 if (dtrace_program_exec(dtp, prog, &info) == -1) {
|
/illumos-gate/usr/src/cmd/rcap/common/ |
H A D | utils.c | 142 info(char *format, ...) function
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | pool_rcm.c | 385 uint_t flags, nvlist_t *nvlist, char **info, rcm_info_t **dependent_info) 437 rcm_log_message(RCM_TRACE1, "POOL: RCM get info: '%s'\n", rsrcname); 440 rcm_log_message(RCM_ERROR, gettext("POOL: get info(%s) malloc " 384 pool_notify_capacity_change(rcm_handle_t *hdl, char *rsrcname, id_t id, uint_t flags, nvlist_t *nvlist, char **info, rcm_info_t **dependent_info) argument
|
H A D | rcm_event.c | 129 rcm_info_t *info = NULL; local 180 &info); 195 if ((error = get_resource_info(rsrcnames, flag, seq_num, &info)) 198 "invalid argument in get info request\n"); 209 interval, &info); 216 &info); 223 &info); 230 &info); 237 &info); 245 event_data, &info); 299 generate_reply_event(int error, rcm_info_t *info, nvlist_t **ret) argument [all...] |
H A D | rcm_impl.c | 60 timespec_t *interval, nvlist_t *nvl, rcm_info_t **info) 78 arg.info = info; 111 rcm_info_t **info) 128 RCM_STATE_REMOVING, seq_num, info); 135 seq_num, NULL, NULL, info); 154 rcm_info_t **info) 183 RCM_STATE_RESUMING, seq_num, info); 190 seq_num, NULL, NULL, info); 206 rcm_info_t **info) 59 common_resource_op(int cmd, char *rsrcname, pid_t pid, uint_t flag, int seq_num, timespec_t *interval, nvlist_t *nvl, rcm_info_t **info) argument 110 notify_resource_remove(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, rcm_info_t **info) argument 153 notify_resource_resume(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, rcm_info_t **info) argument 205 notify_resource_online(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, rcm_info_t **info) argument 259 process_resource_suspend(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, timespec_t *interval, rcm_info_t **info) argument 325 process_resource_offline(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, rcm_info_t **info) argument 397 rcm_info_t *info = NULL; local 502 get_resource_info(char **rsrcnames, uint_t flag, int seq_num, rcm_info_t **info) argument 518 notify_resource_event(char *rsrcname, id_t pid, uint_t flag, int seq_num, nvlist_t *event_data, rcm_info_t **info) argument 535 request_capacity_change(char *rsrcname, id_t pid, uint_t flag, int seq_num, nvlist_t *nvl, rcm_info_t **info) argument 574 notify_capacity_change(char *rsrcname, id_t pid, uint_t flag, int seq_num, nvlist_t *nvl, rcm_info_t **info) argument 597 get_resource_state(char *rsrcname, pid_t pid, rcm_info_t **info) argument 682 query(char **rsrcnames, int cmd, const char *opname, int querystate, pid_t pid, uint_t flag, timespec_t *interval, int seq_num, rcm_info_t **info, int *errorp) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_hc.c | 76 /* OFMT call back to print out a hc info field. */ 80 * Fields of a hc info. The sume of all fields' width is SHOW_HC_COLS. 96 ilb_hc_info_t *info = (ilb_hc_info_t *)of_arg->ofmt_cbarg; local 100 (void) strlcpy(buf, info->hci_name, bufsize); 103 (void) snprintf(buf, bufsize, "%d", info->hci_timeout); 106 (void) snprintf(buf, bufsize, "%d", info->hci_count); 109 (void) snprintf(buf, bufsize, "%d", info->hci_interval); 113 info->hci_def_ping ? 'Y' : 'N'); 116 (void) snprintf(buf, bufsize, "%s", info->hci_test);
|