Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:malloc

85 	ret = malloc(length + 1);
846 TDB_LOG((tdb, TDB_DEBUG_FATAL,"tdb_oob len %d beyond internal malloc size %d\n",
1139 /* some systems don't like zero length malloc */
1144 if (!(buf = (unsigned char *)malloc(len))) {
1147 TDB_LOG((tdb, TDB_DEBUG_ERROR,"tdb_alloc_read malloc failed len=%d (%s)\n",
1173 * Optimize by avoiding the malloc/memcpy/free, point the
1482 el = (struct tdb_transaction_el *)malloc(sizeof(*el));
1492 el->data = (unsigned char *)malloc(len);
1892 data = (unsigned char *)malloc(recovery_size + sizeof(*rec));
2174 data = (unsigned char *)malloc(rec.data_len);
3213 * function directly at the mmap area, it avoids the malloc/memcpy in this
3215 * malloc/read/parse/free.
3501 /* Copy key+value *before* allocating free space in case malloc
3504 if (!(p = (char *)malloc(key.dsize + dbuf.dsize))) {
3609 dbuf.dptr = (unsigned char *)malloc(new_dbuf.dsize);