Searched refs:new_array (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/ |
H A D | fake_softc.c | 134 void **new_array; in ddi_soft_state_zalloc() local 160 new_array = kmem_zalloc(new_n_items * sizeof (void *), in ddi_soft_state_zalloc() 165 bcopy(array, new_array, ss->n_items * sizeof (void *)); in ddi_soft_state_zalloc() 173 ss->array = (array = new_array); in ddi_soft_state_zalloc()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | findevs.c | 770 int *new_array; in add_int2array() local 780 new_array = (int *)calloc(cnt + 2, sizeof (int *)); in add_int2array() 781 if (new_array == NULL) { in add_int2array() 787 new_array[i] = pa[i]; in add_int2array() 790 new_array[i] = p; in add_int2array() 791 new_array[i + 1] = -1; in add_int2array() 794 *parray = new_array; in add_int2array() 805 void **new_array; in add_ptr2array() local 815 new_array = (void **)calloc(cnt + 2, sizeof (void *)); in add_ptr2array() 816 if (new_array == NULL) { in add_ptr2array() [all …]
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_policy.c | 241 crypto_mech_name_t *new_array, uint_t *prev_count, in kcf_policy_load_soft_disabled() argument 291 policy_desc->pd_disabled_mechs = new_array; in kcf_policy_load_soft_disabled() 304 crypto_mech_name_t *new_array, uint_t *prev_count, in kcf_policy_load_dev_disabled() argument 353 policy_desc->pd_disabled_mechs = new_array; in kcf_policy_load_dev_disabled()
|
H A D | kcf_cryptoadm.c | 645 crypto_mech_name_t *new_array) in crypto_load_dev_disabled() argument 661 new_array, &prev_count, &prev_array)) != CRYPTO_SUCCESS) { in crypto_load_dev_disabled() 679 kcf_compare_mechs(new_count, new_array, in crypto_load_dev_disabled() 685 kcf_change_mechs(provider, new_count, new_array, in crypto_load_dev_disabled() 700 crypto_mech_name_t *new_array) in crypto_load_soft_disabled() argument 742 if ((rv = kcf_policy_load_soft_disabled(name, new_count, new_array, in crypto_load_soft_disabled()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunddi.c | 5951 void **new_array; in ddi_soft_state_zalloc() local 5978 new_array = kmem_zalloc(new_n_items * sizeof (void *), in ddi_soft_state_zalloc() 5983 bcopy(array, new_array, ss->n_items * sizeof (void *)); in ddi_soft_state_zalloc() 5994 ss->array = (array = new_array); in ddi_soft_state_zalloc()
|