/titanic_41/usr/src/cmd/ttymon/ |
H A D | tmutil.c | 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 ) {
|
/titanic_41/usr/src/cmd/streams/strcmd/ |
H A D | strchg.c | 127 struct str_list newlist; /* modules to be pushed */ in main() local 138 newlist.sl_modlist = newmods; in main() 139 newlist.sl_nmods = NMODULES; in main() 325 (void) strncpy(newlist.sl_modlist[i].l_name, in main() 339 if (i > newlist.sl_nmods) in main() 340 if (more_modules(&newlist, i) != SUCCESS) in main() 343 newlist.sl_nmods = i; in main() 364 for (i = newlist.sl_nmods - 1; i >= 0; --i) { in main() 365 if (push_module(newlist.sl_modlist[i].l_name) == in main() 372 restore((newlist.sl_nmods - 1 - i), in main()
|
/titanic_41/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" 142 for i in $newlist; do
|
/titanic_41/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | kconf.c | 85 char *newstr, **newlist; in add_to_list() local 90 newlist = realloc(list->list, newmax * sizeof (char *)); in add_to_list() 91 if (newlist == NULL) in add_to_list() 94 list->list = newlist; in add_to_list()
|
/titanic_41/usr/src/lib/libnwam/common/ |
H A D | libnwam_known_wlan.c | 166 struct nwam_wlan_info **newlist = NULL; in get_wlans_cb() local 172 if ((newlist = realloc(list, in get_wlans_cb() 174 (newlist[num_wlans - 1] = calloc(1, in get_wlans_cb() 176 if (newlist != NULL) in get_wlans_cb() 177 free(newlist); in get_wlans_cb() 182 wil->list = newlist; in get_wlans_cb() 186 &((newlist[num_wlans - 1])->wlan_name))) != NWAM_SUCCESS || in get_wlans_cb() 190 &((newlist[num_wlans - 1])->wlan_priority))) != NWAM_SUCCESS) { in get_wlans_cb() 191 free(newlist[num_wlans - 1]->wlan_name); in get_wlans_cb() 193 free(newlist[num_wlans - 1]); in get_wlans_cb() [all …]
|
H A D | libnwam_values.c | 388 nwam_dup_object_list(void *oldlist, void *newlist) in nwam_dup_object_list() argument 392 assert(oldlist != NULL && newlist != NULL); in nwam_dup_object_list() 394 if ((nverr = nvlist_dup(oldlist, newlist, 0)) != 0) in nwam_dup_object_list()
|
/titanic_41/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_identity.c | 64 char **newlist; in copy_list() local 75 newlist = calloc(1, (i + 1) * sizeof(*newlist)); in copy_list() 76 if (newlist == NULL) in copy_list() 80 newlist[i] = strdup(src[i]); in copy_list() 81 if (newlist[i] == NULL) in copy_list() 84 newlist[i] = NULL; in copy_list() 85 *dst = newlist; in copy_list() 88 free_list(newlist); in copy_list()
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | poll.c | 1005 pcacheset_cmp(pollfd_t *current, pollfd_t *cached, pollfd_t *newlist, int n) in pcacheset_cmp() argument 1022 if (newlist != NULL) in pcacheset_cmp() 1023 newlist[ix].events = current[ix].events; in pcacheset_cmp() 1551 pollfd_t *newlist = NULL; in pcacheset_resolve() local 1579 newlist = kmem_alloc(nfds * sizeof (pollfd_t), KM_SLEEP); in pcacheset_resolve() 1580 bcopy(current, newlist, sizeof (pollfd_t) * nfds); in pcacheset_resolve() 1596 np = (newlist != NULL) ? &newlist[count] : NULL; in pcacheset_resolve() 1617 if (newlist != NULL) { in pcacheset_resolve() 1618 newlist[count].events = in pcacheset_resolve() 1662 if (newlist != NULL) { in pcacheset_resolve() [all …]
|
/titanic_41/usr/src/uts/common/inet/sockmods/ |
H A D | socksctpsubr.c | 100 struct sctp_sa_id *newlist, *oldlist; in sosctp_aid_grow() local 108 newlist = kmem_alloc(newcnt * sizeof (struct sctp_sa_id), kmflags); in sosctp_aid_grow() 110 if (newlist == NULL) { in sosctp_aid_grow() 115 kmem_free(newlist, newcnt * sizeof (struct sctp_sa_id)); in sosctp_aid_grow() 120 ss->ss_assocs = newlist; in sosctp_aid_grow() 123 bcopy(oldlist, newlist, oldcnt * sizeof (struct sctp_sa_id)); in sosctp_aid_grow() 124 bzero(newlist + oldcnt, in sosctp_aid_grow()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_get.c | 72 char *newstr, **newlist; in add_to_list() local 77 newlist = realloc(list->list, newmax * sizeof(char *)); in add_to_list() 78 if (newlist == 0) in add_to_list() 81 list->list = newlist; in add_to_list()
|
/titanic_41/usr/src/lib/libbc/libc/stdio/common/ |
H A D | scanf.c | 165 format_arg(unsigned char *format, unsigned char *list, unsigned char *newlist) in format_arg() argument 259 ptr = (int **)newlist; in format_arg() 261 newlist += sizeof(int *); in format_arg()
|
/titanic_41/usr/src/uts/common/disp/ |
H A D | cpupart.c | 323 cpu_t *ncp, *newlist; in cpupart_move_cpu() local 491 newlist = newpp->cp_cpulist; in cpupart_move_cpu() 492 if (newlist == NULL) { in cpupart_move_cpu() 497 cp->cpu_next_part = newlist; in cpupart_move_cpu() 498 cp->cpu_prev_part = newlist->cpu_prev_part; in cpupart_move_cpu() 499 newlist->cpu_prev_part->cpu_next_part = cp; in cpupart_move_cpu() 500 newlist->cpu_prev_part = cp; in cpupart_move_cpu()
|
/titanic_41/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 139 char **newlist; in new_disk_list_entry() local 149 newlist = (char **)realloc(disk_list, newsize); in new_disk_list_entry() 150 if (newlist == NULL) { in new_disk_list_entry() 154 disk_list = newlist; in new_disk_list_entry()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | fio.c | 341 uf_entry_t *src, *dst, *newlist, *oldlist, *newend, *oldend; in flist_grow() local 347 newlist = kmem_zalloc(newcnt * sizeof (uf_entry_t), KM_SLEEP); in flist_grow() 353 kmem_free(newlist, newcnt * sizeof (uf_entry_t)); in flist_grow() 359 newend = newlist + oldcnt; /* no need to lock beyond old end */ in flist_grow() 377 for (dst = newlist; dst < newend; dst++) in flist_grow() 380 for (src = oldlist, dst = newlist; src < oldend; src++, dst++) { in flist_grow() 397 fip->fi_list = newlist; in flist_grow() 417 for (dst = newlist; dst < newend; dst++) in flist_grow()
|
/titanic_41/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 449 pk11_delete_obj_from_list(OBJLIST **newlist, in pk11_delete_obj_from_list() argument 453 if (*curr == *newlist) { in pk11_delete_obj_from_list() 455 *newlist = (*curr)->next; in pk11_delete_obj_from_list() 458 *curr = *newlist; in pk11_delete_obj_from_list() 489 OBJLIST *newlist, *tail; in search_certs() local 525 newlist = NULL; in search_certs() 531 tail = newlist = NULL; in search_certs() 546 if (newlist == NULL) { in search_certs() 547 newlist = malloc(sizeof (OBJLIST)); in search_certs() 548 if (newlist == NULL) { in search_certs() [all …]
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | dmu_objset.c | 1048 dmu_objset_sync_dnodes(list_t *list, list_t *newlist, dmu_tx_t *tx) in dmu_objset_sync_dnodes() argument 1065 if (newlist) { in dmu_objset_sync_dnodes() 1066 (void) dnode_add_ref(dn, newlist); in dmu_objset_sync_dnodes() 1067 list_insert_tail(newlist, dn); in dmu_objset_sync_dnodes() 1126 list_t *newlist = NULL; in dmu_objset_sync() local 1179 newlist = &os->os_synced_dnodes; in dmu_objset_sync() 1184 list_create(newlist, sizeof (dnode_t), in dmu_objset_sync() 1188 dmu_objset_sync_dnodes(&os->os_free_dnodes[txgoff], newlist, tx); in dmu_objset_sync() 1189 dmu_objset_sync_dnodes(&os->os_dirty_dnodes[txgoff], newlist, tx); in dmu_objset_sync()
|
/titanic_41/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_psm.c | 1019 physdev_manage_pci_t manage_pci, *newlist; in xen_manage_device() local 1057 newlist = kmem_alloc(sizeof (physdev_manage_pci_t) * mdev_size, in xen_manage_device() 1059 if (newlist == NULL) { in xen_manage_device() 1063 bcopy(managed_devlist, newlist, oldsize); in xen_manage_device() 1065 managed_devlist = newlist; in xen_manage_device()
|
/titanic_41/usr/src/lib/libadm/common/ |
H A D | devreserv.c | 644 char **newlist, /* New devices to lock */ in putlocks() argument 662 pp = newlist; in putlocks()
|
/titanic_41/usr/src/lib/fm/libldom/sparc/ |
H A D | ldmsvcs_utils.c | 363 struct listdata_s **newlist, **oldlist; in poller_add_pending() local 376 newlist = ldom_alloc(newlen * in poller_add_pending() 380 newlist[i] = pollbase.list[i]; in poller_add_pending() 383 pollbase.list = newlist; in poller_add_pending()
|
/titanic_41/usr/src/tools/scripts/ |
H A D | nightly.sh | 1051 newlist= 1054 newlist="$ISUSER $dir $newlist" 1061 newdirlist="$newlist $newdirlist"
|
/titanic_41/usr/src/cmd/ipf/tools/ |
H A D | ipf_y.y | 64 static int newlist = 0; variable 454 lstart: '(' { newlist = 1; fr = frc; added = 0; } 460 lmore: lanother { if (newlist == 1) { 461 newlist = 0;
|
/titanic_41/usr/src/cmd/krb5/kadmin/gui/ |
H A D | KdcGui.java | 1195 String[] newlist = new String[list.length+1]; in addToList() local 1197 System.arraycopy(list, 0, newlist, 0, index); in addToList() 1198 newlist[index] = name; in addToList() 1200 System.arraycopy(list, index, newlist, index+1, rem); in addToList() 1201 return newlist; in addToList() 1209 String[] newlist = new String[list.length-1]; in delFromList() local 1211 System.arraycopy(list, 0, newlist, 0, index); in delFromList() 1213 System.arraycopy(list, index+1, newlist, index, rem-1); in delFromList() 1214 return newlist; in delFromList()
|
/titanic_41/usr/src/uts/common/fs/dev/ |
H A D | sdev_subr.c | 2821 char **newlist = NULL; in sdev_modctl_readdir() local 2881 newlist = (char **) in sdev_modctl_readdir() 2885 bcopy(pathlist, newlist, in sdev_modctl_readdir() 2890 pathlist = newlist; in sdev_modctl_readdir()
|
/titanic_41/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;
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 2638 struct iflist *newlist = NULL; in if_report() local 2729 struct iflist **nextnew = &newlist; in if_report() 2933 oldlist = newlist; in if_report()
|