Searched defs:free (Results 1 - 25 of 111) sorted by relevance

12345

/freebsd-head/contrib/ntp/sntp/unity/
H A Dunity_fixture_malloc_overrides.h14 #define free unity_free macro
/freebsd-head/sys/contrib/ck/include/
H A Dck_malloc.h36 void (*free)(void *, size_t, bool); member in struct:ck_malloc
/freebsd-head/sys/contrib/zstd/lib/freebsd/
H A Dstdlib.h40 #define free(x) (free)((x), M_ZSTD) macro
/freebsd-head/sys/geom/uzip/
H A Dg_uzip_dapi.h38 g_uzip_dapi_free_t free; member in struct:g_uzip_dapi
/freebsd-head/contrib/gcc/config/i386/
H A Dnetware-libgcc.c9 GCC is free software; you can redistribute it and/or modify
56 free (void *ptr) function
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dstore-int.h43 void (*free)(struct krb5_storage_data*); member in struct:krb5_storage_data
/freebsd-head/lib/libopenbsd/
H A Dohash.h35 void (*free)(void *, void *); member in struct:ohash_info
/freebsd-head/contrib/mandoc/
H A Dcompat_ohash.h31 void (*free)(void *, void *); member in struct:ohash_info
/freebsd-head/sys/contrib/zstd/contrib/pzstd/utils/
H A DResourcePool.h22 * a free function that frees a `T*`.
50 * @param free The function to use to free resources created by `factory`.
52 ResourcePool(Factory factory, Free free) argument
53 : factory_(std::move(factory)), free_(std::move(free)), inUse_(0) {}
/freebsd-head/contrib/openmp/runtime/src/
H A Dkmp_wrapper_malloc.h3 * (malloc(), free(), and others).
33 free
135 should be used in place of malloc() and free(), this allows enabling native
170 #define free(ptr) _free_dbg((ptr), KMP_MEM_BLOCK) macro
181 #define _free_src_loc(ptr, file, line) free((ptr))
190 #define _free_src_loc(ptr) free((ptr))
/freebsd-head/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_iovar.h74 bhnd_nvram_iop_free *free; /**< free() implementation */ member in struct:bhnd_nvram_iops
103 .free = bhnd_nvram_ ## _n ## _free \
/freebsd-head/contrib/ofed/libmlx4/
H A Ddbrec.c46 unsigned long free[0]; member in struct:mlx4_db_page
69 free(page);
76 page->free[i] = ~0;
106 for (i = 0; !page->free[i]; ++i)
109 j = ffsl(page->free[i]);
110 page->free[i] &= ~(1UL << (j - 1));
135 page->free[i / (8 * sizeof (long))] |= 1UL << (i % (8 * sizeof (long)));
146 free(page);
/freebsd-head/contrib/ofed/libmlx5/
H A Ddbrec.c46 unsigned long free[0]; member in struct:mlx5_db_page
65 free(page);
72 page->free[i] = ~0;
102 for (i = 0; !page->free[i]; ++i)
105 j = ffsl(page->free[i]);
107 page->free[i] &= ~(1UL << j);
132 page->free[i / (8 * sizeof(long))] |= 1UL << (i % (8 * sizeof(long)));
143 free(page);
/freebsd-head/contrib/compiler-rt/lib/scudo/
H A Dscudo_malloc.cpp23 INTERCEPTOR_ATTRIBUTE void free(void *ptr) { function
49 INTERCEPTOR_ATTRIBUTE void cfree(void *ptr) ALIAS("free");
/freebsd-head/contrib/ntp/sntp/libevent/include/event2/
H A Dthread.h112 void (*free)(void *lock, unsigned locktype); member in struct:evthread_lock_callbacks
149 /** Function to free a condition variable. */
/freebsd-head/contrib/libevent/include/event2/
H A Dthread.h112 void (*free)(void *lock, unsigned locktype); member in struct:evthread_lock_callbacks
149 /** Function to free a condition variable. */
/freebsd-head/stand/libsa/
H A Dzalloc_malloc.c50 #undef free macro
118 printf("free: duplicate free @ %p from %s:%d\n",
123 panic("free: guard1 fail @ %p from %s:%d",
129 printf("free: duplicate2 free @ %p from %s:%d\n",
134 panic("free: guard2 fail @ %p + %zu from %s:%d",
165 * realloc() - I could be fancier here and free the old buffer before
/freebsd-head/contrib/apr-util/misc/
H A Dapr_rmm.c24 * list of used blocks, and the list of free blocks (either list may
35 * of the first block in the "free blocks" list.
46 * on the free list representing the entire available shm segment
49 * and switching them between the free and used lists as
143 static void move_block(apr_rmm_t *rmm, apr_rmm_off_t this, int free) argument
153 if (free) {
166 if (free) {
184 if (free && (blk->prev + prev->size == this)) {
198 if (free && (this + blk->size == blk->next)) {
/freebsd-head/contrib/sendmail/src/
H A Dcontrol.c364 long free; local
370 free = freediskspace(Queue[qgrp]->qg_qdir, &bsize);
377 if (free > 0)
378 free = (long)((double) free *
384 free, getla());
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_write_private.h52 int (*free)(struct archive_write_filter *); member in struct:archive_write_filter
/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dbptree.c171 * If "free" is set:
179 * If "free" is not set, traversal will stop and return an error if
187 bptree_iterate(objset_t *os, uint64_t obj, boolean_t free, bptree_itor_t func, argument
196 ASSERT(!free || dmu_tx_is_syncing(tx));
202 if (free)
206 ba.ba_free = free;
234 if (free) {
282 ASSERT(!free || err != 0 || ioerr ||
285 /* if all blocks are free there should be no used space */
/freebsd-head/contrib/netbsd-tests/kernel/
H A Dt_extent.c312 ATF_TC(free); variable
313 ATF_TC_HEAD(free, tc)
317 ATF_TC_BODY(free, tc)
381 ATF_TP_ADD_TC(tp, free);
/freebsd-head/sys/netgraph/bluetooth/hci/
H A Dng_hci_cmds.c94 int free, error = 0; local
101 NG_HCI_BUFF_CMD_GET(unit->buffer, free);
102 if (free == 0)
706 le16toh(rp->num_acl_pkt) /* free */
713 le16toh(rp->num_sco_pkt) /* free */
/freebsd-head/usr.bin/dc/
H A Dbcode.h71 void (*free)(struct source *); member in struct:vtable
/freebsd-head/contrib/unbound/util/
H A Dalloc.h75 /** global allocator above this one. NULL for none (malloc/free) */
77 /** singly linked lists of special type. These are free for use. */
113 * Does not free the alloc struct itself (it was also allocated by caller).
138 * @param mem: block to free.
195 # define free(p) unbound_stat_free_lite(p, __FILE__, __LINE__, __func__) macro

Completed in 323 milliseconds

12345