Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/sendmail/libsm/
H A Drpool.c61 SM_RPOOL_T *rpool; in sm_rpool_allocblock_x()
85 SM_RPOOL_T *rpool; in sm_rpool_allocblock()
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)
[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.c737 sm_ldap_add_recurse(top, item, type, rpool) in sm_ldap_add_recurse() argument
741 SM_RPOOL_T *rpool;
782 (*top)->lrl_data = sm_rpool_malloc_x(rpool,
856 SM_RPOOL_T *rpool;
933 rpool);
1087 *result = sm_rpool_strdup_x(rpool,
1103 *result = sm_rpool_malloc_x(rpool,
1123 *result = sm_rpool_strdup_x(rpool,
1139 tmp = sm_rpool_malloc_x(rpool,
1181 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 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;
H A DMakefile.m418 smcheck(`t-rpool', `compile-run')
/freebsd-13.1/sys/netpfil/pf/
H A Dpf_lb.c318 psmask = r->rpool.mape.psid & ((1U << r->rpool.mape.psidlen) - 1); in pf_get_mape_sport()
346 struct pf_kpool *rpool = &r->rpool; in pf_map_addr() local
481 &rpool->tblidx, &rpool->counter, af)) in pf_map_addr()
485 &rpool->tblidx, &rpool->counter, af)) in pf_map_addr()
492 rpool->cur = TAILQ_FIRST(&rpool->list); in pf_map_addr()
494 rpool->cur = TAILQ_NEXT(rpool->cur, entries); in pf_map_addr()
496 rpool->tblidx = -1; in pf_map_addr()
498 &rpool->tblidx, &rpool->counter, af)) { in pf_map_addr()
508 &rpool->tblidx, &rpool->counter, af)) { in pf_map_addr()
624 r->rpool.proxy_port[0], r->rpool.proxy_port[1])); in pf_get_translation()
[all …]
/freebsd-13.1/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)
169 extern char *sm_rpool_strdup_x __P((SM_RPOOL_T *rpool, const char *s));
171 # define sm_rpool_strdup_x(rpool, str) \ argument
172 strcpy(sm_rpool_malloc_x(rpool, strlen(str) + 1), str)
/freebsd-13.1/sys/contrib/openzfs/contrib/initramfs/
H A DREADME.initramfs.markdown20 * `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-13.1/sys/contrib/openzfs/contrib/initramfs/scripts/
H A Dzfs8 # $quiet, $root, $rpool, $bootfs come from the cmdline:
634 # Ex: Called with 'rpool/ROOT/debian@snap2'
635 # rpool/ROOT/debian@snap2 => rpool/ROOT/debian_snap2
636 # rpool/ROOT/debian/boot@snap2 => rpool/ROOT/debian_snap2/boot
637 # rpool/ROOT/debian/usr@snap2 => rpool/ROOT/debian_snap2/usr
638 # rpool/ROOT/debian/var@snap2 => rpool/ROOT/debian_snap2/var
753 # rpool=<pool> bootfs=<pool>/<dataset>
755 # rpool=rpool (default if none of the above is used)
777 # Look for 'rpool' and 'bootfs' parameter
778 [ -n "$rpool" ] && ZFS_RPOOL="${rpool#rpool=}"
[all …]
/freebsd-13.1/contrib/sendmail/src/
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.c71 newenvelope(e, parent, rpool) in newenvelope() argument
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,
680 clearenvelope(e, fullclear, rpool) in clearenvelope() argument
683 SM_RPOOL_T *rpool;
729 *p = sm_rpool_strdup_x(rpool, *p);
738 e->e_rpool = rpool;
739 e->e_macro.mac_rpool = rpool;
[all …]
H A Dudb.c572 udbsender(sender, rpool) in udbsender() argument
574 SM_RPOOL_T *rpool;
576 return udbmatch(sender, "mailname", rpool);
596 udbmatch(user, field, rpool) in udbmatch() argument
599 SM_RPOOL_T *rpool;
668 p = sm_rpool_malloc_x(rpool, info.size + 1);
689 p = sm_rpool_malloc_x(rpool, info.size + 1);
767 p = sm_rpool_malloc_x(rpool, i);
810 p = sm_rpool_malloc_x(rpool, i);
H A Dsfsasl.c102 sasl_open(fp, info, flags, rpool) in sasl_open() argument
106 const void *rpool;
494 tls_open(fp, info, flags, rpool) in tls_open() argument
498 const void *rpool;
H A Dutil.c60 addquotes(s, rpool) in addquotes() argument
62 SM_RPOOL_T *rpool;
79 q = r = sm_rpool_malloc_x(rpool, len + 3);
497 copyplist(list, copycont, rpool) in copyplist() argument
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);
537 copyqueue(addr, rpool) in copyqueue() argument
539 SM_RPOOL_T *rpool;
549 newaddr = (ADDRESS *) sm_rpool_malloc_x(rpool,
H A Dusersmtp.c40 #define ENHSCN_RPOOL(e, d, rpool) \ argument
41 ((e) == NULL ? (d) : sm_rpool_strdup_x(rpool, e))
336 str_union(s1, s2, rpool) in str_union() argument
338 SM_RPOOL_T *rpool;
358 res = (char *) sm_rpool_malloc(rpool, rl + 2);
735 readauth(filename, safe, sai, rpool) in readauth() argument
739 SM_RPOOL_T *rpool;
823 (*sai)[lc] = sm_rpool_strdup_x(rpool, buf);
1508 removemech(rem, list, rpool) in removemech() argument
1511 SM_RPOOL_T *rpool;
[all …]
/freebsd-13.1/sbin/pfctl/
H A Dparse.y4246 r.rpool.proxy_port[1] =
4253 r.rpool.proxy_port[1] =
4257 r.rpool.proxy_port[1] =
4261 r.rpool.proxy_port[0] =
4263 r.rpool.proxy_port[1] =
4266 r.rpool.proxy_port[1] =
4273 r.rpool.opts = $10.type;
4307 r.rpool.opts |= $10.opts;
4324 r.rpool.proxy_port[0] = 0;
4348 r.rpool.mape = $10.mape;
[all …]
H A Dpfctl_optimize.c141 PF_RULE_FIELD(rpool, BREAK),
295 if (TAILQ_FIRST(&r->rpool.list) != NULL) { in pfctl_optimize_ruleset()
296 TAILQ_INIT(&por->por_rule.rpool.list); in pfctl_optimize_ruleset()
297 pfctl_move_pool(&r->rpool, &por->por_rule.rpool); in pfctl_optimize_ruleset()
299 bzero(&por->por_rule.rpool, in pfctl_optimize_ruleset()
300 sizeof(por->por_rule.rpool)); in pfctl_optimize_ruleset()
330 TAILQ_INIT(&r->rpool.list); in pfctl_optimize_ruleset()
331 pfctl_move_pool(&por->por_rule.rpool, &r->rpool); in pfctl_optimize_ruleset()
922 if (TAILQ_EMPTY(&por->por_rule.rpool.list)) in load_feedback_profile()
923 memset(&por->por_rule.rpool, 0, in load_feedback_profile()
[all …]
H A Dpfctl.c1086 if (pfctl_get_pool(dev, &rule.rpool, in pfctl_show_rules()
1103 pfctl_clear_pool(&rule.rpool); in pfctl_show_rules()
1119 if (pfctl_get_pool(dev, &rule.rpool, in pfctl_show_rules()
1183 pfctl_clear_pool(&rule.rpool); in pfctl_show_rules()
1218 if (pfctl_get_pool(dev, &rule.rpool, nr, in pfctl_show_nat()
1229 pfctl_clear_pool(&rule.rpool); in pfctl_show_nat()
1457 TAILQ_INIT(&rule->rpool.list); in pfctl_append_rule()
1458 pfctl_move_pool(&r->rpool, &rule->rpool); in pfctl_append_rule()
1590 if (pfctl_add_pool(pf, &r->rpool, r->af)) in pfctl_load_rule()
1604 pfctl_clear_pool(&r->rpool); in pfctl_load_rule()
/freebsd-13.1/contrib/pf/ftp-proxy/
H A Dfilter.c109 pfrule.rpool.proxy_port[0] = nat_range_low; in add_nat()
110 pfrule.rpool.proxy_port[1] = nat_range_high; in add_nat()
143 pfrule.rpool.proxy_port[0] = rdr_port; in add_rdr()
/freebsd-13.1/contrib/pf/tftp-proxy/
H A Dfilter.c113 pfrule.rpool.proxy_port[0] = nat_range_low; in add_nat()
114 pfrule.rpool.proxy_port[1] = nat_range_high; in add_nat()
147 pfrule.rpool.proxy_port[0] = rdr_port; in add_rdr()
/freebsd-13.1/lib/libsm/
H A DMakefile25 SRCS+= assert.c debug.c errstring.c exc.c heap.c match.c rpool.c \

12