Searched refs:obj_size (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/lib/libc/xdr/
H A Dxdr_reference.c122 * > obj_size: size of the object.
127 xdr_pointer(XDR *xdrs, char **objpp, u_int obj_size, xdrproc_t xdr_obj) argument
140 return (xdr_reference(xdrs,objpp,obj_size,xdr_obj));
/freebsd-11-stable/sys/xdr/
H A Dxdr_reference.c116 * > obj_size: size of the object.
121 xdr_pointer(XDR *xdrs, char **objpp, u_int obj_size, xdrproc_t xdr_obj) argument
134 return (xdr_reference(xdrs,objpp,obj_size,xdr_obj));
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Devergreen_blit_kms.c613 u32 obj_size; local
653 obj_size = dwords * 4;
654 obj_size = roundup2(obj_size, 256);
656 rdev->r600_blit.vs_offset = obj_size;
658 obj_size += evergreen_vs_size * 4;
660 obj_size += cayman_vs_size * 4;
661 obj_size = roundup2(obj_size, 256);
663 rdev->r600_blit.ps_offset = obj_size;
[all...]
H A Dr600_blit_kms.c496 u32 obj_size; local
536 obj_size = dwords * 4;
537 obj_size = roundup2(obj_size, 256);
539 rdev->r600_blit.vs_offset = obj_size;
540 obj_size += r6xx_vs_size * 4;
541 obj_size = roundup2(obj_size, 256);
543 rdev->r600_blit.ps_offset = obj_size;
544 obj_size
[all...]
H A Dradeon_asic.h95 uint32_t offset, uint32_t obj_size);
329 uint32_t offset, uint32_t obj_size);
H A Dr100.c3198 uint32_t offset, uint32_t obj_size)
3240 DRM_DEBUG_KMS("writing surface %d %d %x %x\n", reg, flags, offset, offset+obj_size-1);
3243 WREG32(RADEON_SURFACE0_UPPER_BOUND + surf_index, offset + obj_size - 1);
3196 r100_set_surface_reg(struct radeon_device *rdev, int reg, uint32_t tiling_flags, uint32_t pitch, uint32_t offset, uint32_t obj_size) argument
H A Dradeon.h1263 uint32_t offset, uint32_t obj_size);
H A Dr600.c2771 uint32_t offset, uint32_t obj_size)
2769 r600_set_surface_reg(struct radeon_device *rdev, int reg, uint32_t tiling_flags, uint32_t pitch, uint32_t offset, uint32_t obj_size) argument
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_icm.c254 (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
292 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
321 idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size;
357 int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size;
383 for (i = start; i <= end; i += MLX4_TABLE_CHUNK_SIZE / table->obj_size)
388 u64 virt, int obj_size, u32 nobj, int reserved,
397 obj_per_chunk = MLX4_TABLE_CHUNK_SIZE / obj_size;
406 table->obj_size = obj_size;
411 size = (u64) nobj * obj_size;
387 mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table, u64 virt, int obj_size, u32 nobj, int reserved, int use_lowmem, int use_coherent) argument
[all...]
H A Dicm.h83 u64 virt, int obj_size, u32 nobj, int reserved,
H A Dmlx4.h266 int obj_size; member in struct:mlx4_icm_table
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dobstack.c244 register long obj_size = h->next_free - h->object_base;
249 new_size = (obj_size + length) + (obj_size >> 3) + 100;
266 for (i = obj_size / sizeof (COPYING_UNIT) - 1;
273 already = obj_size / sizeof (COPYING_UNIT) * sizeof (COPYING_UNIT);
278 for (i = already; i < obj_size; i++)
291 h->next_free = h->object_base + obj_size;
243 register long obj_size = h->next_free - h->object_base; local
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dobstack.c244 register long obj_size = h->next_free - h->object_base;
249 new_size = (obj_size + length) + (obj_size >> 3) + 100;
266 for (i = obj_size / sizeof (COPYING_UNIT) - 1;
273 already = obj_size / sizeof (COPYING_UNIT) * sizeof (COPYING_UNIT);
278 for (i = already; i < obj_size; i++)
291 h->next_free = h->object_base + obj_size;
243 register long obj_size = h->next_free - h->object_base; local
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dobstack.c283 register long obj_size = h->next_free - h->object_base;
288 new_size = (obj_size + length) + (obj_size >> 3) + 100;
305 for (i = obj_size / sizeof (COPYING_UNIT) - 1;
312 already = obj_size / sizeof (COPYING_UNIT) * sizeof (COPYING_UNIT);
317 for (i = already; i < obj_size; i++)
330 h->next_free = h->object_base + obj_size;
282 register long obj_size = h->next_free - h->object_base; local
/freebsd-11-stable/contrib/ofed/opensm/complib/
H A Dcl_pool.c213 size_t obj_size; local
228 obj_size = 0;
230 obj_size += p_pool->component_sizes[i];
234 malloc(sizeof(cl_list_item_t) + (obj_size * obj_count));
241 sizeof(cl_list_item_t) + (obj_size * obj_count));
308 p_objects += obj_size;
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_memfree.h67 int obj_size; member in struct:mthca_icm_table
87 u64 virt, int obj_size,
H A Dmthca_memfree.c223 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE;
263 i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE;
289 idx = (obj & (table->num_obj - 1)) * table->obj_size;
323 int inc = MTHCA_TABLE_CHUNK_SIZE / table->obj_size;
351 for (i = start; i <= end; i += MTHCA_TABLE_CHUNK_SIZE / table->obj_size)
356 u64 virt, int obj_size,
366 obj_per_chunk = MTHCA_TABLE_CHUNK_SIZE / obj_size;
376 table->obj_size = obj_size;
384 for (i = 0; i * MTHCA_TABLE_CHUNK_SIZE < reserved * obj_size;
355 mthca_alloc_icm_table(struct mthca_dev *dev, u64 virt, int obj_size, int nobj, int reserved, int use_lowmem, int use_coherent) argument
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_sendfile.c422 struct vnode **vp_res, struct shmfd **shmfd_res, off_t *obj_size,
451 *obj_size = va.va_size;
461 *obj_size = shmfd->shm_size;
530 off_t off, sbytes, rem, obj_size; local
540 error = sendfile_getobj(td, fp, &obj, &vp, &shmfd, &obj_size, &bsize);
563 rem = nbytes ? omin(nbytes, obj_size - offset) : obj_size - offset;
683 if (va.va_size != obj_size) {
684 obj_size = va.va_size;
686 omin(nbytes + offset, obj_size)
421 sendfile_getobj(struct thread *td, struct file *fp, vm_object_t *obj_res, struct vnode **vp_res, struct shmfd **shmfd_res, off_t *obj_size, int *bsize) argument
[all...]
H A Duipc_shm.c227 uiomove_object(vm_object_t obj, off_t obj_size, struct uio *uio) argument
235 if (obj_size <= uio->uio_offset)
237 len = MIN(obj_size - uio->uio_offset, resid);
/freebsd-11-stable/sys/sys/
H A Duio.h111 int uiomove_object(struct vm_object *obj, off_t obj_size, struct uio *uio);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vnops.c4547 off_t start, end, obj_size; local
4573 obj_size = object->un_pager.vnp.vnp_size;
4575 if (IDX_TO_OFF(ma[count - 1]->pindex) >= obj_size) {
4590 if (end + IDX_TO_OFF(pgsin_a) >= obj_size)
4591 pgsin_a = OFF_TO_IDX(round_page(obj_size) - end);
4602 MIN(end, obj_size) - (end - PAGE_SIZE));
/freebsd-11-stable/contrib/amd/libamu/
H A Dxdr_func.c572 xdr_pointer(register XDR *xdrs, char **objpp, u_int obj_size, XDRPROC_T_TYPE xdr_obj) argument
588 return (xdr_reference(xdrs, objpp, obj_size, xdr_obj));
/freebsd-11-stable/contrib/amd/include/
H A Dam_xdr_func.h1074 bool_t xdr_pointer(register XDR *xdrs, char **objpp, u_int obj_size, XDRPROC_T_TYPE xdr_obj);

Completed in 227 milliseconds