/titanic_50/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 | 1496 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 D | amd_iommu_page_tables.h | 121 uint64_t *start_vap, int km_flags);
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_hash.c | 39 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_50/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()
|
/titanic_50/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()
|
/titanic_50/usr/src/cmd/mdb/common/kmdb/ |
H A D | kvm.h | 76 int km_flags; member
|
H A D | kmdb_kvm.c | 751 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_50/usr/src/uts/common/os/ |
H A D | evchannels.c | 1923 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 D | sunddi.c | 3239 #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 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()
|
H A D | strsubr.c | 8454 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_50/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()
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_cmd.c | 257 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 D | iscsi.h | 1340 iscsi_cmd_t *iscsi_cmd_alloc(iscsi_conn_t *icp, int km_flags);
|
/titanic_50/usr/src/uts/common/sys/ib/mgt/ibmf/ |
H A D | ibmf_impl.h | 693 int km_flags);
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/i86pc/io/ |
H A D | rootnex.c | 2421 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_50/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()
|