Searched refs:alloc (Results 1 - 25 of 198) sorted by relevance

12345678

/freebsd-9.3-release/contrib/gcc/
H A Dvec.c40 unsigned alloc; member in struct:vec_prefix
50 unsigned alloc = 0; local
57 alloc = pfx->alloc;
66 gcc_assert (alloc - num < (unsigned) reserve);
70 alloc = num + reserve;
74 if (!alloc)
75 alloc = 4;
76 else if (alloc < 16)
78 alloc
101 unsigned alloc = alloc = calculate_allocation (pfx, reserve, exact); local
173 unsigned alloc = calculate_allocation (pfx, reserve, exact); local
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_pd.c46 pd->pd_num = mthca_alloc(&dev->pd_table.alloc);
56 mthca_free(&dev->pd_table.alloc, pd->pd_num);
66 mthca_free(&dev->pd_table.alloc, pd->pd_num);
71 return mthca_alloc_init(&dev->pd_table.alloc,
80 mthca_alloc_cleanup(&dev->pd_table.alloc);
H A Dmthca_uar.c40 uar->index = mthca_alloc(&dev->uar_table.alloc);
51 mthca_free(&dev->uar_table.alloc, uar->index);
58 ret = mthca_alloc_init(&dev->uar_table.alloc,
67 mthca_alloc_cleanup(&dev->uar_table.alloc);
77 mthca_alloc_cleanup(&dev->uar_table.alloc);
H A Dmthca_allocator.c40 u32 mthca_alloc(struct mthca_alloc *alloc) argument
45 spin_lock_irqsave(&alloc->lock, flags);
47 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last);
48 if (obj >= alloc->max) {
49 alloc->top = (alloc->top + alloc->max) & alloc
64 mthca_free(struct mthca_alloc *alloc, u32 obj) argument
79 mthca_alloc_init(struct mthca_alloc *alloc, u32 num, u32 mask, u32 reserved) argument
105 mthca_alloc_cleanup(struct mthca_alloc *alloc) argument
[all...]
/freebsd-9.3-release/sys/dev/drm/
H A Dsis_ds.c55 set->alloc = -1;
72 set->list[free].alloc_next = set->alloc;
73 set->alloc = free;
81 int alloc = set->alloc; local
84 while (alloc != -1) {
85 if (set->list[alloc].val == item) {
88 set->list[alloc].alloc_next;
90 set->alloc = set->list[alloc]
[all...]
H A Dradeon_mem.c226 drm_radeon_mem_alloc_t *alloc = data; local
234 heap = get_heap(dev_priv, alloc->region);
241 if (alloc->alignment < 12)
242 alloc->alignment = 12;
244 block = alloc_block(*heap, alloc->size, alloc->alignment, file_priv);
249 if (DRM_COPY_TO_USER(alloc->region_offset, &block->start,
/freebsd-9.3-release/lib/csu/ia64/
H A Dcrti.S45 alloc loc1=ar.pfs,0,2,0,0
57 alloc loc1=ar.pfs,0,2,0,0
/freebsd-9.3-release/crypto/openssh/
H A Dbuffer.c41 buffer->alloc = 0;
43 buffer->alloc = len;
53 if (buffer->alloc > 0) {
54 explicit_bzero(buffer->buf, buffer->alloc);
55 buffer->alloc = 0;
89 if (buffer->offset > MIN(buffer->alloc, BUFFER_MAX_CHUNK)) {
121 if (buffer->end + len < buffer->alloc) {
132 newlen = roundup(buffer->alloc + len, BUFFER_ALLOCSZ);
134 fatal("buffer_append_space: alloc %u not supported",
137 buffer->alloc
[all...]
/freebsd-9.3-release/lib/libc/ia64/gen/
H A Dsetjmp.S48 alloc loc0=ar.pfs,1,2,3,0
59 alloc r15=ar.pfs,1,0,0,0 // drop register frame
67 alloc loc0=ar.pfs,2,2,3,0
78 alloc r15=ar.pfs,2,0,0,0 // drop register frame
/freebsd-9.3-release/share/doc/papers/kernmalloc/
H A DMakefile7 EXTRA= alloc.fig usage.tbl
/freebsd-9.3-release/usr.bin/m4/lib/
H A Dohash_init.c38 h->info.alloc = info->alloc;
H A Dohash_create_entry.c34 p = (i->alloc)(i->key_offset + (*end - start) + 1, i->data);
H A Dohash.h34 void *(*alloc)(size_t, void *); member in struct:ohash_info
/freebsd-9.3-release/share/man/man1/
H A DMakefile9 builtin.1 alloc.1 \
/freebsd-9.3-release/tools/regression/sbin/dhclient/
H A DMakefile5 SRCS= alloc.c convert.c hash.c options.c tables.c \
/freebsd-9.3-release/contrib/libstdc++/include/ext/pb_ds/detail/
H A Dmap_debug_base.hpp154 __gnu_cxx::throw_allocator<char> alloc; local
155 const double orig_throw_prob = alloc.get_throw_prob();
156 alloc.set_throw_prob(0);
172 alloc.set_throw_prob(orig_throw_prob);
313 __gnu_cxx::throw_allocator<char> alloc; local
314 const double orig_throw_prob = alloc.get_throw_prob();
315 alloc.set_throw_prob(0);
326 alloc.set_throw_prob(orig_throw_prob);
334 __gnu_cxx::throw_allocator<char> alloc; local
335 const double orig_throw_prob = alloc
[all...]
/freebsd-9.3-release/crypto/heimdal/kuser/
H A Dgenerate-requests.c51 unsigned n, alloc; local
59 alloc = n = 0;
62 if (n >= alloc) {
63 alloc += 16;
64 w = erealloc (w, alloc * sizeof(char **));
/freebsd-9.3-release/crypto/heimdal/kadmin/
H A Dadd-random-users.c47 unsigned n, alloc; local
56 alloc = n = 0;
61 if (n >= alloc) {
62 alloc = max(alloc + 16, alloc * 2);
63 w = erealloc (w, alloc * sizeof(char **));
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devthread.c93 if (target->alloc)
99 if (target->alloc) {
103 target->alloc == cbs->alloc &&
114 if (cbs->alloc && cbs->free && cbs->lock && cbs->unlock) {
179 if (original_lock_fns_.alloc) {
180 if (!(result->lock = original_lock_fns_.alloc(
353 if (!enable_locks && original_lock_fns_.alloc == NULL) {
357 } else if (!enable_locks && original_lock_fns_.alloc != NULL) {
380 return evthread_lock_fns_.alloc(locktyp
[all...]
/freebsd-9.3-release/sbin/dhclient/
H A DMakefile34 SRCS= dhclient.c clparse.c alloc.c dispatch.c hash.c bpf.c options.c \
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/
H A Dj_objnew.d45 hotspot*:::object-alloc
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Java/
H A Dj_objnew.d45 hotspot*:::object-alloc
/freebsd-9.3-release/contrib/compiler-rt/BlocksRuntime/
H A DBlock_private.h138 BLOCK_EXPORT void _Block_use_GC( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject),
145 BLOCK_EXPORT void _Block_use_GC5( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject),
/freebsd-9.3-release/lib/libc/ia64/sys/
H A Dcerror.S32 alloc loc0=ar.pfs,0,3,1,0
/freebsd-9.3-release/crypto/heimdal/kpasswd/
H A Dkpasswd-generator.c41 unsigned n, alloc; local
49 alloc = n = 0;
52 if (n >= alloc) {
53 alloc += 16;
54 w = erealloc (w, alloc * sizeof(char **));

Completed in 137 milliseconds

12345678