Lines Matching refs:file

4  * The contents of this file are subject to the terms of the
6 * (the "License"). You may not use this file except in compliance
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
56 char file[80];
65 add_alloc(char *type, void *addr, size_t size, const char *file, int line)
78 strcpy(alist->file, file);
91 drop_alloc(const char *type, void *addr, const char *file, int line)
112 type, addr, file, line);
119 my_malloc(size_t size, const char *file, int line)
127 add_alloc("MALLOC", addr, size, file, line);
133 my_realloc(void *addr, size_t size, const char *file, int line)
141 drop_alloc("MALLOC", addr, file, line);
142 add_alloc("MALLOC", ptr, size, file, line);
149 my_free(void *addr, const char *file, int line)
152 drop_alloc("MALLOC", addr, file, line);
158 my_strdup(const char *straddr, const char *file, int line)
168 add_alloc("STRDUP", addr, size, file, line);
175 my_sethostent(int stay, const char *file, int line)
179 add_alloc("SETHOSTENT", NULL, 0, file, line);
185 my_endhostent(const char *file, int line)
193 drop_alloc("SETHOSTENT", NULL, file, line);
199 my_setnetconfig(const char *file, int line)
207 add_alloc("SETNETCONFIG", nconf, 0, file, line);
213 my_endnetconfig(void *nconf, const char *file, int line)
221 drop_alloc("SETNETCONFIG", nconf, file, line);
227 my_setnetpath(const char *file, int line)
235 add_alloc("SETNETPATH", npath, 0, file, line);
241 my_endnetpath(void *npath, const char *file, int line)
249 drop_alloc("SETNETPATH", npath, file, line);
259 const char *file,
268 add_alloc("NETDIR_GETBYNAME", *addrs, 0, file, line);
274 my_netdir_free(void *ptr, int type, const char *file, int line)
278 drop_alloc("NETDIR_GETBYNAME", ptr, file, line);
288 char *file,
297 add_alloc("GETIPNODEBYNAME", res, 0, file, line);
303 my_freehostent(struct hostent *hent, char *file, int line)
307 drop_alloc("GETIPNODEBYNAME", hent, file, line);
312 my_getnetconfigent(char *netid, char *file, int line)
320 add_alloc("GETNETCONFIGENT", res, 0, file, line);
326 my_freenetconfigent(struct netconfig *netp, char *file, int line)
330 drop_alloc("GETNETCONFIGENT", netp, file, line);
335 my__rpc_setconf(char *nettype, char *file, int line)
343 add_alloc("RPC_SETCONF", res, 0, file, line);
349 my__rpc_endconf(void *vhandle, char *file, int line)
353 drop_alloc("RPC_SETCONF", vhandle, file, line);
372 syslog(LOG_ERR, "check_leaks, could not open file: %s",
384 alist->file, alist->line);