Searched refs:object_size (Results 1 – 5 of 5) sorted by relevance
| /f-stack/dpdk/drivers/mempool/octeontx/ |
| H A D | rte_mempool_octeontx.c | 17 uint32_t object_size; in octeontx_fpavf_alloc() local 20 object_size = mp->elt_size + mp->header_size + mp->trailer_size; in octeontx_fpavf_alloc() 22 pool = octeontx_fpa_bufpool_create(object_size, memseg_count, in octeontx_fpavf_alloc() 29 if ((uint32_t)rc != object_size) in octeontx_fpavf_alloc() 31 rc, object_size); in octeontx_fpavf_alloc() 34 fpavf_log_info("obj_sz %d, cnt %d\n", object_size, memseg_count); in octeontx_fpavf_alloc()
|
| H A D | octeontx_fpavf.c | 112 octeontx_fpa_gpool_alloc(unsigned int object_size) in octeontx_fpa_gpool_alloc() argument 119 sz128 = FPA_OBJSZ_2_CACHE_LINE(object_size); in octeontx_fpa_gpool_alloc() 522 octeontx_fpa_bufpool_create(unsigned int object_size, unsigned int object_count, in octeontx_fpa_bufpool_create() argument 535 object_size = RTE_CACHE_LINE_ROUNDUP(object_size); in octeontx_fpa_bufpool_create() 536 if (object_size > FPA_MAX_OBJ_SIZE) { in octeontx_fpa_bufpool_create() 542 res = octeontx_fpa_gpool_alloc(object_size); in octeontx_fpa_bufpool_create() 563 res = octeontx_fpapf_pool_setup(gpool, object_size, buf_offset, in octeontx_fpa_bufpool_create()
|
| H A D | octeontx_fpavf.h | 90 octeontx_fpa_bufpool_create(unsigned int object_size, unsigned int object_count,
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | dmu.c | 809 uint64_t object_size; in dmu_free_long_range_impl() local 817 object_size = (dn->dn_maxblkid + 1) * dn->dn_datablksz; in dmu_free_long_range_impl() 818 if (offset >= object_size) in dmu_free_long_range_impl() 827 if (length == DMU_OBJECT_END || offset + length > object_size) in dmu_free_long_range_impl() 828 length = object_size - offset; in dmu_free_long_range_impl()
|
| H A D | metaslab.c | 3528 uint64_t object_size = space_map_length(sm); in metaslab_should_condense() local 3532 return (object_size >= (optimal_size * zfs_condense_pct / 100) && in metaslab_should_condense() 3533 object_size > zfs_metaslab_condense_block_threshold * record_size); in metaslab_should_condense()
|