/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | rpool.c | 60 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 D | t-rpool.c | 36 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 D | fopen.c | 107 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 D | ldap.c | 522 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 D | stdio.c | 60 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 D | strio.c | 217 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 D | Makefile | 39 memstat.o niprop.o path.o put.o refill.o rewind.o rpool.o setvbuf.o \ 47 TESTS= t-event t-exc t-rpool t-string t-smstdio t-match t-strio t-heap \
|
H A D | smstdio.c | 50 sm_stdioopen(fp, info, flags, rpool) in sm_stdioopen() argument 54 const void *rpool;
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | saslutil.c | 278 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 D | saslint.h | 798 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);
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | rpool.h | 146 # 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)
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_buf.c | 682 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 …]
|
/illumos-gate/usr/src/lib/libsasl/include/ |
H A D | saslutil.h | 76 LIBSASL_API int sasl_randcreate(sasl_rand_t **rpool); 79 LIBSASL_API void sasl_randfree(sasl_rand_t **rpool); 82 LIBSASL_API void sasl_randseed(sasl_rand_t *rpool, const char *seed, 86 LIBSASL_API void sasl_rand(sasl_rand_t *rpool, char *buf, unsigned len); 89 LIBSASL_API void sasl_churn(sasl_rand_t *rpool, const char *data,
|
H A D | saslplug.h | 68 sasl_rand_t *rpool; member 104 void (*rand)(sasl_rand_t *rpool, char *buf, unsigned len); 105 void (*churn)(sasl_rand_t *rpool, const char *data, unsigned len);
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_list.c | 229 char *rpool = NULL; in _be_list() local 247 rpool = bt.obe_zpool; in _be_list() 257 if (cb.be_defaults.be_deflt_rpool_container && rpool != NULL) { in _be_list() 258 if ((zphp = zpool_open(g_zfs, rpool)) == NULL) { in _be_list() 260 "open rpool (%s): %s\n"), rpool, in _be_list() 438 char *rpool = NULL; in be_get_list_callback() local 442 cb->zpool_name = rpool = (char *)zpool_get_name(zlp); in be_get_list_callback() 447 if (be_make_container_ds(rpool, be_container_ds, in be_get_list_callback() 467 if ((rv = be_make_root_ds(rpool, cb->be_name, be_ds, in be_get_list_callback() 512 rpool, cb->current_be, be_ds)) != BE_SUCCESS) { in be_get_list_callback() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | sasl.c | 155 intersect(s1, s2, rpool) in intersect() argument 157 SM_RPOOL_T *rpool; 167 res = (char *) sm_rpool_malloc(rpool, rl + 1);
|
H A D | envelope.c | 75 newenvelope(e, parent, rpool) in newenvelope() argument 78 SM_RPOOL_T *rpool; 98 clearenvelope(e, true, rpool); 118 e->e_sessid = sm_rpool_strdup_x(rpool, 130 e->e_quarmsg = sm_rpool_strdup_x(rpool, 655 clearenvelope(e, fullclear, rpool) in clearenvelope() argument 658 SM_RPOOL_T *rpool; 704 *p = sm_rpool_strdup_x(rpool, *p); 713 e->e_rpool = rpool; 714 e->e_macro.mac_rpool = rpool; [all …]
|
H A D | udb.c | 568 udbsender(sender, rpool) in udbsender() argument 570 SM_RPOOL_T *rpool; 572 return udbmatch(sender, "mailname", rpool); 592 udbmatch(user, field, rpool) in udbmatch() argument 595 SM_RPOOL_T *rpool; 664 p = sm_rpool_malloc_x(rpool, info.size + 1); 685 p = sm_rpool_malloc_x(rpool, info.size + 1); 763 p = sm_rpool_malloc_x(rpool, i); 806 p = sm_rpool_malloc_x(rpool, i);
|
H A D | util.c | 60 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 D | sfsasl.c | 101 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 D | usersmtp.c | 41 #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 D | mci.c | 461 mci_new(rpool) in mci_new() argument 462 SM_RPOOL_T *rpool; in mci_new() 466 if (rpool == NULL) 469 mci = (MCI *) sm_rpool_malloc_x(rpool, sizeof(*mci));
|
H A D | bf.c | 98 sm_bfopen(fp, info, flags, rpool) in sm_bfopen() argument 102 const void *rpool;
|
H A D | queue.c | 1881 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 …]
|
/illumos-gate/usr/src/lib/pylibbe/common/ |
H A D | libbe_py.c | 168 char *rpool = NULL; local 180 &srcSnapName, &rpool, &beNameProperties, &beDescription)) { 189 BE_ATTR_NEW_BE_POOL, rpool,
|