Home
last modified time | relevance | path

Searched defs:cache (Results 1 – 25 of 115) sorted by relevance

12345

/drivers/md/
A Ddm-cache-target.c297 struct cache { struct
307 struct dm_cache_metadata *cmd; argument
331 * Size of the cache device in blocks. argument
377 * cache_size entries, dirty if set argument
383 struct dm_cache_policy *policy; argument
392 bool need_tick_bio:1;
393 bool sized:1;
394 bool invalidate:1;
427 struct cache *cache; argument
2391 struct cache *cache; in cache_create() local
[all …]
/drivers/infiniband/hw/hfi1/
A Dplatform.c196 u8 *cache = ppd->qsfp_info.cache; in qual_power() local
225 u8 *cache = ppd->qsfp_info.cache; in qual_bitrate() local
251 u8 *cache = ppd->qsfp_info.cache; in set_qsfp_high_power() local
288 u8 *cache = ppd->qsfp_info.cache; in apply_rx_cdr() local
339 u8 *cache = ppd->qsfp_info.cache; in apply_tx_cdr() local
388 u8 *cache = ppd->qsfp_info.cache; in apply_cdr_settings() local
401 u8 *cache = ppd->qsfp_info.cache; in apply_tx_eq_auto() local
414 u8 *cache = ppd->qsfp_info.cache; in apply_tx_eq_prog() local
503 u8 *cache = ppd->qsfp_info.cache; in apply_eq_settings() local
620 u8 *cache = ppd->qsfp_info.cache; in aoc_low_power_setting() local
[all …]
/drivers/gpu/drm/xe/tests/
A Dxe_guc_buf_kunit.c83 struct xe_guc_buf_cache *cache = test->priv; in test_smallest() local
97 struct xe_guc_buf_cache *cache = test->priv; in test_largest() local
111 struct xe_guc_buf_cache *cache = test->priv; in test_granular() local
131 struct xe_guc_buf_cache *cache = test->priv; in test_unique() local
157 struct xe_guc_buf_cache *cache = test->priv; in test_overlap() local
191 struct xe_guc_buf_cache *cache = test->priv; in test_reusable() local
210 struct xe_guc_buf_cache *cache = test->priv; in test_too_big() local
220 struct xe_guc_buf_cache *cache = test->priv; in test_flush() local
250 struct xe_guc_buf_cache *cache = test->priv; in test_lookup() local
276 struct xe_guc_buf_cache *cache = test->priv; in test_data() local
[all …]
/drivers/gpu/drm/xe/
A Dxe_guc_buf.c16 static struct xe_guc *cache_to_guc(struct xe_guc_buf_cache *cache) in cache_to_guc()
21 static struct xe_gt *cache_to_gt(struct xe_guc_buf_cache *cache) in cache_to_gt()
35 int xe_guc_buf_cache_init(struct xe_guc_buf_cache *cache) in xe_guc_buf_cache_init()
57 u32 xe_guc_buf_cache_dwords(struct xe_guc_buf_cache *cache) in xe_guc_buf_cache_dwords()
72 struct xe_guc_buf xe_guc_buf_reserve(struct xe_guc_buf_cache *cache, u32 dwords) in xe_guc_buf_reserve()
94 struct xe_guc_buf xe_guc_buf_from_data(struct xe_guc_buf_cache *cache, in xe_guc_buf_from_data()
160 u64 xe_guc_cache_gpu_addr_from_ptr(struct xe_guc_buf_cache *cache, const void *ptr, u32 size) in xe_guc_cache_gpu_addr_from_ptr()
/drivers/acpi/acpica/
A Dutcache.c36 struct acpi_memory_list *cache; in acpi_os_create_cache() local
74 acpi_status acpi_os_purge_cache(struct acpi_memory_list *cache) in acpi_os_purge_cache()
120 acpi_status acpi_os_delete_cache(struct acpi_memory_list *cache) in acpi_os_delete_cache()
153 acpi_status acpi_os_release_object(struct acpi_memory_list *cache, void *object) in acpi_os_release_object()
208 void *acpi_os_acquire_object(struct acpi_memory_list *cache) in acpi_os_acquire_object()
/drivers/md/dm-vdo/indexer/
A Dvolume.c115 static inline void set_invalidate_counter(struct page_cache *cache, in set_invalidate_counter()
129 static void begin_pending_search(struct page_cache *cache, u32 physical_page, in begin_pending_search()
223 static struct cached_page *select_victim_in_cache(struct page_cache *cache) in select_victim_in_cache()
256 static int put_page_in_cache(struct page_cache *cache, u32 physical_page, in put_page_in_cache()
282 static void cancel_page_in_cache(struct page_cache *cache, u32 physical_page, in cancel_page_in_cache()
309 static inline bool read_queue_is_full(struct page_cache *cache) in read_queue_is_full()
602 struct page_cache *cache = &volume->page_cache; in release_queued_requests() local
644 static void get_page_and_index(struct page_cache *cache, u32 physical_page, in get_page_and_index()
1032 static void invalidate_page(struct page_cache *cache, u32 physical_page) in invalidate_page()
1493 static int __must_check initialize_page_cache(struct page_cache *cache, in initialize_page_cache()
[all …]
A Dsparse-cache.c234 static int __must_check make_search_list(struct sparse_cache *cache, in make_search_list()
263 struct sparse_cache *cache; in uds_make_sparse_cache() local
323 static void score_search_miss(struct sparse_cache *cache, in score_search_miss()
345 void uds_free_sparse_cache(struct sparse_cache *cache) in uds_free_sparse_cache()
389 bool uds_sparse_cache_contains(struct sparse_cache *cache, u64 virtual_chapter, in uds_sparse_cache_contains()
425 struct sparse_cache *cache, u64 oldest_virtual_chapter) in purge_search_list()
496 struct sparse_cache *cache = index->volume->sparse_cache; in uds_update_sparse_cache() local
537 void uds_invalidate_sparse_cache(struct sparse_cache *cache) in uds_invalidate_sparse_cache()
580 struct sparse_cache *cache = volume->sparse_cache; in uds_search_sparse_cache() local
/drivers/md/bcache/
A Dbcache.h418 struct cache { struct
419 struct cache_set *set; argument
420 struct cache_sb sb; argument
421 struct cache_sb_disk *sb_disk; argument
422 struct bio sb_bio;
423 struct bio_vec sb_bv[1];
448 * cached data in them, and we can't reuse them until after we write argument
456 size_t fifo_last_bucket;
459 struct bucket *buckets;
495 * Flag bits, for how the cache set is shutting down, and what phase it's at: argument
[all …]
/drivers/md/dm-vdo/
A Dblock-map.c158 struct vdo_page_cache *cache = info->cache; in get_page_buffer() local
376 struct vdo_page_cache *cache = info->cache; in set_info_pbn() local
669 struct vdo_page_cache *cache = info->cache; in handle_load_error() local
694 struct vdo_page_cache *cache = info->cache; in page_is_loaded() local
736 struct vdo_page_cache *cache = info->cache; in handle_rebuild_read_error() local
769 struct vdo_page_cache *cache = info->cache; in launch_page_load() local
889 struct vdo_page_cache *cache = info->cache; in allocate_free_page() local
1007 struct vdo_page_cache *cache = info->cache; in handle_page_write_error() local
1047 struct vdo_page_cache *cache = info->cache; in page_is_written_out() local
1144 struct vdo_page_cache *cache; in vdo_release_page_completion() local
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dpat_arg.c77 int mlx5hws_pat_init_pattern_cache(struct mlx5hws_pattern_cache **cache) in mlx5hws_pat_init_pattern_cache()
93 void mlx5hws_pat_uninit_pattern_cache(struct mlx5hws_pattern_cache *cache) in mlx5hws_pat_uninit_pattern_cache()
129 mlx5hws_pat_find_cached_pattern(struct mlx5hws_pattern_cache *cache, in mlx5hws_pat_find_cached_pattern()
147 mlx5hws_pat_get_existing_cached_pattern(struct mlx5hws_pattern_cache *cache, in mlx5hws_pat_get_existing_cached_pattern()
164 mlx5hws_pat_add_pattern_to_cache(struct mlx5hws_pattern_cache *cache, in mlx5hws_pat_add_pattern_to_cache()
193 mlx5hws_pat_find_cached_pattern_by_id(struct mlx5hws_pattern_cache *cache, in mlx5hws_pat_find_cached_pattern_by_id()
217 struct mlx5hws_pattern_cache *cache = ctx->pattern_cache; in mlx5hws_pat_put_pattern() local
/drivers/base/regmap/
A Dregcache-flat.c24 unsigned int *cache; in regcache_flat_init() local
57 unsigned int *cache = map->cache; in regcache_flat_read() local
68 unsigned int *cache = map->cache; in regcache_flat_write() local
A Dregcache.c651 u8 *cache = base; in regcache_set_val() local
657 u16 *cache = base; in regcache_set_val() local
663 u32 *cache = base; in regcache_set_val() local
686 const u8 *cache = base; in regcache_get_val() local
691 const u16 *cache = base; in regcache_get_val() local
696 const u32 *cache = base; in regcache_get_val() local
/drivers/xen/
A Dgrant-table.c906 static inline void cache_init(struct gnttab_page_cache *cache) in cache_init()
911 static inline bool cache_empty(struct gnttab_page_cache *cache) in cache_empty()
916 static inline struct page *cache_deq(struct gnttab_page_cache *cache) in cache_deq()
926 static inline void cache_enq(struct gnttab_page_cache *cache, struct page *page) in cache_enq()
932 static inline void cache_init(struct gnttab_page_cache *cache) in cache_init()
937 static inline bool cache_empty(struct gnttab_page_cache *cache) in cache_empty()
942 static inline struct page *cache_deq(struct gnttab_page_cache *cache) in cache_deq()
952 static inline void cache_enq(struct gnttab_page_cache *cache, struct page *page) in cache_enq()
958 void gnttab_page_cache_init(struct gnttab_page_cache *cache) in gnttab_page_cache_init()
966 int gnttab_page_cache_get(struct gnttab_page_cache *cache, struct page **page) in gnttab_page_cache_get()
[all …]
/drivers/net/wireless/silabs/wfx/
A Ddata_tx.c73 static int wfx_tx_policy_find(struct wfx_tx_policy_cache *cache, struct wfx_tx_policy *wanted) in wfx_tx_policy_find()
86 static void wfx_tx_policy_use(struct wfx_tx_policy_cache *cache, struct wfx_tx_policy *entry) in wfx_tx_policy_use()
92 static int wfx_tx_policy_release(struct wfx_tx_policy_cache *cache, struct wfx_tx_policy *entry) in wfx_tx_policy_release()
104 struct wfx_tx_policy_cache *cache = &wvif->tx_policy_cache; in wfx_tx_policy_get() local
138 struct wfx_tx_policy_cache *cache = &wvif->tx_policy_cache; in wfx_tx_policy_put() local
185 struct wfx_tx_policy_cache *cache = &wvif->tx_policy_cache; in wfx_tx_policy_init() local
/drivers/gpu/drm/vmwgfx/
A Dvmw_surface_cache.h368 static inline u32 vmw_surface_subres(const struct vmw_surface_cache *cache, in vmw_surface_subres()
389 struct vmw_surface_cache *cache) in vmw_surface_setup_cache()
439 vmw_surface_get_loc(const struct vmw_surface_cache *cache, in vmw_surface_get_loc()
483 vmw_surface_inc_loc(const struct vmw_surface_cache *cache, in vmw_surface_inc_loc()
509 vmw_surface_min_loc(const struct vmw_surface_cache *cache, in vmw_surface_min_loc()
528 vmw_surface_max_loc(const struct vmw_surface_cache *cache, in vmw_surface_max_loc()
/drivers/net/wireless/st/cw1200/
A Dtxrx.c213 static int tx_policy_find(struct tx_policy_cache *cache, in tx_policy_find()
234 static inline void tx_policy_use(struct tx_policy_cache *cache, in tx_policy_use()
241 static inline int tx_policy_release(struct tx_policy_cache *cache, in tx_policy_release()
253 struct tx_policy_cache *cache = &priv->tx_policy_cache; in tx_policy_clean() local
283 struct tx_policy_cache *cache = &priv->tx_policy_cache; in tx_policy_init() local
301 struct tx_policy_cache *cache = &priv->tx_policy_cache; in tx_policy_get() local
340 struct tx_policy_cache *cache = &priv->tx_policy_cache; in tx_policy_put() local
354 struct tx_policy_cache *cache = &priv->tx_policy_cache; in tx_policy_upload() local
/drivers/net/ovpn/
A Dudp.c146 struct dst_cache *cache, struct sock *sk, in ovpn_udp4_output()
221 struct dst_cache *cache, struct sock *sk, in ovpn_udp6_output()
297 static int ovpn_udp_output(struct ovpn_peer *peer, struct dst_cache *cache, in ovpn_udp_output()
/drivers/hwmon/
A Dbt1-pvt.c208 struct pvt_cache *cache; in pvt_soft_isr() local
293 struct pvt_cache *cache = &pvt->cache[type]; in pvt_read_data() local
411 struct pvt_cache *cache; in pvt_hard_isr() local
455 struct pvt_cache *cache = &pvt->cache[type]; in pvt_read_data() local
662 ktime_t kt, cache; in pvt_write_timeout() local
/drivers/block/
A Dps3vram.c83 struct ps3vram_cache cache; member
311 struct ps3vram_cache *cache = &priv->cache; in ps3vram_cache_evict() local
333 struct ps3vram_cache *cache = &priv->cache; in ps3vram_cache_load() local
353 struct ps3vram_cache *cache = &priv->cache; in ps3vram_cache_flush() local
367 struct ps3vram_cache *cache = &priv->cache; in ps3vram_cache_match() local
/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_cppcore.c163 struct nfp_cpp_area_cache *cache, *ctmp; in nfp_cpp_free() local
794 struct nfp_cpp_area_cache *cache; in nfp_cpp_area_cache_add() local
826 struct nfp_cpp_area_cache *cache; in area_cache_get() local
905 area_cache_put(struct nfp_cpp *cpp, struct nfp_cpp_area_cache *cache) in area_cache_put()
920 struct nfp_cpp_area_cache *cache; in __nfp_cpp_read() local
989 struct nfp_cpp_area_cache *cache; in __nfp_cpp_write() local
/drivers/platform/x86/
A Dp2sb.c86 struct p2sb_res_cache *cache = &p2sb_resources[PCI_FUNC(devfn)]; in p2sb_scan_and_cache_devfn() local
182 struct p2sb_res_cache *cache = &p2sb_resources[PCI_FUNC(devfn)]; in p2sb_read_from_cache() local
/drivers/gpu/drm/i915/gem/
A Di915_gem_execbuffer.c631 static int use_cpu_reloc(const struct reloc_cache *cache, in use_cpu_reloc()
1117 static void reloc_cache_init(struct reloc_cache *cache, in reloc_cache_init()
1143 static struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache) in cache_to_ggtt()
1150 static void reloc_cache_unmap(struct reloc_cache *cache) in reloc_cache_unmap()
1164 static void reloc_cache_remap(struct reloc_cache *cache, in reloc_cache_remap()
1191 static void reloc_cache_reset(struct reloc_cache *cache, struct i915_execbuffer *eb) in reloc_cache_reset()
1230 struct reloc_cache *cache, in reloc_kmap()
1271 struct reloc_cache *cache = &eb->reloc_cache; in reloc_iomap() local
1352 struct reloc_cache *cache = &eb->reloc_cache; in reloc_vaddr() local
/drivers/net/wireguard/
A Dsocket.c21 struct endpoint *endpoint, u8 ds, struct dst_cache *cache) in send4()
98 struct endpoint *endpoint, u8 ds, struct dst_cache *cache) in send6()
/drivers/gpu/drm/i915/
A Di915_scheduler.c131 struct sched_cache *cache) in lock_sched_engine()
162 struct sched_cache cache; in __i915_schedule() local
/drivers/gpu/drm/amd/amdkfd/
A Dkfd_topology.c115 struct kfd_cache_properties *cache; in kfd_release_topology_device() local
330 struct kfd_cache_properties *cache; in kfd_cache_show() local
562 struct kfd_cache_properties *cache; in kfd_remove_sysfs_node_entry() local
638 struct kfd_cache_properties *cache; in kfd_build_sysfs_node_entry() local
1146 struct kfd_cache_properties *cache; in kfd_assign_gpu() local

Completed in 65 milliseconds

12345