Searched defs:alloc (Results 1 - 25 of 70) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetcwd.c45 int alloc = 0; local
57 alloc = 1;
63 if (alloc)
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dsmbfs_ioctl.h44 uint32_t alloc; /* allocated length */ member in struct:ioc_sdbuf
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dreginit.c25 * posix regex state and alloc
388 * malloc(n) alloc(0,n)
389 * realloc(p,n) alloc(p,n)
390 * free(p) alloc(p,0)
394 alloc(register regdisc_t* disc, void* p, size_t n) function
/illumos-gate/usr/src/uts/intel/os/
H A Dcpr_intel.c43 cpr_default_setup(int alloc) argument
/illumos-gate/usr/src/cmd/mandoc/
H A Dcompat_ohash.h32 void *(*alloc)(size_t, void *); member in struct:ohash_info
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.h62 int alloc; member in struct:line_buf
/illumos-gate/usr/src/cmd/filesync/
H A Dignore.c255 ign_hash(const char *name, int alloc) argument
273 /* if caller said alloc, buy a new node and chain it in */
274 if (alloc) {
/illumos-gate/usr/src/lib/libast/common/hash/
H A Dhashlib.h47 Hash_alloc_f alloc; /* value allocation routine */ member in struct:__anon2616
49 Hash_region_f region; /* region alloc/free routine */
/illumos-gate/usr/src/uts/intel/io/drm/
H A Dradeon_mem.c246 drm_radeon_mem_alloc_t alloc; local
260 alloc.region = alloc32.region;
261 alloc.alignment = alloc32.alignment;
262 alloc.size = alloc32.size;
263 alloc.region_offset = (void *)(uintptr_t)alloc32.region_offset;
266 DRM_COPYFROM_WITH_RETURN(&alloc, (void *) data, sizeof (alloc));
271 heap = get_heap(dev_priv, alloc.region);
279 if (alloc.alignment < 12)
280 alloc
[all...]
H A Di915_mem.c295 drm_i915_mem_alloc_t alloc; local
307 alloc.region = alloc32.region;
308 alloc.alignment = alloc32.alignment;
309 alloc.size = alloc32.size;
310 alloc.region_offset = (int *)(uintptr_t)alloc32.region_offset;
312 DRM_COPYFROM_WITH_RETURN(&alloc, (void *) data, sizeof(alloc));
314 heap = get_heap(dev_priv, alloc.region);
321 if (alloc.alignment < 12)
322 alloc
[all...]
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dtnf_trace.h109 void * (*alloc)(TNFW_B_WCB *, size_t, enum tnf_alloc_mode); member in struct:_tnf_ops
/illumos-gate/usr/src/lib/libumem/common/
H A Dvmem_sbrk.c94 vmem_sbrk_extend_alloc(vmem_t *src, void *pos, size_t size, size_t alloc, argument
100 ret = _vmem_extend_alloc(src, pos, size, alloc, vmflags);
/illumos-gate/usr/src/cmd/expr/
H A Dcompile.c147 int alloc = 0; local
165 alloc = 1;
244 if (alloc)
250 if (alloc)
/illumos-gate/usr/src/cmd/sh/
H A Dblok.c69 alloc(size_t nbytes) function
296 * with alloc() and free(). I really hate having to do things like this,
327 return (alloc(nbytes));
334 q = alloc(nbytes);
341 q = alloc(nbytes);
358 q = alloc(nbytes);
365 q = alloc(nbytes);
/illumos-gate/usr/src/tools/pmodes/
H A Dbinsearch.c82 item_add_list(itemlist l, char **s, int n, int alloc) argument
86 l->nallocated = alloc ? n : -1;
95 if (alloc)
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_snap.c184 size_t alloc; local
233 (void) libscsi_action_get_buffer(ap, &buf, &alloc, &pp->ssp_len);
237 ASSERT(alloc == pp->ssp_alloc);
/illumos-gate/usr/src/lib/libgen/common/
H A Dreg_compile.c155 int alloc; local
166 alloc = 0;
187 alloc = 1;
429 if (alloc)
434 if (alloc)
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dvstafs.h43 struct alloc struct
55 struct alloc fs_freesecs[0];
76 struct alloc blocks[32];
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioBuffer.cc67 alloc() function in class:AudioBuffer
82 AUDIO_DEBUG((5, "%d: AudioBuffer::alloc - change from %d to %d bytes\n",
92 "%d: AudioBuffer::alloc - zfree mmapped buffer\n",
97 "%d: AudioBuffer::alloc - free malloc'd buffer\n",
107 AUDIO_DEBUG((5, "%d: AudioBuffer::alloc - bad size\n",
115 "%d: AudioBuffer::alloc - zmalloc new buffer\n",
121 "%d: AudioBuffer::alloc - malloc new buffer\n",
128 "%d: AudioBuffer::alloc - buffer alloc failed\n",
138 "%d: AudioBuffer::alloc
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_thread.c60 nst_kmem_xalloc(size_t size, int sec, void *(*alloc)(size_t, int)) argument
66 if ((p = (*alloc)(size, KM_NOSLEEP)) != NULL)
73 cmn_err(CE_WARN, "!nst_kmem_xalloc: failed to alloc %ld bytes", size);
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_agpsupport.c218 agp_allocate_t alloc; local
231 alloc.agpa_pgcount = pages;
232 alloc.agpa_type = AGP_NORMAL;
234 (intptr_t)&alloc, FKIOCTL, kcred, &rval);
243 entry->handle = (void*)(uintptr_t)(alloc.agpa_key + DRM_AGP_KEY_OFFSET);
245 entry->phys_addr = (void*)(uintptr_t)alloc.agpa_physical;
254 request.physical = alloc.agpa_physical;
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Devtchn.c185 evtchn_alloc_unbound_t alloc; local
188 alloc.dom = DOMID_SELF;
189 alloc.remote_dom = (domid_t)domid;
192 &alloc)) == 0) {
193 *evtchnp = alloc.port;
/illumos-gate/usr/src/uts/common/sys/
H A Dpg.h86 struct pg *(*alloc)(); member in struct:pg_ops
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevreserv.c343 struct devlks *alloc; /* Ptr to alloc'ed space */ local
356 if (alloc = malloc(bufsiz)) {
359 if (read(lkfilefd, alloc, bufsiz) != (ssize_t)bufsiz)
363 if (!noerror) free(alloc);
371 locklist = (lockcount > 0) ? alloc : NULL;
1097 size_t bufsiz; /* Size of buffer to alloc */
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dlibumem.c68 { " alloc", " succeed", "---------", "%9u " },
69 { "alloc", " fail", "-----", "%5llu" },
79 { " alloc", " succeed", "---------", "%9llu " },
80 { "alloc", " fail", "-----", "%5llu " },
98 umastat_cpu_alloc(uintptr_t addr, const umem_cpu_cache_t *ccp, int *alloc) argument
100 *alloc += ccp->cc_alloc;
221 int avail, alloc, total, nptc = 0; local
231 alloc = cp->cache_slab_alloc + cp->cache_full.ml_alloc;
235 (void) mdb_pwalk("umem_cpu_cache", cpu_alloc, &alloc, addr);
265 kv->kv_alloc += alloc;
[all...]

Completed in 163 milliseconds

123