| /linux/include/net/ |
| H A D | xdp_sock_drv.h | 39 static inline u32 xsk_pool_get_headroom(struct xsk_buff_pool *pool) in xsk_pool_get_headroom() 49 static inline u32 xsk_pool_get_chunk_size(struct xsk_buff_pool *pool) in xsk_pool_get_chunk_size() 54 static inline u32 __xsk_pool_get_rx_frame_size(struct xsk_buff_pool *pool) in __xsk_pool_get_rx_frame_size() 59 static inline u32 xsk_pool_get_rx_frame_size(struct xsk_buff_pool *pool) in xsk_pool_get_rx_frame_size() 75 static inline u32 xsk_pool_get_rx_frag_step(struct xsk_buff_pool *pool) in xsk_pool_get_rx_frag_step() 80 static inline void xsk_pool_set_rxq_info(struct xsk_buff_pool *pool, in xsk_pool_set_rxq_info() 86 static inline void xsk_pool_fill_cb(struct xsk_buff_pool *pool, in xsk_pool_fill_cb() 92 static inline void xsk_pool_dma_unmap(struct xsk_buff_pool *pool, in xsk_pool_dma_unmap() 98 static inline int xsk_pool_dma_map(struct xsk_buff_pool *pool, in xsk_pool_dma_map() 120 static inline struct xdp_buff *xsk_buff_alloc(struct xsk_buff_pool *pool) in xsk_buff_alloc() [all …]
|
| /linux/net/core/ |
| H A D | page_pool.c | 46 #define alloc_stat_inc(pool, __stat) (pool->alloc_stats.__stat++) argument 48 #define recycle_stat_inc(pool, __stat) \ argument 54 #define recycle_stat_add(pool, __stat, val) \ argument 85 bool page_pool_get_stats(const struct page_pool *pool, in page_pool_get_stats() 161 static bool page_pool_producer_lock(struct page_pool *pool) in page_pool_producer_lock() 174 static void page_pool_producer_unlock(struct page_pool *pool, in page_pool_producer_unlock() 193 static int page_pool_init(struct page_pool *pool, in page_pool_init() 321 static void page_pool_uninit(struct page_pool *pool) in page_pool_uninit() 345 struct page_pool *pool; in page_pool_create_percpu() local 383 static noinline netmem_ref page_pool_refill_alloc_cache(struct page_pool *pool) in page_pool_refill_alloc_cache() [all …]
|
| H A D | page_pool_user.c | 42 struct page_pool *pool; in netdev_nl_page_pool_get_do() local 88 struct page_pool *pool; in netdev_nl_page_pool_get_dump() local 114 page_pool_nl_stats_fill(struct sk_buff *rsp, const struct page_pool *pool, in page_pool_nl_stats_fill() 216 page_pool_nl_fill(struct sk_buff *rsp, const struct page_pool *pool, in page_pool_nl_fill() 262 static void netdev_nl_page_pool_event(const struct page_pool *pool, u32 cmd) in netdev_nl_page_pool_event() 311 int page_pool_list(struct page_pool *pool) in page_pool_list() 337 void page_pool_detached(struct page_pool *pool) in page_pool_detached() 345 void page_pool_unlist(struct page_pool *pool) in page_pool_unlist() 359 struct page_pool *pool; in page_pool_check_memory_provider() local 381 struct page_pool *pool; in page_pool_unreg_netdev_wipe() local [all …]
|
| /linux/net/xdp/ |
| H A D | xsk_buff_pool.c | 15 void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_add_xsk() 25 void xp_del_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_del_xsk() 35 void xp_destroy(struct xsk_buff_pool *pool) in xp_destroy() 45 int xp_alloc_tx_descs(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_alloc_tx_descs() 58 struct xsk_buff_pool *pool; in xp_create_and_assign_umem() local 119 void xp_set_rxq_info(struct xsk_buff_pool *pool, struct xdp_rxq_info *rxq) in xp_set_rxq_info() 128 void xp_fill_cb(struct xsk_buff_pool *pool, struct xsk_cb_desc *desc) in xp_fill_cb() 140 static void xp_disable_drv_zc(struct xsk_buff_pool *pool) in xp_disable_drv_zc() 159 int xp_assign_dev(struct xsk_buff_pool *pool, in xp_assign_dev() 268 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_sock *umem_xs, in xp_assign_dev_shared() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-thin.c | 232 struct pool { struct 234 struct dm_target *ti; /* Only set if a pool target is bound */ argument 236 struct mapped_device *pool_md; argument 239 struct dm_pool_metadata *pmd; argument 245 struct pool_features pf; argument 246 bool low_water_triggered:1; /* A dm event has been sent */ 247 bool suspended:1; 248 bool out_of_data_space:1; 250 struct dm_bio_prison *prison; 251 struct dm_kcopyd_client *copier; [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | pool.c | 23 static void hws_pool_resource_free(struct mlx5hws_pool *pool) in hws_pool_resource_free() 35 hws_pool_create_one_resource(struct mlx5hws_pool *pool, u32 log_range, in hws_pool_create_one_resource() 77 static int hws_pool_resource_alloc(struct mlx5hws_pool *pool) in hws_pool_resource_alloc() 112 static int hws_pool_buddy_init(struct mlx5hws_pool *pool) in hws_pool_buddy_init() 136 static int hws_pool_buddy_db_get_chunk(struct mlx5hws_pool *pool, in hws_pool_buddy_db_get_chunk() 153 static void hws_pool_buddy_db_put_chunk(struct mlx5hws_pool *pool, in hws_pool_buddy_db_put_chunk() 167 static void hws_pool_buddy_db_uninit(struct mlx5hws_pool *pool) in hws_pool_buddy_db_uninit() 179 static int hws_pool_buddy_db_init(struct mlx5hws_pool *pool) in hws_pool_buddy_db_init() 207 static int hws_pool_bitmap_init(struct mlx5hws_pool *pool) in hws_pool_bitmap_init() 230 static int hws_pool_bitmap_db_get_chunk(struct mlx5hws_pool *pool, in hws_pool_bitmap_db_get_chunk() [all …]
|
| /linux/mm/ |
| H A D | mempool.c | 41 static void poison_error(struct mempool *pool, void *element, size_t size, in poison_error() 58 static void __check_element(struct mempool *pool, void *element, size_t size) in __check_element() 74 static void check_element(struct mempool *pool, void *element) in check_element() 113 static void poison_element(struct mempool *pool, void *element) in poison_element() 144 static inline void check_element(struct mempool *pool, void *element) in check_element() 147 static inline void poison_element(struct mempool *pool, void *element) in poison_element() 152 static __always_inline bool kasan_poison_element(struct mempool *pool, in kasan_poison_element() 163 static void kasan_unpoison_element(struct mempool *pool, void *element) in kasan_unpoison_element() 175 static __always_inline void add_element(struct mempool *pool, void *element) in add_element() 183 static void *remove_element(struct mempool *pool) in remove_element() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_mem_pool.c | 55 static struct xe_tile *pool_to_tile(struct xe_mem_pool *pool) in pool_to_tile() 62 struct xe_mem_pool *pool = arg; in fini_pool_action() local 70 static int pool_shadow_init(struct xe_mem_pool *pool) in pool_shadow_init() 121 struct xe_mem_pool *pool; in xe_mem_pool_init() local 190 void xe_mem_pool_sync(struct xe_mem_pool *pool) in xe_mem_pool_sync() 213 void xe_mem_pool_swap_shadow_locked(struct xe_mem_pool *pool) in xe_mem_pool_swap_shadow_locked() 237 struct xe_mem_pool *pool = node_to_pool(node); in xe_mem_pool_sync_shadow_locked() local 257 u64 xe_mem_pool_gpu_addr(struct xe_mem_pool *pool) in xe_mem_pool_gpu_addr() 268 void *xe_mem_pool_cpu_addr(struct xe_mem_pool *pool) in xe_mem_pool_cpu_addr() 280 struct mutex *xe_mem_pool_bo_swap_guard(struct xe_mem_pool *pool) in xe_mem_pool_bo_swap_guard() [all …]
|
| /linux/kernel/cgroup/ |
| H A D | dmem.c | 113 static void dmemcg_pool_get(struct dmem_cgroup_pool_state *pool) in dmemcg_pool_get() 118 static bool dmemcg_pool_tryget(struct dmem_cgroup_pool_state *pool) in dmemcg_pool_tryget() 123 static void dmemcg_pool_put(struct dmem_cgroup_pool_state *pool) in dmemcg_pool_put() 133 struct dmem_cgroup_pool_state *pool = container_of(rcu, typeof(*pool), rcu); in dmemcg_pool_free_rcu() local 141 static void free_cg_pool(struct dmem_cgroup_pool_state *pool) in free_cg_pool() 148 set_resource_min(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_min() 154 set_resource_low(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_low() 160 set_resource_max(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_max() 165 static u64 get_resource_low(struct dmem_cgroup_pool_state *pool) in get_resource_low() 170 static u64 get_resource_min(struct dmem_cgroup_pool_state *pool) in get_resource_min() [all …]
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | k3-cppi-desc-pool.c | 28 void k3_cppi_desc_pool_destroy(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_destroy() 54 struct k3_cppi_desc_pool *pool; in k3_cppi_desc_pool_create_name() local 113 dma_addr_t k3_cppi_desc_pool_virt2dma(struct k3_cppi_desc_pool *pool, in k3_cppi_desc_pool_virt2dma() 120 void *k3_cppi_desc_pool_dma2virt(struct k3_cppi_desc_pool *pool, dma_addr_t dma) in k3_cppi_desc_pool_dma2virt() 126 void *k3_cppi_desc_pool_alloc(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_alloc() 132 void k3_cppi_desc_pool_free(struct k3_cppi_desc_pool *pool, void *addr) in k3_cppi_desc_pool_free() 138 size_t k3_cppi_desc_pool_avail(struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_avail() 144 size_t k3_cppi_desc_pool_desc_size(const struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_desc_size() 150 void *k3_cppi_desc_pool_cpuaddr(const struct k3_cppi_desc_pool *pool) in k3_cppi_desc_pool_cpuaddr() 156 void k3_cppi_desc_pool_desc_info_set(struct k3_cppi_desc_pool *pool, in k3_cppi_desc_pool_desc_info_set() [all …]
|
| /linux/lib/ |
| H A D | genalloc.c | 155 struct gen_pool *pool; in gen_pool_create() local 184 int gen_pool_add_owner(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, in gen_pool_add_owner() 217 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) in gen_pool_virt_to_phys() 242 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy() 277 unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo_owner() 341 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc() 362 void *gen_pool_dma_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_algo() 395 void *gen_pool_dma_alloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_align() 419 void *gen_pool_dma_zalloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_zalloc() 440 void *gen_pool_dma_zalloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_zalloc_algo() [all …]
|
| H A D | objpool.c | 19 objpool_init_percpu_slot(struct objpool_head *pool, in objpool_init_percpu_slot() 48 objpool_init_percpu_slots(struct objpool_head *pool, int nr_objs, in objpool_init_percpu_slots() 105 static void objpool_fini_percpu_slots(struct objpool_head *pool) in objpool_fini_percpu_slots() 118 int objpool_init(struct objpool_head *pool, int nr_objs, int object_size, in objpool_init() 162 void objpool_free(struct objpool_head *pool) in objpool_free() 177 int objpool_drop(void *obj, struct objpool_head *pool) in objpool_drop() 192 void objpool_fini(struct objpool_head *pool) in objpool_fini()
|
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_heap.c | 114 static int panthor_get_heap_ctx_offset(struct panthor_heap_pool *pool, int id) in panthor_get_heap_ctx_offset() 119 static void *panthor_get_heap_ctx(struct panthor_heap_pool *pool, int id) in panthor_get_heap_ctx() 125 static void panthor_free_heap_chunk(struct panthor_heap_pool *pool, in panthor_free_heap_chunk() 140 static int panthor_alloc_heap_chunk(struct panthor_heap_pool *pool, in panthor_alloc_heap_chunk() 202 static void panthor_free_heap_chunks(struct panthor_heap_pool *pool, in panthor_free_heap_chunks() 211 static int panthor_alloc_heap_chunks(struct panthor_heap_pool *pool, in panthor_alloc_heap_chunks() 228 panthor_heap_destroy_locked(struct panthor_heap_pool *pool, u32 handle) in panthor_heap_destroy_locked() 247 int panthor_heap_destroy(struct panthor_heap_pool *pool, u32 handle) in panthor_heap_destroy() 274 int panthor_heap_create(struct panthor_heap_pool *pool, in panthor_heap_create() 370 int panthor_heap_return_chunk(struct panthor_heap_pool *pool, in panthor_heap_return_chunk() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_gt_buffer_pool.c | 15 bucket_for_size(struct intel_gt_buffer_pool *pool, size_t sz) in bucket_for_size() 38 static bool pool_free_older_than(struct intel_gt_buffer_pool *pool, long keep) in pool_free_older_than() 90 struct intel_gt_buffer_pool *pool = in pool_free_work() local 103 struct intel_gt_buffer_pool *pool = node->pool; in pool_retire() local 140 node_create(struct intel_gt_buffer_pool *pool, size_t sz, in node_create() 175 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_get_buffer_pool() local 223 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_init_buffer_pool() local 234 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_flush_buffer_pool() local 244 struct intel_gt_buffer_pool *pool = >->buffer_pool; in intel_gt_fini_buffer_pool() local
|
| /linux/sound/core/seq/ |
| H A D | seq_memory.c | 22 static inline int snd_seq_pool_available(struct snd_seq_pool *pool) in snd_seq_pool_available() 27 static inline int snd_seq_output_ok(struct snd_seq_pool *pool) in snd_seq_output_ok() 225 static inline void free_cell(struct snd_seq_pool *pool, in free_cell() 235 struct snd_seq_pool *pool; in snd_seq_cell_free() local 267 static int snd_seq_cell_alloc(struct snd_seq_pool *pool, in snd_seq_cell_alloc() 339 int snd_seq_event_dup(struct snd_seq_pool *pool, struct snd_seq_event *event, in snd_seq_event_dup() 426 int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, in snd_seq_pool_poll_wait() 436 int snd_seq_pool_init(struct snd_seq_pool *pool) in snd_seq_pool_init() 473 void snd_seq_pool_mark_closing(struct snd_seq_pool *pool) in snd_seq_pool_mark_closing() 482 int snd_seq_pool_done(struct snd_seq_pool *pool) in snd_seq_pool_done() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | irq_affinity.c | 8 static void cpu_put(struct mlx5_irq_pool *pool, int cpu) in cpu_put() 13 static void cpu_get(struct mlx5_irq_pool *pool, int cpu) in cpu_get() 19 static int cpu_get_least_loaded(struct mlx5_irq_pool *pool, in cpu_get_least_loaded() 48 irq_pool_request_irq(struct mlx5_irq_pool *pool, struct irq_affinity_desc *af_desc) in irq_pool_request_irq() 97 irq_pool_find_least_loaded(struct mlx5_irq_pool *pool, const struct cpumask *req_mask) in irq_pool_find_least_loaded() 137 mlx5_irq_affinity_request(struct mlx5_core_dev *dev, struct mlx5_irq_pool *pool, in mlx5_irq_affinity_request() 189 struct mlx5_irq_pool *pool = mlx5_irq_get_pool(irq); in mlx5_irq_affinity_irq_release() local
|
| H A D | pci_irq.c | 34 struct mlx5_irq_pool *pool; member 156 struct mlx5_irq_pool *pool = irq->pool; in mlx5_system_free_irq() local 179 struct mlx5_irq_pool *pool = irq->pool; in irq_release() local 189 struct mlx5_irq_pool *pool = irq->pool; in mlx5_irq_put() local 233 static void irq_sf_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_sf_set_name() 238 static void irq_set_name(struct mlx5_irq_pool *pool, char *name, int vecidx) in irq_set_name() 255 struct mlx5_irq *mlx5_irq_alloc(struct mlx5_irq_pool *pool, int i, in mlx5_irq_alloc() 388 irq_pool_request_vector(struct mlx5_irq_pool *pool, int vecidx, in irq_pool_request_vector() 421 struct mlx5_irq_pool *pool = NULL; in mlx5_irq_table_get_comp_irq_pool() local 435 struct mlx5_irq_pool *pool = NULL; in ctrl_irq_pool_get() local [all …]
|
| /linux/net/ceph/ |
| H A D | msgpool.c | 14 struct ceph_msgpool *pool = arg; in msgpool_alloc() local 30 struct ceph_msgpool *pool = arg; in msgpool_free() local 38 int ceph_msgpool_init(struct ceph_msgpool *pool, int type, in ceph_msgpool_init() 53 void ceph_msgpool_destroy(struct ceph_msgpool *pool) in ceph_msgpool_destroy() 59 struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, int front_len, in ceph_msgpool_get() 81 void ceph_msgpool_put(struct ceph_msgpool *pool, struct ceph_msg *msg) in ceph_msgpool_put()
|
| /linux/drivers/staging/octeon/ |
| H A D | ethernet-mem.c | 24 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff() 47 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff() 77 static int cvm_oct_fill_hw_memory(int pool, int size, int elements) in cvm_oct_fill_hw_memory() 114 static void cvm_oct_free_hw_memory(int pool, int size, int elements) in cvm_oct_free_hw_memory() 137 int cvm_oct_mem_fill_fpa(int pool, int size, int elements) in cvm_oct_mem_fill_fpa() 148 void cvm_oct_mem_empty_fpa(int pool, int size, int elements) in cvm_oct_mem_empty_fpa()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_icm_pool.c | 111 dr_icm_pool_mr_create(struct mlx5dr_icm_pool *pool) in dr_icm_pool_mr_create() 262 static int dr_icm_buddy_create(struct mlx5dr_icm_pool *pool) in dr_icm_buddy_create() 321 struct mlx5dr_icm_pool *pool, in dr_icm_chunk_init() 340 static bool dr_icm_pool_is_sync_required(struct mlx5dr_icm_pool *pool) in dr_icm_pool_is_sync_required() 345 static void dr_icm_pool_clear_hot_chunks_arr(struct mlx5dr_icm_pool *pool) in dr_icm_pool_clear_hot_chunks_arr() 364 static int dr_icm_pool_sync_all_buddy_pools(struct mlx5dr_icm_pool *pool) in dr_icm_pool_sync_all_buddy_pools() 385 static int dr_icm_handle_buddies_get_mem(struct mlx5dr_icm_pool *pool, in dr_icm_handle_buddies_get_mem() 434 mlx5dr_icm_alloc_chunk(struct mlx5dr_icm_pool *pool, in mlx5dr_icm_alloc_chunk() 469 struct mlx5dr_icm_pool *pool = buddy->pool; in mlx5dr_icm_free_chunk() local 494 struct mlx5dr_ste_htbl *mlx5dr_icm_pool_alloc_htbl(struct mlx5dr_icm_pool *pool) in mlx5dr_icm_pool_alloc_htbl() [all …]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-fpa.h | 106 static inline const char *cvmx_fpa_get_name(uint64_t pool) in cvmx_fpa_get_name() 117 static inline void *cvmx_fpa_get_base(uint64_t pool) in cvmx_fpa_get_base() 131 static inline int cvmx_fpa_is_member(uint64_t pool, void *ptr) in cvmx_fpa_is_member() 185 static inline void *cvmx_fpa_alloc(uint64_t pool) in cvmx_fpa_alloc() 202 static inline void cvmx_fpa_async_alloc(uint64_t scr_addr, uint64_t pool) in cvmx_fpa_async_alloc() 226 static inline void cvmx_fpa_free_nosync(void *ptr, uint64_t pool, in cvmx_fpa_free_nosync() 248 static inline void cvmx_fpa_free(void *ptr, uint64_t pool, in cvmx_fpa_free()
|
| /linux/drivers/staging/media/ipu3/ |
| H A D | ipu3-css-pool.c | 25 void imgu_css_pool_cleanup(struct imgu_device *imgu, struct imgu_css_pool *pool) in imgu_css_pool_cleanup() 33 int imgu_css_pool_init(struct imgu_device *imgu, struct imgu_css_pool *pool, in imgu_css_pool_init() 61 void imgu_css_pool_get(struct imgu_css_pool *pool) in imgu_css_pool_get() 73 void imgu_css_pool_put(struct imgu_css_pool *pool) in imgu_css_pool_put() 89 imgu_css_pool_last(struct imgu_css_pool *pool, unsigned int n) in imgu_css_pool_last()
|
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_pool.c | 107 struct ttm_pool *pool; member 136 static int ttm_pool_nid(struct ttm_pool *pool) in ttm_pool_nid() 147 static struct page *ttm_pool_alloc_page(struct ttm_pool *pool, gfp_t gfp_flags, in ttm_pool_alloc_page() 218 static void ttm_pool_free_page(struct ttm_pool *pool, enum ttm_caching caching, in ttm_pool_free_page() 271 static int ttm_pool_map(struct ttm_pool *pool, unsigned int order, in ttm_pool_map() 294 static void ttm_pool_unmap(struct ttm_pool *pool, dma_addr_t dma_addr, in ttm_pool_unmap() 357 static void ttm_pool_type_init(struct ttm_pool_type *pt, struct ttm_pool *pool, in ttm_pool_type_init() 407 static struct ttm_pool_type *ttm_pool_select_type(struct ttm_pool *pool, in ttm_pool_select_type() 457 static unsigned int ttm_pool_page_order(struct ttm_pool *pool, struct page *p) in ttm_pool_page_order() 473 static void ttm_pool_split_for_swap(struct ttm_pool *pool, struct page *p) in ttm_pool_split_for_swap() [all …]
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | mvneta_bm.h | 33 #define MVNETA_BM_XBAR_POOL_REG(pool) \ argument 35 #define MVNETA_BM_TARGET_ID_OFFS(pool) (((pool) & 1) ? 16 : 0) argument 36 #define MVNETA_BM_TARGET_ID_MASK(pool) \ argument 38 #define MVNETA_BM_TARGET_ID_VAL(pool, id) \ argument 40 #define MVNETA_BM_XBAR_ATTR_OFFS(pool) (((pool) & 1) ? 20 : 4) argument 41 #define MVNETA_BM_XBAR_ATTR_MASK(pool) \ argument 43 #define MVNETA_BM_XBAR_ATTR_VAL(pool, attr) \ argument 47 #define MVNETA_BM_POOL_BASE_REG(pool) (0x10 + ((pool) << 4)) argument 51 #define MVNETA_BM_POOL_READ_PTR_REG(pool) (0x14 + ((pool) << 4)) argument 57 #define MVNETA_BM_POOL_WRITE_PTR_REG(pool) (0x18 + ((pool) << 4)) argument [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | crypto.c | 19 #define MLX5_CRYPTO_DEK_POOL_CALC_FREED(pool) MLX5_CRYPTO_DEK_CALC_FREED(pool) argument 288 mlx5_crypto_dek_bulk_create(struct mlx5_crypto_dek_pool *pool) in mlx5_crypto_dek_bulk_create() 334 mlx5_crypto_dek_pool_add_bulk(struct mlx5_crypto_dek_pool *pool) in mlx5_crypto_dek_pool_add_bulk() 357 static void mlx5_crypto_dek_pool_remove_bulk(struct mlx5_crypto_dek_pool *pool, in mlx5_crypto_dek_pool_remove_bulk() 370 mlx5_crypto_dek_pool_pop(struct mlx5_crypto_dek_pool *pool, u32 *obj_offset) in mlx5_crypto_dek_pool_pop() 420 static bool mlx5_crypto_dek_need_sync(struct mlx5_crypto_dek_pool *pool) in mlx5_crypto_dek_need_sync() 426 static int mlx5_crypto_dek_free_locked(struct mlx5_crypto_dek_pool *pool, in mlx5_crypto_dek_free_locked() 454 static int mlx5_crypto_dek_pool_push(struct mlx5_crypto_dek_pool *pool, in mlx5_crypto_dek_pool_push() 479 static void mlx5_crypto_dek_bulk_reset_synced(struct mlx5_crypto_dek_pool *pool, in mlx5_crypto_dek_bulk_reset_synced() 510 static bool mlx5_crypto_dek_bulk_handle_avail(struct mlx5_crypto_dek_pool *pool, in mlx5_crypto_dek_bulk_handle_avail() [all …]
|