/illumos-gate/usr/src/uts/common/os/ |
H A D | kcpc.c | 1795 kcpc_set_t *new; in kcpc_dup_set() local 1799 new = kmem_zalloc(sizeof (*new), KM_SLEEP); in kcpc_dup_set() 1805 new->ks_data = NULL; in kcpc_dup_set() 1806 new->ks_ctx = NULL; in kcpc_dup_set() 1819 new->ks_req[i].kr_attr = kmem_alloc(new->ks_req[i].kr_nattrs * in kcpc_dup_set() 1830 return (new); in kcpc_dup_set() 2023 kcpc_ctx_t **new; in kcpc_cpu_ctx_create() local 2035 if (new == NULL) in kcpc_cpu_ctx_create() 2049 ctx_ptrs = new; in kcpc_cpu_ctx_create() 2319 kcpc_request_t *new; in kcpc_reqs_add() local [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did_hash.c | 128 did_hash_insert(topo_mod_t *mp, di_node_t key, did_t *new) in did_hash_insert() argument 135 did_hold(new); in did_hash_insert() 139 tab->dph_hash[idx] = new; in did_hash_insert() 149 new->dp_next = tab->dph_hash[idx]; in did_hash_insert() 150 tab->dph_hash[idx] = new; in did_hash_insert()
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | alloca.S | 38 ! then copy the tmp area to its new home 44 sub %sp, %o0, %sp ! bump to new value 50 st %o4, [%sp + %o1] ! store to new temp area 54 ! now return new %sp + end-of-temp
|
/illumos-gate/usr/src/cmd/sgs/ar/common/ |
H A D | main.c | 81 char *new = NULL; in main() local 116 new = (char *)malloc(strlen(argv[1]) + 2); in main() 117 if (new == NULL) { in main() 123 (void) strcpy(new, MSG_ORIG(MSG_STR_HYPHEN)); in main() 124 (void) strcat(new, argv[1]); in main() 125 argv[1] = new; in main() 167 free(new); in main()
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | cap.msg | 228 o\tIf the -cmp option has been specified, the new value\n\ 232 \tupdated with the new value. If -and is specified, the new\n\ 234 \tspecified, the new value is OR'd against the existing\n\ 248 o\tIf the -cmp option has been specified, the new value\n\ 252 \tupdated with the new value. If -and is specified, the new\n\ 254 \tspecified, the new value is OR'd against the existing\n\ 268 o\tIf the -cmp option has been specified, the new value\n\ 272 \tupdated with the new value. If -and is specified, the new\n\ 274 \tspecified, the new value is OR'd against the existing\n\ 288 o\tIf the -cmp option has been specified, the new value\n\ [all …]
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | alloca.S | 37 ! then copy the tmp area to its new home 43 sub %sp, %o0, %sp ! bump to new value 50 stx %o4, [%g5 + %o1] ! store to new temp area 54 ! now return new %sp + end-of-temp
|
/illumos-gate/usr/src/cmd/fs.d/ufs/df/ |
H A D | df.c | 979 struct mnttab *new; in mntdup() local 981 new = (struct mnttab *)xmalloc(sizeof (*new)); in mntdup() 983 new->mnt_special = in mntdup() 987 new->mnt_mountp = in mntdup() 989 (void) strcpy(new->mnt_mountp, mnt->mnt_mountp); in mntdup() 991 new->mnt_fstype = in mntdup() 996 new->mnt_mntopts = in mntdup() 1000 new->mnt_mntopts = NULL; in mntdup() 1004 new->mnt_freq = mnt->mnt_freq; in mntdup() 1005 new->mnt_passno = mnt->mnt_passno; in mntdup() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmstat/common/ |
H A D | fmstat.c | 224 u64delta(uint64_t old, uint64_t new) in u64delta() argument 226 return (new >= old ? (new - old) : ((UINT64_MAX - old) + new + 1)); in u64delta() 263 struct stats *old, *new; in modstat_compute() local 270 new = mp->m_new = &mp->m_stbuf[mp->m_stidx]; in modstat_compute() 297 sp = (fmd_stat_t *)new + (tsp - t_beg); in modstat_compute() 310 new->snaptime.fmds_value.ui64); in modstat_compute() 319 new->wlentime.fmds_value.ui64); in modstat_compute() 331 new->dispatched.fmds_value.ui64); in modstat_compute() 344 new->dequeued.fmds_value.ui64); in modstat_compute() 363 new->wtime.fmds_value.ui64); in modstat_compute() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | compat_stringlist.c | 70 char **new; in sl_add() local 72 new = reallocarray(sl->sl_str, (sl->sl_max + _SL_CHUNKSIZE), in sl_add() 74 if (new == NULL) in sl_add() 77 sl->sl_str = new; in sl_add()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_slist.c | 243 INSERT_CURRENT(new, tmp); in add_possible_sm() 551 avl_insert(stree, new); in overwrite_sm_state_stree() 569 avl_insert(stree, new); in set_state_stree() 570 return new; in set_state_stree() 751 struct stree *new; in call_pre_merge_hooks() local 764 overwrite_stree(new, one); in call_pre_merge_hooks() 765 free_stree(&new); in call_pre_merge_hooks() 778 free_stree(&new); in call_pre_merge_hooks() 1037 struct stree *new; in or_stree_stack() local 1043 new = pop_stree(stack); in or_stree_stack() [all …]
|
H A D | smatch_var_sym.c | 108 struct var_sym *tmp, *new; in add_var_sym() local 112 new = alloc_var_sym(var, sym); in add_var_sym() 115 if (cmp_var_sym(tmp, new) < 0) in add_var_sym() 117 else if (cmp_var_sym(tmp, new) == 0) { in add_var_sym() 120 INSERT_CURRENT(new, tmp); in add_var_sym() 124 add_ptr_list(list, new); in add_var_sym()
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | memcluster.c | 244 void *new; in __memget_record() local 249 new = malloc(NUM_BASIC_BLOCKS * mem_target); in __memget_record() 250 if (new == NULL) { in __memget_record() 255 curr = new; in __memget_record() 267 basic_blocks = new; in __memget_record() 270 new = basic_blocks; in __memget_record() 277 new = malloc(total_size); in __memget_record() 278 if (new == NULL) { in __memget_record() 288 curr = new; in __memget_record() 303 freelists[new_size] = new; in __memget_record()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | tdb_agent.c | 225 tdb_sync_obj_register(void *addr, int *new) in tdb_sync_obj_register() argument 242 if (new) in tdb_sync_obj_register() 243 *new = 0; in tdb_sync_obj_register() 338 if (new) in tdb_sync_obj_register() 339 *new = 1; in tdb_sync_obj_register() 455 int new; in tdb_sema_stats() local 460 if ((tssp = tdb_sync_obj_register(sp, &new)) == NULL) in tdb_sema_stats() 463 if (new) { in tdb_sema_stats()
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | hash.c | 32 void sqliteHashInit(Hash *new, int keyClass, int copyKey){ in sqliteHashInit() argument 33 assert( new!=0 ); in sqliteHashInit() 35 new->keyClass = keyClass; in sqliteHashInit() 36 new->copyKey = copyKey && in sqliteHashInit() 38 new->first = 0; in sqliteHashInit() 39 new->count = 0; in sqliteHashInit() 40 new->htsize = 0; in sqliteHashInit() 41 new->ht = 0; in sqliteHashInit()
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_stat.c | 39 struct cpr_event *cpr_find_event(char *name, int new); 217 int new = ((longlong_t)((longlong_t) in cpr_stat_event_print() local 221 new/100, (new%100)/10, new%10, in cpr_stat_event_print() 227 cpr_find_event(char *name, int new) in cpr_find_event() argument 239 if (new == 0) in cpr_find_event()
|
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_memlist.c | 193 struct memlist *new; in memlist_remove() local 195 new = memlist_alloc(); in memlist_remove() 196 new->ml_address = rem_end + 1; in memlist_remove() 197 new->ml_size = chunk_end - new->ml_address + 1; in memlist_remove() 199 new->ml_next = chunk->ml_next; in memlist_remove() 200 chunk->ml_next = new; in memlist_remove()
|
/illumos-gate/usr/src/grub/grub-0.97/ |
H A D | AUTHORS | 23 Yoshinori K. Okuji contributed many bugfixes and new features, such as 25 script /sbin/grub-install, the utility /bin/mbchk, the new engine for 28 hidden menu support, the new Linux loader, serial terminal support, 29 single-line editing support, the utility /sbin/grub-md5-crypt, the new 30 GRUB manual, and several new commands. He is the current official 35 Pavel Roskin contributed many bugfixes and new features, such as FreeBSD
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 790 new = (adutils_host_t *)calloc(1, sizeof (*new)); in adutils_add_ds() 791 if (new == NULL) in adutils_add_ds() 793 new->owner = ad; in adutils_add_ds() 794 new->port = port; in adutils_add_ds() 795 new->dead = 0; in adutils_add_ds() 804 free(new->host); in adutils_add_ds() 805 new->host = NULL; in adutils_add_ds() 814 host_head = new; in adutils_add_ds() 822 free(new->host); in adutils_add_ds() 824 free(new); in adutils_add_ds() [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | putdgrp.c | 598 struct dgrptabent *new; /* Ptr to new dev tab info */ in _adddgrptabrec() local 608 if ((new = mkdgrptabent(dgrp, members)) == NULL) in _adddgrptabrec() 617 _freedgrptabent(new); in _adddgrptabrec() 631 if (new->membership) { in _adddgrptabrec() 640 pm->next = new->membership; in _adddgrptabrec() 653 } else ent->membership = new->membership; in _adddgrptabrec() 656 new->membership = NULL; in _adddgrptabrec() 706 noerr = (_putdgrptabrec(oam_dgroup, new) != EOF); in _adddgrptabrec() 711 _freedgrptabent(new); /* Free the new dgrptab info struct */ in _adddgrptabrec()
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_ipc.c | 160 struct sigaction new, old; in slp_send2slpd_iov() local 187 new.sa_handler = SIG_IGN; in slp_send2slpd_iov() 188 new.sa_flags = 0; in slp_send2slpd_iov() 189 (void) sigemptyset(&new.sa_mask); in slp_send2slpd_iov() 190 (void) sigaction(SIGPIPE, &new, &old); /* preserve old disposition */ in slp_send2slpd_iov()
|
/illumos-gate/usr/src/uts/common/io/ppm/ |
H A D | ppm.c | 1107 ppmd->level = new; in ppm_manage_cpus() 1118 if (new == ppmd->level) { in ppm_manage_cpus() 1128 ppmd->rplvl = new; in ppm_manage_cpus() 1130 if (cpup->rplvl == new) in ppm_manage_cpus() 1133 if (new < old) { in ppm_manage_cpus() 1143 if (new > old) { in ppm_manage_cpus() 1521 int new, old, cmpt; in ppm_manage_fet() local 1943 int old, new, cmpt; in ppm_manage_pci() local 1985 if (new == ppmd->level) in ppm_manage_pci() 2086 int old, new, cmpt; in ppm_manage_pcie() local [all …]
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | rint.c | 42 #define SWAPRP(new, x) x = __swapRP(new); argument 46 #define SWAPRP(new, x) argument
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire.c | 437 kstat_delta(kstat_t *old, kstat_t *new, char *name) in kstat_delta() argument 439 kstat_named_t *knew = kstat_data_lookup(new, name); in kstat_delta() 489 cpu_ticks_delta(kstat_t *old, kstat_t *new) in cpu_ticks_delta() argument 494 ticks += kstat_delta(old, new, cpu_states[i]); in cpu_ticks_delta() 517 hrtime_delta(hrtime_t old, hrtime_t new) in hrtime_delta() argument 521 if ((new >= old) && (old >= 0L)) in hrtime_delta() 522 return (new - old); in hrtime_delta() 528 if (new < 0L) { in hrtime_delta() 537 n1 = -new; in hrtime_delta() 562 del += new; in hrtime_delta()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | debug.c | 327 struct timeval new; in dbg_print() local 329 if (gettimeofday(&new, NULL) == 0) { in dbg_print() 334 conv_time(&DBG_TOTALTIME, &new, &buf)); in dbg_print() 339 conv_time(&DBG_DELTATIME, &new, &buf)); in dbg_print() 342 DBG_DELTATIME = new; in dbg_print()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgproto/ |
H A D | main.c | 447 struct link *link, *new; in findlink() local 489 if ((new = (struct link *)calloc(1, sizeof (struct link))) == NULL) { in findlink() 495 lastlink->next = new; in findlink() 496 lastlink = new; in findlink() 498 firstlink = lastlink = new; in findlink() 500 new->path = strdup(svpath); in findlink() 501 new->ino = statbuf.st_ino; in findlink() 502 new->dev = statbuf.st_dev; in findlink()
|