/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
H A D | zfs_destroy_common.kshlib | 123 typeset newlist="" 136 newlist="$newlist $dtst" 139 if (( ${#newlist} != 0 )); then 140 # Run each item in $newlist individually so on failure, the 142 for i in $newlist; do
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmutil.c | 172 struct str_mlist newmods[NSTRPUSH]; /* modlist for newlist */ 173 struct str_list newlist; /* modules to be pushed */ local 178 newlist.sl_modlist = newmods; 179 newlist.sl_nmods = NSTRPUSH; 196 (void)strncpy(newlist.sl_modlist[i].l_name, 198 newlist.sl_modlist[i].l_name[FMNAMESZ] = '\0'; 203 newlist.sl_nmods = i; 216 if ( (i = ioctl(fd, SAD_VML, &newlist)) < 0 ) {
|
/illumos-gate/usr/src/cmd/streams/strcmd/ |
H A D | strchg.c | 127 struct str_list newlist; /* modules to be pushed */ local 138 newlist.sl_modlist = newmods; 139 newlist.sl_nmods = NMODULES; 325 (void) strncpy(newlist.sl_modlist[i].l_name, 339 if (i > newlist.sl_nmods) 340 if (more_modules(&newlist, i) != SUCCESS) 343 newlist.sl_nmods = i; 364 for (i = newlist.sl_nmods - 1; i >= 0; --i) { 365 if (push_module(newlist.sl_modlist[i].l_name) == 372 restore((newlist [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | kconf.c | 85 char *newstr, **newlist; local 90 newlist = realloc(list->list, newmax * sizeof (char *)); 91 if (newlist == NULL) 94 list->list = newlist;
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_known_wlan.c | 166 struct nwam_wlan_info **newlist = NULL; local 172 if ((newlist = realloc(list, 174 (newlist[num_wlans - 1] = calloc(1, 176 if (newlist != NULL) 177 free(newlist); 182 wil->list = newlist; 186 &((newlist[num_wlans - 1])->wlan_name))) != NWAM_SUCCESS || 190 &((newlist[num_wlans - 1])->wlan_priority))) != NWAM_SUCCESS) { 191 free(newlist[num_wlans - 1]->wlan_name); 193 free(newlist[num_wlan [all...] |
H A D | libnwam_values.c | 387 nwam_dup_object_list(void *oldlist, void *newlist) argument 391 assert(oldlist != NULL && newlist != NULL); 393 if ((nverr = nvlist_dup(oldlist, newlist, 0)) != 0)
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_identity.c | 64 char **newlist; local 75 newlist = calloc(1, (i + 1) * sizeof(*newlist)); 76 if (newlist == NULL) 80 newlist[i] = strdup(src[i]); 81 if (newlist[i] == NULL) 84 newlist[i] = NULL; 85 *dst = newlist; 88 free_list(newlist);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_get.c | 72 char *newstr, **newlist; local 77 newlist = realloc(list->list, newmax * sizeof(char *)); 78 if (newlist == 0) 81 list->list = newlist;
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | scanf.c | 165 format_arg(unsigned char *format, unsigned char *list, unsigned char *newlist) argument 259 ptr = (int **)newlist; 261 newlist += sizeof(int *);
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksctpsubr.c | 100 struct sctp_sa_id *newlist, *oldlist; local 108 newlist = kmem_alloc(newcnt * sizeof (struct sctp_sa_id), kmflags); 110 if (newlist == NULL) { 115 kmem_free(newlist, newcnt * sizeof (struct sctp_sa_id)); 120 ss->ss_assocs = newlist; 123 bcopy(oldlist, newlist, oldcnt * sizeof (struct sctp_sa_id)); 124 bzero(newlist + oldcnt,
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | poll.c | 1003 pcacheset_cmp(pollfd_t *current, pollfd_t *cached, pollfd_t *newlist, int n) argument 1020 if (newlist != NULL) 1021 newlist[ix].events = current[ix].events; 1549 pollfd_t *newlist = NULL; local 1577 newlist = kmem_alloc(nfds * sizeof (pollfd_t), KM_SLEEP); 1578 bcopy(current, newlist, sizeof (pollfd_t) * nfds); 1584 * cached list. But we may be setting up the newlist to be the 1594 np = (newlist != NULL) ? &newlist[count] : NULL; 1615 if (newlist ! [all...] |
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 139 char **newlist; local 149 newlist = (char **)realloc(disk_list, newsize); 150 if (newlist == NULL) { 154 disk_list = newlist;
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cpupart.c | 323 cpu_t *ncp, *newlist; local 491 newlist = newpp->cp_cpulist; 492 if (newlist == NULL) { 497 cp->cpu_next_part = newlist; 498 cp->cpu_prev_part = newlist->cpu_prev_part; 499 newlist->cpu_prev_part->cpu_next_part = cp; 500 newlist->cpu_prev_part = cp;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | fio.c | 342 uf_entry_t *src, *dst, *newlist, *oldlist, *newend, *oldend; local 348 newlist = kmem_zalloc(newcnt * sizeof (uf_entry_t), KM_SLEEP); 354 kmem_free(newlist, newcnt * sizeof (uf_entry_t)); 360 newend = newlist + oldcnt; /* no need to lock beyond old end */ 378 for (dst = newlist; dst < newend; dst++) 381 for (src = oldlist, dst = newlist; src < oldend; src++, dst++) { 398 fip->fi_list = newlist; 418 for (dst = newlist; dst < newend; dst++)
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 446 * delete "curr" node from the "newlist". 449 pk11_delete_obj_from_list(OBJLIST **newlist, argument 453 if (*curr == *newlist) { 455 *newlist = (*curr)->next; 458 *curr = *newlist; 489 OBJLIST *newlist, *tail; local 525 newlist = NULL; 531 tail = newlist = NULL; 546 if (newlist == NULL) { 547 newlist [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_objset.c | 1029 dmu_objset_sync_dnodes(list_t *list, list_t *newlist, dmu_tx_t *tx) argument 1046 if (newlist) { 1047 (void) dnode_add_ref(dn, newlist); 1048 list_insert_tail(newlist, dn); 1112 list_t *newlist = NULL; local 1166 newlist = &os->os_synced_dnodes; 1171 list_create(newlist, sizeof (dnode_t), 1175 dmu_objset_sync_dnodes(&os->os_free_dnodes[txgoff], newlist, tx); 1176 dmu_objset_sync_dnodes(&os->os_dirty_dnodes[txgoff], newlist, tx);
|
/illumos-gate/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_psm.c | 1019 physdev_manage_pci_t manage_pci, *newlist; local 1057 newlist = kmem_alloc(sizeof (physdev_manage_pci_t) * mdev_size, 1059 if (newlist == NULL) { 1063 bcopy(managed_devlist, newlist, oldsize); 1065 managed_devlist = newlist;
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | devreserv.c | 622 * int putlocks(newlist, key) 623 * char **newlist 629 * newlist The address of the list of addresses of device 644 char **newlist, /* New devices to lock */ 662 pp = newlist; 643 putlocks( char **newlist, int key) argument
|
/illumos-gate/usr/src/lib/fm/libldom/sparc/ |
H A D | ldmsvcs_utils.c | 363 struct listdata_s **newlist, **oldlist; local 376 newlist = ldom_alloc(newlen * 380 newlist[i] = pollbase.list[i]; 383 pollbase.list = newlist;
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | nightly.sh | 1051 newlist= 1054 newlist="$ISUSER $dir $newlist" 1061 newdirlist="$newlist $newdirlist"
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipf_y.y | 64 static int newlist = 0; 454 lstart: '(' { newlist = 1; fr = frc; added = 0; } 460 lmore: lanother { if (newlist == 1) { 461 newlist = 0;
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_subr.c | 2817 char **newlist = NULL; local 2877 newlist = (char **) 2881 bcopy(pathlist, newlist, 2886 pathlist = newlist;
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | queue.c | 3171 WORK *newlist = (WORK *) sm_realloc((char *) WorkList, local 3174 if (newlist != NULL) 3177 WorkList = newlist;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 2638 struct iflist *newlist = NULL; local 2729 struct iflist **nextnew = &newlist; 2933 oldlist = newlist;
|