/illumos-gate/usr/src/cmd/sendmail/libsm/ |
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 | 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...] |
/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...] |
H A D | rdsib_ep.c | 2217 rds_bufpool_t *rpool; local 2228 rpool = &ep->ep_rcvpool; 2229 mutex_enter(&rpool->pool_lock); 2230 rpool->pool_nbusy += npkts; 2231 mutex_exit(&rpool->pool_lock);
|
/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...] |
/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,
|
/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/libsasl/include/ |
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/src/ |
H A D | map.c | 3574 SM_RPOOL_T *rpool; local 3745 /* Create an rpool for search related memory usage */ 3746 rpool = sm_rpool_new_x(NULL); 3750 rpool, &p, &plen, &psize, NULL); 3753 /* Copy result so rpool can be freed */ 3756 sm_rpool_free(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 3848 SM_RPOOL_T *rpool; local [all...] |