/osnet-11/usr/src/lib/libldap4/common/ |
H A D | getattr.c | 103 void ldap_memfree(char *mem) argument 105 free(mem);
|
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_mem.c | 42 void *mem; local 52 if ((mem = malloc(size)) == NULL) 55 return (mem); 64 void *mem = asr_alloc(size); local 66 if (mem != NULL) 67 bzero(mem, size); 69 return (mem);
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | t-memstat.c | 84 char *mem; local 102 mem = malloc(sz); 103 if (NULL == mem)
|
/osnet-11/usr/src/lib/libparted/common/libparted/ |
H A D | libparted.c | 234 void* mem; local 236 mem = (void*) malloc (size); 237 if (!mem) { 243 return mem; 249 void* mem; local 251 mem = (void*) realloc (*old, size); 252 if (!mem) { 257 *old = mem;
|
/osnet-11/usr/src/grub/grub2/grub-core/bus/emu/ |
H A D | pci.c | 63 grub_pci_device_unmap_range (grub_pci_device_t dev, void *mem, argument 66 pci_device_unmap_range (dev, mem, size);
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mem.c | 71 void *mem; local 73 mem = debug_malloc(file, line, s); 74 if (mem == NULL) { 78 return (mem); 88 void *mem; local 90 if ((mem = malloc(s)) == NULL) { 94 return (mem);
|
/osnet-11/usr/src/lib/nsswitch/compat/common/ |
H A D | getgrent.c | 193 char **mem; local 198 for (mem = g->gr_mem; *mem != 0; mem++) { 199 if (strcmp(*mem, argp->username) == 0) {
|
/osnet-11/usr/src/lib/scsi/libsmp/common/ |
H A D | smp_subr.c | 151 void *mem; local 158 if ((mem = malloc(size)) == NULL) 161 return (mem); 167 void *mem; local 169 if ((mem = smp_alloc(size)) == NULL) 172 bzero(mem, size); 174 return (mem);
|
/osnet-11/usr/src/lib/libnsl/xpol/ |
H A D | xpol_lib.c | 124 char *mem; local 133 mem = malloc(bytes); 135 xdrmem_create(&xdrs, mem, bytes, XDR_ENCODE); 141 0, mem, bytes); 143 free(mem);
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/dimm/common/ |
H A D | dimm_sun4v.c | 71 md_mem_info_t *mem; local 75 topo_mod_dprintf(mod, "initializing mem enumerator\n"); 77 if ((mem = topo_mod_zalloc(mod, sizeof (md_mem_info_t))) == NULL) 80 if (mem_mdesc_init(mod, mem) != 0) { 82 topo_mod_free(mod, mem, sizeof (md_mem_info_t)); 86 topo_mod_setspecific(mod, (void *)mem); 91 mem_mdesc_fini(mod, mem); 92 topo_mod_free(mod, mem, sizeof (md_mem_info_t)); 96 topo_mod_dprintf(mod, "mem enumerator inited\n"); 104 md_mem_info_t *mem; local 411 md_mem_info_t *mem = (md_mem_info_t *)arg; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/pc/ |
H A D | plan9.c | 103 void *mem; local 455 mem = get_virtual_current_address (ch); 460 ptr = mem;
|
/osnet-11/usr/src/grub/grub2/grub-core/script/ |
H A D | script.c | 33 from &mem. */ 37 char mem; member in struct:grub_script_mem 44 struct grub_script_mem *mem; local 45 mem = (struct grub_script_mem *) grub_malloc (size + sizeof (*mem) 47 if (!mem) 50 grub_dprintf ("scripting", "malloc %p\n", mem); 51 mem->next = state->memused; 52 state->memused = mem; 53 return (void *) &mem 58 grub_script_mem_free(struct grub_script_mem *mem) argument 76 struct grub_script_mem *mem = state->memused; local 88 struct grub_script_mem *mem = state->memused; local 323 grub_script_create(struct grub_script_cmd *cmd, struct grub_script_mem *mem) argument [all...] |
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | boot.c | 322 /* Check the mem= option to limit memory used for initrd. */ 324 char *mem; local 326 mem = grub_strstr (arg, "mem="); 327 if (mem) 329 char *value = mem + 4; 397 between two options and a space after a "mem=" option isn't 401 That is, copy "mem=XXX" to the end of the command-line, and 412 the "mem" option to the kernel command line. This has its 419 enough. The "mem" optio [all...] |
/osnet-11/usr/src/cmd/sendmail/db/include/ |
H A D | txn.h | 84 void *mem; /* address of the shalloc space */ member in struct:__db_txnmgr
|
H A D | lock.h | 115 void *mem; /* Beginning of string space. */ member in struct:__db_locktab
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getgrnam_r.c | 427 char *mem; local 445 for (memp = grp->gr_mem; (memp) && ((mem = *memp) != 0); 447 if (strcmp(mem, username) == 0) {
|
H A D | priv_str_xlate.c | 230 int mem = PRIV_ISMEMBER(pset, i); local 233 if (mem) 239 if (mem) 244 if (mem)
|
/osnet-11/usr/src/lib/scsi/libscsi/common/ |
H A D | scsi_subr.c | 148 void *mem; local 155 if ((mem = malloc(size)) == NULL) 158 return (mem); 164 void *mem; local 166 if ((mem = libscsi_alloc(hp, size)) == NULL) 169 bzero(mem, size); 171 return (mem);
|
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | memcluster.c | 363 __memput(void *mem, size_t size) { argument 364 __memput_record(mem, size, NULL, 0); 368 __memput_record(void *mem, size_t size, const char *file, int line) { argument 396 e = (memcluster_element *) ((char *)mem - sizeof *e); 402 INSIST(((u_long)mem % 4) == 0); 429 free(mem); 440 memset(mem, 0xa5, new_size - sizeof *e); /*%< catch write after free */ 460 ((memcluster_element *)mem)->next = freelists[new_size]; 461 freelists[new_size] = (memcluster_element *)mem;
|
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | script_sh.h | 44 struct grub_script_mem *mem; member in struct:grub_script 244 void grub_script_mem_free (struct grub_script_mem *mem); 295 struct grub_script_mem *mem);
|
/osnet-11/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.c | 278 dmgt_slice_t **mem = local 282 if (mem == NULL) { 287 sap = mem;
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | io.c | 989 char *mem = NULL; local 991 /* Make sure mem size requested is aligned */ 996 mem = NSLBERI_MALLOC(sizeof(struct berelement) + EXBUFSIZ + size ); 997 if (NULL == mem) { 1000 *ppBer = (BerElement*) (mem + size); 1003 (*ppBer)->ber_buf = mem + size + sizeof(struct berelement); 1007 return (void*)mem;
|
/osnet-11/usr/src/lib/efcode/engine/ |
H A D | package.c | 218 fstack_t *mem; local 231 mem = MALLOC(sizeof (fstack_t) * (n+8)); 232 memcpy(mem, MYSELF->device->init_data, sizeof (fstack_t) * n); 235 my_dev->init_data = mem;
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-mem/common/ |
H A D | mem.c | 36 * This enumerator creates mem-schemed nodes for each dimm found in the 43 #define PLATFORM_MEM_NAME "platform-mem" 45 #define MEM_NODE_NAME "mem" 84 md_mem_info_t *mem; local 91 if ((mem = topo_mod_zalloc(mod, sizeof (md_mem_info_t))) == NULL) 94 if (mem_mdesc_init(mod, mem) != 0) { 96 topo_mod_free(mod, mem, sizeof (md_mem_info_t)); 100 topo_mod_setspecific(mod, (void *)mem); 105 mem_mdesc_fini(mod, mem); 106 topo_mod_free(mod, mem, sizeo 118 md_mem_info_t *mem; local 139 md_mem_info_t *mem = (md_mem_info_t *)topo_mod_getspecific(mod); local 260 md_mem_info_t *mem = (md_mem_info_t *)topo_mod_getspecific(mod); local 545 mem_create(topo_mod_t *mod, tnode_t *rnode, const char *name, md_mem_info_t *mem) argument [all...] |
H A D | mem_mdesc.c | 49 md_mem_info_t *mem) 85 dm->dm_next = mem->mem_dm; 86 mem->mem_dm = dm; 97 for (d = mem->mem_dm; d != NULL; d = d->dm_next) { 139 seg->sm_next = mem->mem_seg; 140 mem->mem_seg = seg; 146 mem->mem_group = mg; 161 bm->bm_next = mem->mem_bank; 162 mem->mem_bank = bm; 165 for (d = mem 48 mdesc_init_n1(topo_mod_t *mod, md_t *mdp, mde_cookie_t *listp, md_mem_info_t *mem) argument 189 mem_get_dimm_by_sn(char *sn, md_mem_info_t *mem) argument 201 find_grp(mde_cookie_t *listp, size_t n, mde_cookie_t *bclist, mem_bank_map_t **banklist, size_t mem_bank_count, md_mem_info_t *mem) argument 232 create_grp(topo_mod_t *mod, mde_cookie_t *listp, size_t n, mde_cookie_t *bclist, mem_bank_map_t **banklist, size_t mem_bank_count, md_mem_info_t *mem) argument 255 mdesc_init_n2(topo_mod_t *mod, md_t *mdp, mde_cookie_t *listp, md_mem_info_t *mem, int num_comps) argument 420 mem_mdesc_init(topo_mod_t *mod, md_mem_info_t *mem) argument 478 mem_mdesc_fini(topo_mod_t *mod, md_mem_info_t *mem) argument [all...] |