Home
last modified time | relevance | path

Searched refs:rpool (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/contrib/sendmail/libsm/
H A Drpool.c61 SM_RPOOL_T *rpool; in sm_rpool_allocblock_x()
187 SM_ASSERT(rpool->sm_bigobjectsize <= rpool->sm_poolsize);
188 ptr = sm_rpool_allocblock_x(rpool, rpool->sm_poolsize);
190 rpool->sm_poolavail = rpool->sm_poolsize - size;
283 SM_ASSERT(rpool->sm_bigobjectsize <= rpool->sm_poolsize);
284 ptr = sm_rpool_allocblock(rpool, rpool->sm_poolsize);
288 rpool->sm_poolavail = rpool->sm_poolsize - size;
341 return rpool;
445 if (rpool->sm_nbigblocks > 0 || rpool->sm_npools > 1)
448 (long) rpool, rpool->sm_nbigblocks, rpool->sm_npools);
[all …]
H A Dt-rpool.c36 SM_RPOOL_T *rpool; local
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, rfree, "attachment #3");
64 sm_rpool_free(rpool);
H A Dfopen.c107 sm_io_open(type, timeout, info, flags, rpool) in sm_io_open() argument
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);
221 sm_io_reopen(type, timeout, info, flags, rpool, fp) in sm_io_reopen() argument
226 const void *rpool;
288 ret = (*fp2->f_open)(fp2, info, flags, rpool);
312 if (rpool != NULL)
313 sm_rpool_attach_x(rpool, sm_io_close, fp2);
H A Dldap.c798 sm_ldap_add_recurse(top, item, type, rpool) in sm_ldap_add_recurse() argument
802 SM_RPOOL_T *rpool;
843 (*top)->lrl_data = sm_rpool_malloc_x(rpool,
917 SM_RPOOL_T *rpool;
994 rpool);
1148 *result = sm_rpool_strdup_x(rpool,
1164 *result = sm_rpool_malloc_x(rpool,
1184 *result = sm_rpool_strdup_x(rpool,
1200 tmp = sm_rpool_malloc_x(rpool,
1242 rpool) == NULL)
[all …]
H A Dstdio.c60 sm_stdopen(fp, info, flags, rpool) in sm_stdopen() argument
64 const void *rpool;
404 sm_stdfdopen(fp, info, flags, rpool) in sm_stdfdopen() argument
408 const void *rpool;
H A Dutil.c152 (ibp, obp, bsp, rpool in quote_internal_chars_tagged() argument
160 SM_RPOOL_T *rpool;
196 obp = sm_rpool_malloc_tagged_x(rpool, olen, tag, line, group);
H A Dstrio.c217 sm_stropen(fp, info, flags, rpool) in sm_stropen() argument
221 const void *rpool;
226 s = sm_rpool_malloc_x(rpool, sizeof(SM_STR_OBJ_T));
234 s->strio_rpool = rpool;
H A Dsyslogio.c47 sm_syslogopen(fp, info, flags, rpool)
51 const void *rpool; variable
H A Dsmstdio.c50 sm_stdioopen(fp, info, flags, rpool) in sm_stdioopen() argument
54 const void *rpool;
/freebsd/sys/netpfil/pf/
H A Dpf_lb.c327 psmask = r->rpool.mape.psid & ((1U << r->rpool.mape.psidlen) - 1); in pf_get_mape_sport()
357 struct pf_kpool *rpool = &r->rpool; in pf_map_addr() local
499 &rpool->tblidx, &rpool->counter, af)) in pf_map_addr()
503 &rpool->tblidx, &rpool->counter, af)) in pf_map_addr()
510 rpool->cur = TAILQ_FIRST(&rpool->list); in pf_map_addr()
512 rpool->cur = TAILQ_NEXT(rpool->cur, entries); in pf_map_addr()
514 rpool->tblidx = -1; in pf_map_addr()
516 &rpool->tblidx, &rpool->counter, af)) { in pf_map_addr()
526 &rpool->tblidx, &rpool->counter, af)) { in pf_map_addr()
657 r->rpool.proxy_port[0], r->rpool.proxy_port[1])); in pf_get_translation()
[all …]
/freebsd/contrib/sendmail/include/sm/
H A Drpool.h146 # define sm_rpool_malloc_x(rpool, size) \ argument
147 sm_rpool_malloc_tagged_x(rpool, size, __FILE__, __LINE__, SmHeapGroup)
155 # define sm_rpool_malloc(rpool, size) \ argument
156 sm_rpool_malloc_tagged(rpool, size, __FILE__, __LINE__, SmHeapGroup)
166 # define sm_rpool_malloc_tagged(rpool, size, file, line, group) sm_rpool_malloc(rpool, size) argument
167 # define sm_rpool_malloc_tagged_x(rpool, size, file, line, group) sm_rpool_malloc_x(rpool, size) argument
174 # define sm_rpool_strdup_x(rpool, str) sm_rpool_strdup_tagged_x(rpool, str, "sm_rpool_strdup_x:" __… argument
176 extern char *sm_rpool_strdup_x __P((SM_RPOOL_T *rpool, const char *s));
177 # define sm_rpool_strdup_tagged_x(rpool, str, tag, line, group) sm_rpool_strdup_x(rpool, str) argument
181 # define sm_rpool_strdup_x(rpool, str) \ argument
[all …]
H A Dsendmail.h26 # define quote_internal_chars(ibp, obp, bsp, rpool) quote_internal_chars_tagged(ibp, obp, bsp, rpoo… argument
29 …quote_internal_chars_tagged(ibp, obp, bsp, rpool, file, line, group) quote_internal_chars(ibp, obp… argument
/freebsd/sys/contrib/openzfs/contrib/initramfs/
H A DREADME.md20 * `rpool=<pool>`
22 * `rpool=<pool> bootfs=<pool>/<dataset>`
28 * `rpool=rpool`
50 `rpool/ROOT/rootfs`, `rpool/root/rootfs/var`, `rpool/root/rootfs/usr`, etc.
/freebsd/contrib/sendmail/src/
H A Dsched.c127 SM_RPOOL_T *rpool; in qm() local
153 rpool = sm_rpool_new_x(NULL); in qm()
154 e = newenvelope(&QmEnvelope, CurEnv, rpool); in qm()
H A Dsasl.c161 intersect(s1, s2, rpool) in intersect() argument
163 SM_RPOOL_T *rpool;
173 res = (char *) sm_rpool_malloc(rpool, rl + 1);
H A Denvelope.c72 newenvelope(e, parent, rpool) in newenvelope() argument
75 SM_RPOOL_T *rpool;
95 clearenvelope(e, true, rpool);
115 e->e_sessid = sm_rpool_strdup_x(rpool,
127 e->e_quarmsg = sm_rpool_strdup_x(rpool,
668 clearenvelope(e, fullclear, rpool) in clearenvelope() argument
671 SM_RPOOL_T *rpool;
714 *p = sm_rpool_strdup_x(rpool, *p);
723 e->e_rpool = rpool;
724 e->e_macro.mac_rpool = rpool;
[all …]
H A Dudb.c570 udbsender(sender, rpool) in udbsender() argument
572 SM_RPOOL_T *rpool;
574 return udbmatch(sender, "mailname", rpool);
594 udbmatch(user, field, rpool) in udbmatch() argument
597 SM_RPOOL_T *rpool;
670 p = sm_rpool_malloc_x(rpool, info.size + 1);
691 p = sm_rpool_malloc_x(rpool, info.size + 1);
771 p = sm_rpool_malloc_x(rpool, i);
814 p = sm_rpool_malloc_x(rpool, i);
H A Dutil.c78 addquotes(s, rpool) in addquotes() argument
80 SM_RPOOL_T *rpool;
97 q = r = sm_rpool_malloc_x(rpool, len + 3);
518 copyplist(list, copycont, rpool) in copyplist() argument
521 SM_RPOOL_T *rpool;
538 NULL == rpool ? 0 : 1);
545 "copyplist", 0, NULL == rpool ? 0 : 1);
566 copyqueue(addr, rpool) in copyqueue() argument
568 SM_RPOOL_T *rpool;
1002 makelower_a(pp, rpool) in makelower_a() argument
[all …]
H A Dsfsasl.c102 sasl_open(fp, info, flags, rpool) in sasl_open() argument
106 const void *rpool;
490 tls_open(fp, info, flags, rpool) in tls_open() argument
494 const void *rpool;
H A Dusersmtp.c39 #define ENHSCN_RPOOL(e, d, rpool) \ argument
40 ((e) == NULL ? (d) : sm_rpool_strdup_x(rpool, e))
368 str_union(s1, s2, rpool) in str_union() argument
370 SM_RPOOL_T *rpool;
390 res = (char *) sm_rpool_malloc(rpool, rl + 2);
767 readauth(filename, safe, sai, rpool) in readauth() argument
771 SM_RPOOL_T *rpool;
856 (*sai)[lc] = sm_rpool_strdup_x(rpool, buf);
1541 removemech(rem, list, rpool) in removemech() argument
1544 SM_RPOOL_T *rpool;
[all …]
/freebsd/sys/contrib/openzfs/contrib/initramfs/scripts/
H A Dzfs8 # $quiet, $root, $rpool, $bootfs come from the cmdline:
663 # Ex: Called with 'rpool/ROOT/debian@snap2'
664 # rpool/ROOT/debian@snap2 => rpool/ROOT/debian_snap2
665 # rpool/ROOT/debian/boot@snap2 => rpool/ROOT/debian_snap2/boot
666 # rpool/ROOT/debian/usr@snap2 => rpool/ROOT/debian_snap2/usr
667 # rpool/ROOT/debian/var@snap2 => rpool/ROOT/debian_snap2/var
782 # rpool=<pool> bootfs=<pool>/<dataset>
784 # rpool=rpool (default if none of the above is used)
806 # Look for 'rpool' and 'bootfs' parameter
807 [ -n "$rpool" ] && ZFS_RPOOL="${rpool#rpool=}"
[all …]
/freebsd/sbin/pfctl/
H A Dpfctl_optimize.c138 PF_RULE_FIELD(rpool, BREAK),
292 if (TAILQ_FIRST(&r->rpool.list) != NULL) { in pfctl_optimize_ruleset()
293 TAILQ_INIT(&por->por_rule.rpool.list); in pfctl_optimize_ruleset()
294 pfctl_move_pool(&r->rpool, &por->por_rule.rpool); in pfctl_optimize_ruleset()
296 bzero(&por->por_rule.rpool, in pfctl_optimize_ruleset()
297 sizeof(por->por_rule.rpool)); in pfctl_optimize_ruleset()
327 TAILQ_INIT(&r->rpool.list); in pfctl_optimize_ruleset()
328 pfctl_move_pool(&por->por_rule.rpool, &r->rpool); in pfctl_optimize_ruleset()
914 if (TAILQ_EMPTY(&por->por_rule.rpool.list)) in load_feedback_profile()
915 memset(&por->por_rule.rpool, 0, in load_feedback_profile()
[all …]
H A Dparse.y4754 r.rpool.proxy_port[1] =
4761 r.rpool.proxy_port[1] =
4765 r.rpool.proxy_port[1] =
4769 r.rpool.proxy_port[0] =
4771 r.rpool.proxy_port[1] =
4774 r.rpool.proxy_port[1] =
4781 r.rpool.opts = $10.type;
4815 r.rpool.opts |= $10.opts;
4832 r.rpool.proxy_port[0] = 0;
4856 r.rpool.mape = $10.mape;
[all …]
/freebsd/contrib/pf/ftp-proxy/
H A Dfilter.c110 pfrule.rpool.proxy_port[0] = nat_range_low; in add_nat()
111 pfrule.rpool.proxy_port[1] = nat_range_high; in add_nat()
144 pfrule.rpool.proxy_port[0] = rdr_port; in add_rdr()
/freebsd/contrib/pf/tftp-proxy/
H A Dfilter.c114 pfrule.rpool.proxy_port[0] = nat_range_low; in add_nat()
115 pfrule.rpool.proxy_port[1] = nat_range_high; in add_nat()
148 pfrule.rpool.proxy_port[0] = rdr_port; in add_rdr()

12