Home
last modified time | relevance | path

Searched refs:rpool (Results 1 – 25 of 33) 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;
H A DMakefile.m419 smcheck(`t-rpool', `compile-run')
/freebsd/sys/netpfil/pf/
H A Dpf_lb.c222 struct pf_srchash **sh, struct pf_kpool *rpool, in pf_get_sport() argument
239 if (pd->proto == IPPROTO_UDP && (rpool->opts & PF_POOL_ENDPI)) { in pf_get_sport()
252 if (*sn == NULL && rpool->opts & PF_POOL_STICKYADDR && in pf_get_sport()
253 (rpool->opts & PF_POOL_TYPEMASK) != PF_POOL_NONE) in pf_get_sport()
269 sn, sh, rpool, sn_type)) in pf_get_sport()
367 (rpool->opts & PF_POOL_ENDPI && in pf_get_sport()
384 switch (rpool->opts & PF_POOL_TYPEMASK) { in pf_get_sport()
393 &init_addr, sn, sh, rpool, sn_type)) in pf_get_sport()
462 struct pf_kpool *rpool) in pf_map_addr() argument
469 mtx_lock(&rpool->mtx); in pf_map_addr()
[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/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/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 …]
H A Dmci.c524 mci_new(rpool) in mci_new() argument
525 SM_RPOOL_T *rpool; in mci_new()
529 if (rpool == NULL)
532 mci = (MCI *) sm_rpool_malloc_x(rpool, sizeof(*mci));
/freebsd/lib/libsm/
H A DMakefile23 SRCS+= assert.c debug.c errstring.c exc.c heap.c match.c rpool.c \
/freebsd/sys/contrib/openzfs/etc/zfs/
H A Dzfs-functions.in357 # 'rpool 1' as 'rpool\0401' instead of 'rpool\00401'

12