Home
last modified time | relevance | path

Searched refs:memget (Results 1 – 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/lib/libresolv2/include/isc/
H A Dmemcluster.h25 #define memget(s) __memget_debug(s, __FILE__, __LINE__) macro
29 #define memget(s) __memget_record(s, __FILE__, __LINE__) macro
32 #define memget __memget macro
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dlogging.c442 nlc = memget(sizeof (struct log_context)); in log_new_context()
449 nlc->categories = memget(num_categories * sizeof (log_channel_list)); in log_new_context()
492 lcl = memget(sizeof (struct log_channel_list)); in log_add_channel()
579 chan = memget(sizeof (struct log_channel)); in log_new_syslog_channel()
598 chan = memget(sizeof (struct log_channel)); in log_new_file_channel()
616 chan->out.file.name = memget(chan->out.file.name_size); in log_new_file_channel()
652 chan = memget(sizeof (struct log_channel)); in log_new_null_channel()
H A Deventlib_p.h52 #define NEW(p) if (((p) = memget(sizeof *(p))) != NULL) \
56 #define OKNEW(p) if (!((p) = memget(sizeof *(p)))) { \
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirp.c83 if (!(acc = memget(sizeof *acc))) { in irs_irp_acc()
88 if (!(irp = memget(sizeof *irp))) { in irs_irp_acc()
408 char *buffer = memget(len); in irs_irp_read_body()
439 char *p = memget(len + LINEINCR); in irs_irp_read_body()
H A Dgethostent.c522 buf = memget(bufsiz);
695 buf = memget(bufsiz);
854 he = memget(sizeof *he);
858 he->h_addr_list = memget(sizeof(char *) * (addresses));
868 *npp = memget((af == AF_INET) ? INADDRSZ : IN6ADDRSZ);
889 *npp = memget((af == AF_INET) ? INADDRSZ : IN6ADDRSZ);
907 he->h_aliases = memget(sizeof(char *) * (names));
917 *npp = memget(len);
926 he->h_name = memget(strlen((he1 != NULL) ?
H A Dlcl.c54 if (!(acc = memget(sizeof *acc))) { in irs_lcl_acc()
59 if (!(lcl = memget(sizeof *lcl))) { in irs_lcl_acc()
H A Dnis.c67 if (!(nis = memget(sizeof *nis))) { in irs_nis_acc()
72 if (!(acc = memget(sizeof *acc))) { in irs_nis_acc()
H A Ddns.c61 if (!(acc = memget(sizeof *acc))) { in irs_dns_acc()
66 if (!(dns = memget(sizeof *dns))) { in irs_dns_acc()
H A Dirp_ng.c71 if (!(ng = memget(sizeof *ng))) { in irs_irp_ng()
77 if (!(pvt = memget(sizeof *pvt))) { in irs_irp_ng()
H A Dgen_ng.c67 if (!(ng = memget(sizeof *ng))) { in irs_gen_ng()
72 if (!(pvt = memget(sizeof *pvt))) { in irs_gen_ng()
H A Ddns_nw.c106 if (!(pvt = memget(sizeof *pvt))) { in irs_dns_nw()
111 if (!(nw = memget(sizeof *nw))) { in irs_dns_nw()
243 ansbuf = memget(MAXPACKET); in get1101byname()
275 ansbuf = memget(MAXPACKET); in get1101byaddr()
456 ansbuf = memget(MAXPACKET); in get1101mask()
H A Dirp_pr.c76 if (!(pr = memget(sizeof *pr))) { in irs_irp_pr()
82 if (!(pvt = memget(sizeof *pvt))) { in irs_irp_pr()
H A Dgen_pr.c69 if (!(pr = memget(sizeof *pr))) { in irs_gen_pr()
74 if (!(pvt = memget(sizeof *pvt))) { in irs_gen_pr()
H A Dgen_sv.c70 if (!(sv = memget(sizeof *sv))) { in irs_gen_sv()
75 if (!(pvt = memget(sizeof *pvt))) { in irs_gen_sv()
H A Dirp_nw.c84 if (!(pvt = memget(sizeof *pvt))) { in irs_irp_nw()
90 if (!(nw = memget(sizeof *nw))) { in irs_irp_nw()
H A Dirp_sv.c80 if ((sv = memget(sizeof *sv)) == NULL) { in irs_irp_sv()
86 if ((pvt = memget(sizeof *pvt)) == NULL) { in irs_irp_sv()
H A Dlcl_pr.c109 if (!(pr = memget(sizeof *pr))) { in irs_lcl_pr()
113 if (!(pvt = memget(sizeof *pvt))) { in irs_lcl_pr()
H A Ddns_pr.c78 if (!(pvt = memget(sizeof *pvt))) { in irs_dns_pr()
83 if (!(pr = memget(sizeof *pr))) { in irs_dns_pr()
H A Ddns_ho.c180 if (!(pvt = memget(sizeof *pvt))) { in irs_dns_ho()
186 if (!(ho = memget(sizeof *ho))) { in irs_dns_ho()
250 q = memget(sizeof(*q)); in ho_byname2()
340 q = memget(sizeof(*q)); in ho_byaddr()
341 q2 = memget(sizeof(*q2)); in ho_byaddr()
565 q = memget(sizeof(*q)); in ho_addrinfo()
566 q2 = memget(sizeof(*q2)); in ho_addrinfo()
H A Ddns_sv.c87 if (!(pvt = memget(sizeof *pvt))) { in irs_dns_sv()
93 if (!(sv = memget(sizeof *sv))) { in irs_dns_sv()
H A Dnul_ng.c65 if (!(ng = memget(sizeof *ng))) { in irs_nul_ng()
H A Dirp_ho.c97 if (!(ho = memget(sizeof *ho))) { in irs_irp_ho()
103 if (!(pvt = memget(sizeof *pvt))) { in irs_irp_ho()
H A Dgen_nw.c72 if (!(pvt = memget(sizeof *pvt))) { in irs_gen_nw()
77 if (!(nw = memget(sizeof *nw))) { in irs_gen_nw()
H A Dgen.c131 if (!(acc = memget(sizeof *acc))) { in irs_gen_acc()
136 if (!(irs = memget(sizeof *irs))) { in irs_gen_acc()
310 new = memget(sizeof *new); in add_rule()
H A Dirpmarshall.c191 *buffer = memget(need); in irp_marshall_pw()
439 *buffer = memget(need); in irp_marshall_gr()
608 *buffer = memget(need); in irp_marshall_sv()
763 *buffer = memget(need); in irp_marshall_pr()
936 *buffer = memget(need); in irp_marshall_ho()
1168 *buffer = memget(need); in irp_marshall_ng()
1345 *buffer = memget(need); in irp_marshall_nw()
1519 *buffer = memget(need); in irp_marshall_ne()

12