/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_ioport.c | 135 uint_t new_count = old_count - 1; in vm_inout_remove_at() local 145 if (idx < new_count) { in vm_inout_remove_at() 147 sizeof (ioport_entry_t) * (new_count - idx)); in vm_inout_remove_at() 155 uint_t new_count = old_count + 1; in vm_inout_insert_space_at() local 157 VERIFY(idx < new_count); in vm_inout_insert_space_at() 164 if (idx < new_count) { in vm_inout_insert_space_at() 194 uint_t new_count = old_count + 1; in vm_inout_attach() local 195 new_ents = kmem_alloc(new_count * sizeof (ioport_entry_t), KM_SLEEP); in vm_inout_attach() 205 cfg->iop_count = new_count; in vm_inout_attach() 256 uint_t new_count = old_count - 1; in vm_inout_detach() local [all …]
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_cryptoadm.c | 262 char *skip_providers, int *mech_counts, int *new_count) in filter_providers() argument 286 *new_count = n; in filter_providers() 304 int rval, i, j, new_count, *mech_counts; in crypto_get_dev_list() local 327 mech_counts, &new_count); in crypto_get_dev_list() 329 p = kmem_alloc(new_count * sizeof (crypto_dev_list_entry_t), KM_SLEEP); in crypto_get_dev_list() 347 *count = new_count; in crypto_get_dev_list() 644 crypto_load_dev_disabled(char *name, uint_t instance, uint_t new_count, in crypto_load_dev_disabled() argument 657 if (new_count == 0) { in crypto_load_dev_disabled() 660 } else if ((rv = kcf_policy_load_dev_disabled(name, instance, new_count, in crypto_load_dev_disabled() 679 kcf_compare_mechs(new_count, new_array, in crypto_load_dev_disabled() [all …]
|
H A D | kcf_policy.c | 240 kcf_policy_load_soft_disabled(char *module_name, uint_t new_count, in kcf_policy_load_soft_disabled() argument 290 policy_desc->pd_disabled_count = new_count; in kcf_policy_load_soft_disabled() 303 kcf_policy_load_dev_disabled(char *name, uint_t instance, uint_t new_count, in kcf_policy_load_dev_disabled() argument 352 policy_desc->pd_disabled_count = new_count; in kcf_policy_load_dev_disabled()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 1131 int i, err, ulp_failure = 0, new_count = 0; in g_get_dev_list() local 1210 fcio.fcio_alen = sizeof (new_count); in g_get_dev_list() 1211 fcio.fcio_abuf = (caddr_t)&new_count; in g_get_dev_list() 1219 num_devices = new_count; in g_get_dev_list() 1220 new_count = 0; in g_get_dev_list() 1232 fcio.fcio_alen = sizeof (new_count); in g_get_dev_list() 1233 fcio.fcio_abuf = (caddr_t)&new_count; in g_get_dev_list() 1243 num_devices, new_count); in g_get_dev_list() 1266 if (new_count < num_devices) { in g_get_dev_list() 1267 if (new_count == 0) { in g_get_dev_list() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_acl.c | 1363 int new_count, new_bytes; in zfs_acl_chmod() local 1375 new_count = new_bytes = 0; in zfs_acl_chmod() 1387 new_count++; in zfs_acl_chmod() 1393 new_count++; in zfs_acl_chmod() 1399 new_count++; in zfs_acl_chmod() 1461 new_count++; in zfs_acl_chmod() 1470 new_count += 3; in zfs_acl_chmod() 1473 aclp->z_acl_count = new_count; in zfs_acl_chmod() 1475 newnode->z_ace_count = new_count; in zfs_acl_chmod()
|
H A D | vdev_indirect.c | 490 uint64_t new_count = in spa_condense_indirect_complete_sync() local 532 new_count, old_count); in spa_condense_indirect_complete_sync()
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | spitfire.c | 2777 uint64_t count, new_count; \ 2782 new_count = (HB_REFRESH_INTERVAL * \ 2786 (new_count << HB_REFRESH_COUNT_SHIFT); \ 2806 (count + new_count) * MICROSEC * (cur_div)) /\
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fp.c | 8296 int new_count; in fp_fciocmd() local 8300 fcio->fcio_alen != sizeof (new_count)) { in fp_fciocmd() 8310 new_count = port->fp_total_devices; in fp_fciocmd() 8313 if (fp_copyout((void *)&new_count, in fp_fciocmd() 8315 sizeof (new_count), mode)) { in fp_fciocmd() 8330 new_count = port->fp_total_devices; in fp_fciocmd() 8333 if (fp_copyout((void *)&new_count, in fp_fciocmd() 8335 sizeof (new_count), mode)) { in fp_fciocmd() 8402 new_count = 0; in fp_fciocmd() 8403 if (fp_copyout((void *)&new_count, in fp_fciocmd() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelKeys.c | 126 CK_ULONG new_count) in grow_template() argument 130 new_template = malloc(new_count * sizeof (CK_ATTRIBUTE)); in grow_template()
|