Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dlocal_storage.c51 struct local_storage *storage; in BPF_PROG() local
57 storage = bpf_task_storage_get(&task_storage_map, in BPF_PROG()
59 if (storage) { in BPF_PROG()
61 bpf_spin_lock(&storage->lock); in BPF_PROG()
62 is_self_unlink = storage->exec_inode == victim->d_inode; in BPF_PROG()
63 bpf_spin_unlock(&storage->lock); in BPF_PROG()
77 struct local_storage *storage; in BPF_PROG() local
87 storage = bpf_inode_storage_get(&inode_storage_map, old_dentry->d_inode, in BPF_PROG()
89 if (!storage) in BPF_PROG()
92 bpf_spin_lock(&storage->lock); in BPF_PROG()
[all …]
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()
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()
Dsockopt_sk.c34 struct sockopt_sk *storage; in _getsockopt() local
110 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _getsockopt()
112 if (!storage) in _getsockopt()
121 optval[0] = storage->val; in _getsockopt()
132 struct sockopt_sk *storage; in _setsockopt() local
203 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _setsockopt()
205 if (!storage) in _setsockopt()
208 storage->val = optval[0]; in _setsockopt()
/Linux-v5.15/kernel/bpf/
Dlocal_storage.c77 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup() local
79 storage = container_of(node, struct bpf_cgroup_storage, node); in cgroup_storage_lookup()
81 switch (bpf_cgroup_storage_key_cmp(map, key, &storage->key)) { in cgroup_storage_lookup()
91 return storage; in cgroup_storage_lookup()
102 struct bpf_cgroup_storage *storage) in cgroup_storage_insert() argument
113 switch (bpf_cgroup_storage_key_cmp(map, &storage->key, &this->key)) { in cgroup_storage_insert()
125 rb_link_node(&storage->node, parent, new); in cgroup_storage_insert()
126 rb_insert_color(&storage->node, root); in cgroup_storage_insert()
134 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup_elem() local
136 storage = cgroup_storage_lookup(map, key, false); in cgroup_storage_lookup_elem()
[all …]
Dbpf_local_storage.c265 struct bpf_local_storage *prev_storage, *storage; in bpf_local_storage_alloc() local
269 err = mem_charge(smap, owner, sizeof(*storage)); in bpf_local_storage_alloc()
273 storage = bpf_map_kzalloc(&smap->map, sizeof(*storage), in bpf_local_storage_alloc()
275 if (!storage) { in bpf_local_storage_alloc()
280 INIT_HLIST_HEAD(&storage->list); in bpf_local_storage_alloc()
281 raw_spin_lock_init(&storage->lock); in bpf_local_storage_alloc()
282 storage->owner = owner; in bpf_local_storage_alloc()
284 bpf_selem_link_storage_nolock(storage, first_selem); in bpf_local_storage_alloc()
299 prev_storage = cmpxchg(owner_storage_ptr, NULL, storage); in bpf_local_storage_alloc()
318 kfree(storage); in bpf_local_storage_alloc()
[all …]
Dbpf_inode_storage.c32 return &bsb->storage; in inode_storage_ptr()
47 inode_storage = rcu_dereference(bsb->storage); in inode_storage_lookup()
69 local_storage = rcu_dereference(bsb->storage); in bpf_inode_storage_free()
/Linux-v5.15/Documentation/bpf/
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 …]
/Linux-v5.15/drivers/md/
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 …]
/Linux-v5.15/drivers/usb/storage/
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
DKconfig13 Say Y here if you want to connect USB mass storage devices to your
22 (BLK_DEV_SD) for most USB storage devices.
25 module will be called usb-storage.
82 tristate "USBAT/USBAT02-based storage support"
84 Say Y here to include additional code to support storage devices
159 This code places the Rio Karma into mass storage mode, enabling
174 mass storage class.
194 storage devices. It permits higher performance by supporting
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c392 __mlxsw_item_set32(values->storage.key, storage_item, 0, key_value); in mlxsw_afk_values_add_u32()
393 __mlxsw_item_set32(values->storage.mask, storage_item, 0, mask_value); in mlxsw_afk_values_add_u32()
412 __mlxsw_item_memcpy_to(values->storage.key, key_value, in mlxsw_afk_values_add_buf()
414 __mlxsw_item_memcpy_to(values->storage.mask, mask_value, in mlxsw_afk_values_add_buf()
422 char *storage, char *output, int diff) in mlxsw_sp_afk_encode_u32() argument
426 value = __mlxsw_item_get32(storage, storage_item, 0); in mlxsw_sp_afk_encode_u32()
432 char *storage, char *output) in mlxsw_sp_afk_encode_buf() argument
434 char *storage_data = __mlxsw_item_data(storage, storage_item, 0); in mlxsw_sp_afk_encode_buf()
443 char *output, char *storage, int u32_diff) in mlxsw_sp_afk_encode_one() argument
453 storage, output, u32_diff); in mlxsw_sp_afk_encode_one()
[all …]
/Linux-v5.15/Documentation/block/
Dwriteback_cache_control.rst8 Many storage devices, especially in the consumer market, come with volatile
10 operating system before data actually has hit the non-volatile storage. This
12 system needs to force data out to the non-volatile storage when it performs
16 control the caching behavior of the storage device. These mechanisms are
24 the filesystem and will make sure the volatile cache of the storage device
27 storage before the flagged bio starts. In addition the REQ_PREFLUSH flag can be
38 signaled after the data has been committed to non-volatile storage.
/Linux-v5.15/Documentation/admin-guide/device-mapper/
Dswitch.rst18 Dell EqualLogic and some other iSCSI storage arrays use a distributed
19 frameless architecture. In this architecture, the storage group
20 consists of a number of distinct storage arrays ("members") each having
21 independent controllers, disk storage and network adapters. When a LUN
23 spreading are hidden from initiators connected to this storage system.
24 The storage group exposes a single target discovery portal, no matter
29 forwarding is invisible to the initiator. The storage layout is also
34 the storage group and initiators. In a multipathing configuration, it
38 robin algorithm to send I/O across all paths and let the storage array
Dzero.rst13 than the amount of actual storage space available for that device. A user can
16 enough data has been written to fill up the actual storage space, the sparse
36 10GB of actual storage space available. If more than 10GB of data is written
/Linux-v5.15/Documentation/usb/
Dmass-storage.rst10 multiple logical units (LUNs). Backing storage for each LUN is
27 relation to mass storage function (or MSF) and different gadgets
35 The mass storage gadget accepts the following mass storage specific
41 backing storage for each logical unit. There may be at most
45 *BEWARE* that if a file is used as a backing storage, it may not
110 MS Windows mounts removable storage in “Removal optimised mode” by
187 Other gadgets using mass storage function
191 mass storage protocol. As a composite function, MSF may be used by
195 gadgets using MSF, except that support for mass storage related
200 For examples of how to include mass storage function in gadgets, one
[all …]
/Linux-v5.15/drivers/iio/dac/
Dad5446.c149 #define _AD5446_CHANNEL(bits, storage, _shift, ext) { \ argument
159 .storagebits = (storage), \
165 #define AD5446_CHANNEL(bits, storage, shift) \ argument
166 _AD5446_CHANNEL(bits, storage, shift, NULL)
168 #define AD5446_CHANNEL_POWERDOWN(bits, storage, shift) \ argument
169 _AD5446_CHANNEL(bits, storage, shift, ad5446_ext_info_powerdown)
/Linux-v5.15/Documentation/devicetree/bindings/mmc/
Dsocfpga-dw-mshc.txt4 The Synopsys designware mobile storage host controller is used to interface
5 a SoC with storage medium such as eMMC or SD/MMC cards. This file documents
Dimg-dw-mshc.txt4 The Synopsys designware mobile storage host controller is used to interface
5 a SoC with storage medium such as eMMC or SD/MMC cards. This file documents
Dbluefield-dw-mshc.txt6 The Synopsys designware mobile storage host controller is used to interface
7 a SoC with storage medium such as eMMC or SD/MMC cards. This file documents
/Linux-v5.15/Documentation/ABI/testing/
Dpstore5 Description: Generic interface to platform dependent persistent storage.
27 the file will signal to the underlying persistent storage
40 persistent storage until at least this amount is reached.
/Linux-v5.15/arch/arm64/mm/
Dmteswap.c18 void mte_free_tag_storage(char *storage) in mte_free_tag_storage() argument
20 kfree(storage); in mte_free_tag_storage()
/Linux-v5.15/Documentation/ABI/stable/
Dsysfs-driver-firmware-zynqmp6 Read/Write PMU global general storage register value,
8 Global general storage register that can be used
32 Read/Write PMU persistent global general storage register
34 Persistent global general storage register that
/Linux-v5.15/drivers/usb/
DMakefile45 obj-$(CONFIG_USB_STORAGE) += storage/
46 obj-$(CONFIG_USB) += storage/
/Linux-v5.15/Documentation/filesystems/
Dceph.rst15 * N-way replication of data across storage nodes
29 storage nodes run entirely as user space daemons. File data is striped
30 across storage nodes in large chunks to distribute workload and
31 facilitate high throughputs. When storage nodes fail, data is
32 re-replicated in a distributed fashion by the storage nodes themselves
41 storage to significantly improve performance for common workloads. In
137 Disable CRC32C calculation for data writes. If set, the storage node

12345678910>>...13