/illumos-gate/usr/src/uts/sun4/ml/ |
H A D | swtch.S | 222 ! %i5 = new proc hat 229 cmp %i5, %o2 ! new proc hat == ksfmmup ? 235 ! new proc is kernel as 284 ! Set pointer in new thread to the CPU structure. 313 ! Switch to new thread's stack 362 ! i0 = new thread 364 ! Switch to new thread's stack 479 ! %i0 = new thread 482 ! %i3 = new proc 485 ldn [%i0 + T_PROCP], %i3 ! new process [all …]
|
/illumos-gate/usr/src/lib/libzonestat/common/ |
H A D | libzonestat.c | 174 ZS_MAXOF(old->zsz_shm, new->zsz_shm); in zs_zone_add_usage() 207 old->zsz_lwps += new->zsz_lwps; in zs_zone_add_usage() 208 old->zsz_shm += new->zsz_shm; in zs_zone_add_usage() 209 old->zsz_shmids += new->zsz_shmids; in zs_zone_add_usage() 210 old->zsz_semids += new->zsz_semids; in zs_zone_add_usage() 211 old->zsz_msgids += new->zsz_msgids; in zs_zone_add_usage() 212 old->zsz_lofi += new->zsz_lofi; in zs_zone_add_usage() 539 old->zsp_online += new->zsp_online; in zs_pset_add_usage() 540 old->zsp_size += new->zsp_size; in zs_pset_add_usage() 541 old->zsp_min += new->zsp_min; in zs_pset_add_usage() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | lpfsck.c | 358 char * new; in _rename() local 371 new = makepath(prefix, new_system, (char *)0); in _rename() 373 if (Rename(old, new) == 0) in _rename() 374 note ("Renamed %s to %s.\n", old, new); in _rename() 379 new, in _rename() 380 new in _rename() 386 new, in _rename() 390 Free (new); in _rename()
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | main.c | 307 S_Name *new; in setup_sectname() local 318 if ((new = malloc(sizeof (S_Name))) == NULL) { in setup_sectname() 322 new->name = strdup(name); in setup_sectname() 323 if (new->name == NULL) { in setup_sectname() 328 new->flags = SNAME_FLG_STRNCMP; in setup_sectname() 329 new->next = NULL; in setup_sectname() 334 new->next = sect_head; in setup_sectname() 335 sect_head = new; in setup_sectname()
|
/illumos-gate/usr/src/test/zfs-tests/include/ |
H A D | zpool_script.shlib | 27 # Get the new column name that the script created 33 log_fail "'$wholecmd' created no new columns" 37 # at least one new column value. Even if scripts return blank, zpool 45 log_fail "'$wholecmd' didn't create a new column value" 47 log_note "'$wholecmd' passed ($newcols new columns)"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename.kshlib | 88 if ! datasetexists ${dataset[i]}-new ; then 93 if [[ ${dataset[i]}-new != *@* ]] ; then 94 zfs rename ${dataset[i]}-new ${dataset[i]} 96 typeset newfs=${dataset[i]}-new 104 log_must zfs destroy -fR ${dataset[i]}-new
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_env.c | 90 prom_set_preprom(promif_preprom_f *new) in prom_set_preprom() argument 92 promif_preprom_fn = new; in prom_set_preprom() 96 prom_set_postprom(promif_postprom_f *new) in prom_set_postprom() argument 98 promif_postprom_fn = new; in prom_set_postprom()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | kstat_fr.c | 1325 hrtime_t new, delta; in kstat_waitq_enter() local 1330 kiop->wlastupdate = new; in kstat_waitq_enter() 1341 hrtime_t new, delta; in kstat_waitq_exit() local 1346 kiop->wlastupdate = new; in kstat_waitq_exit() 1356 hrtime_t new, delta; in kstat_runq_enter() local 1361 kiop->rlastupdate = new; in kstat_runq_enter() 1372 hrtime_t new, delta; in kstat_runq_exit() local 1377 kiop->rlastupdate = new; in kstat_runq_exit() 1387 hrtime_t new, delta; in kstat_waitq_to_runq() local 1393 kiop->wlastupdate = new; in kstat_waitq_to_runq() [all …]
|
H A D | dumpsubr.c | 627 } else if ((new->nhelper + 1) >= new->threshold) { in dump_update_clevel() 634 new->ncbuf = 1; in dump_update_clevel() 637 new->ncbuf = NCBUF_PER_HELPER * new->nhelper; in dump_update_clevel() 638 new->ncmap = NCMAP_PER_HELPER * new->nhelper; in dump_update_clevel() 651 hpend = &new->helper[new->nhelper]; in dump_update_clevel() 667 cpend = &new->cbuf[new->ncbuf]; in dump_update_clevel() 678 cpend = &new->cmap[new->ncmap]; in dump_update_clevel() 688 new->maxsize = P2ROUNDUP(new->maxsize, PAGESIZE); in dump_update_clevel() 689 new->maxvmsize = P2ROUNDUP(new->maxsize, CBUF_MAPSIZE); in dump_update_clevel() 690 new->maxvm = vmem_xalloc(heap_arena, new->maxvmsize, in dump_update_clevel() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_mount.c | 584 new[0] = '\0'; in remove_browse_options() 592 if (new[0] != '\0') in remove_browse_options() 593 (void) strcat(new, ","); in remove_browse_options() 594 (void) strcat(new, p); in remove_browse_options() 597 (void) strcpy(opts, new); in remove_browse_options() 609 char *new; in inherit_options() local 621 new = malloc(len); in inherit_options() 622 if (new == 0) in inherit_options() 633 if (*new != '\0') in inherit_options() 634 (void) strcat(new, ","); in inherit_options() [all …]
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | popen.c | 257 _insert_nolock(pid_t pid, int fd, node_t *new) in _insert_nolock() argument 273 lfree(new, sizeof (node_t)); in _insert_nolock() 279 new->pid = pid; in _insert_nolock() 280 new->fd = fd; in _insert_nolock() 281 new->next = NULL; in _insert_nolock() 284 head = new; in _insert_nolock() 286 prev->next = new; in _insert_nolock()
|
/illumos-gate/usr/src/uts/sparc/ml/ |
H A D | sparc_ddi.S | 109 jmpl %g1, %g0 ! bop off to new routine 122 jmpl %g1, %g0 ! bop off to new routine 133 jmpl %g1, %g0 ! bop off to new routine 144 jmpl %g1, %g0 ! bop off to new routine 155 jmpl %g1, %g0 ! bop off to new routine 166 jmpl %g1, %g0 ! bop off to new routine 177 jmpl %g1, %g0 ! bop off to new routine 201 jmpl %g1, %g0 ! bop off to new routine 210 jmpl %g1, %g0 ! bop off to new routine 222 jmpl %g1, %g0 ! bop off to new routine
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | neti_impl.c | 67 struct net_data *n, *new; in net_protocol_register() local 76 new = kmem_alloc(sizeof (*new), KM_SLEEP); in net_protocol_register() 77 new->netd_refcnt = 1; in net_protocol_register() 78 new->netd_hooks = NULL; in net_protocol_register() 79 new->netd_info = *info; in net_protocol_register() 80 new->netd_stack = nts; in net_protocol_register() 81 new->netd_condemned = 0; in net_protocol_register() 87 kmem_free(new, sizeof (*new)); in net_protocol_register() 92 LIST_INSERT_HEAD(&nts->nts_netd_head, new, netd_list); in net_protocol_register() 95 new, netd_list); in net_protocol_register() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pragma/ |
H A D | tst.libdepfullyconnected.ksh | 81 push(@new, substr(\$_, \$pos+2, 4)); 87 exit 1 if @new != @order; 89 while (@new) { 90 exit 1 if pop(@new) ne pop(@order);
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | debug.c | 213 struct timeval new; in dbg_print() local 215 if (gettimeofday(&new, NULL) == 0) { in dbg_print() 217 (void) fputs(conv_time(&DBG_TOTALTIME, &new, in dbg_print() 220 (void) fputs(conv_time(&DBG_DELTATIME, &new, in dbg_print() 223 DBG_DELTATIME = new; in dbg_print()
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | i.rbac | 154 $3 > $4.new 162 nawk_pass2=$4.new 163 nawk_pass3=$4.new 167 nawk_pass3=$4.new 511 $rm_cmd -f $outfile $outfile.old $outfile.new $outfile.unsorted
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | setkey.c | 787 new = (struct secretkey_netname_list *)malloc(sizeof (*new)); 788 if (new == NULL) { 792 new->uid = uid; 793 new->next = NULL; 794 *l = new; 796 new = *l; 1191 if (new == NULL) { 1748 new = (struct secretkey_netname_list *)malloc(sizeof (*new)); 1753 new->uid = uid; 1758 *l = new; [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | putdev.c | 901 if ((new = chg->attrlist) != NULL) do { in _moddevtabrec() 909 old->val = new->val; in _moddevtabrec() 910 new->val = NULL; in _moddevtabrec() 927 if (prevnew) prevnew->next = new->next; in _moddevtabrec() 928 else chg->attrlist = new->next; in _moddevtabrec() 929 newnew = new->next; in _moddevtabrec() 930 new->next = ent->attrlist; in _moddevtabrec() 931 ent->attrlist = new; in _moddevtabrec() 932 new = newnew; in _moddevtabrec() 936 prevnew = new; in _moddevtabrec() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | gen.c | 293 struct irs_rule **rules, *last, *tmp, *new; in add_rule() local 310 new = memget(sizeof *new); in add_rule() 311 if (new == NULL) in add_rule() 313 memset(new, 0x5e, sizeof *new); in add_rule() 314 new->next = NULL; in add_rule() 316 new->inst = &irs->accessors[acc]; in add_rule() 318 new->flags = 0; in add_rule() 335 new->flags |= n; in add_rule() 346 *rules = new; in add_rule() 348 last->next = new; in add_rule()
|
/illumos-gate/usr/src/common/nvpair/ |
H A D | nvpair_alloc_fixed.c | 85 uintptr_t new = nvb->nvb_cur; in nv_fixed_alloc() local 87 if (size == 0 || new + size > nvb->nvb_lim) in nv_fixed_alloc() 90 nvb->nvb_cur = P2ROUNDUP(new + size, sizeof (uintptr_t)); in nv_fixed_alloc() 92 return ((void *)new); in nv_fixed_alloc()
|
/illumos-gate/usr/src/cmd/svr4pkg/installf/ |
H A D | installf.c | 69 struct cfextra *new; in installf() local 78 extlist[0] = new = calloc(1, sizeof (struct cfextra)); in installf() 83 if (validate(new, argc, argv)) in installf() 102 new = calloc(1, sizeof (struct cfextra)); in installf() 103 if (new == NULL) { in installf() 110 if (validate(new, argc, argv)) in installf() 113 extlist[eptnum] = new; in installf()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpfstab.c | 167 struct mntent *new; local 169 new = (struct mntent *)xmalloc(sizeof (*mnt)); 170 new->mnt_fsname = mntstrdup(mnt->mnt_fsname); /* mnt_special */ 171 new->mnt_dir = mntstrdup(mnt->mnt_dir); /* mnt_mountp */ 172 new->mnt_type = mntstrdup(mnt->mnt_type); /* mnt_fstype */ 173 new->mnt_opts = mntstrdup(mnt->mnt_opts); /* mnt_mntopts */ 174 return (new);
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | plcysubr.c | 255 FILE *old, *new; in delete_one_entry() local 294 new = fopen(nfile, "w"); in delete_one_entry() 295 if (new == NULL) { in delete_one_entry() 300 newfd = fileno(new); in delete_one_entry() 320 (void) fputs(fep->rawbuf, new); in delete_one_entry() 329 (void) fputs(fep->rawbuf, new); in delete_one_entry() 386 put_minor_range(new, fep, tok, tail, in delete_one_entry() 391 put_minor_range(new, fep, tok, tail, in delete_one_entry() 408 (void) fputs(fep->rawbuf, new); in delete_one_entry() 411 (void) fflush(new); in delete_one_entry() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | hsearch.c | 152 ENTRY *new; /* Test entry */ in main() local 170 new = (ENTRY *) malloc(sizeof (ENTRY)); in main() 171 if (new == NULL) { in main() 175 new->key = malloc((unsigned)strlen(line) + 1); in main() 176 if (new->key == NULL) { in main() 180 (void) strcpy(new->key, line); in main() 181 new->data = malloc(sizeof (int)); in main() 182 if (new->data == NULL) { in main() 186 *new->data = i++; in main() 188 res = hsearch(*new, ENTER); in main()
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | protocmp.terse.sh | 46 new="$1"; shift 52 nawk -v old="$old" -v new="$new" -v differ="$differ" '
|