Home
last modified time | relevance | path

Searched refs:obj_size (Results 1 – 13 of 13) sorted by relevance

/f-stack/dpdk/examples/performance-thread/common/
H A Dlthread_objcache.h26 size_t obj_size; member
42 size_t obj_size, in _lthread_objcache_create() argument
57 c->obj_size = obj_size; in _lthread_objcache_create()
94 size_t obj_size = c->obj_size; in _lthread_objcache_alloc() local
103 rte_zmalloc_socket(NULL, obj_size, in _lthread_objcache_alloc()
/f-stack/dpdk/drivers/net/ark/
H A Dark_mpu.c23 ark_mpu_verify(struct ark_mpu_t *mpu, uint32_t obj_size) in ark_mpu_verify() argument
29 (mpu->hw.obj_size != obj_size) || in ark_mpu_verify()
45 mpu->hw.obj_size, in ark_mpu_verify()
47 obj_size); in ark_mpu_verify()
H A Dark_mpu.h43 uint32_t obj_size; member
107 int ark_mpu_verify(struct ark_mpu_t *mpu, uint32_t obj_size);
/f-stack/freebsd/contrib/openzfs/module/os/linux/spl/
H A Dspl-kmem-cache.c274 uint32_t obj_size; in spl_slab_alloc() local
288 obj_size = spl_obj_size(skc); in spl_slab_alloc()
540 obj_size = spl_obj_size(skc); in spl_slab_size()
545 tgt_objs = (tgt_size - sks_size) / obj_size; in spl_slab_size()
547 tgt_objs = (max_size - sks_size) / obj_size; in spl_slab_size()
548 tgt_size = (tgt_objs * obj_size) + sks_size; in spl_slab_size()
568 uint32_t obj_size = spl_obj_size(skc); in spl_magazine_size() local
575 if (obj_size > (PAGE_SIZE * 256)) in spl_magazine_size()
577 else if (obj_size > (PAGE_SIZE * 32)) in spl_magazine_size()
579 else if (obj_size > (PAGE_SIZE)) in spl_magazine_size()
[all …]
/f-stack/freebsd/kern/
H A Dkern_sendfile.c565 struct vnode **vp_res, struct shmfd **shmfd_res, off_t *obj_size, in sendfile_getobj() argument
604 *obj_size = obj->un_pager.vnp.vnp_size; in sendfile_getobj()
609 *obj_size = va.va_size; in sendfile_getobj()
617 *obj_size = shmfd->shm_size; in sendfile_getobj()
694 off_t off, sbytes, rem, obj_size, nobj_size; in vn_sendfile() local
736 rem = nbytes ? omin(nbytes, obj_size - offset) : obj_size - offset; in vn_sendfile()
887 if (nobj_size != obj_size) { in vn_sendfile()
888 obj_size = nobj_size; in vn_sendfile()
889 rem = nbytes ? omin(nbytes + offset, obj_size) : in vn_sendfile()
890 obj_size; in vn_sendfile()
[all …]
H A Duipc_shm.c240 uiomove_object(vm_object_t obj, off_t obj_size, struct uio *uio) in uiomove_object() argument
248 if (obj_size <= uio->uio_offset) in uiomove_object()
250 len = MIN(obj_size - uio->uio_offset, resid); in uiomove_object()
/f-stack/dpdk/app/test-crypto-perf/
H A Dcperf_test_common.c172 uint32_t obj_size = crypto_op_total_size_padded + in cperf_alloc_common_memory() local
197 obj_size += max_size; in cperf_alloc_common_memory()
201 options->pool_sz, obj_size, 512, 0, in cperf_alloc_common_memory()
/f-stack/freebsd/sys/
H A Duio.h99 int uiomove_object(struct vm_object *obj, off_t obj_size, struct uio *uio);
/f-stack/tools/compat/include/sys/
H A Duio.h111 int uiomove_object(struct vm_object *obj, off_t obj_size, struct uio *uio);
/f-stack/dpdk/lib/librte_mempool/
H A Drte_mempool.c85 arch_mem_object_align(unsigned int obj_size) in arch_mem_object_align() argument
100 new_obj_size = (obj_size + RTE_MEMPOOL_ALIGN_MASK) / RTE_MEMPOOL_ALIGN; in arch_mem_object_align()
107 arch_mem_object_align(unsigned int obj_size)
109 return obj_size;
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_rxq.c1237 unsigned int obj_size; in mlx5_mprq_alloc_mp() local
1264 obj_size = sizeof(struct mlx5_mprq_buf) + buf_len + (1 << strd_num_n) * in mlx5_mprq_alloc_mp()
1287 if (mp != NULL && mp->elt_size >= obj_size && mp->size >= obj_num) { in mlx5_mprq_alloc_mp()
1302 if (mp->elt_size >= obj_size) in mlx5_mprq_alloc_mp()
1309 mp = rte_mempool_create(name, obj_num, obj_size, MLX5_MPRQ_MP_CACHE_SZ, in mlx5_mprq_alloc_mp()
1317 dev->data->port_id, obj_num, obj_size); in mlx5_mprq_alloc_mp()
/f-stack/dpdk/lib/librte_cryptodev/
H A Drte_cryptodev.c1103 uint32_t obj_size = qp_conf->mp_session->elt_size; in rte_cryptodev_queue_pair_setup() local
1118 obj_size) || (s.nb_drivers <= dev->driver_id) || in rte_cryptodev_queue_pair_setup()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vnops_os.c4034 off_t start, end, obj_size; in zfs_getpages() local
4072 obj_size = object->un_pager.vnp.vnp_size; in zfs_getpages()
4074 if (IDX_TO_OFF(ma[count - 1]->pindex) >= obj_size) { in zfs_getpages()
4090 if (end + IDX_TO_OFF(pgsin_a) >= obj_size) in zfs_getpages()
4091 pgsin_a = OFF_TO_IDX(round_page(obj_size) - end); in zfs_getpages()
4102 MIN(end, obj_size) - (end - PAGE_SIZE)); in zfs_getpages()