Searched refs:newlist (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_common.kshlib123 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 Dtmutil.c172 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 Dstrchg.c127 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 Dkconf.c85 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 Dlibnwam_known_wlan.c166 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 Dlibnwam_values.c387 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 Dpkinit_identity.c64 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 Dprof_get.c72 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 Dscanf.c165 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 Dsocksctpsubr.c100 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 Dpoll.c1003 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 Dbiosdev.c139 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 Dcpupart.c323 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 Dfio.c342 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 Dpkcs11_spi.c446 * 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 Ddmu_objset.c1029 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 Dxpv_psm.c1019 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 Ddevreserv.c622 * 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 Dldmsvcs_utils.c363 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 Dnightly.sh1051 newlist=
1054 newlist="$ISUSER $dir $newlist"
1061 newdirlist="$newlist $newdirlist"
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf_y.y64 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 Dsdev_subr.c2817 char **newlist = NULL; local
2877 newlist = (char **)
2881 bcopy(pathlist, newlist,
2886 pathlist = newlist;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c3171 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 Dnetstat.c2638 struct iflist *newlist = NULL; local
2729 struct iflist **nextnew = &newlist;
2933 oldlist = newlist;

Completed in 282 milliseconds