Home
last modified time | relevance | path

Searched refs:allocator (Results 1 – 25 of 491) sorted by relevance

12345678910>>...20

/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyaffs_allocator.c58 struct yaffs_allocator *allocator = in yaffs_deinit_raw_tnodes() local
59 (struct yaffs_allocator *)dev->allocator; in yaffs_deinit_raw_tnodes()
62 if (!allocator) { in yaffs_deinit_raw_tnodes()
67 while (allocator->alloc_tnode_list) { in yaffs_deinit_raw_tnodes()
68 tmp = allocator->alloc_tnode_list->next; in yaffs_deinit_raw_tnodes()
70 kfree(allocator->alloc_tnode_list->tnodes); in yaffs_deinit_raw_tnodes()
71 kfree(allocator->alloc_tnode_list); in yaffs_deinit_raw_tnodes()
72 allocator->alloc_tnode_list = tmp; in yaffs_deinit_raw_tnodes()
75 allocator->free_tnodes = NULL; in yaffs_deinit_raw_tnodes()
76 allocator->n_free_tnodes = 0; in yaffs_deinit_raw_tnodes()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/linux/
H A Dump_kernel_memory_backend_dedicated.c52 static inline u32 get_phys(block_allocator *allocator, block_info *block);
63 block_allocator *allocator; in ump_block_allocator_create() local
80 allocator = kmalloc(sizeof(block_allocator), GFP_KERNEL); in ump_block_allocator_create()
81 if (NULL != allocator) { in ump_block_allocator_create()
82 allocator->all_blocks = kmalloc(sizeof(block_info) * num_blocks, GFP_KERNEL); in ump_block_allocator_create()
83 if (NULL != allocator->all_blocks) { in ump_block_allocator_create()
86 allocator->first_free = NULL; in ump_block_allocator_create()
87 allocator->num_blocks = num_blocks; in ump_block_allocator_create()
88 allocator->num_free = num_blocks; in ump_block_allocator_create()
89 allocator->base = base_address; in ump_block_allocator_create()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/bits/
H A Dallocator.h72 class allocator<void> in _GLIBCXX_VISIBILITY()
86 { typedef allocator<_Tp1> other; }; in _GLIBCXX_VISIBILITY()
97 allocator() = default; in _GLIBCXX_VISIBILITY()
101 allocator(const allocator<_Up>&) noexcept { } in _GLIBCXX_VISIBILITY()
134 class allocator : public __allocator_base<_Tp> in _GLIBCXX_VISIBILITY()
150 { typedef allocator<_Tp1> other; }; in _GLIBCXX_VISIBILITY()
164 allocator() _GLIBCXX_NOTHROW { } in _GLIBCXX_VISIBILITY()
167 allocator(const allocator& __a) _GLIBCXX_NOTHROW in _GLIBCXX_VISIBILITY()
172 allocator& operator=(const allocator&) = default; in _GLIBCXX_VISIBILITY()
177 allocator(const allocator<_Tp1>&) _GLIBCXX_NOTHROW { } in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/bits/
H A Dallocator.h72 class allocator<void> in _GLIBCXX_VISIBILITY()
86 { typedef allocator<_Tp1> other; }; in _GLIBCXX_VISIBILITY()
97 allocator() = default; in _GLIBCXX_VISIBILITY()
101 allocator(const allocator<_Up>&) noexcept { } in _GLIBCXX_VISIBILITY()
134 class allocator : public __allocator_base<_Tp> in _GLIBCXX_VISIBILITY()
150 { typedef allocator<_Tp1> other; }; in _GLIBCXX_VISIBILITY()
164 allocator() _GLIBCXX_NOTHROW { } in _GLIBCXX_VISIBILITY()
167 allocator(const allocator& __a) _GLIBCXX_NOTHROW in _GLIBCXX_VISIBILITY()
172 allocator& operator=(const allocator&) = default; in _GLIBCXX_VISIBILITY()
177 allocator(const allocator<_Tp1>&) _GLIBCXX_NOTHROW { } in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/external/mpp/osal/
H A Dmpp_allocator.cpp41 static MPP_RET mpp_allocator_api_wrapper(MppAllocator allocator, in mpp_allocator_api_wrapper() argument
45 if (NULL == allocator || NULL == info || id >= ALLOC_API_BUTT) { in mpp_allocator_api_wrapper()
47 allocator, info, id); in mpp_allocator_api_wrapper()
52 MppAllocatorImpl *p = (MppAllocatorImpl *)allocator; in mpp_allocator_api_wrapper()
85 static MPP_RET mpp_allocator_alloc(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_alloc() argument
87 return mpp_allocator_api_wrapper(allocator, info, ALLOC_API_ALLOC); in mpp_allocator_alloc()
90 static MPP_RET mpp_allocator_free(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_free() argument
92 return mpp_allocator_api_wrapper(allocator, info, ALLOC_API_FREE); in mpp_allocator_free()
95 static MPP_RET mpp_allocator_import(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_import() argument
97 return mpp_allocator_api_wrapper(allocator, info, ALLOC_API_IMPORT); in mpp_allocator_import()
[all …]
H A DCMakeLists.txt15 set(DRM_FILES allocator/allocator_drm.c)
22 allocator/allocator_std.c
23 allocator/allocator_ion.c
24 allocator/allocator_ext_dma.c
25 allocator/allocator_dma_heap.c
79 "${CMAKE_CURRENT_SOURCE_DIR}/allocator"
/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rockchipmpp/
H A Dgstmppallocator.c85 gst_mpp_allocator_set_cacheable (GstAllocator * allocator, gboolean cacheable) in gst_mpp_allocator_set_cacheable() argument
87 GstMppAllocator *self = GST_MPP_ALLOCATOR (allocator); in gst_mpp_allocator_set_cacheable()
96 gst_mpp_allocator_get_index (GstAllocator * allocator) in gst_mpp_allocator_get_index() argument
98 GstMppAllocator *self = GST_MPP_ALLOCATOR (allocator); in gst_mpp_allocator_get_index()
103 gst_mpp_allocator_get_mpp_group (GstAllocator * allocator) in gst_mpp_allocator_get_mpp_group() argument
105 GstMppAllocator *self = GST_MPP_ALLOCATOR (allocator); in gst_mpp_allocator_get_mpp_group()
128 gst_mpp_allocator_import_dmafd (GstAllocator * allocator, gint fd, guint size) in gst_mpp_allocator_import_dmafd() argument
130 GstMppAllocator *self = GST_MPP_ALLOCATOR (allocator); in gst_mpp_allocator_import_dmafd()
147 mem = gst_mpp_allocator_import_mppbuf (allocator, mbuf); in gst_mpp_allocator_import_dmafd()
154 gst_mpp_allocator_import_mppbuf (GstAllocator * allocator, MppBuffer mbuf) in gst_mpp_allocator_import_mppbuf() argument
[all …]
H A Dgstmppallocator.h33 void gst_mpp_allocator_set_cacheable (GstAllocator * allocator,
36 gint gst_mpp_allocator_get_index (GstAllocator * allocator);
38 MppBufferGroup gst_mpp_allocator_get_mpp_group (GstAllocator * allocator);
42 GstMemory *gst_mpp_allocator_import_mppbuf (GstAllocator * allocator,
45 GstMemory *gst_mpp_allocator_import_gst_memory (GstAllocator * allocator,
48 MppBuffer gst_mpp_allocator_alloc_mppbuf (GstAllocator * allocator, gsize size);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojson/0.4.2/include/mapbox/
H A Dgeojson_impl.hpp295 rapidjson_allocator& allocator; member
303 result.PushBack(operator()(vector[i]), allocator); in operator ()()
311 result.PushBack(element.x, allocator); in operator ()()
312 result.PushBack(element.y, allocator); in operator ()()
317 return convert(element, allocator); in operator ()()
322 rapidjson_allocator& allocator; member
356 result.SetString(t.data(), rapidjson::SizeType(t.size()), allocator); in operator ()()
364 result.PushBack(value::visit(item, *this), allocator); in operator ()()
379 allocator); in operator ()()
386 rapidjson_value convert<geometry>(const geometry& element, rapidjson_allocator& allocator) { in convert() argument
[all …]
/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rkximage/
H A Dgstkmsallocator.c107 gst_kms_allocator_memory_reset (GstKMSAllocator * allocator, GstKMSMemory * mem) in gst_kms_allocator_memory_reset() argument
112 if (!check_fd (allocator)) in gst_kms_allocator_memory_reset()
116 GST_DEBUG_OBJECT (allocator, "removing fb id %d", mem->fb_id); in gst_kms_allocator_memory_reset()
117 drmModeRmFB (allocator->priv->fd, mem->fb_id); in gst_kms_allocator_memory_reset()
125 GST_WARNING_OBJECT (allocator, "destroying mapped bo (refcount=%d)", in gst_kms_allocator_memory_reset()
133 err = drmIoctl (allocator->priv->fd, DRM_IOCTL_MODE_DESTROY_DUMB, &arg); in gst_kms_allocator_memory_reset()
135 GST_WARNING_OBJECT (allocator, in gst_kms_allocator_memory_reset()
170 gst_kms_allocator_memory_create (GstKMSAllocator * allocator, in gst_kms_allocator_memory_create() argument
182 if (!check_fd (allocator)) in gst_kms_allocator_memory_create()
195 ret = drmIoctl (allocator->priv->fd, DRM_IOCTL_MODE_CREATE_DUMB, &arg); in gst_kms_allocator_memory_create()
[all …]
H A Dgstkmsbufferpool.c41 GstAllocator *allocator; member
70 GstAllocator *allocator; in gst_kms_buffer_pool_set_config() local
86 allocator = NULL; in gst_kms_buffer_pool_set_config()
87 gst_buffer_pool_config_get_allocator (config, &allocator, &params); in gst_kms_buffer_pool_set_config()
90 if (allocator && GST_IS_KMS_ALLOCATOR (allocator)) { in gst_kms_buffer_pool_set_config()
91 if (priv->allocator) in gst_kms_buffer_pool_set_config()
92 gst_object_unref (priv->allocator); in gst_kms_buffer_pool_set_config()
93 priv->allocator = gst_object_ref (allocator); in gst_kms_buffer_pool_set_config()
95 if (!priv->allocator) in gst_kms_buffer_pool_set_config()
145 mem = gst_kms_allocator_bo_alloc (priv->allocator, info); in gst_kms_buffer_pool_alloc_buffer()
[all …]
H A Dgstkmsallocator.h80 GstMemory* gst_kms_allocator_bo_alloc (GstAllocator *allocator,
83 GstKMSMemory* gst_kms_allocator_dmabuf_import (GstAllocator *allocator,
89 GstMemory* gst_kms_allocator_dmabuf_export (GstAllocator *allocator,
94 void gst_kms_allocator_clear_cache (GstAllocator * allocator);
96 void gst_kms_allocator_cache (GstAllocator * allocator,
/OK3568_Linux_fs/external/mpp/osal/inc/
H A Dmpp_allocator.h35 MPP_RET (*alloc)(MppAllocator allocator, MppBufferInfo *data);
36 MPP_RET (*free)(MppAllocator allocator, MppBufferInfo *data);
37 MPP_RET (*import)(MppAllocator allocator, MppBufferInfo *data);
38 MPP_RET (*release)(MppAllocator allocator, MppBufferInfo *data);
39 MPP_RET (*mmap)(MppAllocator allocator, MppBufferInfo *data);
46 MPP_RET mpp_allocator_get(MppAllocator *allocator,
48 MPP_RET mpp_allocator_put(MppAllocator *allocator);
49 MppBufferType get_real_allocator_type(const MppAllocator allocator);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/
H A Ddocument.h613 GenericValue(const GenericValue<Encoding, SourceAllocator>& rhs, Allocator & allocator);
682 …e(const Ch* s, SizeType length, Allocator& allocator) : data_() { SetStringRaw(StringRef(s, length…
685 …GenericValue(const Ch*s, Allocator& allocator) : data_() { SetStringRaw(StringRef(s), allocator); }
691 …lue(const std::basic_string<Ch>& s, Allocator& allocator) : data_() { SetStringRaw(StringRef(s), a…
805 … GenericValue& CopyFrom(const GenericValue<Encoding, SourceAllocator>& rhs, Allocator& allocator) {
808 new (this) GenericValue(rhs, allocator);
1186 GenericValue& AddMember(GenericValue& name, GenericValue& value, Allocator& allocator) {
1194 … SetMembersPointer(reinterpret_cast<Member*>(allocator.Malloc(o.capacity * sizeof(Member))));
1199 …SetMembersPointer(reinterpret_cast<Member*>(allocator.Realloc(GetMembersPointer(), oldCapacity * s…
1218 GenericValue& AddMember(GenericValue& name, StringRefType value, Allocator& allocator) {
[all …]
H A Dpointer.h109 …GenericPointer(Allocator* allocator = 0) : allocator_(allocator), ownAllocator_(), nameBuffer_(), … in allocator_() argument
116 …explicit GenericPointer(const Ch* source, Allocator* allocator = 0) : allocator_(allocator), ownAl… in allocator_() argument
127 …icPointer(const std::basic_string<Ch>& source, Allocator* allocator = 0) : allocator_(allocator), … in allocator_() argument
139 …enericPointer(const Ch* source, size_t length, Allocator* allocator = 0) : allocator_(allocator), … in allocator_() argument
168 …GenericPointer(const GenericPointer& rhs, Allocator* allocator = 0) : allocator_(allocator), ownAl… in allocator_() argument
211 GenericPointer Append(const Token& token, Allocator* allocator = 0) const {
213 r.allocator_ = allocator;
229 GenericPointer Append(const Ch* name, SizeType length, Allocator* allocator = 0) const {
231 return Append(token, allocator);
242 Append(T* name, Allocator* allocator = 0) const {
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A Dprotected_memory_allocator.txt21 * Arm protected memory allocator for Mali GPU device drivers
25 - compatible: Must be "arm,protected-memory-allocator"
27 The protected memory allocator manages allocation of physical pages of a
31 In addition to that, the protected memory allocator shall be referenced
47 gpu_protected_memory_allocator: protected-memory-allocator {
48 compatible = "arm,protected-memory-allocator";
59 protected-memory-allocator = <&gpu_protected_memory_allocator>;
66 The protected memory allocator is gpu_protected_memory_allocator.
68 it is referenced by the GPU as protected-memory-allocator.
/OK3568_Linux_fs/yocto/meta-browser/meta-chromium/recipes-browser/chromium/files/musl/
H A D0015-mallopt-is-glibc-specific-API.patch10 base/allocator/allocator_check.cc | 2 +-
13 diff --git a/base/allocator/allocator_check.cc b/base/allocator/allocator_check.cc
15 --- a/base/allocator/allocator_check.cc
16 +++ b/base/allocator/allocator_check.cc
18 #include "base/allocator/partition_allocator/shim/winheap_stubs_win.h"
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_104.0.5112/
H A D0014-page_characteristics-in-base-should-be-exported.patch14 >>> referenced by page_allocator_constants.h:0 (../../base/allocator/partition_allocator/page_alloc…
16 >>> referenced by page_allocator_constants.h:0 (../../base/allocator/partition_allocator/page_alloc…
18 >>> referenced by page_allocator_constants.h:0 (../../base/allocator/partition_allocator/page_alloc…
33 base/allocator/partition_allocator/page_allocator_constants.h | 2 ++
36 diff --git a/base/allocator/partition_allocator/page_allocator_constants.h b/base/allocator/partiti…
38 --- a/base/allocator/partition_allocator/page_allocator_constants.h
39 +++ b/base/allocator/partition_allocator/page_allocator_constants.h
44 +#include "base/allocator/partition_allocator/partition_alloc_base/component_export.h"
45 #include "base/allocator/partition_allocator/partition_alloc_base/compiler_specific.h"
/OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtwebengine/chromium/
H A D0017-chromium-musl-linux-glibc-make-the-distinction.patch9 chromium/base/allocator/allocator_check.cc | 2 +-
12 diff --git a/chromium/base/allocator/allocator_check.cc b/chromium/base/allocator/allocator_check.cc
14 --- a/chromium/base/allocator/allocator_check.cc
15 +++ b/chromium/base/allocator/allocator_check.cc
24 // TODO(primiano): replace with an include once base can depend on allocator.
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/
H A Diosfwd27 template<class T> class allocator;
37 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
39 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
41 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
43 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
115 template<class _Tp> class _LIBCPP_TEMPLATE_VIS allocator;
130 class _Allocator = allocator<_CharT> >
133 class _Allocator = allocator<_CharT> >
136 class _Allocator = allocator<_CharT> >
139 class _Allocator = allocator<_CharT> >
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/
H A Diosfwd27 template<class T> class allocator;
37 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
39 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
41 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
43 template <class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
115 template<class _Tp> class _LIBCPP_TEMPLATE_VIS allocator;
130 class _Allocator = allocator<_CharT> >
133 class _Allocator = allocator<_CharT> >
136 class _Allocator = allocator<_CharT> >
139 class _Allocator = allocator<_CharT> >
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/ext/
H A Dvstring_fwd.h50 typename _Alloc = std::allocator<_CharT>, in _GLIBCXX_VISIBILITY()
59 std::allocator<char>, __rc_string_base> __rc_string; in _GLIBCXX_VISIBILITY()
66 std::allocator<wchar_t>, __rc_string_base> __wrc_string; in _GLIBCXX_VISIBILITY()
74 std::allocator<char16_t>, __rc_string_base> __u16rc_string; in _GLIBCXX_VISIBILITY()
80 std::allocator<char32_t>, __rc_string_base> __u32rc_string; in _GLIBCXX_VISIBILITY()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/ext/
H A Dvstring_fwd.h50 typename _Alloc = std::allocator<_CharT>, in _GLIBCXX_VISIBILITY()
59 std::allocator<char>, __rc_string_base> __rc_string; in _GLIBCXX_VISIBILITY()
66 std::allocator<wchar_t>, __rc_string_base> __wrc_string; in _GLIBCXX_VISIBILITY()
74 std::allocator<char16_t>, __rc_string_base> __u16rc_string; in _GLIBCXX_VISIBILITY()
80 std::allocator<char32_t>, __rc_string_base> __u32rc_string; in _GLIBCXX_VISIBILITY()
/OK3568_Linux_fs/external/mpp/mpp/base/test/
H A Dmpp_buffer_test.c38 MppAllocator allocator = NULL; in main() local
126 ret = mpp_allocator_get(&allocator, &api, MPP_BUFFER_TYPE_ION); in main()
136 ret = api->alloc(allocator, &commit); in main()
187 ret = api->free(allocator, &commit); in main()
195 ret = mpp_allocator_put(&allocator); in main()
287 if (allocator) { in main()
288 mpp_allocator_put(&allocator); in main()
290 mpp_assert(NULL == allocator); in main()
/OK3568_Linux_fs/buildroot/package/ripgrep/
H A D0001-puts-jemalloc-allocator-behind-a-cargo-feature-flag.patch4 Subject: [PATCH] puts jemalloc allocator behind a cargo feature flag
29 + # We only use the jemalloc allocator when building with musl.
30 + # The system allocator is good enough for other platforms.
48 + # Use jemalloc allocator for much better performance over the musl default allocator
75 +# The jemalloc allocator is used for improved
92 +jemalloc allocator for performance:
110 // heavy, musl's allocator appears to slow down ripgrep quite a bit. Therefore,
115 // system's default allocator by default. Moreover, jemalloc seems to increase

12345678910>>...20