/freebsd-13-stable/contrib/sendmail/libsm/ |
H A D | rpool.c | 11 SM_RCSID("@(#)$Id: rpool.c,v 1.29 2013-11-22 20:51:43 ca Exp $") 15 ** For documentation, see rpool.html 20 #include <sm/rpool.h> 46 ** SM_RPOOL_ALLOCBLOCK_X -- allocate a new block for an rpool. 49 ** rpool -- rpool to which the block should be added. 60 sm_rpool_allocblock_x(rpool, size) 61 SM_RPOOL_T *rpool; 67 p->sm_pnext = rpool->sm_pools; 68 rpool 309 SM_RPOOL_T *rpool; local [all...] |
H A D | t-rpool.c | 11 SM_IDSTR(id, "@(#)$Id: t-rpool.c,v 1.19 2013-11-22 20:51:43 ca Exp $") 15 #include <sm/rpool.h> 36 SM_RPOOL_T *rpool; local 41 sm_test_begin(argc, argv, "test rpool"); 43 rpool = sm_rpool_new_x(NULL); 44 SM_TEST(rpool != NULL); 45 att = sm_rpool_attach_x(rpool, rfree, "attachment #1"); 51 a[i] = sm_rpool_malloc_x(rpool, sz); 55 att = sm_rpool_attach_x(rpool, rfree, "attachment #2"); 56 (void) sm_rpool_attach_x(rpool, rfre [all...] |
H A D | fopen.c | 94 ** rpool -- pointer to rpool to be used for this open 107 sm_io_open(type, timeout, info, flags, rpool) 112 const void *rpool; 148 if ((*fp->f_open)(fp, info, flags, rpool) < 0) 160 if (rpool != NULL) 161 sm_rpool_attach_x(rpool, sm_io_fclose, fp); 210 ** rpool -- rpool file to be associated with 221 sm_io_reopen(type, timeout, info, flags, rpool, f [all...] |
H A D | syslogio.c | 18 # include <sm/rpool.h> 40 ** rpool -- ignored 47 sm_syslogopen(fp, info, flags, rpool) 51 const void *rpool;
|
H A D | strio.c | 22 #include <sm/rpool.h> 209 ** rpool -- resource pool to use memory from (if applicable) 217 sm_stropen(fp, info, flags, rpool) 221 const void *rpool; 226 s = sm_rpool_malloc_x(rpool, sizeof(SM_STR_OBJ_T)); 234 s->strio_rpool = rpool;
|
H A D | ldap.c | 718 ** rpool -- memory pool for storage 737 sm_ldap_add_recurse(top, item, type, rpool) 741 SM_RPOOL_T *rpool; 762 *top = sm_rpool_malloc_x(rpool, sizeof **top); 782 (*top)->lrl_data = sm_rpool_malloc_x(rpool, 828 newe = sm_rpool_malloc_x(rpool, sizeof *newe); 837 newe->lr_search = sm_rpool_strdup_x(rpool, item); 850 sm_ldap_results(lmap, msgid, flags, delim, rpool, result, 856 SM_RPOOL_T *rpool; 933 rpool); [all...] |
H A D | stdio.c | 50 ** rpool -- ignored 60 sm_stdopen(fp, info, flags, rpool) 64 const void *rpool; 395 ** rpool -- ignored 404 sm_stdfdopen(fp, info, flags, rpool) 408 const void *rpool;
|
H A D | Makefile.m4 | 9 define(`bldSOURCES', ` assert.c debug.c errstring.c exc.c heap.c match.c rpool.c strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c wbuf.c wsetup.c string.c stringf.c xtrap.c strto.c test.c strcasecmp.c strrevcmp.c signal.c clock.c config.c shm.c sem.c mbdb.c strexit.c cf.c ldap.c niprop.c mpeix.c memstat.c util.c inet6_ntop.c notify.c ') 18 smcheck(`t-rpool', `compile-run')
|
H A D | smstdio.c | 41 ** rpool -- ignored 50 sm_stdioopen(fp, info, flags, rpool) 54 const void *rpool;
|
/freebsd-13-stable/sys/netpfil/pf/ |
H A D | pf_lb.c | 145 if (r->rpool.cur != NULL) 146 xdst = &r->rpool.cur->addr; 288 switch (r->rpool.opts & PF_POOL_TYPEMASK) { 318 ashift = 16 - r->rpool.mape.offset; 319 psidshift = ashift - r->rpool.mape.psidlen; 320 psmask = r->rpool.mape.psid & ((1U << r->rpool.mape.psidlen) - 1); 324 ahigh = (1U << r->rpool.mape.offset) - 1; 348 struct pf_kpool *rpool = &r->rpool; local [all...] |
/freebsd-13-stable/contrib/sendmail/include/sm/ |
H A D | rpool.h | 9 * $Id: rpool.h,v 1.17 2013-11-22 20:51:31 ca Exp $ 14 ** See libsm/rpool.html for documentation. 28 ** where 'poolsize' is the value of rpool->sm_poolsize at the time 65 /* Points to SmRpoolMagic, or is NULL if rpool is freed. */ 69 ** If this rpool object has no parent, then sm_parentlink 71 ** when this rpool is freed, so that it isn't freed a 146 # define sm_rpool_malloc_x(rpool, size) \ 147 sm_rpool_malloc_tagged_x(rpool, size, __FILE__, __LINE__, SmHeapGroup) 155 # define sm_rpool_malloc(rpool, size) \ 156 sm_rpool_malloc_tagged(rpool, siz [all...] |
H A D | ldap.h | 16 # include <sm/rpool.h>
|
/freebsd-13-stable/contrib/sendmail/src/ |
H A D | sasl.c | 40 ** We can't use an rpool for Cyrus-SASL memory management routines, 42 ** allocate/deallocate a buffer each time. Since rpool 154 ** rpool -- resource pool from which result is allocated. 161 intersect(s1, s2, rpool) 163 SM_RPOOL_T *rpool; 173 res = (char *) sm_rpool_malloc(rpool, rl + 1);
|
H A D | envelope.c | 59 ** rpool -- either NULL, or a pointer to a resource pool 71 newenvelope(e, parent, rpool) 74 SM_RPOOL_T *rpool; 94 clearenvelope(e, true, rpool); 114 e->e_sessid = sm_rpool_strdup_x(rpool, 126 e->e_quarmsg = sm_rpool_strdup_x(rpool, 667 ** rpool -- either NULL, or a pointer to a resource pool 680 clearenvelope(e, fullclear, rpool) 683 SM_RPOOL_T *rpool; 729 *p = sm_rpool_strdup_x(rpool, * [all...] |
H A D | udb.c | 560 ** rpool -- resource pool from which to allocate result 564 ** database. Storage allocated from rpool. 572 udbsender(sender, rpool) 574 SM_RPOOL_T *rpool; 576 return udbmatch(sender, "mailname", rpool); 584 ** rpool -- resource pool from which to allocate result 588 ** database. Storage allocated from rpool. 596 udbmatch(user, field, rpool) 599 SM_RPOOL_T *rpool; 668 p = sm_rpool_malloc_x(rpool, inf [all...] |
H A D | sfsasl.c | 92 ** rpool -- ignored 102 sasl_open(fp, info, flags, rpool) 106 const void *rpool; 484 ** rpool -- ignored 494 tls_open(fp, info, flags, rpool) 498 const void *rpool;
|
H A D | util.c | 53 ** rpool -- resource pool from which to allocate result 60 addquotes(s, rpool) 62 SM_RPOOL_T *rpool; 79 q = r = sm_rpool_malloc_x(rpool, len + 3); 489 ** rpool -- resource pool from which to allocate storage, 497 copyplist(list, copycont, rpool) 500 SM_RPOOL_T *rpool; 510 newvp = (char **) sm_rpool_malloc_x(rpool, (vp - list) * sizeof(*vp)); 516 *vp = sm_rpool_strdup_x(rpool, *vp); 530 ** rpool [all...] |
H A D | usersmtp.c | 40 #define ENHSCN_RPOOL(e, d, rpool) \ 41 ((e) == NULL ? (d) : sm_rpool_strdup_x(rpool, e)) 329 ** rpool -- resource pool from which result is allocated. 336 str_union(s1, s2, rpool) 338 SM_RPOOL_T *rpool; 358 res = (char *) sm_rpool_malloc(rpool, rl + 2); 690 ** it can't be in an rpool unless we use the same memory 691 ** management mechanism (with same rpool!) for Cyrus SASL. 718 ** rpool -- resource pool for sai. 735 readauth(filename, safe, sai, rpool) [all...] |
H A D | bf.c | 90 ** rpool -- ignored (currently) 98 sm_bfopen(fp, info, flags, rpool) 102 const void *rpool;
|
/freebsd-13-stable/lib/libsm/ |
H A D | Makefile | 25 SRCS+= assert.c debug.c errstring.c exc.c heap.c match.c rpool.c \
|
/freebsd-13-stable/sbin/pfctl/ |
H A D | pfctl_optimize.c | 141 PF_RULE_FIELD(rpool, BREAK), 295 if (TAILQ_FIRST(&r->rpool.list) != NULL) { 296 TAILQ_INIT(&por->por_rule.rpool.list); 297 pfctl_move_pool(&r->rpool, &por->por_rule.rpool); 299 bzero(&por->por_rule.rpool, 300 sizeof(por->por_rule.rpool)); 330 TAILQ_INIT(&r->rpool.list); 331 pfctl_move_pool(&por->por_rule.rpool, &r->rpool); [all...] |
H A D | parse.y | 2367 r.rpool.opts = $5.pool_opts; 2369 memcpy(&r.rpool.key, $5.key, 2380 if ((r.rpool.opts & PF_POOL_TYPEMASK) == 2384 r.rpool.opts |= PF_POOL_ROUNDROBIN; 2385 if ((r.rpool.opts & PF_POOL_TYPEMASK) != 2390 if ((r.rpool.opts & PF_POOL_TYPEMASK) != 2397 if ((r.rpool.opts & PF_POOL_TYPEMASK) != 2399 yyerror("r.rpool.opts must " 4175 r.rpool.proxy_port[0] = ntohs($9->rport.a); 4181 r.rpool [all...] |
H A D | pfctl.c | 1043 if (pfctl_get_pool(dev, &rule.rpool, 1060 pfctl_clear_pool(&rule.rpool); 1076 if (pfctl_get_pool(dev, &rule.rpool, 1140 pfctl_clear_pool(&rule.rpool); 1175 if (pfctl_get_pool(dev, &rule.rpool, nr, 1186 pfctl_clear_pool(&rule.rpool); 1403 TAILQ_INIT(&rule->rpool.list); 1404 pfctl_move_pool(&r->rpool, &rule->rpool); 1530 if (pfctl_add_pool(pf, &r->rpool, [all...] |
/freebsd-13-stable/contrib/pf/ftp-proxy/ |
H A D | filter.c | 110 pfrule.rpool.proxy_port[0] = nat_range_low; 111 pfrule.rpool.proxy_port[1] = nat_range_high; 145 pfrule.rpool.proxy_port[0] = rdr_port;
|
/freebsd-13-stable/contrib/pf/tftp-proxy/ |
H A D | filter.c | 113 pfrule.rpool.proxy_port[0] = nat_range_low; 114 pfrule.rpool.proxy_port[1] = nat_range_high; 147 pfrule.rpool.proxy_port[0] = rdr_port;
|