Home
last modified time | relevance | path

Searched refs:allocbuf (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Dgetdev.c278 char **allocbuf; /* Pointer to the allocated data */ local
298 allocbuf = (char **) malloc((ncriteria+1)*sizeof(char **));
303 pp = allocbuf; /* Beginning of the list */
310 } else allocbuf = (char **) NULL; /* NO criteria */
313 return (allocbuf);
H A Dgetdgrp.c330 void *allocbuf; /* Pointer to the allocated data */ local
348 if (allocbuf = malloc(ncriteria*sizeof(char **))) {
351 pp = (char **) allocbuf;
356 return ((char **) allocbuf);
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dnis_common.h135 extern int validate_passwd_ids(char **linepp, int *linelenp, int allocbuf);
136 extern int validate_group_ids(char **linepp, int *linelenp, int allocbuf);
H A Dgetpwnam.c60 validate_passwd_ids(char **linepp, int *linelenp, int allocbuf) in validate_passwd_ids() argument
105 if (!allocbuf || (newline = malloc(newlinelen + 1)) == NULL) in validate_passwd_ids()
H A Dgetgrent.c69 validate_group_ids(char **linepp, int *linelenp, int allocbuf) in validate_group_ids() argument
103 if (!allocbuf || (newline = malloc(newlinelen + 1)) == NULL) in validate_group_ids()
/illumos-gate/usr/src/uts/common/os/
H A Dvm_subr.c140 int allocbuf = 0; in default_physio() local
157 allocbuf = 1; in default_physio()
281 if (allocbuf) { in default_physio()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp.c725 int64_t *allocbuf = (int64_t *)ptr - 1; in zcp_lua_alloc() local
726 int64_t allocsize = *allocbuf; in zcp_lua_alloc()
731 kmem_free(allocbuf, allocsize); in zcp_lua_alloc()
735 int64_t *allocbuf; in zcp_lua_alloc() local
744 allocbuf = kmem_alloc(allocsize, flags); in zcp_lua_alloc()
745 if (allocbuf == NULL) { in zcp_lua_alloc()
750 *allocbuf = allocsize; in zcp_lua_alloc()
751 return (allocbuf + 1); in zcp_lua_alloc()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c109 static BUF *allocbuf(BUF *, int, int);
1235 bp = allocbuf(&buffer, f, RCP_BUFSIZE); in source()
1630 if ((bp = allocbuf(&buffer, ofd, RCP_BUFSIZE)) == 0) { in sink()
1715 allocbuf(BUF *bp, int fd, int blksize) in allocbuf() function