Home
last modified time | relevance | path

Searched refs:osize (Results 1 – 18 of 18) sorted by relevance

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlmem.c76 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 Dlua_cmsgpack.c98 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 Dlauxlib.c627 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 Dlua.h66 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlmem.c74 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 Dlz4.c39 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 Dzcp.c722 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 Drange_tree.c622 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 Dvdev.c1779 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 Ddbuf.c1893 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 Darc.c3472 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 Dkern_malloc.c114 #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 Dcvmx-mixx-defs.h1243 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 Dcvmx-mgmt-port.c183 …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 Dvnode.h956 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 Drange_tree.h290 uint64_t *ostart, uint64_t *osize);
/f-stack/freebsd/contrib/openzfs/include/sys/lua/
H A Dlua.h69 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 Dar9300_eeprom.c3952 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()