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.c60 sm_rpool_allocblock_x(rpool, size) in sm_rpool_allocblock_x() argument
61 SM_RPOOL_T *rpool; in sm_rpool_allocblock_x()
67 p->sm_pnext = rpool->sm_pools;
68 rpool->sm_pools = p;
84 sm_rpool_allocblock(rpool, size) in sm_rpool_allocblock() argument
85 SM_RPOOL_T *rpool; in sm_rpool_allocblock()
93 p->sm_pnext = rpool->sm_pools;
94 rpool->sm_pools = p;
126 sm_rpool_malloc_tagged_x(rpool, size, file, line, group) in sm_rpool_malloc_tagged_x() argument
127 SM_RPOOL_T *rpool; in sm_rpool_malloc_tagged_x()
[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;
823 *top = sm_rpool_malloc_x(rpool, sizeof **top);
843 (*top)->lrl_data = sm_rpool_malloc_x(rpool,
889 newe = sm_rpool_malloc_x(rpool, sizeof *newe);
898 newe->lr_search = sm_rpool_strdup_x(rpool, item);
911 sm_ldap_results(lmap, msgid, flags, delim, rpool, result, in sm_ldap_results() argument
917 SM_RPOOL_T *rpool;
994 rpool);
1148 *result = sm_rpool_strdup_x(rpool,
[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.c152 if (r->rpool.cur != NULL) in pf_match_translation()
153 xdst = &r->rpool.cur->addr; in pf_match_translation()
244 if (proto == IPPROTO_UDP && (r->rpool.opts & PF_POOL_ENDPI)) { in pf_get_sport()
256 if (*sn == NULL && r->rpool.opts & PF_POOL_STICKYADDR && in pf_get_sport()
257 (r->rpool.opts & PF_POOL_TYPEMASK) != PF_POOL_NONE) in pf_get_sport()
365 (r->rpool.opts & PF_POOL_ENDPI)) { in pf_get_sport()
381 switch (r->rpool.opts & PF_POOL_TYPEMASK) { in pf_get_sport()
423 ashift = 16 - r->rpool.mape.offset; in pf_get_mape_sport()
424 psidshift = ashift - r->rpool.mape.psidlen; in pf_get_mape_sport()
425 psmask = r->rpool.mape.psid & ((1U << r->rpool.mape.psidlen) - 1); in pf_get_mape_sport()
[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
173 extern char *sm_rpool_strdup_tagged_x __P((SM_RPOOL_T *rpool, const char *s, char *, int, int));
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
[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;
536 newvp = (char **) sm_rpool_malloc_tagged_x(rpool,
538 NULL == rpool ? 0 : 1);
544 *vp = sm_rpool_strdup_tagged_x(rpool, *vp,
545 "copyplist", 0, NULL == rpool ? 0 : 1);
566 copyqueue(addr, rpool) in copyqueue() 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:
662 # Ex: Called with 'rpool/ROOT/debian@snap2'
663 # rpool/ROOT/debian@snap2 => rpool/ROOT/debian_snap2
664 # rpool/ROOT/debian/boot@snap2 => rpool/ROOT/debian_snap2/boot
665 # rpool/ROOT/debian/usr@snap2 => rpool/ROOT/debian_snap2/usr
666 # rpool/ROOT/debian/var@snap2 => rpool/ROOT/debian_snap2/var
779 # rpool=<pool> (tries to finds bootfs automatically)
780 # bootfs=<pool>/<dataset> (uses this for rpool - first part)
781 # rpool=<pool> bootfs=<pool>/<dataset>
782 # -B zfs-bootfs=<pool>/<fs> (uses this for rpool - first part)
[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.y2710 r.rpool.opts = $5.pool_opts;
2712 memcpy(&r.rpool.key, $5.key,
2723 if ((r.rpool.opts & PF_POOL_TYPEMASK) ==
2727 r.rpool.opts |= PF_POOL_ROUNDROBIN;
2728 if ((r.rpool.opts & PF_POOL_TYPEMASK) !=
2733 if ((r.rpool.opts & PF_POOL_TYPEMASK) !=
2740 if ((r.rpool.opts & PF_POOL_TYPEMASK) !=
4768 r.rpool.proxy_port[0] = ntohs($9->rport.a);
4774 r.rpool.proxy_port[1] =
4781 r.rpool.proxy_port[1] =
[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