/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_page_tables.c | 143 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 D | amd_iommu_impl.c | 1495 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 D | amd_iommu_page_tables.h | 121 uint64_t *start_vap, int km_flags);
|
/illumos-gate/usr/src/uts/common/refhash/ |
H A D | refhash.c | 33 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 D | iser_resource.c | 498 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 D | sysevent.c | 154 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 D | kvm.h | 75 int km_flags; member
|
H A D | kmdb_kvm.c | 749 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 D | evchannels.c | 1929 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 D | sunddi.c | 3170 #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 D | sig.c | 2130 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 D | ibmf.c | 598 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 D | ibmf_impl.c | 1937 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 D | iscsi_cmd.c | 258 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 D | iscsi.h | 1344 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 D | ibmf_impl.h | 693 int km_flags);
|
/illumos-gate/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 898 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 D | rootnex.c | 2408 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 D | st.c | 1605 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()
|