Home
last modified time | relevance | path

Searched refs:km_flags (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_page_tables.c143 map_type_t type, int km_flags) in amd_iommu_lookup_domain() argument
160 dp = kmem_zalloc(sizeof (*dp), km_flags); in amd_iommu_lookup_domain()
175 km_flags == KM_SLEEP ? VM_SLEEP : VM_NOSLEEP); in amd_iommu_lookup_domain()
1097 int km_flags) in amd_iommu_setup_1_pgtable() argument
1128 km_flags)) != DDI_SUCCESS) { in amd_iommu_setup_1_pgtable()
1212 amd_iommu_domain_t *dp, const char *path, int km_flags) in amd_iommu_create_pgtables() argument
1244 &next_idx, path, km_flags)) != DDI_SUCCESS) { in amd_iommu_create_pgtables()
1436 map_type_t type, uint64_t *start_vap, int km_flags) in amd_iommu_map_pa2va() argument
1464 path = kmem_alloc(MAXPATHLEN, km_flags); in amd_iommu_map_pa2va()
1533 km_flags == KM_SLEEP ? VM_SLEEP : VM_NOSLEEP); in amd_iommu_map_pa2va()
[all …]
H A Damd_iommu_impl.c1495 int km_flags) in map_current_window() argument
1506 path = kmem_alloc(MAXPATHLEN, km_flags); in map_current_window()
1525 AMD_IOMMU_VMEM_MAP, &start_va, km_flags)) != DDI_SUCCESS) { in map_current_window()
1626 int km_flags; in amd_iommu_bindhdl() local
1638 km_flags = iommulib_iommu_dma_get_sleep_flags(dip, dma_handle); in amd_iommu_bindhdl()
1640 path = kmem_alloc(MAXPATHLEN, km_flags); in amd_iommu_bindhdl()
1669 cookie_array, ccount, km_flags); in amd_iommu_bindhdl()
1812 int km_flags; in amd_iommu_win() local
1820 km_flags = iommulib_iommu_dma_get_sleep_flags(dip, dma_handle); in amd_iommu_win()
1870 cookie_array, ccount, km_flags); in amd_iommu_win()
H A Damd_iommu_page_tables.h121 uint64_t *start_vap, int km_flags);
/illumos-gate/usr/src/uts/common/refhash/
H A Drefhash.c33 size_t tag_off, int km_flags) in refhash_create() argument
38 hp = kmem_alloc(sizeof (refhash_t), km_flags); in refhash_create()
41 hp->rh_buckets = kmem_zalloc(bucket_count * sizeof (list_t), km_flags); in refhash_create()
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/
H A Diser_resource.c498 int km_flags = 0; in iser_vmem_chunk_alloc() local
501 km_flags |= KM_NOSLEEP; in iser_vmem_chunk_alloc()
504 chunk = kmem_alloc(chunksize, km_flags); in iser_vmem_chunk_alloc()
548 int km_flags = 0; in iser_reg_mem() local
553 result = (iser_mr_t *)kmem_zalloc(sizeof (iser_mr_t), km_flags); in iser_reg_mem()
/illumos-gate/usr/src/uts/common/io/
H A Dsysevent.c154 int km_flags; in sysevent_publish() local
182 km_flags = uargs.flags & (EVCH_NOSLEEP | EVCH_SLEEP); in sysevent_publish()
183 if (km_flags != EVCH_NOSLEEP && km_flags != EVCH_SLEEP) in sysevent_publish()
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkvm.h75 int km_flags; member
H A Dkmdb_kvm.c749 km->km_flags |= KM_F_PRIMARY; in kmt_mod_create()
956 if (sym_km->km_flags & KM_F_PRIMARY) { in kmt_lookup_by_addr()
/illumos-gate/usr/src/uts/common/os/
H A Devchannels.c1929 int km_flags; in sysevent_evc_publish() local
1941 km_flags = flags & (EVCH_SLEEP | EVCH_NOSLEEP | EVCH_TRYHARD); in sysevent_evc_publish()
1942 ASSERT(km_flags == EVCH_SLEEP || km_flags == EVCH_NOSLEEP || in sysevent_evc_publish()
1943 km_flags == EVCH_TRYHARD); in sysevent_evc_publish()
1954 evp = sysevent_evc_alloc(class, subclass, pub, pub_sz, asz, km_flags); in sysevent_evc_publish()
1967 km_flags & EVCH_SLEEP ? KM_SLEEP : KM_NOSLEEP); in sysevent_evc_publish()
H A Dsunddi.c3170 #define DDI_NEW_PROP_T(km_flags) \ argument
3171 (kmem_zalloc(sizeof (ddi_prop_t), km_flags))
3179 int km_flags = KM_NOSLEEP; in ddi_prop_add() local
3190 km_flags = KM_SLEEP; in ddi_prop_add()
3197 if ((new_propp = DDI_NEW_PROP_T(km_flags)) == NULL) { in ddi_prop_add()
3227 new_propp->prop_name = kmem_alloc(name_buf_len, km_flags); in ddi_prop_add()
3249 new_propp->prop_val = kmem_alloc(length, km_flags); in ddi_prop_add()
H A Dsig.c2130 sigaddq(proc_t *p, kthread_t *t, k_siginfo_t *infop, int km_flags) in sigaddq() argument
2148 ((sqp = kmem_alloc(sizeof (sigqueue_t), km_flags)) != NULL)) { in sigaddq()
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf.c598 int km_flags; in ibmf_alloc_msg() local
644 km_flags = (flag == IBMF_ALLOC_SLEEP) ? KM_SLEEP : KM_NOSLEEP; in ibmf_alloc_msg()
649 status = ibmf_i_alloc_msg(clientp, &ibmf_msg_impl, km_flags); in ibmf_alloc_msg()
H A Dibmf_impl.c1937 ibmf_i_alloc_msg(ibmf_client_t *clientp, ibmf_msg_impl_t **msgp, int km_flags) in ibmf_i_alloc_msg() argument
1945 *msgp, tnf_int, km_flags, km_flags); in ibmf_i_alloc_msg()
1949 km_flags); in ibmf_i_alloc_msg()
1951 if (km_flags == KM_SLEEP) { in ibmf_i_alloc_msg()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_cmd.c258 iscsi_cmd_alloc(iscsi_conn_t *icp, int km_flags) in iscsi_cmd_alloc() argument
262 icmdp = kmem_zalloc(sizeof (iscsi_cmd_t), km_flags); in iscsi_cmd_alloc()
H A Discsi.h1344 iscsi_cmd_t *iscsi_cmd_alloc(iscsi_conn_t *icp, int km_flags);
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibmf/
H A Dibmf_impl.h693 int km_flags);
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.c898 int km_flags = (canwait != NULL_FUNC)? KM_SLEEP : KM_NOSLEEP; in dcd_doattach() local
943 un->un_sbufp = getrbuf(km_flags); in dcd_doattach()
967 kmem_zalloc(sizeof (struct dcd_drivetype), km_flags); in dcd_doattach()
/illumos-gate/usr/src/uts/i86pc/io/
H A Drootnex.c2408 int km_flags; in rootnex_coredma_get_cookies() local
2427 km_flags = rootnex_coredma_get_sleep_flags(handle); in rootnex_coredma_get_cookies()
2428 cookie = kmem_zalloc(sizeof (ddi_dma_cookie_t) * (*ccountp), km_flags); in rootnex_coredma_get_cookies()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c1605 int km_flags = (canwait != NULL_FUNC) ? KM_SLEEP : KM_NOSLEEP; in st_doattach() local
1686 un->un_sbufp = getrbuf(km_flags); in st_doattach()
1687 un->un_recov_buf = getrbuf(km_flags); in st_doattach()
1696 sizeof (struct seq_mode), ((km_flags == KM_SLEEP) ? 1 : 0), 0, in st_doattach()
1700 sizeof (read_pos_data_t), ((km_flags == KM_SLEEP) ? 1 : 0), 0, in st_doattach()
1725 "un_recov_taskq", 1, TASKQ_DEFAULTPRI, km_flags); in st_doattach()