| /NextBSD/sys/cddl/compat/opensolaris/sys/ |
| HD | sid.h | 45 kd = kmem_alloc(sizeof(*kd), KM_SLEEP); in ksid_lookupdomain() 47 kd->kd_name = kmem_alloc(len, KM_SLEEP); in ksid_lookupdomain()
|
| HD | kmem.h | 83 #define kmem_alloc(size, kmflags) zfs_kmem_alloc((size), (kmflags)) macro
|
| /NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| HD | zfs_fuid.c | 133 packed = kmem_alloc(fuid_size, KM_SLEEP); in zfs_fuid_table_load() 151 domnode = kmem_alloc(sizeof (fuid_domain_t), KM_SLEEP); in zfs_fuid_table_load() 258 fuids = kmem_alloc(numnodes * sizeof (void *), KM_SLEEP); in zfs_fuid_sync() 274 packed = kmem_alloc(nvsize, KM_SLEEP); in zfs_fuid_sync() 343 domnode = kmem_alloc(sizeof (fuid_domain_t), KM_SLEEP); in zfs_fuid_find_by_domain() 460 fuid_domain = kmem_alloc(sizeof (zfs_fuid_domain_t), KM_SLEEP); in zfs_fuid_node_add() 474 fuid = kmem_alloc(sizeof (zfs_fuid_t), KM_SLEEP); in zfs_fuid_node_add()
|
| HD | vdev_disk.c | 208 char *buf = kmem_alloc(len, KM_SLEEP); in vdev_disk_hold() 255 dk_ioc.dki_data = kmem_alloc(efisize, KM_SLEEP); in vdev_disk_get_space() 365 char *buf = kmem_alloc(len, KM_SLEEP); in vdev_disk_open() 477 physpath = kmem_alloc(MAXPATHLEN, KM_SLEEP); in vdev_disk_open() 758 zio->io_vsd = dkc = kmem_alloc(sizeof (*dkc), KM_SLEEP); in vdev_disk_io_start() 801 vb = kmem_alloc(sizeof (vdev_buf_t), KM_SLEEP); in vdev_disk_io_start() 902 label = kmem_alloc(sizeof (vdev_label_t), KM_SLEEP); in vdev_disk_read_rootlabel()
|
| HD | zfs_rlock.c | 205 proxy = kmem_alloc(sizeof (rl_t), KM_SLEEP); in zfs_range_proxify() 234 rear = kmem_alloc(sizeof (rl_t), KM_SLEEP); in zfs_range_split() 259 rl = kmem_alloc(sizeof (rl_t), KM_SLEEP); in zfs_range_new_proxy() 432 new = kmem_alloc(sizeof (rl_t), KM_SLEEP); in zfs_range_lock()
|
| HD | spa_config.c | 88 pathname = kmem_alloc(MAXPATHLEN, KM_SLEEP); in spa_config_load() 102 buf = kmem_alloc(fsize, KM_SLEEP); in spa_config_load() 186 buf = kmem_alloc(buflen, KM_SLEEP); in spa_config_write()
|
| HD | bplist.c | 48 bplist_entry_t *bpe = kmem_alloc(sizeof (*bpe), KM_SLEEP); in bplist_append()
|
| HD | unique.c | 82 unique_t *un = kmem_alloc(sizeof (unique_t), KM_SLEEP); in unique_insert()
|
| HD | zfs_debug.c | 80 zdm = kmem_alloc(sizeof (zfs_dbgmsg_t) + size, KM_SLEEP); in zfs_dbgmsg()
|
| HD | dsl_prop.c | 241 pr = kmem_alloc(sizeof (dsl_prop_record_t), KM_SLEEP); in dsl_prop_record_create() 294 cbr = kmem_alloc(sizeof (dsl_prop_cb_record_t), KM_SLEEP); in dsl_prop_register() 596 za = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP); in dsl_prop_changed_notify() 751 tbuf = kmem_alloc(ZAP_MAXVALUELEN, KM_SLEEP); in dsl_prop_set_sync_impl() 1020 char *tmp = kmem_alloc(za.za_num_integers, in dsl_prop_get_all_impl()
|
| HD | space_reftree.c | 97 sr = kmem_alloc(sizeof (*sr), KM_SLEEP); in space_reftree_add_node()
|
| HD | vdev_geom.c | 283 label = kmem_alloc(size, KM_SLEEP); in vdev_geom_read_config() 557 buf = kmem_alloc(len, KM_SLEEP); in vdev_geom_open_by_guids() 733 vd->vdev_physpath = kmem_alloc(bufsize, KM_SLEEP); in vdev_geom_open()
|
| HD | spa.c | 372 strval = kmem_alloc( in spa_prop_get() 393 strval = kmem_alloc(za.za_num_integers, KM_SLEEP); in spa_prop_get() 657 dp = kmem_alloc(sizeof (spa_config_dirent_t), in spa_configfile_set() 884 tqs->stqs_taskq = kmem_alloc(count * sizeof (taskq_t *), KM_SLEEP); in spa_taskqs_init() 1434 spa->spa_spares.sav_vdevs = kmem_alloc(nspares * sizeof (void *), in spa_load_spares() 1482 spares = kmem_alloc(spa->spa_spares.sav_count * sizeof (void *), in spa_load_spares() 1517 newvdevs = kmem_alloc(nl2cache * sizeof (void *), KM_SLEEP); in spa_load_l2cache() 1612 l2cache = kmem_alloc(sav->sav_count * sizeof (void *), KM_SLEEP); in spa_load_l2cache() 1641 packed = kmem_alloc(nvsize, KM_SLEEP); in load_nvlist() 1693 child = kmem_alloc(rvd->vdev_children * sizeof (nvlist_t **), in spa_config_valid() [all …]
|
| HD | zfs_onexit.c | 165 ap = kmem_alloc(sizeof (zfs_onexit_action_node_t), KM_SLEEP); in zfs_onexit_add_cb()
|
| /NextBSD/contrib/ntp/include/ |
| HD | parse.h | 61 extern caddr_t kmem_alloc (unsigned int); 66 #define MALLOC(_X_) (char *)kmem_alloc(_X_) 70 #define MALLOC(_X_) (char *)kmem_alloc(_X_, KM_SLEEP)
|
| /NextBSD/sys/cddl/compat/opensolaris/kern/ |
| HD | opensolaris_sunddi.c | 124 itemp = kmem_alloc(sizeof(*itemp), KM_SLEEP); in ddi_soft_state_zalloc() 173 ss = kmem_alloc(sizeof(*ss), KM_SLEEP); in ddi_soft_state_init()
|
| HD | opensolaris_kobj.c | 53 return (kmem_alloc(size, (flag & KM_NOWAIT) ? KM_NOSLEEP : KM_SLEEP)); in kobj_alloc() 98 out = kmem_alloc(sizeof(*out), KM_SLEEP); in kobj_open_file()
|
| HD | opensolaris_kmem.c | 161 cache = kmem_alloc(sizeof(*cache), KM_SLEEP); in kmem_cache_create() 195 p = kmem_alloc(cache->kc_size, flags); in kmem_cache_alloc()
|
| HD | opensolaris_string.c | 92 buf = kmem_alloc(size, KM_SLEEP); in kmem_asprintf()
|
| HD | opensolaris_taskq.c | 73 tq = kmem_alloc(sizeof(*tq), KM_SLEEP); in taskq_create()
|
| /NextBSD/sys/cddl/contrib/opensolaris/uts/common/os/ |
| HD | nvpair_alloc_system.c | 34 return (kmem_alloc(size, (int)(uintptr_t)nva->nva_arg)); in nv_alloc_sys()
|
| /NextBSD/contrib/netbsd-tests/rump/kernspace/ |
| HD | lockme.c | 87 some = kmem_alloc(sizeof(*some), KM_SLEEP); in rumptest_lockme()
|
| /NextBSD/sys/cddl/dev/dtrace/ |
| HD | dtrace_sysctl.c | 49 if ((p_name = kmem_alloc(len, KM_SLEEP)) == NULL) in sysctl_dtrace_providers()
|
| /NextBSD/cddl/contrib/opensolaris/lib/libzpool/common/ |
| HD | taskq.c | 90 t = kmem_alloc(sizeof (taskq_ent_t), tqflags & KM_SLEEP); in task_alloc() 261 tq->tq_threadlist = kmem_alloc(nthreads * sizeof (thread_t), KM_SLEEP); in taskq_create()
|
| /NextBSD/sys/compat/mach/ipc/ |
| HD | mach_debug.c | 308 kr = kmem_alloc(ipc_kernel_map, in mach_port_space_info() 329 kr = kmem_alloc(ipc_kernel_map, in mach_port_space_info()
|