| /OK3568_Linux_fs/kernel/drivers/dma-buf/ |
| H A D | dma-resv.c | 89 for (i = 0; i < list->shared_count; ++i) in dma_resv_list_free() 197 if ((old->shared_count + num_fences) <= old->shared_max) in dma_resv_reserve_shared() 200 max = max(old->shared_count + num_fences, in dma_resv_reserve_shared() 216 for (i = 0, j = 0, k = max; i < (old ? old->shared_count : 0); ++i) { in dma_resv_reserve_shared() 226 new->shared_count = j; in dma_resv_reserve_shared() 274 count = fobj->shared_count; in dma_resv_add_shared_fence() 287 BUG_ON(fobj->shared_count >= fobj->shared_max); in dma_resv_add_shared_fence() 294 smp_store_mb(fobj->shared_count, count); in dma_resv_add_shared_fence() 318 i = old->shared_count; in dma_resv_add_excl_fence() 327 old->shared_count = 0; in dma_resv_add_excl_fence() [all …]
|
| H A D | dma-buf.c | 290 unsigned shared_count, seq; in dma_buf_poll() local 310 shared_count = fobj->shared_count; in dma_buf_poll() 312 shared_count = 0; in dma_buf_poll() 319 if (fence_excl && (!(events & EPOLLOUT) || shared_count == 0)) { in dma_buf_poll() 323 if (shared_count == 0) in dma_buf_poll() 354 if ((events & EPOLLOUT) && shared_count > 0) { in dma_buf_poll() 369 for (i = 0; i < shared_count; ++i) { in dma_buf_poll() 393 if (i == shared_count) in dma_buf_poll() 1518 int count = 0, attach_count, shared_count, i; in dma_buf_debug_show() local 1551 shared_count = fobj ? fobj->shared_count : 0; in dma_buf_debug_show() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/smart_ptr/detail/ |
| H A D | shared_count.hpp | 107 class shared_count class 121 BOOST_CONSTEXPR shared_count(): pi_(0) // nothrow in shared_count() function in boost::detail::shared_count 128 BOOST_CONSTEXPR explicit shared_count( sp_counted_base * pi ): pi_( pi ) // nothrow in shared_count() function in boost::detail::shared_count 135 template<class Y> explicit shared_count( Y * p ): pi_( 0 ) in shared_count() function in boost::detail::shared_count 166 template<class Y, class D> shared_count( Y * p, D d ): pi_(0) in shared_count() function in boost::detail::shared_count 168 template<class P, class D> shared_count( P p, D d ): pi_(0) in shared_count() 204 template< class P, class D > shared_count( P p, sp_inplace_tag<D> ): pi_( 0 ) in shared_count() function in boost::detail::shared_count 236 template<class P, class D, class A> shared_count( P p, D d, A a ): pi_( 0 ) in shared_count() function in boost::detail::shared_count 293 template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 ) in shared_count() function in boost::detail::shared_count 355 explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) in shared_count() function in boost::detail::shared_count [all …]
|
| H A D | local_counted_base.hpp | 59 virtual boost::detail::shared_count local_cb_get_shared_count() const BOOST_SP_NOEXCEPT = 0; 100 shared_count pn_; 104 explicit local_counted_impl( shared_count const& pn ): pn_( pn ) in local_counted_impl() 110 explicit local_counted_impl( shared_count && pn ): pn_( std::move(pn) ) in local_counted_impl() 121 virtual boost::detail::shared_count local_cb_get_shared_count() const BOOST_SP_NOEXCEPT in local_cb_get_shared_count() 131 shared_count pn_; 135 shared_count().swap( pn_ ); in local_cb_destroy() 138 virtual boost::detail::shared_count local_cb_get_shared_count() const BOOST_SP_NOEXCEPT in local_cb_get_shared_count()
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-bio-prison-v2.c | 164 (*cell)->shared_count++; in __get() 167 (*cell)->shared_count = 1; in __get() 192 BUG_ON(!cell->shared_count); in __put() 193 cell->shared_count--; in __put() 196 if (!cell->shared_count) { in __put() 243 return cell->shared_count > 0; in __lock() 247 cell->shared_count = 0; in __lock() 276 if (!cell->shared_count) in __quiesce() 300 return cell->shared_count > 0; in __promote() 326 if (cell->shared_count) { in __unlock()
|
| H A D | dm-bio-prison-v2.h | 48 unsigned shared_count; member
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/smart_ptr/ |
| H A D | shared_ptr.hpp | 283 … void sp_pointer_construct( boost::shared_ptr< T > * ppx, Y * p, boost::detail::shared_count & pn ) in sp_pointer_construct() 285 boost::detail::shared_count( p ).swap( pn ); in sp_pointer_construct() 291 …sp_pointer_construct( boost::shared_ptr< T[] > * /*ppx*/, Y * p, boost::detail::shared_count & pn ) in sp_pointer_construct() 294 boost::detail::shared_count( p, boost::checked_array_deleter< T >() ).swap( pn ); in sp_pointer_construct() 297 …p_pointer_construct( boost::shared_ptr< T[N] > * /*ppx*/, Y * p, boost::detail::shared_count & pn ) in sp_pointer_construct() 300 boost::detail::shared_count( p, boost::checked_array_deleter< T >() ).swap( pn ); in sp_pointer_construct() 364 …tail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count const & pn_ ) B… in shared_ptr() 370 …tail::sp_internal_constructor_tag, element_type * px_, boost::detail::shared_count && pn_ ) BOOST_… in shared_ptr() 476 pn = boost::detail::shared_count( r ); in shared_ptr() 489 pn = boost::detail::shared_count( r ); in shared_ptr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_busy.c | 122 unsigned int shared_count = list->shared_count, i; in i915_gem_busy_ioctl() local 124 for (i = 0; i < shared_count; ++i) { in i915_gem_busy_ioctl()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_sync_helper.c | 206 unsigned shared_count = 0, f; in drm_reservation_cb_add() local 211 &shared_count, &shared_fences); in drm_reservation_cb_add() 224 for (f = 0; f < shared_count; f++) { in drm_reservation_cb_add() 238 for (f = 0; f < shared_count; f++) in drm_reservation_cb_add()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ |
| H A D | mali_kbase_dma_fence.c | 233 unsigned int shared_count = 0; in kbase_dma_fence_add_reservation_callback() local 238 &shared_count, in kbase_dma_fence_add_reservation_callback() 260 for (i = 0; i < shared_count; i++) { in kbase_dma_fence_add_reservation_callback() 275 for (i = 0; i < shared_count; i++) in kbase_dma_fence_add_reservation_callback()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_dma_fence.c | 280 u32 shared_count = 0, i; in mali_dma_fence_context_add_waiters() local 293 &shared_count, &shared_fences); in mali_dma_fence_context_add_waiters() 309 for (i = 0; i < shared_count; i++) { in mali_dma_fence_context_add_waiters() 328 for (i = 0; i < shared_count; i++) { in mali_dma_fence_context_add_waiters()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | dma-resv.h | 59 u32 shared_count, shared_max; member 223 fence->shared_max = fence->shared_count; in dma_resv_unlock()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/ |
| H A D | msm_gem.c | 719 if (!fobj || (fobj->shared_count == 0)) { in msm_gem_sync_object() 732 for (i = 0; i < fobj->shared_count; i++) { in msm_gem_sync_object() 874 unsigned int i, shared_count = fobj->shared_count; in msm_gem_describe() local 876 for (i = 0; i < shared_count; i++) { in msm_gem_describe()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_gem.c | 467 unsigned int i, shared_count = fobj->shared_count; in etnaviv_gem_describe() local 469 for (i = 0; i < shared_count; i++) { in etnaviv_gem_describe()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/qxl/ |
| H A D | qxl_debugfs.c | 65 rel = fobj ? fobj->shared_count : 0; in qxl_debugfs_buffers_info()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | radeon_sync.c | 111 for (i = 0; i < flist->shared_count; ++i) { in radeon_sync_resv()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_display.c | 88 for (i = 0; i < work->shared_count; ++i) in amdgpu_display_flip_work_func() 209 &work->shared_count, in amdgpu_display_crtc_page_flip_target() 261 for (i = 0; i < work->shared_count; ++i) in amdgpu_display_crtc_page_flip_target()
|
| H A D | amdgpu_sync.c | 220 for (i = 0; i < flist->shared_count; ++i) { in amdgpu_sync_resv()
|
| H A D | amdgpu_amdkfd_gpuvm.c | 244 for (i = 0, j = old->shared_count, k = 0; i < old->shared_count; ++i) { in amdgpu_amdkfd_remove_eviction_fence() 256 new->shared_count = k; in amdgpu_amdkfd_remove_eviction_fence() 264 for (i = j, k = 0; i < old->shared_count; ++i) { in amdgpu_amdkfd_remove_eviction_fence()
|
| H A D | amdgpu_vm.c | 1994 unsigned i, shared_count; in amdgpu_vm_prt_fini() local 1998 &shared_count, &shared); in amdgpu_vm_prt_fini() 2012 for (i = 0; i < shared_count; ++i) { in amdgpu_vm_prt_fini()
|
| H A D | amdgpu.h | 432 unsigned shared_count; member
|
| H A D | amdgpu_ttm.c | 1590 for (i = 0; i < flist->shared_count; ++i) { in amdgpu_ttm_bo_eviction_valuable()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_fence.c | 361 if (fence && (!exclusive || !fobj || !fobj->shared_count)) { in nouveau_fence_sync() 383 for (i = 0; i < fobj->shared_count && !ret; ++i) { in nouveau_fence_sync()
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/minidump/ |
| H A D | minidump_memory.c | 1052 int attach_count, shared_count, i = 0; in dump_bufinfo() local 1079 shared_count = fobj ? fobj->shared_count : 0; in dump_bufinfo() 1097 for (i = 0; i < shared_count; i++) { in dump_bufinfo()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo.c | 369 for (i = 0; fobj && i < fobj->shared_count; ++i) { in ttm_bo_flush_all_fences()
|