| /Linux-v5.10/kernel/bpf/ |
| D | local_storage.c | 78 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 …]
|
| D | bpf_local_storage.c | 259 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 …]
|
| /Linux-v5.10/tools/testing/selftests/bpf/progs/ |
| D | local_storage.c | 60 struct dummy_storage *storage; in BPF_PROG() local 65 storage = bpf_inode_storage_get(&inode_storage_map, victim->d_inode, 0, in BPF_PROG() 67 if (!storage) in BPF_PROG() 70 if (storage->value == DUMMY_STORAGE_VALUE) in BPF_PROG() 84 struct dummy_storage *storage; in BPF_PROG() local 89 storage = bpf_sk_storage_get(&sk_storage_map, sock->sk, 0, in BPF_PROG() 91 if (!storage) in BPF_PROG() 94 if (storage->value == DUMMY_STORAGE_VALUE) in BPF_PROG() 106 struct dummy_storage *storage; in BPF_PROG() local 111 storage = bpf_sk_storage_get(&sk_storage_map, sock->sk, 0, in BPF_PROG() [all …]
|
| D | tcp_rtt.c | 26 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()
|
| D | sockopt_inherit.c | 55 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()
|
| D | sockopt_sk.c | 33 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()
|
| /Linux-v5.10/Documentation/bpf/ |
| D | map_cgroup_storage.rst | 9 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.10/drivers/md/ |
| D | md-bitmap.c | 217 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.10/drivers/usb/storage/ |
| D | Makefile | 14 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
|
| D | Kconfig | 13 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.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | core_acl_flex_keys.c | 396 __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 …]
|
| /Linux-v5.10/Documentation/block/ |
| D | writeback_cache_control.rst | 8 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.10/Documentation/admin-guide/device-mapper/ |
| D | switch.rst | 18 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
|
| D | zero.rst | 13 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.10/include/linux/ |
| D | bpf-cgroup.h | 65 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE]; member 160 *storage[MAX_BPF_CGROUP_STORAGE_TYPE]) in bpf_cgroup_storage_set() 165 this_cpu_write(bpf_cgroup_storage[stype], storage[stype]); in bpf_cgroup_storage_set() 173 void bpf_cgroup_storage_free(struct bpf_cgroup_storage *storage); 174 void bpf_cgroup_storage_link(struct bpf_cgroup_storage *storage, 177 void bpf_cgroup_storage_unlink(struct bpf_cgroup_storage *storage); 414 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE]) {} in bpf_cgroup_storage_set() 420 struct bpf_cgroup_storage *storage) {} in bpf_cgroup_storage_free() argument
|
| /Linux-v5.10/Documentation/usb/ |
| D | mass-storage.rst | 10 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.10/arch/arm/include/asm/ |
| D | ucontext.h | 53 struct crunch_state storage; member 65 struct iwmmxt_struct storage; member
|
| /Linux-v5.10/Documentation/devicetree/bindings/mmc/ |
| D | socfpga-dw-mshc.txt | 4 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
|
| D | img-dw-mshc.txt | 4 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
|
| D | bluefield-dw-mshc.txt | 6 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
|
| D | zx-dw-mshc.txt | 4 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
|
| /Linux-v5.10/drivers/iio/dac/ |
| D | ad5446.c | 149 #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.10/arch/arm64/mm/ |
| D | mteswap.c | 18 void mte_free_tag_storage(char *storage) in mte_free_tag_storage() argument 20 kfree(storage); in mte_free_tag_storage()
|
| /Linux-v5.10/Documentation/ABI/testing/ |
| D | pstore | 5 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.10/Documentation/ABI/stable/ |
| D | sysfs-driver-firmware-zynqmp | 6 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
|