Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 25 of 1488) sorted by relevance

12345678910>>...60

/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dlocal_storage.c79 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup() local
81 storage = container_of(node, struct bpf_cgroup_storage, node); in cgroup_storage_lookup()
83 switch (bpf_cgroup_storage_key_cmp(map, key, &storage->key)) { in cgroup_storage_lookup()
93 return storage; in cgroup_storage_lookup()
104 struct bpf_cgroup_storage *storage) in cgroup_storage_insert() argument
115 switch (bpf_cgroup_storage_key_cmp(map, &storage->key, &this->key)) { in cgroup_storage_insert()
127 rb_link_node(&storage->node, parent, new); in cgroup_storage_insert()
128 rb_insert_color(&storage->node, root); in cgroup_storage_insert()
136 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup_elem() local
138 storage = cgroup_storage_lookup(map, key, false); in cgroup_storage_lookup_elem()
[all …]
H A Dbpf_local_storage.c259 struct bpf_local_storage *prev_storage, *storage; in bpf_local_storage_alloc() local
263 err = mem_charge(smap, owner, sizeof(*storage)); in bpf_local_storage_alloc()
267 storage = kzalloc(sizeof(*storage), GFP_ATOMIC | __GFP_NOWARN); in bpf_local_storage_alloc()
268 if (!storage) { in bpf_local_storage_alloc()
273 INIT_HLIST_HEAD(&storage->list); in bpf_local_storage_alloc()
274 raw_spin_lock_init(&storage->lock); in bpf_local_storage_alloc()
275 storage->owner = owner; in bpf_local_storage_alloc()
277 bpf_selem_link_storage_nolock(storage, first_selem); in bpf_local_storage_alloc()
292 prev_storage = cmpxchg(owner_storage_ptr, NULL, storage); in bpf_local_storage_alloc()
311 kfree(storage); in bpf_local_storage_alloc()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dlocal_storage.c60 struct dummy_storage *storage; in BPF_PROG() local
66 storage = bpf_inode_storage_get(&inode_storage_map, victim->d_inode, 0, in BPF_PROG()
68 if (!storage) in BPF_PROG()
71 if (storage->value != DUMMY_STORAGE_VALUE) in BPF_PROG()
86 struct dummy_storage *storage; in BPF_PROG() local
92 storage = bpf_sk_storage_get(&sk_storage_map, sock->sk, 0, in BPF_PROG()
94 if (!storage) in BPF_PROG()
97 if (storage->value != DUMMY_STORAGE_VALUE) in BPF_PROG()
112 struct dummy_storage *storage; in BPF_PROG() local
117 storage = bpf_sk_storage_get(&sk_storage_map, sock->sk, 0, in BPF_PROG()
[all …]
H A Dtcp_rtt.c26 struct tcp_rtt_storage *storage; in _sockops() local
35 storage = bpf_sk_storage_get(&socket_storage_map, sk, 0, in _sockops()
37 if (!storage) in _sockops()
52 storage->invoked++; in _sockops()
54 storage->dsack_dups = tcp_sk->dsack_dups; in _sockops()
55 storage->delivered = tcp_sk->delivered; in _sockops()
56 storage->delivered_ce = tcp_sk->delivered_ce; in _sockops()
57 storage->icsk_retransmits = tcp_sk->icsk_retransmits; in _sockops()
H A Dsockopt_inherit.c55 struct sockopt_inherit *storage; in _getsockopt() local
64 storage = get_storage(ctx); in _getsockopt()
65 if (!storage) in _getsockopt()
70 optval[0] = storage->val; in _getsockopt()
80 struct sockopt_inherit *storage; in _setsockopt() local
89 storage = get_storage(ctx); in _setsockopt()
90 if (!storage) in _setsockopt()
93 storage->val = optval[0]; in _setsockopt()
H A Dsockopt_sk.c33 struct sockopt_sk *storage; in _getsockopt() local
86 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _getsockopt()
88 if (!storage) in _getsockopt()
97 optval[0] = storage->val; in _getsockopt()
108 struct sockopt_sk *storage; in _setsockopt() local
171 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _setsockopt()
173 if (!storage) in _setsockopt()
176 storage->val = optval[0]; in _setsockopt()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/style/
H A Dconversion.hpp90 new (static_cast<void*>(&storage)) std::decay_t<T>(std::forward<T>(value)); in Convertible()
97 vtable->move(std::move(v.storage), this->storage); in Convertible()
103 vtable->destroy(storage); in ~Convertible()
109 vtable->destroy(storage); in operator =()
113 vtable->move(std::move(v.storage), this->storage); in operator =()
125 return v.vtable->isUndefined(v.storage); in isUndefined()
130 return v.vtable->isArray(v.storage); in isArray()
135 return v.vtable->arrayLength(v.storage); in arrayLength()
140 return v.vtable->arrayMember(v.storage, i); in arrayMember()
145 return v.vtable->isObject(v.storage); in isObject()
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/
H A Dutil_double_list.h121 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \ argument
123 storage = container_of(pos->member.next, pos, member); \
125 pos = storage, storage = container_of(storage->member.next, storage, member))
127 #define LIST_FOR_EACH_ENTRY_SAFE_REV(pos, storage, head, member) \ argument
129 storage = container_of(pos->member.prev, pos, member); \
131 pos = storage, storage = container_of(storage->member.prev, storage, member))
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A Dmap_cgroup_storage.rst9 storage. It is only available with ``CONFIG_CGROUP_BPF``, and to programs that
11 storage is identified by the cgroup the program is attached to.
13 The map provide a local storage at the cgroup that the BPF program is attached
38 map will share the same storage. Otherwise, if the type is
42 To access the storage in a program, use ``bpf_get_local_storage``::
51 ``struct bpf_spin_lock`` to synchronize the storage. See
128 storage. The non-per-CPU will have the same memory region for each storage.
130 Prior to Linux 5.9, the lifetime of a storage is precisely per-attachment, and
133 multiple attach types, and each attach creates a fresh zeroed storage. The
134 storage is freed upon detach.
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/variant/detail/
H A Dvisitation_impl.hpp108 int, Visitor& visitor, VoidPtrCV storage, T* in visitation_impl_invoke_impl() argument
113 cast_storage<T>(storage), 1L in visitation_impl_invoke_impl()
121 int internal_which, Visitor& visitor, VoidPtrCV storage, T* in visitation_impl_invoke_impl() argument
128 cast_storage<T>(storage), 1L in visitation_impl_invoke_impl()
134 cast_storage< backup_holder<T> >(storage), 1L in visitation_impl_invoke_impl()
143 int internal_which, Visitor& visitor, VoidPtrCV storage, T* t in visitation_impl_invoke() argument
155 internal_which, visitor, storage, t in visitation_impl_invoke()
203 , Visitor& visitor, VoidPtrCV storage in visitation_impl() argument
232 internal_which, visitor, storage \ in visitation_impl()
263 , visitor, storage in visitation_impl()
H A Dcast_storage.hpp28 inline T& cast_storage(void* storage) in cast_storage() argument
30 return *static_cast<T*>(storage); in cast_storage()
34 inline const T& cast_storage(const void* storage) in cast_storage() argument
36 return *static_cast<const T*>(storage); in cast_storage()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/sims/
H A Dta_sims.c23 static struct sims_bucket storage[TA_SIMS_MAX_STORAGE] = { {0} }; variable
104 if (storage[index].size > params[1].memref.size) in sims_read()
111 TEE_MemMove(params[1].memref.buffer, storage[index].data, in sims_read()
132 if (storage[index].data != NULL) in sims_write()
133 TEE_Free(storage[index].data); in sims_write()
135 storage[index].data = TEE_Malloc(params[1].memref.size, 0); in sims_write()
136 if (storage[index].data == NULL) { in sims_write()
137 storage[index].size = 0; in sims_write()
140 storage[index].size = params[1].memref.size; in sims_write()
142 TEE_MemMove(storage[index].data, params[1].memref.buffer, in sims_write()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb/
H A D0001-MDEV-29644-a-potential-bug-of-null-pointer-dereferen.patch25 storage/spider/spd_db_mysql.cc | 124 ++++++++----------
26 storage/spider/spd_db_mysql.h | 2 +-
28 create mode 100644 storage/spider/mysql-test/spider/bugfix/r/mdev_29644.result
29 create mode 100644 storage/spider/mysql-test/spider/bugfix/t/mdev_29644.cnf
30 create mode 100644 storage/spider/mysql-test/spider/bugfix/t/mdev_29644.test
32 diff --git a/storage/spider/mysql-test/spider/bugfix/r/mdev_29644.result b/storage/spider/mysql-tes…
36 +++ b/storage/spider/mysql-test/spider/bugfix/r/mdev_29644.result
79 diff --git a/storage/spider/mysql-test/spider/bugfix/t/mdev_29644.cnf b/storage/spider/mysql-test/s…
83 +++ b/storage/spider/mysql-test/spider/bugfix/t/mdev_29644.cnf
88 diff --git a/storage/spider/mysql-test/spider/bugfix/t/mdev_29644.test b/storage/spider/mysql-test/…
[all …]
H A Dfix-arm-atomic.patch15 storage/rocksdb/build_rocksdb.cmake | 3 +++
18 diff --git a/storage/rocksdb/build_rocksdb.cmake b/storage/rocksdb/build_rocksdb.cmake
20 --- a/storage/rocksdb/build_rocksdb.cmake
21 +++ b/storage/rocksdb/build_rocksdb.cmake
H A D0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch18 storage/innobase/log/log0sync.cc | 3 +++
21 diff --git a/storage/innobase/log/log0sync.cc b/storage/innobase/log/log0sync.cc
23 --- a/storage/innobase/log/log0sync.cc
24 +++ b/storage/innobase/log/log0sync.cc
/OK3568_Linux_fs/tools/windows/RKDevTool/RKDevTool_Release/
H A Drevision.txt18 1.support to download update.img on the second storage
22 2.add check entry size on loading multi-storage
33 2.fix multi-storage compatible bug
36 1.support new format multi-storage firmware
37 2.add unpack multi-storage firmware
40 1.support multi-storage firmware with div
48 2.fix two parameter bug on multi-storage case
70 1.test storage operation pass
81 1.support to download firmware into different storage
99 1.support to list storage and switch storage
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dunique_any.hpp51 vtable->move(std::move(rhs.storage), storage); in unique_any()
82 vtable->destroy(storage); in reset()
94 rhs.vtable->move(std::move(storage), rhs.storage); in swap()
98 vtable->move(std::move(tmp.storage), storage); in swap()
177 new (&storage.stack) _Vt(std::forward<ValueType>(value)); in createStorage()
183 storage.dynamic = new _Vt(std::forward<ValueType>(value)); in createStorage()
194 Storage storage; member in mbgl::util::unique_any
207 AllocateOnStack<_Vt>::value ? &storage.stack : storage.dynamic); in cast()
/OK3568_Linux_fs/buildroot/package/oracle-mysql/
H A D0007-dont-install-in-mysql-directory.patch61 diff -Nrup mysql-5.1.73.orig/storage/csv/Makefile.am mysql-5.1.73/storage/csv/Makefile.am
62 --- mysql-5.1.73.orig/storage/csv/Makefile.am 2013-11-04 19:52:27.000000000 +0100
63 +++ mysql-5.1.73/storage/csv/Makefile.am 2015-12-14 00:34:58.563937596 +0100
73 diff -Nrup mysql-5.1.73.orig/storage/heap/Makefile.am mysql-5.1.73/storage/heap/Makefile.am
74 --- mysql-5.1.73.orig/storage/heap/Makefile.am 2013-11-04 19:52:27.000000000 +0100
75 +++ mysql-5.1.73/storage/heap/Makefile.am 2015-12-14 00:34:58.563937596 +0100
85 diff -Nrup mysql-5.1.73.orig/storage/myisam/Makefile.am mysql-5.1.73/storage/myisam/Makefile.am
86 --- mysql-5.1.73.orig/storage/myisam/Makefile.am 2013-11-04 19:52:27.000000000 +0100
87 +++ mysql-5.1.73/storage/myisam/Makefile.am 2015-12-14 00:34:58.563937596 +0100
97 diff -Nrup mysql-5.1.73.orig/storage/myisammrg/Makefile.am mysql-5.1.73/storage/myisammrg/Makefile.…
[all …]
/OK3568_Linux_fs/yocto/meta-browser/meta-firefox/recipes-browser/firefox/firefox/debian-hacks/
H A DDon-t-error-out-when-run-time-libsqlite-is-older-tha.patch10 storage/mozStorageService.cpp | 2 ++
13 diff --git a/storage/mozStorageService.cpp b/storage/mozStorageService.cpp
15 --- a/storage/mozStorageService.cpp
16 +++ b/storage/mozStorageService.cpp
31 // The first reference to the storage service must be obtained on the
/OK3568_Linux_fs/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/
H A Drevision.txt16 1.support to download update.img into the second storage
27 1.fix multi-storage firmware compatible bug
30 1.fix upgrade multi-storage firmware bug
34 1.support new multi-storage firmware
40 1.support multi-storage firmware with div
41 2.ssd suport to set storage no argument
86 1.add switch storage function
87 2.support upgrade loader with storage
/OK3568_Linux_fs/kernel/drivers/md/
H A Dmd-bitmap.c217 struct bitmap_storage *store = &bitmap->storage; in write_sb_page()
292 if (bitmap->storage.file == NULL) { in write_page()
428 if (bitmap->storage.file) in md_bitmap_wait_writes()
452 if (!bitmap->storage.sb_page) /* no superblock */ in md_bitmap_update_sb()
454 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_update_sb()
475 write_page(bitmap, bitmap->storage.sb_page, 1); in md_bitmap_update_sb()
484 if (!bitmap || !bitmap->storage.sb_page) in md_bitmap_print_sb()
486 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_print_sb()
524 bitmap->storage.sb_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in md_bitmap_new_disk_sb()
525 if (bitmap->storage.sb_page == NULL) in md_bitmap_new_disk_sb()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_keys.c396 __mlxsw_item_set32(values->storage.key, storage_item, 0, key_value); in mlxsw_afk_values_add_u32()
397 __mlxsw_item_set32(values->storage.mask, storage_item, 0, mask_value); in mlxsw_afk_values_add_u32()
416 __mlxsw_item_memcpy_to(values->storage.key, key_value, in mlxsw_afk_values_add_buf()
418 __mlxsw_item_memcpy_to(values->storage.mask, mask_value, in mlxsw_afk_values_add_buf()
426 char *storage, char *output, int diff) in mlxsw_sp_afk_encode_u32() argument
430 value = __mlxsw_item_get32(storage, storage_item, 0); in mlxsw_sp_afk_encode_u32()
436 char *storage, char *output) in mlxsw_sp_afk_encode_buf() argument
438 char *storage_data = __mlxsw_item_data(storage, storage_item, 0); in mlxsw_sp_afk_encode_buf()
447 char *output, char *storage, int u32_diff) in mlxsw_sp_afk_encode_one() argument
457 storage, output, u32_diff); in mlxsw_sp_afk_encode_one()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/
H A D0001-Add-support-for-RISC-V.patch9 src/include/storage/s_lock.h | 5 +++--
12 diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
14 --- a/src/include/storage/s_lock.h
15 +++ b/src/include/storage/s_lock.h
/OK3568_Linux_fs/kernel/drivers/usb/storage/
H A DMakefile14 obj-$(CONFIG_USB_STORAGE) += usb-storage.o
16 usb-storage-y := scsiglue.o protocol.o transport.o usb.o
17 usb-storage-y += initializers.o sierra_ms.o option_ms.o
18 usb-storage-y += usual-tables.o
19 usb-storage-$(CONFIG_USB_STORAGE_DEBUG) += debug.o
/OK3568_Linux_fs/u-boot/common/
H A Dsplash.c30 .storage = SPLASH_STORAGE_SF,
36 .storage = SPLASH_STORAGE_MMC,
42 .storage = SPLASH_STORAGE_USB,
48 .storage = SPLASH_STORAGE_SATA,

12345678910>>...60