| /illumos-gate/usr/src/lib/libshell/common/sh/ |
| H A D | array.c | 159 register union Value *up; local 170 up = &mp->nvalue; 179 up = &(ap->val[ap->cur]); 189 return(up); 195 union Value *up; local 200 up = &(ap->val[ap->cur]); 201 return(up->cp && up->cp!=Empty); 212 register union Value *up; local 240 up 493 register union Value *up; local 756 union Value *up; local 849 union Value *up; local [all...] |
| H A D | nvdisc.c | 245 union Value *up = np->nvalue.up; local 295 np->nvalue.up = up; 362 union Value *up = np->nvalue.up; local 396 np->nvalue.up = up;
|
| /illumos-gate/usr/src/cmd/w/ |
| H A D | w.c | 162 struct uproc *up, *parent, *pgrp; local 278 PRINTF((gettext("up"))); 357 up = findhash(info.pr_pid); 358 up->p_ttyd = info.pr_ttydev; 359 up->p_state = (info.pr_nlwp == 0? ZOMBIE : RUNNING); 360 up->p_time = 0; 361 up->p_ctime = 0; 362 up->p_igintr = 0; 363 (void) strncpy(up->p_comm, info.pr_fname, 365 up 525 showtotals(struct uproc *up) argument 558 calctotals(struct uproc *up) argument 611 struct uproc *up, *tp; local [all...] |
| /illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
| H A D | events.c | 342 nwamd_event_init_link_state(const char *name, boolean_t up) argument 364 event->event_msg->nwe_data.nwe_link_state.nwe_link_up = up;
|
| H A D | ncu.c | 145 boolean_t up; local 162 * up/down events and even if these are not supported, 191 * will need to assume the link is up, since 316 up = (object->nwamd_object_aux_state == NWAM_AUX_STATE_UP); 323 link->nwamd_link_wifi_connected = up; 324 nwamd_set_selected_connected(ncu, B_TRUE, up); 336 NWAM_EVENT_TYPE_WLAN_CONNECTION_REPORT, up, 350 if (!up && ncu->ncu_enabled) { 378 if ((up && object->nwamd_object_state != NWAM_STATE_ONLINE) || 379 (!up [all...] |
| H A D | ncu_ip.c | 93 nwamd_propogate_link_up_down_to_ip(const char *linkname, boolean_t up) argument 102 up ? "up" : "down"); 113 "removed", up ? "up" : "down", linkname); 118 up ? "up" : "down", linkname); 121 up ? 124 up ? NWAM_AUX_STATE_INITIALIZED : 131 up 499 interface_ncu_up_down(nwamd_ncu_t *ncu, boolean_t up) argument [all...] |
| /illumos-gate/usr/src/cmd/fs.d/ufs/quot/ |
| H A D | quot.c | 520 struct du *up; local 522 for (up = duhashtbl[HASH(uid)]; up != NULL; up = up->next) { 523 if (up->uid == uid) 524 return (up); 529 up = adduid(uid); 530 if (up && pwp) { 531 up 539 struct du *up, **uhp; local [all...] |
| /illumos-gate/usr/src/uts/common/inet/ip/ |
| H A D | ip6_input.c | 171 * We set up the ip_recv_attr_t with IRAF_TARGET_SQP to that ip_fanout_v6 270 * send up data with varying db_ref counts in the mblk 341 * up being dropped later on. Defer counting bytes until 358 /* Any references to clean up? No hold on ira_ill */ 734 /* For convenience, we just pull up the mblk. */ 857 * ire_dep_parent. In that case we'd end up dropping the packet, or 869 /* Not yet set up - try to set one up */ 1257 * So that we don't end up with dups, only one ill an IPMP group is 1633 uint16_t *up; local 2288 uint16_t *up; /* Pointer to ports in ULP header */ local [all...] |
| H A D | ip_input.c | 174 * We set up the ip_recv_attr_t with IRAF_TARGET_SQP to that ip_fanout_v4 276 * send up data with varying db_ref counts in the mblk 359 * up being dropped later on. Defer counting bytes until 376 /* Any references to clean up? No hold on ira_ill */ 494 * (a) that would mess up the checksums and (b) the DHCP 685 /* For convenience, we pull up the mblk. */ 866 * ire_dep_parent. In that case we'd end up dropping the packet, or 878 /* Not yet set up - try to set one up */ 1332 * So that we don't end up wit 2014 uint16_t *up; local 2631 uint16_t *up; /* Pointer to ports in ULP header */ local [all...] |
| H A D | ipclassifier.c | 54 * conn_recv is used to pass up packets to the ULP. 59 * conn_recvicmp is used to pass up ICMP errors to the ULP. 146 * as there's no connection set-up handshake and no shared state. 374 * ipclassifier intialization routine, sets up hash tables. 823 * avoid cleaning up the conn under squeue. This gives us 1095 * protocols that use port numbers (UDP, TCP, SCTP), we do this check up in the 1518 * v4 packet classifying function. looks up the fanout table to 1537 uint16_t *up; local 1541 up = (uint16_t *)((uchar_t *)ipha + hdr_len + TCP_PORTS_OFFSET); 1545 ports = *(uint32_t *)up; 1678 uint16_t *up; local [all...] |
| H A D | tnet.c | 80 * up of a collection of security attributes for the distant networks, and 262 const uint32_t *up, *ue; local 270 up = (const uint32_t *)&rp->rtsa_slrange; 271 ue = up + sizeof (rp->rtsa_slrange) / sizeof (*up); 273 while (up < ue) { 275 hash += *up + (*up << ((i % 16) + 1)); 276 up++; 670 * the ip_recv_attr_t. Later as the packet flows up throug [all...] |
| /illumos-gate/usr/src/uts/common/avs/ncall/ |
| H A D | ncall.c | 663 ncall_ping(char *nodename, int *up) argument 667 rc = (*ncall_modules->module->ncall_ping)(nodename, up); 722 * If the user passes up a null address argument, then
|
| /illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
| H A D | nsc_gen.c | 663 * int up, int alt, int zero, int len) 677 _nsc_sprint_hex(char **sptr, uint_t v, int up, int alt, int zero, int len) argument 683 if (up) 693 *(*sptr)++ = (up ? 'X' : 'x');
|
| /illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
| H A D | acpidev_util.c | 564 acpidev_pseudo_uid_t *up, **pp; local 582 up = kmem_zalloc(sizeof (*up), KM_SLEEP); 583 up->apu_uid = ddi_strdup(uid, KM_SLEEP); 584 up->apu_cid = cid; 585 up->apu_nid = acpidev_uid_heads[cid].apuh_id++; 586 *pp = up;
|
| /illumos-gate/usr/src/uts/common/io/scsi/targets/ |
| H A D | ses.c | 720 ses_object k, *up; local 742 up = (ses_object *) arg; 748 if (ddi_copyout(&k, up, sizeof (k), flg)) { 752 up++; 1222 * No response? If probing, give up. 1271 "retrying": "giving up"); 1278 "retrying": "giving up");
|
| /illumos-gate/usr/src/uts/i86pc/os/cpupm/ |
| H A D | cpu_acpi.c | 235 * (it's up to the caller to determine how to handle non-existence). 369 uint32_t *up; local 379 up = (uint32_t *)pstate; 381 up[j] = q[j].Integer.Value; 399 uint32_t *up; local 409 up = (uint32_t *)tstate; 411 up[j] = q[j].Integer.Value;
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | brand.c | 617 struct user *up = PTOU(curproc); local 662 * properly while cleaning up from the failed exec(). Restoring the 691 * The u_auxv veCTors are set up by elfexec to point to the 697 switch (up->u_auxv[i].a_type) { 699 sed.sed_lddata = up->u_auxv[i].a_un.a_val; 702 sed.sed_base = up->u_auxv[i].a_un.a_val; 705 sed.sed_entry = up->u_auxv[i].a_un.a_val; 708 sed.sed_phdr = up->u_auxv[i].a_un.a_val; 711 sed.sed_phent = up->u_auxv[i].a_un.a_val; 714 sed.sed_phnum = up [all...] |
| /illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
| H A D | cfga_utils.c | 411 walkarg_t *up, 428 /* Fix up path for di_init() */ 483 rv = di_walk_node(walk_root, up->node_args.flags, arg, 484 up->node_args.fcn); 489 rv = di_walk_minor(walk_root, up->minor_args.nodetype, 0, arg, 490 up->minor_args.fcn); 522 * Determine if the func has an equal sign; only compare up to 804 /* Fix up path for di_init() */ 992 * Fix up path for calling devctl. 407 walk_tree( const char *physpath, void *arg, uint_t init_flags, walkarg_t *up, scfga_cmd_t cmd, int *l_errnop) argument
|
| /illumos-gate/usr/src/lib/libc/port/gen/ |
| H A D | getutx.c | 680 * it will be up to date in the future. 916 struct utmpx *up; /* "current" utmpx entry */ local 942 up = pututxline(ucp); 945 if (up) 946 updwtmpx(WTMPX_FILE, up); 948 return (up);
|
| /illumos-gate/usr/src/cmd/whodo/ |
| H A D | whodo.c | 167 struct uproc *up, *parent, *pgrp; local 275 "up %d day(s), %d hr(s), " 338 up = findhash(info.pr_pid); 339 up->p_ttyd = info.pr_ttydev; 340 up->p_state = (info.pr_nlwp == 0? ZOMBIE : RUNNING); 341 up->p_time = 0; 342 up->p_ctime = 0; 343 up->p_igintr = 0; 344 (void) strncpy(up->p_comm, info.pr_fname, 346 up 510 showproc(struct uproc *up) argument 550 showtotals(struct uproc *up) argument 582 calctotals(struct uproc *up) argument 700 struct uproc *up, *tp; local [all...] |
| /illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
| H A D | cfga_utils.c | 497 walkarg_t *up, 516 /* Fix up path for di_init() */ 550 if ((up->flags & FLAG_DEVINFO_FORCE) == FLAG_DEVINFO_FORCE) { 585 rv = di_walk_node(root, up->walkmode.node_args.flags, arg, 586 up->walkmode.node_args.fcn); 589 rv = di_walk_minor(root, up->walkmode.minor_args.nodetype, 0, 590 arg, up->walkmode.minor_args.fcn); 597 if ((up->flags & FLAG_PATH_INFO_WALK) == FLAG_PATH_INFO_WALK) { 861 * Fix up path for calling devctl. 493 walk_tree( const char *physpath, void *arg, uint_t init_flags, walkarg_t *up, fpcfga_cmd_t cmd, int *l_errnop) argument
|
| /illumos-gate/usr/src/cmd/file/ |
| H A D | file.c | 1465 char *tp, *cp, *xp, *up, *gp; local 1479 up = gettext("set-uid "); 1481 up = ""; 1508 (void) printf(gettext("%s%sexecutable %s script\n"), up, gp, xp);
|
| /illumos-gate/usr/src/cmd/fm/fmstat/common/ |
| H A D | fmstat.c | 178 const struct unit *up; local 180 for (up = units; time % up->u_mul != 0; up++) 183 (void) snprintf(buf, len, "%llu%s", time / up->u_mul, up->u_name); 192 const char *up = units; local 199 while (size >= scale && up < (units + sizeof (units) - 2)) { 200 up++; 210 (void) snprintf(buf, len, "%.1f%c", (float)osize / scale, *up); [all...] |
| /illumos-gate/usr/src/cmd/avs/dscfglockd/ |
| H A D | dscfglockd.c | 136 int up; member in struct:lockdaemon 367 if (ldp->up == 0) { 373 ldp->up = 1; 427 if (ldp->up && ldp->state != STATE_OKAYED) { 601 if (ldp->up && ldp->state == STATE_OKAYED) { 672 " up %d timeout %ld missed %d state %d\n", ldp->up, 804 if (ldp->up) 881 the_lock.remote_daemon->up = 0; 913 (void) printf("%-4.4s ", ldp->up [all...] |
| /illumos-gate/usr/src/uts/common/fs/ufs/ |
| H A D | lufs.c | 439 lufs_hd_genid(const ml_unit_t *up) argument 459 if (up != NULL && up->un_head_ident == id) { 613 * Free up the allocated space (dummy inode needed for free()) 647 * Free up all resources 1043 * The 1MB per 1GB log size allocation only applies up to 1165 * Before we can disable logging, we must give up our 1520 * Set up the maximum amount of kmem that the crbs (system wide)
|