/linux-6.3-rc2/kernel/bpf/ |
A D | local_storage.c | 138 if (!storage) in cgroup_storage_lookup_elem() 159 if (!storage) in cgroup_storage_update_elem() 192 if (!storage) { in bpf_percpu_cgroup_storage_copy() 224 if (!storage) { in bpf_percpu_cgroup_storage_update() 258 if (!storage) in cgroup_storage_get_next_key() 261 storage = list_next_entry(storage, list_map); in cgroup_storage_get_next_key() 262 if (!storage) in cgroup_storage_get_next_key() 509 if (!storage) in bpf_cgroup_storage_alloc() 556 if (!storage) in bpf_cgroup_storage_free() 573 if (!storage) in bpf_cgroup_storage_link() [all …]
|
A D | bpf_local_storage.c | 307 struct bpf_local_storage *prev_storage, *storage; in bpf_local_storage_alloc() local 311 err = mem_charge(smap, owner, sizeof(*storage)); in bpf_local_storage_alloc() 315 storage = bpf_map_kzalloc(&smap->map, sizeof(*storage), in bpf_local_storage_alloc() 317 if (!storage) { in bpf_local_storage_alloc() 322 INIT_HLIST_HEAD(&storage->list); in bpf_local_storage_alloc() 323 raw_spin_lock_init(&storage->lock); in bpf_local_storage_alloc() 324 storage->owner = owner; in bpf_local_storage_alloc() 326 bpf_selem_link_storage_nolock(storage, first_selem); in bpf_local_storage_alloc() 341 prev_storage = cmpxchg(owner_storage_ptr, NULL, storage); in bpf_local_storage_alloc() 361 kfree(storage); in bpf_local_storage_alloc() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | local_storage.c | 57 struct local_storage *storage; in BPF_PROG() local 65 if (storage) { in BPF_PROG() 81 struct local_storage *storage; in BPF_PROG() local 93 if (!storage) in BPF_PROG() 111 struct local_storage *storage; in BPF_PROG() local 119 if (!storage) in BPF_PROG() 130 if (!storage) in BPF_PROG() 149 struct local_storage *storage; in BPF_PROG() local 156 if (!storage) in BPF_PROG() 179 if (storage) in BPF_PROG() [all …]
|
A D | mptcp_sock.c | 31 struct mptcp_storage *storage; in _sockops() local 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() 66 if (!storage) in _sockops() 69 storage->token = msk->token; in _sockops() 71 storage->first = msk->first; in _sockops() 73 storage->invoked++; in _sockops() 74 storage->is_mptcp = is_mptcp; in _sockops() [all …]
|
A D | tcp_rtt.c | 25 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()
|
A D | sockopt_inherit.c | 54 struct sockopt_inherit *storage; in _getsockopt() local 63 storage = get_storage(ctx); in _getsockopt() 64 if (!storage) in _getsockopt() 69 optval[0] = storage->val; in _getsockopt() 79 struct sockopt_inherit *storage; in _setsockopt() local 88 storage = get_storage(ctx); in _setsockopt() 89 if (!storage) in _setsockopt() 92 storage->val = optval[0]; in _setsockopt()
|
A D | sockopt_sk.c | 34 struct sockopt_sk *storage; in _getsockopt() local 111 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _getsockopt() 113 if (!storage) in _getsockopt() 122 optval[0] = storage->val; in _getsockopt() 133 struct sockopt_sk *storage; in _setsockopt() local 204 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _setsockopt() 206 if (!storage) in _setsockopt() 209 storage->val = optval[0]; in _setsockopt()
|
/linux-6.3-rc2/Documentation/bpf/ |
A D | map_sk_storage.rst | 11 ``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. 79 - ``BPF_ANY`` will create storage for `socket` ``fd`` or update existing storage. 117 This snippet shows how to declare socket-local storage in a BPF program: 135 struct my_storage *storage; 142 storage = bpf_sk_storage_get(&socket_storage, sk, 0, 144 if (!storage) [all …]
|
A D | map_cgrp_storage.rst | 9 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 96 ``bpf_get_local_storage()`` always returns non-NULL local storage. 97 ``BPF_MAP_TYPE_CGRP_STORAGE`` allocates local storage at runtime so 99 To avoid such null local storage issue, user space can do 100 ``bpf_map_update_elem()`` to pre-allocate local storage before a BPF program [all …]
|
A 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. 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. 134 storage is freed upon detach. 140 program, sharing of this cgroup's storage with other BPF programs were 150 to reach zero and indirectly freeing all storage in the map. 166 and triggers in child, the storage still belongs to the parent. [all …]
|
/linux-6.3-rc2/drivers/md/ |
A D | md-bitmap.c | 292 if (bitmap->storage.file == NULL) { in write_page() 428 if (bitmap->storage.file) in md_bitmap_wait_writes() 620 if (bitmap->storage.file) { in md_bitmap_read_sb() 871 if (bitmap->storage.file) { in md_bitmap_file_kick() 1188 if (bitmap->storage.file) in md_bitmap_write_all() 1274 if (bitmap->storage.filemap) { in md_bitmap_daemon_work() 1337 if (bitmap->storage.filemap && in md_bitmap_daemon_work() 1850 bitmap->storage.file = file; in md_bitmap_create() 2046 if (bitmap->storage.file) { in md_bitmap_status() 2138 bitmap->storage.file = NULL; in md_bitmap_resize() [all …]
|
/linux-6.3-rc2/drivers/usb/storage/ |
A 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
|
A 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-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_acl_flex_keys.c | 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() 456 storage, output); in mlxsw_sp_afk_encode_one() 486 values->storage.key, in mlxsw_afk_encode() [all …]
|
/linux-6.3-rc2/Documentation/block/ |
A 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-6.3-rc2/Documentation/admin-guide/device-mapper/ |
A 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
|
A 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-6.3-rc2/Documentation/usb/ |
A 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 196 Other gadgets using mass storage function 200 mass storage protocol. As a composite function, MSF may be used by 204 gadgets using MSF, except that support for mass storage related 213 Relation to file storage gadget [all …]
|
/linux-6.3-rc2/tools/perf/util/ |
A D | pfm.c | 236 struct strbuf storage; in print_libpfm_events() local 244 strbuf_init(&storage, 2048); in print_libpfm_events() 265 print_libpfm_event(print_cb, print_state, &pinfo, &info, &storage); in print_libpfm_events() 268 strbuf_release(&storage); in print_libpfm_events()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/ |
A D | microchip,sparx5.yaml | 28 which has both spi-nor and eMMC storage. The modular design 36 either spi-nand or eMMC storage (mount option). 43 either spi-nand or eMMC storage (mount option).
|
/linux-6.3-rc2/drivers/iio/dac/ |
A 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-6.3-rc2/Documentation/ABI/testing/ |
A D | pstore | 6 Description: Generic interface to platform dependent persistent storage. 28 the file will signal to the underlying persistent storage 41 persistent storage until at least this amount is reached.
|
/linux-6.3-rc2/arch/arm64/mm/ |
A 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-6.3-rc2/Documentation/x86/ |
A D | xstate.rst | 25 ARCH_GET_XCOMP_SUPP stores the supported features in userspace storage of 26 type uint64_t. The second argument is a pointer to that storage. 33 has permission in userspace storage of type uint64_t. The second argument 34 is a pointer to that storage.
|
/linux-6.3-rc2/Documentation/devicetree/bindings/mmc/ |
A 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
|