| /freebsd-12.1/sys/dev/drm2/radeon/ |
| H A D | evergreen_blit_kms.c | 613 u32 obj_size; in evergreen_blit_init() local 653 obj_size = dwords * 4; in evergreen_blit_init() 654 obj_size = roundup2(obj_size, 256); in evergreen_blit_init() 656 rdev->r600_blit.vs_offset = obj_size; in evergreen_blit_init() 658 obj_size += evergreen_vs_size * 4; in evergreen_blit_init() 660 obj_size += cayman_vs_size * 4; in evergreen_blit_init() 661 obj_size = roundup2(obj_size, 256); in evergreen_blit_init() 665 obj_size += evergreen_ps_size * 4; in evergreen_blit_init() 667 obj_size += cayman_ps_size * 4; in evergreen_blit_init() 668 obj_size = roundup2(obj_size, 256); in evergreen_blit_init() [all …]
|
| H A D | r600_blit_kms.c | 496 u32 obj_size; in r600_blit_init() local 536 obj_size = dwords * 4; in r600_blit_init() 537 obj_size = roundup2(obj_size, 256); in r600_blit_init() 539 rdev->r600_blit.vs_offset = obj_size; in r600_blit_init() 540 obj_size += r6xx_vs_size * 4; in r600_blit_init() 541 obj_size = roundup2(obj_size, 256); in r600_blit_init() 543 rdev->r600_blit.ps_offset = obj_size; in r600_blit_init() 544 obj_size += r6xx_ps_size * 4; in r600_blit_init() 545 obj_size = roundup2(obj_size, 256); in r600_blit_init() 549 r = radeon_bo_create(rdev, obj_size, PAGE_SIZE, true, in r600_blit_init() [all …]
|
| H A D | radeon_asic.h | 95 uint32_t offset, uint32_t obj_size); 329 uint32_t offset, uint32_t obj_size);
|
| H A D | r100.c | 3198 uint32_t offset, uint32_t obj_size) in r100_set_surface_reg() argument 3240 DRM_DEBUG_KMS("writing surface %d %d %x %x\n", reg, flags, offset, offset+obj_size-1); in r100_set_surface_reg() 3243 WREG32(RADEON_SURFACE0_UPPER_BOUND + surf_index, offset + obj_size - 1); in r100_set_surface_reg()
|
| H A D | radeon.h | 1263 uint32_t offset, uint32_t obj_size);
|
| H A D | r600.c | 2771 uint32_t offset, uint32_t obj_size) in r600_set_surface_reg() argument
|
| /freebsd-12.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_icm.c | 254 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get() 292 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put() 321 idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size; in mlx4_table_find() 357 int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size; in mlx4_table_get_range() 383 for (i = start; i <= end; i += MLX4_TABLE_CHUNK_SIZE / table->obj_size) in mlx4_table_put_range() 388 u64 virt, int obj_size, u32 nobj, int reserved, in mlx4_init_icm_table() argument 397 obj_per_chunk = MLX4_TABLE_CHUNK_SIZE / obj_size; in mlx4_init_icm_table() 406 table->obj_size = obj_size; in mlx4_init_icm_table() 411 size = (u64) nobj * obj_size; in mlx4_init_icm_table() 412 for (i = 0; i * MLX4_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { in mlx4_init_icm_table()
|
| H A D | icm.h | 83 u64 virt, int obj_size, u32 nobj, int reserved,
|
| H A D | mlx4.h | 264 int obj_size; member
|
| /freebsd-12.1/contrib/gcclibs/libiberty/ |
| H A D | obstack.c | 243 register long obj_size = h->next_free - h->object_base; in _obstack_newchunk() local 248 new_size = (obj_size + length) + (obj_size >> 3) + 100; in _obstack_newchunk() 265 for (i = obj_size / sizeof (COPYING_UNIT) - 1; in _obstack_newchunk() 272 already = obj_size / sizeof (COPYING_UNIT) * sizeof (COPYING_UNIT); in _obstack_newchunk() 277 for (i = already; i < obj_size; i++) in _obstack_newchunk() 290 h->next_free = h->object_base + obj_size; in _obstack_newchunk()
|
| /freebsd-12.1/contrib/binutils/libiberty/ |
| H A D | obstack.c | 243 register long obj_size = h->next_free - h->object_base; in _obstack_newchunk() local 248 new_size = (obj_size + length) + (obj_size >> 3) + 100; in _obstack_newchunk() 265 for (i = obj_size / sizeof (COPYING_UNIT) - 1; in _obstack_newchunk() 272 already = obj_size / sizeof (COPYING_UNIT) * sizeof (COPYING_UNIT); in _obstack_newchunk() 277 for (i = already; i < obj_size; i++) in _obstack_newchunk() 290 h->next_free = h->object_base + obj_size; in _obstack_newchunk()
|
| /freebsd-12.1/sys/dev/mthca/ |
| H A D | mthca_memfree.c | 223 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_get() 263 i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_put() 289 idx = (obj & (table->num_obj - 1)) * table->obj_size; in mthca_table_find() 323 int inc = MTHCA_TABLE_CHUNK_SIZE / table->obj_size; in mthca_table_get_range() 351 for (i = start; i <= end; i += MTHCA_TABLE_CHUNK_SIZE / table->obj_size) in mthca_table_put_range() 356 u64 virt, int obj_size, in mthca_alloc_icm_table() argument 366 obj_per_chunk = MTHCA_TABLE_CHUNK_SIZE / obj_size; in mthca_alloc_icm_table() 376 table->obj_size = obj_size; in mthca_alloc_icm_table() 384 for (i = 0; i * MTHCA_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { in mthca_alloc_icm_table() 386 if ((i + 1) * MTHCA_TABLE_CHUNK_SIZE > nobj * obj_size) in mthca_alloc_icm_table() [all …]
|
| H A D | mthca_memfree.h | 67 int obj_size; member 87 u64 virt, int obj_size,
|
| /freebsd-12.1/gnu/usr.bin/grep/ |
| H A D | obstack.c | 282 register long obj_size = h->next_free - h->object_base; local 287 new_size = (obj_size + length) + (obj_size >> 3) + 100; 304 for (i = obj_size / sizeof (COPYING_UNIT) - 1; 311 already = obj_size / sizeof (COPYING_UNIT) * sizeof (COPYING_UNIT); 316 for (i = already; i < obj_size; i++) 329 h->next_free = h->object_base + obj_size;
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_sendfile.c | 398 struct vnode **vp_res, struct shmfd **shmfd_res, off_t *obj_size, in sendfile_getobj() argument 427 *obj_size = va.va_size; in sendfile_getobj() 437 *obj_size = shmfd->shm_size; in sendfile_getobj() 505 off_t off, sbytes, rem, obj_size; in vn_sendfile() local 515 error = sendfile_getobj(td, fp, &obj, &vp, &shmfd, &obj_size, &bsize); in vn_sendfile() 538 rem = nbytes ? omin(nbytes, obj_size - offset) : obj_size - offset; in vn_sendfile() 664 if (va.va_size != obj_size) { in vn_sendfile() 665 obj_size = va.va_size; in vn_sendfile() 667 omin(nbytes + offset, obj_size) : obj_size; in vn_sendfile() 694 rhpages = min(howmany(obj_size - trunc_page(off), PAGE_SIZE) - in vn_sendfile()
|
| H A D | uipc_shm.c | 233 uiomove_object(vm_object_t obj, off_t obj_size, struct uio *uio) in uiomove_object() argument 241 if (obj_size <= uio->uio_offset) in uiomove_object() 243 len = MIN(obj_size - uio->uio_offset, resid); in uiomove_object()
|
| /freebsd-12.1/contrib/ofed/opensm/complib/ |
| H A D | cl_pool.c | 213 size_t obj_size; in cl_qcpool_grow() local 228 obj_size = 0; in cl_qcpool_grow() 230 obj_size += p_pool->component_sizes[i]; in cl_qcpool_grow() 234 malloc(sizeof(cl_list_item_t) + (obj_size * obj_count)); in cl_qcpool_grow() 241 sizeof(cl_list_item_t) + (obj_size * obj_count)); in cl_qcpool_grow() 308 p_objects += obj_size; in cl_qcpool_grow()
|
| /freebsd-12.1/sys/xdr/ |
| H A D | xdr_reference.c | 121 xdr_pointer(XDR *xdrs, char **objpp, u_int obj_size, xdrproc_t xdr_obj) in xdr_pointer() argument 134 return (xdr_reference(xdrs,objpp,obj_size,xdr_obj)); in xdr_pointer()
|
| /freebsd-12.1/lib/libc/xdr/ |
| H A D | xdr_reference.c | 129 xdr_pointer(XDR *xdrs, char **objpp, u_int obj_size, xdrproc_t xdr_obj) in xdr_pointer() argument 142 return (xdr_reference(xdrs,objpp,obj_size,xdr_obj)); in xdr_pointer()
|
| /freebsd-12.1/sys/sys/ |
| H A D | uio.h | 103 int uiomove_object(struct vm_object *obj, off_t obj_size, struct uio *uio);
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | zfs_vnops.c | 4537 off_t start, end, obj_size; in zfs_getpages() local 4563 obj_size = object->un_pager.vnp.vnp_size; in zfs_getpages() 4565 if (IDX_TO_OFF(ma[count - 1]->pindex) >= obj_size) { in zfs_getpages() 4580 if (end + IDX_TO_OFF(pgsin_a) >= obj_size) in zfs_getpages() 4581 pgsin_a = OFF_TO_IDX(round_page(obj_size) - end); in zfs_getpages() 4592 MIN(end, obj_size) - (end - PAGE_SIZE)); in zfs_getpages()
|
| /freebsd-12.1/contrib/amd/libamu/ |
| H A D | xdr_func.c | 572 xdr_pointer(register XDR *xdrs, char **objpp, u_int obj_size, XDRPROC_T_TYPE xdr_obj) in xdr_pointer() argument 588 return (xdr_reference(xdrs, objpp, obj_size, xdr_obj)); in xdr_pointer()
|
| /freebsd-12.1/contrib/amd/include/ |
| H A D | am_xdr_func.h | 1074 bool_t xdr_pointer(register XDR *xdrs, char **objpp, u_int obj_size, XDRPROC_T_TYPE xdr_obj);
|