Home
last modified time | relevance | path

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

/titanic_44/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()
770 const char *path, amd_iommu_page_table_t **ptp, int km_flags) in amd_iommu_alloc_pgtable() argument
786 pt = kmem_zalloc(sizeof (amd_iommu_page_table_t), km_flags); in amd_iommu_alloc_pgtable()
800 km_flags == KM_SLEEP ? DDI_DMA_SLEEP : DDI_DMA_DONTWAIT, in amd_iommu_alloc_pgtable()
816 km_flags == KM_SLEEP ? DDI_DMA_SLEEP : DDI_DMA_DONTWAIT, in amd_iommu_alloc_pgtable()
843 km_flags == KM_SLEEP ? DDI_DMA_SLEEP : DDI_DMA_DONTWAIT, in amd_iommu_alloc_pgtable()
1097 int km_flags) in amd_iommu_setup_1_pgtable() argument
1128 km_flags)) != DDI_SUCCESS) { in amd_iommu_setup_1_pgtable()
[all …]
H A Damd_iommu_impl.c1496 int km_flags) in map_current_window() argument
1507 path = kmem_alloc(MAXPATHLEN, km_flags); in map_current_window()
1526 AMD_IOMMU_VMEM_MAP, &start_va, km_flags)) != DDI_SUCCESS) { in map_current_window()
1627 int km_flags; in amd_iommu_bindhdl() local
1639 km_flags = iommulib_iommu_dma_get_sleep_flags(dip, dma_handle); in amd_iommu_bindhdl()
1641 path = kmem_alloc(MAXPATHLEN, km_flags); in amd_iommu_bindhdl()
1670 cookie_array, ccount, km_flags); in amd_iommu_bindhdl()
1813 int km_flags; in amd_iommu_win() local
1821 km_flags = iommulib_iommu_dma_get_sleep_flags(dip, dma_handle); in amd_iommu_win()
1871 cookie_array, ccount, km_flags); in amd_iommu_win()
H A Damd_iommu_page_tables.h121 uint64_t *start_vap, int km_flags);
/titanic_44/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_hash.c39 size_t tag_off, int km_flags) in refhash_create() argument
44 hp = kmem_alloc(sizeof (refhash_t), km_flags); in refhash_create()
47 hp->rh_buckets = kmem_zalloc(bucket_count * sizeof (list_t), km_flags); in refhash_create()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/cmd/mdb/common/kmdb/
H A Dkvm.h76 int km_flags; member
H A Dkmdb_kvm.c751 km->km_flags |= KM_F_PRIMARY; in kmt_mod_create()
958 if (sym_km->km_flags & KM_F_PRIMARY) { in kmt_lookup_by_addr()
/titanic_44/usr/src/uts/common/os/
H A Devchannels.c1923 int km_flags; in sysevent_evc_publish() local
1935 km_flags = flags & (EVCH_SLEEP | EVCH_NOSLEEP | EVCH_TRYHARD); in sysevent_evc_publish()
1936 ASSERT(km_flags == EVCH_SLEEP || km_flags == EVCH_NOSLEEP || in sysevent_evc_publish()
1937 km_flags == EVCH_TRYHARD); in sysevent_evc_publish()
1948 evp = sysevent_evc_alloc(class, subclass, pub, pub_sz, asz, km_flags); in sysevent_evc_publish()
1961 km_flags & EVCH_SLEEP ? KM_SLEEP : KM_NOSLEEP); in sysevent_evc_publish()
H A Dsunddi.c3239 #define DDI_NEW_PROP_T(km_flags) \ argument
3240 (kmem_zalloc(sizeof (ddi_prop_t), km_flags))
3248 int km_flags = KM_NOSLEEP; in ddi_prop_add() local
3259 km_flags = KM_SLEEP; in ddi_prop_add()
3266 if ((new_propp = DDI_NEW_PROP_T(km_flags)) == NULL) { in ddi_prop_add()
3296 new_propp->prop_name = kmem_alloc(name_buf_len, km_flags); in ddi_prop_add()
3318 new_propp->prop_val = kmem_alloc(length, km_flags); in ddi_prop_add()
H A Dsig.c2114 sigaddq(proc_t *p, kthread_t *t, k_siginfo_t *infop, int km_flags) in sigaddq() argument
2132 ((sqp = kmem_alloc(sizeof (sigqueue_t), km_flags)) != NULL)) { in sigaddq()
H A Dstrsubr.c8454 uint32_t flags, int km_flags) in hcksum_assoc() argument
8475 if (mmd_addpattr(mmd, pd, &pa_info, B_TRUE, km_flags) != NULL) { in hcksum_assoc()
/titanic_44/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()
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_cmd.c257 iscsi_cmd_alloc(iscsi_conn_t *icp, int km_flags) in iscsi_cmd_alloc() argument
261 icmdp = kmem_zalloc(sizeof (iscsi_cmd_t), km_flags); in iscsi_cmd_alloc()
H A Discsi.h1340 iscsi_cmd_t *iscsi_cmd_alloc(iscsi_conn_t *icp, int km_flags);
/titanic_44/usr/src/uts/common/sys/ib/mgt/ibmf/
H A Dibmf_impl.h693 int km_flags);
/titanic_44/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()
/titanic_44/usr/src/uts/i86pc/io/
H A Drootnex.c2421 int km_flags; in rootnex_coredma_get_cookies() local
2440 km_flags = rootnex_coredma_get_sleep_flags(handle); in rootnex_coredma_get_cookies()
2441 cookie = kmem_zalloc(sizeof (ddi_dma_cookie_t) * (*ccountp), km_flags); in rootnex_coredma_get_cookies()
/titanic_44/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()