Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.4/kernel/bpf/
Dlocal_storage.c60 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup() local
62 storage = container_of(node, struct bpf_cgroup_storage, node); in cgroup_storage_lookup()
64 switch (bpf_cgroup_storage_key_cmp(key, &storage->key)) { in cgroup_storage_lookup()
74 return storage; in cgroup_storage_lookup()
85 struct bpf_cgroup_storage *storage) in cgroup_storage_insert() argument
96 switch (bpf_cgroup_storage_key_cmp(&storage->key, &this->key)) { in cgroup_storage_insert()
108 rb_link_node(&storage->node, parent, new); in cgroup_storage_insert()
109 rb_insert_color(&storage->node, root); in cgroup_storage_insert()
118 struct bpf_cgroup_storage *storage; in cgroup_storage_lookup_elem() local
120 storage = cgroup_storage_lookup(map, key, false); in cgroup_storage_lookup_elem()
[all …]
Dcgroup.c54 bpf_cgroup_storage_unlink(pl->storage[stype]); in cgroup_bpf_release()
55 bpf_cgroup_storage_free(pl->storage[stype]); in cgroup_bpf_release()
170 pl->storage[stype]; in compute_effective_progs()
296 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE], in __cgroup_bpf_attach() local
321 storage[stype] = bpf_cgroup_storage_alloc(prog, stype); in __cgroup_bpf_attach()
322 if (IS_ERR(storage[stype])) { in __cgroup_bpf_attach()
323 storage[stype] = NULL; in __cgroup_bpf_attach()
325 bpf_cgroup_storage_free(storage[stype]); in __cgroup_bpf_attach()
335 bpf_cgroup_storage_free(storage[stype]); in __cgroup_bpf_attach()
343 bpf_cgroup_storage_free(storage[stype]); in __cgroup_bpf_attach()
[all …]
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dtcp_rtt.c27 struct tcp_rtt_storage *storage; in _sockops() local
36 storage = bpf_sk_storage_get(&socket_storage_map, sk, 0, in _sockops()
38 if (!storage) in _sockops()
53 storage->invoked++; in _sockops()
55 storage->dsack_dups = tcp_sk->dsack_dups; in _sockops()
56 storage->delivered = tcp_sk->delivered; in _sockops()
57 storage->delivered_ce = tcp_sk->delivered_ce; in _sockops()
58 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.c30 struct sockopt_sk *storage; in _getsockopt() local
61 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _getsockopt()
63 if (!storage) in _getsockopt()
72 optval[0] = storage->val; in _getsockopt()
83 struct sockopt_sk *storage; in _setsockopt() local
122 storage = bpf_sk_storage_get(&socket_storage_map, ctx->sk, 0, in _setsockopt()
124 if (!storage) in _setsockopt()
127 storage->val = optval[0]; in _setsockopt()
/Linux-v5.4/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_util.c23 queue->storage = kcalloc(size, sizeof(struct vchiq_header *), in vchiu_queue_init()
25 if (!queue->storage) { in vchiu_queue_init()
34 kfree(queue->storage); in vchiu_queue_delete()
52 queue->storage[queue->write & (queue->size - 1)] = header; in vchiu_queue_push()
67 return queue->storage[queue->read & (queue->size - 1)]; in vchiu_queue_peek()
79 header = queue->storage[queue->read & (queue->size - 1)]; in vchiu_queue_pop()
/Linux-v5.4/drivers/md/
Dmd-bitmap.c217 struct bitmap_storage *store = &bitmap->storage; in write_sb_page()
292 if (bitmap->storage.file == NULL) { in write_page()
431 if (bitmap->storage.file) in md_bitmap_wait_writes()
455 if (!bitmap->storage.sb_page) /* no superblock */ in md_bitmap_update_sb()
457 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_update_sb()
478 write_page(bitmap, bitmap->storage.sb_page, 1); in md_bitmap_update_sb()
487 if (!bitmap || !bitmap->storage.sb_page) in md_bitmap_print_sb()
489 sb = kmap_atomic(bitmap->storage.sb_page); in md_bitmap_print_sb()
527 bitmap->storage.sb_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in md_bitmap_new_disk_sb()
528 if (bitmap->storage.sb_page == NULL) in md_bitmap_new_disk_sb()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c359 __mlxsw_item_set32(values->storage.key, storage_item, 0, key_value); in mlxsw_afk_values_add_u32()
360 __mlxsw_item_set32(values->storage.mask, storage_item, 0, mask_value); in mlxsw_afk_values_add_u32()
379 __mlxsw_item_memcpy_to(values->storage.key, key_value, in mlxsw_afk_values_add_buf()
381 __mlxsw_item_memcpy_to(values->storage.mask, mask_value, in mlxsw_afk_values_add_buf()
389 char *storage, char *output, int diff) in mlxsw_sp_afk_encode_u32() argument
393 value = __mlxsw_item_get32(storage, storage_item, 0); in mlxsw_sp_afk_encode_u32()
399 char *storage, char *output) in mlxsw_sp_afk_encode_buf() argument
401 char *storage_data = __mlxsw_item_data(storage, storage_item, 0); in mlxsw_sp_afk_encode_buf()
410 char *output, char *storage, int u32_diff) in mlxsw_sp_afk_encode_one() argument
417 storage, output, u32_diff); in mlxsw_sp_afk_encode_one()
[all …]
/Linux-v5.4/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.4/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.4/include/linux/
Dbpf-cgroup.h57 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE]; member
145 *storage[MAX_BPF_CGROUP_STORAGE_TYPE]) in bpf_cgroup_storage_set()
150 this_cpu_write(bpf_cgroup_storage[stype], storage[stype]); in bpf_cgroup_storage_set()
155 void bpf_cgroup_storage_free(struct bpf_cgroup_storage *storage);
156 void bpf_cgroup_storage_link(struct bpf_cgroup_storage *storage,
159 void bpf_cgroup_storage_unlink(struct bpf_cgroup_storage *storage);
362 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE]) {} in bpf_cgroup_storage_set()
370 struct bpf_cgroup_storage *storage) {} in bpf_cgroup_storage_free() argument
/Linux-v5.4/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.4/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c231 struct list_head *ptr, *storage; in nfp_tun_has_route() local
234 list_for_each_safe(ptr, storage, &priv->tun.neigh_off_list) { in nfp_tun_has_route()
249 struct list_head *ptr, *storage; in nfp_tun_add_route_to_cache() local
252 list_for_each_safe(ptr, storage, &priv->tun.neigh_off_list) { in nfp_tun_add_route_to_cache()
275 struct list_head *ptr, *storage; in nfp_tun_del_route_from_cache() local
278 list_for_each_safe(ptr, storage, &priv->tun.neigh_off_list) { in nfp_tun_del_route_from_cache()
429 struct list_head *ptr, *storage; in nfp_tun_write_ipv4_list() local
435 list_for_each_safe(ptr, storage, &priv->tun.ipv4_off_list) { in nfp_tun_write_ipv4_list()
456 struct list_head *ptr, *storage; in nfp_tunnel_add_ipv4_off() local
459 list_for_each_safe(ptr, storage, &priv->tun.ipv4_off_list) { in nfp_tunnel_add_ipv4_off()
[all …]
/Linux-v5.4/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.4/arch/arm/include/asm/
Ducontext.h53 struct crunch_state storage; member
65 struct iwmmxt_struct storage; member
/Linux-v5.4/net/bpf/
Dtest_run.c20 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE] = { NULL }; in bpf_test_run() local
27 storage[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_test_run()
28 if (IS_ERR(storage[stype])) { in bpf_test_run()
29 storage[stype] = NULL; in bpf_test_run()
31 bpf_cgroup_storage_free(storage[stype]); in bpf_test_run()
43 bpf_cgroup_storage_set(storage); in bpf_test_run()
71 bpf_cgroup_storage_free(storage[stype]); in bpf_test_run()
/Linux-v5.4/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
Dzx-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
/Linux-v5.4/drivers/iio/dac/
Dad5446.c141 #define _AD5446_CHANNEL(bits, storage, _shift, ext) { \ argument
151 .storagebits = (storage), \
157 #define AD5446_CHANNEL(bits, storage, shift) \ argument
158 _AD5446_CHANNEL(bits, storage, shift, NULL)
160 #define AD5446_CHANNEL_POWERDOWN(bits, storage, shift) \ argument
161 _AD5446_CHANNEL(bits, storage, shift, ad5446_ext_info_powerdown)
/Linux-v5.4/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.4/drivers/usb/
DMakefile45 obj-$(CONFIG_USB_STORAGE) += storage/
46 obj-$(CONFIG_USB) += storage/

1234567891011