Searched refs:bucket_ptr (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpcisch.c1017 uint64_t *bucket_ptr = iommu_p->iommu_ctx_bitmap + bucket_no; local
1020 if (ldstub((uint8_t *)bucket_ptr)) { /* try lock */
1027 ctx_mask = (*bucket_ptr << DCB_LOCK_BITS) >> DCB_LOCK_BITS;
1028 ASSERT(*bucket_ptr >> DCB_BMAP_BITS == 0xff);
1036 *bucket_ptr = ctx_mask; /* unlock */
1052 uint64_t *bucket_ptr = iommu_p->iommu_ctx_bitmap + bucket_no; local
1058 while (ldstub((uint8_t *)bucket_ptr)) /* spin lock */
1060 ctx_mask = (*bucket_ptr << DCB_LOCK_BITS) >> DCB_LOCK_BITS;
1063 *bucket_ptr = ctx_mask ^ (1ull << bit_no); /* clear & unlock */

Completed in 62 milliseconds