/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | rpool.c | 13 SM_RCSID("@(#)$Id: rpool.c,v 1.28 2004/08/03 20:44:04 ca Exp $") 17 ** For documentation, see rpool.html 22 #include <sm/rpool.h> 48 ** SM_RPOOL_ALLOCBLOCK_X -- allocate a new block for an rpool. 51 ** rpool -- rpool to which the block should be added. 62 sm_rpool_allocblock_x(rpool, size) 63 SM_RPOOL_T *rpool; 69 p->sm_pnext = rpool->sm_pools; 70 rpool 311 SM_RPOOL_T *rpool; local [all...] |
H A D | t-rpool.c | 13 SM_IDSTR(id, "@(#)$Id: t-rpool.c,v 1.16 2001/03/04 18:38:47 ca Exp $") 17 #include <sm/rpool.h> 38 SM_RPOOL_T *rpool; local 43 sm_test_begin(argc, argv, "test rpool"); 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, rfre [all...] |
H A D | fopen.c | 96 ** rpool -- pointer to rpool to be used for this open 109 sm_io_open(type, timeout, info, flags, rpool) 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); 212 ** rpool -- rpool file to be associated with 223 sm_io_reopen(type, timeout, info, flags, rpool, f [all...] |
H A D | strio.c | 24 #include <sm/rpool.h> 211 ** rpool -- resource pool to use memory from (if applicable) 219 sm_stropen(fp, info, flags, rpool) 223 const void *rpool; 228 s = sm_rpool_malloc_x(rpool, sizeof(SM_STR_OBJ_T)); 236 s->strio_rpool = rpool;
|
H A D | ldap.c | 503 ** rpool -- memory pool for storage 522 sm_ldap_add_recurse(top, item, type, rpool) 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, 641 SM_RPOOL_T *rpool; 718 rpool); [all...] |
H A D | stdio.c | 52 ** rpool -- ignored 62 sm_stdopen(fp, info, flags, rpool) 66 const void *rpool; 397 ** rpool -- ignored 406 sm_stdfdopen(fp, info, flags, rpool) 410 const void *rpool;
|
H A D | Makefile | 43 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 D | smstdio.c | 43 ** rpool -- ignored 52 sm_stdioopen(fp, info, flags, rpool) 56 const void *rpool;
|
/illumos-gate/usr/src/lib/libsasl/include/ |
H A D | saslutil.h | 78 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 D | saslplug.h | 70 sasl_rand_t *rpool; member in struct:sasl_utils 106 void (*rand)(sasl_rand_t *rpool, char *buf, unsigned len); 107 void (*churn)(sasl_rand_t *rpool, const char *data, unsigned len);
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | rpool.h | 9 * $Id: rpool.h,v 1.16 2003/09/05 23:07:49 ca Exp $ 16 ** See libsm/rpool.html for documentation. 30 ** where 'poolsize' is the value of rpool->sm_poolsize at the time 67 /* Points to SmRpoolMagic, or is NULL if rpool is freed. */ 71 ** If this rpool object has no parent, then sm_parentlink 73 ** when this rpool is freed, so that it isn't freed a 148 # define sm_rpool_malloc_x(rpool, size) \ 149 sm_rpool_malloc_tagged_x(rpool, size, __FILE__, __LINE__, SmHeapGroup) 157 # define sm_rpool_malloc(rpool, size) \ 158 sm_rpool_malloc_tagged(rpool, siz [all...] |
H A D | ldap.h | 16 # include <sm/rpool.h>
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | saslutil.c | 278 utils->rand(utils->rpool, (char *)&randnum, sizeof (randnum)); 407 int sasl_randcreate(sasl_rand_t **rpool) argument 410 (*rpool)=sasl_sun_ALLOC(sizeof(sasl_rand_t)); 412 (*rpool)=sasl_ALLOC(sizeof(sasl_rand_t)); 414 if ((*rpool) == NULL) return SASL_NOMEM; 417 (*rpool)->initialized = 0; 422 void sasl_randfree(sasl_rand_t **rpool) argument 425 sasl_sun_FREE(*rpool); 427 sasl_FREE(*rpool); 431 void sasl_randseed (sasl_rand_t *rpool, cons argument 449 randinit(sasl_rand_t *rpool) argument 469 sasl_rand(sasl_rand_t *rpool, char *buf, unsigned len) argument 494 sasl_churn(sasl_rand_t *rpool, const char *data, unsigned len) 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/uts/common/io/ib/clients/rds/ |
H A D | rdsib_buf.c | 682 rds_bufpool_t *rpool; local 686 rpool = &ep->ep_rcvpool; 693 rpool->pool_nbuffers = MaxDataRecvBuffers; 694 rpool->pool_nbusy = 0; 695 rpool->pool_nfree = 0; 702 rpool->pool_nbuffers = MaxCtrlRecvBuffers; 703 rpool->pool_nbusy = 0; 704 rpool->pool_nfree = 0; 806 rds_bufpool_t *rpool; local 826 rpool 1093 rds_bufpool_t *rpool; local [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | sasl.c | 34 ** We can't use an rpool for Cyrus-SASL memory management routines, 36 ** allocate/deallocate a buffer each time. Since rpool 148 ** rpool -- resource pool from which result is allocated. 155 intersect(s1, s2, rpool) 157 SM_RPOOL_T *rpool; 167 res = (char *) sm_rpool_malloc(rpool, rl + 1);
|
H A D | envelope.c | 61 ** rpool -- either NULL, or a pointer to a resource pool 73 newenvelope(e, parent, rpool) 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, 640 ** rpool -- either NULL, or a pointer to a resource pool 653 clearenvelope(e, fullclear, rpool) 656 SM_RPOOL_T *rpool; 702 *p = sm_rpool_strdup_x(rpool, * [all...] |
H A D | udb.c | 558 ** rpool -- resource pool from which to allocate result 562 ** database. Storage allocated from rpool. 570 udbsender(sender, rpool) 572 SM_RPOOL_T *rpool; 574 return udbmatch(sender, "mailname", rpool); 582 ** rpool -- resource pool from which to allocate result 586 ** database. Storage allocated from rpool. 594 udbmatch(user, field, rpool) 597 SM_RPOOL_T *rpool; 666 p = sm_rpool_malloc_x(rpool, inf [all...] |
H A D | sfsasl.c | 91 ** rpool -- ignored 101 sasl_open(fp, info, flags, rpool) 105 const void *rpool; 482 ** rpool -- ignored 492 tls_open(fp, info, flags, rpool) 496 const void *rpool;
|
H A D | util.c | 53 ** rpool -- resource pool from which to allocate result 60 addquotes(s, rpool) 62 SM_RPOOL_T *rpool; 79 q = r = sm_rpool_malloc_x(rpool, len + 3); 489 ** rpool -- resource pool from which to allocate storage, 497 copyplist(list, copycont, rpool) 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); 530 ** rpool [all...] |
H A D | usersmtp.c | 41 #define ENHSCN_RPOOL(e, d, rpool) \ 42 ((e) == NULL ? (d) : sm_rpool_strdup_x(rpool, e)) 318 ** rpool -- resource pool from which result is allocated. 325 str_union(s1, s2, rpool) 327 SM_RPOOL_T *rpool; 339 res = (char *) sm_rpool_malloc(rpool, rl + 2); 665 ** it can't be in an rpool unless we use the same memory 666 ** management mechanism (with same rpool!) for Cyrus SASL. 693 ** rpool -- resource pool for sai. 710 readauth(filename, safe, sai, rpool) [all...] |
H A D | bf.c | 92 ** rpool -- ignored (currently) 100 sm_bfopen(fp, info, flags, rpool) 104 const void *rpool;
|
H A D | mci.c | 456 ** rpool -- if non-NULL: allocate from that rpool. 463 mci_new(rpool) 464 SM_RPOOL_T *rpool; 468 if (rpool == NULL) 471 mci = (MCI *) sm_rpool_malloc_x(rpool, sizeof(*mci));
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_list.c | 222 char *rpool = NULL; local 240 rpool = bt.obe_zpool; 250 if (be_defaults.be_deflt_rpool_container && rpool != NULL) { 251 if ((zphp = zpool_open(g_zfs, rpool)) == NULL) { 253 "open rpool (%s): %s\n"), rpool, 435 char *rpool = NULL; local 439 cb->zpool_name = rpool = (char *)zpool_get_name(zlp); 444 be_make_container_ds(rpool, be_container_ds, 458 be_make_root_ds(rpool, c 998 be_get_node_data( zfs_handle_t *zhp, be_node_list_t *be_node, char *be_name, const char *rpool, char *current_be, char *be_ds) argument [all...] |
/illumos-gate/usr/src/lib/pylibbe/common/ |
H A D | libbe_py.c | 150 * rpool - The pool to create the new BE in (optional) 170 char *rpool = NULL; local 182 &srcSnapName, &rpool, &beNameProperties, &beDescription)) { 191 BE_ATTR_NEW_BE_POOL, rpool,
|