| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lmem.c | 76 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { in luaM_realloc_() argument 78 lua_assert((osize == 0) == (block == NULL)); in luaM_realloc_() 79 block = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_() 83 g->totalbytes = (g->totalbytes - osize) + nsize; in luaM_realloc_()
|
| H A D | lua_cmsgpack.c | 98 void *mp_realloc(lua_State *L, void *target, size_t osize,size_t nsize) { in mp_realloc() argument 99 void *(*local_realloc) (void *, void *, size_t osize, size_t nsize) = NULL; in mp_realloc() 104 return local_realloc(ud, target, osize, nsize); in mp_realloc()
|
| H A D | lauxlib.c | 627 static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { in l_alloc() argument 629 (void)osize; in l_alloc()
|
| H A D | lua.h | 66 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lmem.c | 74 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { in luaM_realloc_() argument 77 size_t realosize = (block) ? osize : 0; in luaM_realloc_() 83 newblock = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_() 89 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ in luaM_realloc_()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | lz4.c | 39 int osize); 43 int isize, int osize); 45 int isize, int osize); 470 int osize) in LZ4_compressCtx() argument 479 const BYTE *const oend = (BYTE *) dest + osize; in LZ4_compressCtx() 661 int osize) in LZ4_compress64kCtx() argument 670 const BYTE *const oend = (BYTE *) dest + osize; in LZ4_compress64kCtx() 837 real_LZ4_compress(const char *source, char *dest, int isize, int osize) in real_LZ4_compress() argument 854 result = LZ4_compress64kCtx(ctx, source, dest, isize, osize); in real_LZ4_compress() 856 result = LZ4_compressCtx(ctx, source, dest, isize, osize); in real_LZ4_compress()
|
| H A D | zcp.c | 722 zcp_lua_alloc(void *ud, void *ptr, size_t osize, size_t nsize) in zcp_lua_alloc() argument 752 } else if (nsize <= osize) { in zcp_lua_alloc() 759 ASSERT3U(nsize, >, osize); in zcp_lua_alloc() 765 (void) memcpy(luabuf, ptr, osize); in zcp_lua_alloc() 766 VERIFY3P(zcp_lua_alloc(ud, ptr, osize, 0), ==, NULL); in zcp_lua_alloc()
|
| H A D | range_tree.c | 622 uint64_t *ostart, uint64_t *osize) in range_tree_find_in() argument 635 *osize = MIN(size, rs_get_end(rs, rt) - start); in range_tree_find_in() 644 *osize = MIN(start + size, rs_get_end(rs, rt)) - in range_tree_find_in()
|
| H A D | vdev.c | 1779 uint64_t osize = 0; in vdev_open() local 1813 error = vd->vdev_ops->vdev_op_open(vd, &osize, &max_osize, in vdev_open() 1820 if (osize > max_osize) { in vdev_open() 1886 osize = P2ALIGN(osize, (uint64_t)sizeof (vdev_label_t)); in vdev_open() 1890 if (osize < SPA_MINDEVSIZE) { in vdev_open() 1895 psize = osize; in vdev_open() 1896 asize = osize - (VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE); in vdev_open() 1900 if (vd->vdev_parent != NULL && osize < SPA_MINDEVSIZE - in vdev_open() 1907 asize = osize; in vdev_open()
|
| H A D | dbuf.c | 1893 int osize = db->db.db_size; in dbuf_new_size() local 1913 bcopy(old_buf->b_data, buf->b_data, MIN(osize, size)); in dbuf_new_size() 1915 if (size > osize) in dbuf_new_size() 1916 bzero((uint8_t *)buf->b_data + osize, size - osize); in dbuf_new_size() 1929 ASSERT3U(dr->dr_accounted, ==, osize); in dbuf_new_size() 1933 dmu_objset_willuse_space(dn->dn_objset, size - osize, tx); in dbuf_new_size()
|
| H A D | arc.c | 3472 unsigned nsize, osize; in arc_hdr_realloc_crypt() local 3491 osize = HDR_FULL_SIZE; in arc_hdr_realloc_crypt() 3496 osize = sizeof (hdr->b_crypt_hdr); in arc_hdr_realloc_crypt()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_malloc.c | 114 #define DEBUG_REDZONE_ARG_DEF , unsigned long osize 115 #define DEBUG_REDZONE_ARG , osize 609 va = redzone_setup(va, osize); in malloc_large() 637 unsigned long osize = size; variable 666 va = redzone_setup(va, osize); 703 unsigned long osize = size; in malloc_domainset() local 729 va = redzone_setup(va, osize); in malloc_domainset() 749 unsigned long osize = size; in malloc_domainset_exec() local
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-mixx-defs.h | 1243 uint64_t osize : 20; /**< Represents the Outbound Ring Buffer's Size(in 8B member 1255 uint64_t osize : 20; 1262 uint64_t osize : 20; /**< Represents the Outbound Ring Buffer's Size(in 8B member 1276 uint64_t osize : 20;
|
| H A D | cvmx-mgmt-port.c | 183 …if (oring1.s.osize != CVMX_MGMT_PORT_NUM_TX_BUFFERS || cvmx_mgmt_port_state_ptr[port].tx_ring[0].u… in cvmx_mgmt_port_initialize() 293 oring1.s.osize = CVMX_MGMT_PORT_NUM_TX_BUFFERS; in cvmx_mgmt_port_initialize()
|
| /f-stack/freebsd/sys/ |
| H A D | vnode.h | 956 off_t osize, ooffset, noffset; \ 958 osize = ooffset = noffset = 0; \ 964 osize = (off_t)va.va_size; \ 971 | (noffset > osize ? NOTE_EXTEND : 0)); \
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | range_tree.h | 290 uint64_t *ostart, uint64_t *osize);
|
| /f-stack/freebsd/contrib/openzfs/include/sys/lua/ |
| H A D | lua.h | 69 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
|
| /f-stack/freebsd/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_eeprom.c | 3952 int osize; in ar9300_eeprom_restore_internal_address() local 3978 osize = length; in ar9300_eeprom_restore_internal_address() 3981 compression_header_length + osize + compression_checksum_length); in ar9300_eeprom_restore_internal_address() 3985 word[compression_header_length + osize] | in ar9300_eeprom_restore_internal_address() 3986 (word[compression_header_length + osize + 1] << 8); in ar9300_eeprom_restore_internal_address() 4086 cptr -= compression_header_length + osize + compression_checksum_length; in ar9300_eeprom_restore_internal_address()
|