Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/cmd/sendmail/libsm/
H A Drpool.c62 sm_rpool_allocblock_x(rpool, size) in sm_rpool_allocblock_x() argument
63 SM_RPOOL_T *rpool; in sm_rpool_allocblock_x()
69 p->sm_pnext = rpool->sm_pools;
70 rpool->sm_pools = p;
86 sm_rpool_allocblock(rpool, size) in sm_rpool_allocblock() argument
87 SM_RPOOL_T *rpool; in sm_rpool_allocblock()
95 p->sm_pnext = rpool->sm_pools;
96 rpool->sm_pools = p;
128 sm_rpool_malloc_tagged_x(rpool, size, file, line, group) in sm_rpool_malloc_tagged_x() argument
129 SM_RPOOL_T *rpool; in sm_rpool_malloc_tagged_x()
[all …]
H A Dt-rpool.c38 SM_RPOOL_T *rpool; local
45 rpool = sm_rpool_new_x(NULL);
46 SM_TEST(rpool != NULL);
47 att = sm_rpool_attach_x(rpool, rfree, "attachment #1");
53 a[i] = sm_rpool_malloc_x(rpool, sz);
57 att = sm_rpool_attach_x(rpool, rfree, "attachment #2");
58 (void) sm_rpool_attach_x(rpool, rfree, "attachment #3");
66 sm_rpool_free(rpool);
H A Dfopen.c109 sm_io_open(type, timeout, info, flags, rpool) in sm_io_open() argument
114 const void *rpool;
150 if ((*fp->f_open)(fp, info, flags, rpool) < 0)
162 if (rpool != NULL)
163 sm_rpool_attach_x(rpool, sm_io_fclose, fp);
223 sm_io_reopen(type, timeout, info, flags, rpool, fp) in sm_io_reopen() argument
228 const void *rpool;
290 ret = (*fp2->f_open)(fp2, info, flags, rpool);
314 if (rpool != NULL)
315 sm_rpool_attach_x(rpool, sm_io_close, fp2);
H A Dldap.c522 sm_ldap_add_recurse(top, item, type, rpool) in sm_ldap_add_recurse() argument
526 SM_RPOOL_T *rpool;
547 *top = sm_rpool_malloc_x(rpool, sizeof **top);
567 (*top)->lrl_data = sm_rpool_malloc_x(rpool,
613 newe = sm_rpool_malloc_x(rpool, sizeof *newe);
622 newe->lr_search = sm_rpool_strdup_x(rpool, item);
635 sm_ldap_results(lmap, msgid, flags, delim, rpool, result, in sm_ldap_results() argument
641 SM_RPOOL_T *rpool;
718 rpool);
872 *result = sm_rpool_strdup_x(rpool,
[all …]
H A Dstdio.c62 sm_stdopen(fp, info, flags, rpool) in sm_stdopen() argument
66 const void *rpool;
406 sm_stdfdopen(fp, info, flags, rpool) in sm_stdfdopen() argument
410 const void *rpool;
H A Dstrio.c219 sm_stropen(fp, info, flags, rpool) in sm_stropen() argument
223 const void *rpool;
228 s = sm_rpool_malloc_x(rpool, sizeof(SM_STR_OBJ_T));
236 s->strio_rpool = rpool;
H A DMakefile43 memstat.o niprop.o path.o put.o refill.o rewind.o rpool.o setvbuf.o \
51 TESTS= t-event t-exc t-rpool t-string t-smstdio t-match t-strio t-heap \
H A Dsmstdio.c52 sm_stdioopen(fp, info, flags, rpool) in sm_stdioopen() argument
56 const void *rpool;
/titanic_50/usr/src/lib/libsasl/lib/
H A Dsaslutil.c278 utils->rand(utils->rpool, (char *)&randnum, sizeof (randnum)); in sasl_mkchal()
407 int sasl_randcreate(sasl_rand_t **rpool) in sasl_randcreate() argument
410 (*rpool)=sasl_sun_ALLOC(sizeof(sasl_rand_t)); in sasl_randcreate()
412 (*rpool)=sasl_ALLOC(sizeof(sasl_rand_t)); in sasl_randcreate()
414 if ((*rpool) == NULL) return SASL_NOMEM; in sasl_randcreate()
417 (*rpool)->initialized = 0; in sasl_randcreate()
422 void sasl_randfree(sasl_rand_t **rpool) in sasl_randfree() argument
425 sasl_sun_FREE(*rpool); in sasl_randfree()
427 sasl_FREE(*rpool); in sasl_randfree()
431 void sasl_randseed (sasl_rand_t *rpool, const char *seed, unsigned len) in sasl_randseed() argument
[all …]
H A Dsaslint.h798 int sasl_randcreate(sasl_rand_t **rpool);
800 void sasl_randfree(sasl_rand_t **rpool);
802 void sasl_rand(sasl_rand_t *rpool, char *buf, unsigned len);
804 void sasl_churn(sasl_rand_t *rpool, const char *data, unsigned len);
/titanic_50/usr/src/cmd/sendmail/include/sm/
H A Drpool.h148 # define sm_rpool_malloc_x(rpool, size) \ argument
149 sm_rpool_malloc_tagged_x(rpool, size, __FILE__, __LINE__, SmHeapGroup)
157 # define sm_rpool_malloc(rpool, size) \ argument
158 sm_rpool_malloc_tagged(rpool, size, __FILE__, __LINE__, SmHeapGroup)
171 extern char *sm_rpool_strdup_x __P((SM_RPOOL_T *rpool, const char *s));
173 # define sm_rpool_strdup_x(rpool, str) \ argument
174 strcpy(sm_rpool_malloc_x(rpool, strlen(str) + 1), str)
/titanic_50/usr/src/lib/libsasl/include/
H A Dsaslutil.h78 LIBSASL_API int sasl_randcreate(sasl_rand_t **rpool);
81 LIBSASL_API void sasl_randfree(sasl_rand_t **rpool);
84 LIBSASL_API void sasl_randseed(sasl_rand_t *rpool, const char *seed,
88 LIBSASL_API void sasl_rand(sasl_rand_t *rpool, char *buf, unsigned len);
91 LIBSASL_API void sasl_churn(sasl_rand_t *rpool, const char *data,
H A Dsaslplug.h70 sasl_rand_t *rpool; member
106 void (*rand)(sasl_rand_t *rpool, char *buf, unsigned len);
107 void (*churn)(sasl_rand_t *rpool, const char *data, unsigned len);
/titanic_50/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_buf.c682 rds_bufpool_t *rpool; in rds_init_recv_pool() local
686 rpool = &ep->ep_rcvpool; in rds_init_recv_pool()
693 rpool->pool_nbuffers = MaxDataRecvBuffers; in rds_init_recv_pool()
694 rpool->pool_nbusy = 0; in rds_init_recv_pool()
695 rpool->pool_nfree = 0; in rds_init_recv_pool()
702 rpool->pool_nbuffers = MaxCtrlRecvBuffers; in rds_init_recv_pool()
703 rpool->pool_nbusy = 0; in rds_init_recv_pool()
704 rpool->pool_nfree = 0; in rds_init_recv_pool()
806 rds_bufpool_t *rpool; in rds_is_recvq_empty() local
826 rpool = &ep->ep_rcvpool; in rds_is_recvq_empty()
[all …]
/titanic_50/usr/src/lib/libbe/common/
H A Dbe_list.c224 char *rpool = NULL; in _be_list() local
242 rpool = bt.obe_zpool; in _be_list()
252 if (cb.be_defaults.be_deflt_rpool_container && rpool != NULL) { in _be_list()
253 if ((zphp = zpool_open(g_zfs, rpool)) == NULL) { in _be_list()
255 "open rpool (%s): %s\n"), rpool, in _be_list()
439 char *rpool = NULL; in be_get_list_callback() local
443 cb->zpool_name = rpool = (char *)zpool_get_name(zlp); in be_get_list_callback()
448 be_make_container_ds(rpool, be_container_ds, in be_get_list_callback()
462 be_make_root_ds(rpool, cb->be_name, be_ds, sizeof (be_ds)); in be_get_list_callback()
508 rpool, cb->current_be, be_ds)) != BE_SUCCESS) { in be_get_list_callback()
[all …]
/titanic_50/usr/src/cmd/sendmail/src/
H A Dsasl.c155 intersect(s1, s2, rpool) in intersect() argument
157 SM_RPOOL_T *rpool;
167 res = (char *) sm_rpool_malloc(rpool, rl + 1);
H A Denvelope.c73 newenvelope(e, parent, rpool) in newenvelope() argument
76 SM_RPOOL_T *rpool;
96 clearenvelope(e, true, rpool);
116 e->e_sessid = sm_rpool_strdup_x(rpool,
128 e->e_quarmsg = sm_rpool_strdup_x(rpool,
653 clearenvelope(e, fullclear, rpool) in clearenvelope() argument
656 SM_RPOOL_T *rpool;
702 *p = sm_rpool_strdup_x(rpool, *p);
711 e->e_rpool = rpool;
712 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;
666 p = sm_rpool_malloc_x(rpool, info.size + 1);
687 p = sm_rpool_malloc_x(rpool, info.size + 1);
765 p = sm_rpool_malloc_x(rpool, i);
808 p = sm_rpool_malloc_x(rpool, i);
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 Dsfsasl.c101 sasl_open(fp, info, flags, rpool) in sasl_open() argument
105 const void *rpool;
492 tls_open(fp, info, flags, rpool) in tls_open() argument
496 const void *rpool;
H A Dusersmtp.c41 #define ENHSCN_RPOOL(e, d, rpool) \ argument
42 ((e) == NULL ? (d) : sm_rpool_strdup_x(rpool, e))
325 str_union(s1, s2, rpool) in str_union() argument
327 SM_RPOOL_T *rpool;
339 res = (char *) sm_rpool_malloc(rpool, rl + 2);
710 readauth(filename, safe, sai, rpool) in readauth() argument
714 SM_RPOOL_T *rpool;
800 (*sai)[lc] = sm_rpool_strdup_x(rpool, buf);
1483 removemech(rem, list, rpool) in removemech() argument
1486 SM_RPOOL_T *rpool;
[all …]
H A Dmci.c463 mci_new(rpool) in mci_new() argument
464 SM_RPOOL_T *rpool; in mci_new()
468 if (rpool == NULL)
471 mci = (MCI *) sm_rpool_malloc_x(rpool, sizeof(*mci));
H A Dbf.c100 sm_bfopen(fp, info, flags, rpool) in sm_bfopen() argument
104 const void *rpool;
H A Dqueue.c1881 SM_RPOOL_T *rpool; local
2012 rpool = sm_rpool_new_x(NULL);
2013 e = newenvelope(&QueueEnvelope, CurEnv, rpool);
2288 sm_rpool_free(rpool);
2294 rpool = sm_rpool_new_x(NULL);
2295 e = newenvelope(&QueueEnvelope, CurEnv, rpool);
2371 rpool = sm_rpool_new_x(NULL);
2372 e = newenvelope(&QueueEnvelope, CurEnv, rpool);
3556 SM_RPOOL_T *rpool; local
3647 rpool = sm_rpool_new_x(NULL);
[all …]
/titanic_50/usr/src/lib/pylibbe/common/
H A Dlibbe_py.c170 char *rpool = NULL; local
182 &srcSnapName, &rpool, &beNameProperties, &beDescription)) {
191 BE_ATTR_NEW_BE_POOL, rpool,

12