Home
last modified time | relevance | path

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

/dragonfly/contrib/grep/lib/
H A Dobstack.c186 size_t obj_size = h->next_free - h->object_base; in _obstack_newchunk() local
190 size_t sum1 = obj_size + length; in _obstack_newchunk()
192 size_t new_size = sum2 + (obj_size >> 3) + 100; in _obstack_newchunk()
199 if (obj_size <= sum1 && sum1 <= sum2) in _obstack_newchunk()
212 memcpy (object_base, h->object_base, obj_size); in _obstack_newchunk()
227 h->next_free = h->object_base + obj_size; in _obstack_newchunk()
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dobstack.c192 size_t obj_size = h->next_free - h->object_base; in _obstack_newchunk() local
196 size_t sum1 = obj_size + length; in _obstack_newchunk()
198 size_t new_size = sum2 + (obj_size >> 3) + 100; in _obstack_newchunk()
205 if (obj_size <= sum1 && sum1 <= sum2) in _obstack_newchunk()
218 memcpy (object_base, h->object_base, obj_size); in _obstack_newchunk()
233 h->next_free = h->object_base + obj_size; in _obstack_newchunk()
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dobstack.c192 size_t obj_size = h->next_free - h->object_base; in _obstack_newchunk() local
196 size_t sum1 = obj_size + length; in _obstack_newchunk()
198 size_t new_size = sum2 + (obj_size >> 3) + 100; in _obstack_newchunk()
205 if (obj_size <= sum1 && sum1 <= sum2) in _obstack_newchunk()
218 memcpy (object_base, h->object_base, obj_size); in _obstack_newchunk()
233 h->next_free = h->object_base + obj_size; in _obstack_newchunk()
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dobstack.c192 size_t obj_size = h->next_free - h->object_base; in _obstack_newchunk() local
196 size_t sum1 = obj_size + length; in _obstack_newchunk()
198 size_t new_size = sum2 + (obj_size >> 3) + 100; in _obstack_newchunk()
205 if (obj_size <= sum1 && sum1 <= sum2) in _obstack_newchunk()
218 memcpy (object_base, h->object_base, obj_size); in _obstack_newchunk()
233 h->next_free = h->object_base + obj_size; in _obstack_newchunk()
/dragonfly/contrib/gdb-7/libiberty/
H A Dobstack.c243 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()
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dobstack.c243 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()
/dragonfly/lib/libc/xdr/
H A Dxdr_reference.c124 xdr_pointer(XDR *xdrs, char **objpp, u_int obj_size, xdrproc_t xdr_obj) in xdr_pointer() argument
136 return (xdr_reference(xdrs,objpp,obj_size,xdr_obj)); in xdr_pointer()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_virt.c378 unsigned long obj_size, in amdgpu_virt_fw_reserve_get_checksum() argument
388 for (i = 0; i < obj_size; ++i) in amdgpu_virt_fw_reserve_get_checksum()
H A Damdgpu_virt.h297 int amdgpu_virt_fw_reserve_get_checksum(void *obj, unsigned long obj_size,
/dragonfly/sys/dev/drm/include/drm/
H A Ddrm_gem.h219 int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size,
/dragonfly/sys/dev/drm/
H A Ddrm_gem.c935 int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size,
941 if (obj_size < vma->vm_end - vma->vm_start)
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_asic.h92 uint32_t offset, uint32_t obj_size);
342 uint32_t offset, uint32_t obj_size);
H A Dr100.c3105 uint32_t offset, uint32_t obj_size) in r100_set_surface_reg() argument
3144 DRM_DEBUG_KMS("writing surface %d %d %x %x\n", reg, flags, offset, offset+obj_size-1); in r100_set_surface_reg()
3147 WREG32(RADEON_SURFACE0_UPPER_BOUND + surf_index, offset + obj_size - 1); in r100_set_surface_reg()
H A Dradeon.h1947 uint32_t offset, uint32_t obj_size);
H A Dr600.c3039 uint32_t offset, uint32_t obj_size) in r600_set_surface_reg() argument