Home
last modified time | relevance | path

Searched refs:kmem_alloc (Results 1 – 25 of 83) sorted by relevance

1234

/NextBSD/sys/cddl/compat/opensolaris/sys/
HDsid.h45 kd = kmem_alloc(sizeof(*kd), KM_SLEEP); in ksid_lookupdomain()
47 kd->kd_name = kmem_alloc(len, KM_SLEEP); in ksid_lookupdomain()
HDkmem.h83 #define kmem_alloc(size, kmflags) zfs_kmem_alloc((size), (kmflags)) macro
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDzfs_fuid.c133 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()
HDvdev_disk.c208 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()
HDzfs_rlock.c205 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()
HDspa_config.c88 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()
HDbplist.c48 bplist_entry_t *bpe = kmem_alloc(sizeof (*bpe), KM_SLEEP); in bplist_append()
HDunique.c82 unique_t *un = kmem_alloc(sizeof (unique_t), KM_SLEEP); in unique_insert()
HDzfs_debug.c80 zdm = kmem_alloc(sizeof (zfs_dbgmsg_t) + size, KM_SLEEP); in zfs_dbgmsg()
HDdsl_prop.c241 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()
HDspace_reftree.c97 sr = kmem_alloc(sizeof (*sr), KM_SLEEP); in space_reftree_add_node()
HDvdev_geom.c283 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()
HDspa.c372 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 …]
HDzfs_onexit.c165 ap = kmem_alloc(sizeof (zfs_onexit_action_node_t), KM_SLEEP); in zfs_onexit_add_cb()
/NextBSD/contrib/ntp/include/
HDparse.h61 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/
HDopensolaris_sunddi.c124 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()
HDopensolaris_kobj.c53 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()
HDopensolaris_kmem.c161 cache = kmem_alloc(sizeof(*cache), KM_SLEEP); in kmem_cache_create()
195 p = kmem_alloc(cache->kc_size, flags); in kmem_cache_alloc()
HDopensolaris_string.c92 buf = kmem_alloc(size, KM_SLEEP); in kmem_asprintf()
HDopensolaris_taskq.c73 tq = kmem_alloc(sizeof(*tq), KM_SLEEP); in taskq_create()
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/os/
HDnvpair_alloc_system.c34 return (kmem_alloc(size, (int)(uintptr_t)nva->nva_arg)); in nv_alloc_sys()
/NextBSD/contrib/netbsd-tests/rump/kernspace/
HDlockme.c87 some = kmem_alloc(sizeof(*some), KM_SLEEP); in rumptest_lockme()
/NextBSD/sys/cddl/dev/dtrace/
HDdtrace_sysctl.c49 if ((p_name = kmem_alloc(len, KM_SLEEP)) == NULL) in sysctl_dtrace_providers()
/NextBSD/cddl/contrib/opensolaris/lib/libzpool/common/
HDtaskq.c90 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/
HDmach_debug.c308 kr = kmem_alloc(ipc_kernel_map, in mach_port_space_info()
329 kr = kmem_alloc(ipc_kernel_map, in mach_port_space_info()

1234