Home
last modified time | relevance | path

Searched refs:bmp (Results 1 – 15 of 15) sorted by relevance

/f-stack/dpdk/lib/librte_eal/include/
H A Drte_bitmap.h81 bmp->index1 = (bmp->index1 + 1) & (bmp->array1_size - 1); in __rte_bitmap_index1_inc()
131 bmp->index1 = bmp->array1_size - 1; in __rte_bitmap_scan_init()
203 return bmp; in rte_bitmap_init()
281 memset(bmp->array1, 0xff, bmp->array1_size * sizeof(bmp->array1[0])); in rte_bitmap_init_with_all_set()
282 memset(bmp->array2, 0xff, bmp->array2_size * sizeof(bmp->array2[0])); in rte_bitmap_init_with_all_set()
288 return bmp; in rte_bitmap_init_with_all_set()
483 value1 = bmp->array1[bmp->index1]; in __rte_bitmap_scan_search()
494 value1 = bmp->array1[bmp->index1]; in __rte_bitmap_scan_search()
516 slab2 = bmp->array2 + bmp->index2; in __rte_bitmap_scan_read()
517 for ( ; bmp->go2 ; bmp->index2 ++, slab2 ++, bmp->go2 = bmp->index2 & RTE_BITMAP_CL_SLAB_MASK) { in __rte_bitmap_scan_read()
[all …]
/f-stack/dpdk/app/test/
H A Dtest_bitmap.c24 rte_bitmap_reset(bmp); in test_bitmap_scan_operations()
83 rte_bitmap_reset(bmp); in test_bitmap_slab_set_get()
107 rte_bitmap_reset(bmp); in test_bitmap_set_get_clear()
109 rte_bitmap_set(bmp, i); in test_bitmap_set_get_clear()
128 rte_bitmap_reset(bmp); in test_bitmap_set_get_clear()
153 struct rte_bitmap *bmp; in test_bitmap_all_clear() local
165 if (bmp == NULL) { in test_bitmap_all_clear()
179 rte_bitmap_free(bmp); in test_bitmap_all_clear()
193 struct rte_bitmap *bmp; in test_bitmap_all_set() local
205 if (bmp == NULL) { in test_bitmap_all_set()
[all …]
/f-stack/app/nginx-1.16.1/conf/
H A Dmime.types25 image/x-ms-bmp bmp;
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_utils.c544 trunk->bmp = rte_bitmap_init_with_all_set(data_size, &trunk->data in mlx5_ipool_grow()
547 MLX5_ASSERT(trunk->bmp); in mlx5_ipool_grow()
575 if (!rte_bitmap_scan(trunk->bmp, &iidx, &slab)) { in mlx5_ipool_malloc()
583 rte_bitmap_clear(trunk->bmp, iidx); in mlx5_ipool_malloc()
644 rte_bitmap_get(trunk->bmp, entry_idx)) in mlx5_ipool_free()
646 rte_bitmap_set(trunk->bmp, entry_idx); in mlx5_ipool_free()
709 rte_bitmap_get(trunk->bmp, entry_idx)) in mlx5_ipool_get()
H A Dmlx5_utils.h220 struct rte_bitmap *bmp; member
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_bitops.h154 static inline void ice_zero_bitmap(ice_bitmap_t *bmp, u16 size) in ice_zero_bitmap() argument
156 ice_memset(bmp, 0, BITS_TO_CHUNKS(size) * sizeof(ice_bitmap_t), in ice_zero_bitmap()
/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_flow_utils.c533 struct rte_bitmap *fr_bmp, *fr_bmp_rev, *lv_bmp, *lv_bmp_rev, *bmp; in flow_shift_ent() local
598 bmp = fr_bmp; in flow_shift_ent()
608 bmp = lv_bmp; in flow_shift_ent()
625 rte_bitmap_clear(bmp, e); in flow_shift_ent()
626 rte_bitmap_set(bmp, rsp->entry + idx); in flow_shift_ent()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Ddsl_dataset.c4622 ASSERT3U(bmp->zbm_creation_txg, <, in dsl_dataset_space_written_impl()
4628 *usedp -= bmp->zbm_referenced_bytes_refd; in dsl_dataset_space_written_impl()
4632 *compp -= bmp->zbm_compressed_bytes_refd; in dsl_dataset_space_written_impl()
4636 *uncompp -= bmp->zbm_uncompressed_bytes_refd; in dsl_dataset_space_written_impl()
4641 bmp->zbm_creation_txg) { in dsl_dataset_space_written_impl()
4645 0, bmp->zbm_creation_txg, in dsl_dataset_space_written_impl()
4664 if (bmp->zbm_flags & ZBM_FLAG_HAS_FBN) { in dsl_dataset_space_written_impl()
4665 *usedp += bmp->zbm_referenced_freed_before_next_snap; in dsl_dataset_space_written_impl()
4670 bmp->zbm_creation_txg); in dsl_dataset_space_written_impl()
4692 if (!(bmp->zbm_flags & ZBM_FLAG_HAS_FBN)) in dsl_dataset_space_written_bookmark()
[all …]
H A Ddsl_bookmark.c104 dsl_dataset_t *later_ds, zfs_bookmark_phys_t *bmp) in dsl_bookmark_lookup() argument
114 error = dsl_bookmark_lookup_impl(ds, shortname, bmp); in dsl_bookmark_lookup()
116 if (!dsl_dataset_is_before(later_ds, ds, bmp->zbm_creation_txg)) in dsl_bookmark_lookup()
H A Dzfs_ioctl.c6282 zfs_bookmark_phys_t bmp; in zfs_ioc_space_written() local
6284 new, &bmp); in zfs_ioc_space_written()
6286 error = dsl_dataset_space_written_bookmark(&bmp, new, in zfs_ioc_space_written()
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Daspeed-bmc-opp-witherspoon.dts195 io-channels = <&bmp 1>;
354 bmp: bmp280@77 { label
H A Daspeed-bmc-opp-tacoma.dts94 io-channels = <&bmp 1>;
460 bmp: bmp280@77 { label
/f-stack/dpdk/lib/librte_sched/
H A Drte_sched.c195 struct rte_bitmap *bmp; member
1236 s->bmp = rte_bitmap_init(n_subport_pipe_queues, s->bmp_array, in rte_sched_subport_config()
1238 if (s->bmp == NULL) { in rte_sched_subport_config()
1909 rte_bitmap_prefetch0(subport->bmp, qindex); in rte_sched_port_enqueue_qwa_prefetch0()
1945 rte_bitmap_set(subport->bmp, qindex); in rte_sched_port_enqueue_qwa()
2422 rte_bitmap_clear(subport->bmp, qindex); in grinder_schedule()
2613 if (unlikely(rte_bitmap_scan(subport->bmp, &bmp_pos, &bmp_slab) <= 0)) in grinder_next_pipe()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Ddsl_dataset.h425 int dsl_dataset_space_written_bookmark(struct zfs_bookmark_phys *bmp,
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c1049 struct rte_bitmap *bmp = NULL; in i40e_init_fdir_filter_list() local
1130 bmp = rte_bitmap_init(fdir_info->fdir_space_size, mem, bmp_size); in i40e_init_fdir_filter_list()
1131 if (bmp == NULL) { in i40e_init_fdir_filter_list()
1138 rte_bitmap_set(bmp, i); in i40e_init_fdir_filter_list()
1140 fdir_info->fdir_flow_pool.bitmap = bmp; in i40e_init_fdir_filter_list()