Home
last modified time | relevance | path

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

12345678910>>...32

/openbmc/linux/kernel/bpf/
H A Dlocal_storage.c78 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup() local
80 storage = container_of(node, struct bpf_cgroup_storage, node); in cgroup_storage_lookup()
82 switch (bpf_cgroup_storage_key_cmp(map, key, &storage->key)) { in cgroup_storage_lookup()
92 return storage; in cgroup_storage_lookup()
103 struct bpf_cgroup_storage *storage) in cgroup_storage_insert() argument
114 switch (bpf_cgroup_storage_key_cmp(map, &storage->key, &this->key)) { in cgroup_storage_insert()
126 rb_link_node(&storage->node, parent, new); in cgroup_storage_insert()
127 rb_insert_color(&storage->node, root); in cgroup_storage_insert()
135 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup_elem() local
137 storage = cgroup_storage_lookup(map, key, false); in cgroup_storage_lookup_elem()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dlocal_storage.c66 struct local_storage *storage; in BPF_PROG() local
79 storage = bpf_task_storage_get(&task_storage_map, task, 0, 0); in BPF_PROG()
80 if (!storage) in BPF_PROG()
84 is_self_unlink = storage->exec_inode == victim->d_inode; in BPF_PROG()
86 storage = bpf_task_storage_get(&task_storage_map2, task, 0, in BPF_PROG()
88 if (!storage || storage->value) in BPF_PROG()
112 struct local_storage *storage; in BPF_PROG() local
122 storage = bpf_inode_storage_get(&inode_storage_map, old_dentry->d_inode, in BPF_PROG()
124 if (!storage) in BPF_PROG()
127 if (storage->value != DUMMY_STORAGE_VALUE) in BPF_PROG()
[all …]
H A Dmptcp_sock.c31 struct mptcp_storage *storage; in _sockops() local
51 storage = bpf_sk_storage_get(&socket_storage_map, sk, 0, in _sockops()
53 if (!storage) in _sockops()
56 storage->token = 0; in _sockops()
57 __builtin_memset(storage->ca_name, 0, TCP_CA_NAME_MAX); in _sockops()
58 storage->first = NULL; in _sockops()
64 storage = bpf_sk_storage_get(&socket_storage_map, msk, 0, in _sockops()
66 if (!storage) in _sockops()
69 storage->token = msk->token; in _sockops()
70 __builtin_memcpy(storage->ca_name, msk->ca_name, TCP_CA_NAME_MAX); in _sockops()
[all …]
H A Dtcp_rtt.c25 struct tcp_rtt_storage *storage; in _sockops() local
34 storage = bpf_sk_storage_get(&socket_storage_map, sk, 0, in _sockops()
36 if (!storage) in _sockops()
51 storage->invoked++; in _sockops()
53 storage->dsack_dups = tcp_sk->dsack_dups; in _sockops()
54 storage->delivered = tcp_sk->delivered; in _sockops()
55 storage->delivered_ce = tcp_sk->delivered_ce; in _sockops()
56 storage->icsk_retransmits = tcp_sk->icsk_retransmits; in _sockops()
H A Dsockopt_inherit.c56 struct sockopt_inherit *storage; in _getsockopt() local
65 storage = get_storage(ctx); in _getsockopt()
66 if (!storage) in _getsockopt()
71 optval[0] = storage->val; in _getsockopt()
87 struct sockopt_inherit *storage; in _setsockopt() local
96 storage = get_storage(ctx); in _setsockopt()
97 if (!storage) in _setsockopt()
100 storage->val = optval[0]; in _setsockopt()
H A Dsockopt_sk.c34 struct sockopt_sk *storage; in _getsockopt() local
116 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _getsockopt()
118 if (!storage) in _getsockopt()
127 optval[0] = storage->val; in _getsockopt()
144 struct sockopt_sk *storage; in _setsockopt() local
221 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _setsockopt()
223 if (!storage) in _setsockopt()
226 storage->val = optval[0]; in _setsockopt()
H A Dbench_local_storage_create.c14 struct storage { struct
22 __type(value, struct storage); argument
29 __type(value, struct storage);
45 struct storage *stg; in BPF_PROG()
65 struct storage *stg; in BPF_PROG()
/openbmc/qemu/include/hw/
H A Dregisterfields.h49 #define FIELD_EX8(storage, reg, field) \ argument
50 extract8((storage), R_ ## reg ## _ ## field ## _SHIFT, \
52 #define FIELD_EX16(storage, reg, field) \ argument
53 extract16((storage), R_ ## reg ## _ ## field ## _SHIFT, \
55 #define FIELD_EX32(storage, reg, field) \ argument
56 extract32((storage), R_ ## reg ## _ ## field ## _SHIFT, \
58 #define FIELD_EX64(storage, reg, field) \ argument
59 extract64((storage), R_ ## reg ## _ ## field ## _SHIFT, \
62 #define FIELD_SEX8(storage, reg, field) \ argument
63 sextract8((storage), R_ ## reg ## _ ## field ## _SHIFT, \
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb/
H A D0001-Add-missing-includes-cstdint-and-cstdio.patch15 storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h | 1 +
17 storage/rocksdb/rocksdb/util/slice.cc | 1 +
18 storage/rocksdb/rocksdb/util/string_util.h | 1 +
21 diff --git a/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h b/storage/rocksdb/r…
23 --- a/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h
24 +++ b/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h
33 diff --git a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h b/storage/rocksdb/rocks…
35 --- a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h
36 +++ b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h
45 diff --git a/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h b/storage/rocksdb/ro…
[all …]
H A D0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch14 make[2]: *** [storage/innobase/CMakeFiles/innobase_embedded.dir/build.make:
15 1644: storage/innobase/CMakeFiles/innobase_embedded.dir/sync/cache.cc.o]
22 storage/innobase/sync/cache.cc | 2 +-
25 diff --git a/storage/innobase/sync/cache.cc b/storage/innobase/sync/cache.cc
27 --- a/storage/innobase/sync/cache.cc
28 +++ b/storage/innobase/sync/cache.cc
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
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
/openbmc/linux/Documentation/bpf/
H A Dmap_sk_storage.rst11 ``BPF_MAP_TYPE_SK_STORAGE`` is used to provide socket-local storage for BPF
12 programs. A map of type ``BPF_MAP_TYPE_SK_STORAGE`` declares the type of storage
14 storage. The values for maps of type ``BPF_MAP_TYPE_SK_STORAGE`` are stored
16 allocating storage for a socket when requested and for freeing the storage when
22 socket-local storage.
37 Socket-local storage for ``map`` can be retrieved from socket ``sk`` using the
39 flag is used then ``bpf_sk_storage_get()`` will create the storage for ``sk``
41 ``BPF_LOCAL_STORAGE_GET_F_CREATE`` to initialize the storage value, otherwise
42 it will be zero initialized. Returns a pointer to the storage on success, or
56 Socket-local storage for ``map`` can be deleted from socket ``sk`` using the
[all …]
H A Dmap_cgrp_storage.rst9 storage for cgroups. It is only available with ``CONFIG_CGROUPS``.
21 To access the storage in a program, use ``bpf_cgrp_storage_get``::
26 a new local storage will be created if one does not exist.
28 The local storage can be removed with ``bpf_cgrp_storage_delete``::
81 The old cgroup storage map ``BPF_MAP_TYPE_CGROUP_STORAGE`` has been marked as
91 (2). ``BPF_MAP_TYPE_CGRP_STORAGE`` supports local storage for more than one
95 (3). ``BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED`` allocates local storage at attach time so
96 ``bpf_get_local_storage()`` always returns non-NULL local storage.
97 ``BPF_MAP_TYPE_CGRP_STORAGE`` allocates local storage at runtime so
98 it is possible that ``bpf_cgrp_storage_get()`` may return null local storage.
[all …]
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 …]
/openbmc/qemu/docs/specs/
H A Dacpi_erst.rst6 storing error records in persistent storage for future reference
11 method for storing error records into persistent storage.
28 Linux uses the persistent storage filesystem, pstore, to record
35 Two common storage backends for the pstore filesystem are ACPI ERST
38 storage backend for virtual machines (as it is now for bare metal
65 - size: The size of the ACPI ERST backing storage. This parameter is
67 - mem-path: The location of the ACPI ERST backing storage file. This
76 backend storage. Must be a power of two value greater than or
101 The backend storage is divided into fixed size "slots", 8KiB in
107 Slot 0 contains a backend storage header that identifies the contents
[all …]
/openbmc/phosphor-misc/usb-ctrl/
H A Dusb-ctrl7 local storage="$1"
10 dd if=/dev/zero of="$storage" bs=1M seek="$sz_mb" count=0 2>/dev/null
13 mkdosfs -n 'OPENBMC-FW' -i $diskid -I "$storage" >/dev/null 2>&1
19 local storage="$1"
22 mount -o loop -t vfat "$storage" "$stormnt"
28 local storage="$1"
31 rm -f "$storage"
150 local storage="$3"
202 echo "${storage}" > "${gadget_function}/lun.0/file"
/openbmc/qemu/hw/ppc/
H A Dpnv_pnor.c28 ret |= (uint64_t) s->storage[addr + i] << (8 * (size - i - 1)); in pnv_pnor_read()
47 ret = blk_pwrite(s->blk, offset, offset_end - offset, s->storage + offset, in pnv_pnor_update()
62 s->storage[addr + i] = (data >> (8 * (size - i - 1))) & 0xFF; in pnv_pnor_write()
100 s->storage = blk_blockalign(s->blk, s->size); in pnv_pnor_realize()
102 if (blk_pread(s->blk, 0, s->size, s->storage, 0) < 0) { in pnv_pnor_realize()
107 s->storage = blk_blockalign(NULL, s->size); in pnv_pnor_realize()
108 memset(s->storage, 0xFF, s->size); in pnv_pnor_realize()
/openbmc/qemu/docs/devel/
H A Dzoned-storage.rst2 zoned-storage
10 https://zonedstorage.io/docs/introduction/zoned-storage
12 1. Block layer APIs for zoned storage
14 QEMU block layer supports three zoned storage models:
28 zoned storage information can be propagated from the leaf BlockDriverState all
29 the way up to the BlockBackend. If the zoned storage model in file-posix is
32 The block layer APIs support commands needed for zoned storage devices,
35 2. Emulating zoned storage controllers
37 When the BlockBackend's BlockLimits model reports a zoned storage device, users
39 APIs for zoned storage emulation or testing.
[all …]
/openbmc/linux/drivers/md/
H A Dmd-bitmap.c229 struct bitmap_storage *store = &bitmap->storage; in __write_sb_page()
230 unsigned int bitmap_limit = (bitmap->storage.file_pages - pg_index) << in __write_sb_page()
438 struct bitmap_storage *store = &bitmap->storage; in filemap_write_page()
459 if (bitmap->storage.file) in md_bitmap_wait_writes()
483 if (!bitmap->storage.sb_page) /* no superblock */ in md_bitmap_update_sb()
485 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_update_sb()
507 if (bitmap->storage.file) in md_bitmap_update_sb()
508 write_file_page(bitmap, bitmap->storage.sb_page, 1); in md_bitmap_update_sb()
510 write_sb_page(bitmap, bitmap->storage.sb_index, in md_bitmap_update_sb()
511 bitmap->storage.sb_page, 1); in md_bitmap_update_sb()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/
H A D0001-Add-support-for-RISC-V.patch11 src/include/storage/s_lock.h | 5 +++--
14 diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
16 --- a/src/include/storage/s_lock.h
17 +++ b/src/include/storage/s_lock.h
/openbmc/linux/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
/openbmc/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,
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_keys.c397 __mlxsw_item_set32(values->storage.key, storage_item, 0, key_value); in mlxsw_afk_values_add_u32()
398 __mlxsw_item_set32(values->storage.mask, storage_item, 0, mask_value); in mlxsw_afk_values_add_u32()
417 __mlxsw_item_memcpy_to(values->storage.key, key_value, in mlxsw_afk_values_add_buf()
419 __mlxsw_item_memcpy_to(values->storage.mask, mask_value, in mlxsw_afk_values_add_buf()
427 char *storage, char *output, int diff) in mlxsw_sp_afk_encode_u32() argument
431 value = __mlxsw_item_get32(storage, storage_item, 0); in mlxsw_sp_afk_encode_u32()
437 char *storage, char *output) in mlxsw_sp_afk_encode_buf() argument
439 char *storage_data = __mlxsw_item_data(storage, storage_item, 0); in mlxsw_sp_afk_encode_buf()
448 char *output, char *storage, int u32_diff) in mlxsw_sp_afk_encode_one() argument
458 storage, output, u32_diff); in mlxsw_sp_afk_encode_one()
[all …]
/openbmc/phosphor-dbus-monitor/src/
H A Dcount.hpp65 const auto& storage = std::get<storageIndex>(item.second); in operator ()() local
67 if (!std::get<valueIndex>(storage.get()).has_value()) in operator ()()
72 std::any_cast<T>(std::get<valueIndex>(storage.get())); in operator ()()
75 std::get<resultIndex>(storage.get()) = r; in operator ()()

12345678910>>...32