/osnet-11/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;
|
/osnet-11/usr/src/lib/libsasl/include/ |
H A D | saslutil.h | 75 LIBSASL_API int sasl_randcreate(sasl_rand_t **rpool); 78 LIBSASL_API void sasl_randfree(sasl_rand_t **rpool); 81 LIBSASL_API void sasl_randseed(sasl_rand_t *rpool, const char *seed, 85 LIBSASL_API void sasl_rand(sasl_rand_t *rpool, char *buf, unsigned len); 88 LIBSASL_API void sasl_churn(sasl_rand_t *rpool, const char *data,
|
H A D | saslplug.h | 67 sasl_rand_t *rpool; member in struct:sasl_utils 103 void (*rand)(sasl_rand_t *rpool, char *buf, unsigned len); 104 void (*churn)(sasl_rand_t *rpool, const char *data, unsigned len);
|
/osnet-11/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>
|
/osnet-11/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 | 815 int sasl_randcreate(sasl_rand_t **rpool); 817 void sasl_randfree(sasl_rand_t **rpool); 819 void sasl_rand(sasl_rand_t *rpool, char *buf, unsigned len); 821 void sasl_churn(sasl_rand_t *rpool, const char *data, unsigned len);
|
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/ |
H A D | bootutil.py | 58 """Splits the bootfs passed in into rpool and bootfs values 66 def bootfs_build(rpool, bename): 69 return '%s/ROOT/%s' % (rpool, bename) 136 def get_zpool_default_bootfs(lzfsh, rpool): 141 zph = zpool_open(lzfsh, rpool)
|
/osnet-11/usr/src/lib/pylibbe/common/ |
H A D | libbe.py | 169 """Copy a boot environment from 'src_bename' to 'dst_bename. If 'rpool' 468 rpoolname = getattr(inst, "rpool", None) 471 print >> sys.stderr, "No rpool or bootfs in entry!" 473 # Get the default bootfs for that rpool and use it for bootfs 669 rpool = None 670 for rpool in rpool_list: 674 pool_path) = _try_load_boot_config(rpool, flags, 693 cmd = "/usr/sbin/zfs unmount %s" % rpool 702 def _try_load_boot_config(rpool, flags, init_argdict): 710 cmd = "/usr/sbin/zfs list -H -o name,mountpoint,mounted %s" % rpool [all...] |
/osnet-11/usr/src/cmd/sendmail/src/ |
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 | 556 ** rpool -- resource pool from which to allocate result 560 ** database. Storage allocated from rpool. 568 udbsender(sender, rpool) 570 SM_RPOOL_T *rpool; 572 return udbmatch(sender, "mailname", rpool); 580 ** rpool -- resource pool from which to allocate result 584 ** database. Storage allocated from rpool. 592 udbmatch(user, field, rpool) 595 SM_RPOOL_T *rpool; 664 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 | 40 #define ENHSCN_RPOOL(e, d, rpool) \ 41 ((e) == NULL ? (d) : sm_rpool_strdup_x(rpool, e)) 316 ** rpool -- resource pool from which result is allocated. 323 str_union(s1, s2, rpool) 325 SM_RPOOL_T *rpool; 345 res = (char *) sm_rpool_malloc(rpool, rl + 2); 673 ** it can't be in an rpool unless we use the same memory 674 ** management mechanism (with same rpool!) for Cyrus SASL. 701 ** rpool -- resource pool for sai. 718 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;
|
/osnet-11/usr/src/lib/libbe/common/ |
H A D | be_list.c | 352 char *rpool = NULL; local 357 cb->zpool_name = rpool = (char *)zpool_get_name(zlp); 359 rpool = cb->zpool_name; 365 be_make_container_ds(rpool, be_container_ds, 377 be_make_root_ds(rpool, cb->be_name, be_ds, sizeof (be_ds)); 422 rpool, cb->current_be, be_ds)) != BE_SUCCESS) { 786 const char *rpool, 832 be_node->be_rpool = strdup(rpool); 842 if ((zphp = zpool_open(g_zfs, rpool)) == NULL) { 844 "to open pool (%s): %s\n"), rpool, 782 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...] |
/osnet-11/usr/src/lib/brand/shared/zone/ |
H A D | common.ksh | 490 # Establishes the standard dataset hierarchy under <zonepath>/rpool 493 # -e Do not create rpool/export hierarchy 494 # -r Do not create rpool/ROOT or rpool/export hierarchy 524 # rpool 529 zfs create -o zoned=on -o mountpoint=/rpool \ 537 zfs_set mountpoint=/rpool ds || return 1 538 # Dealing with existing rpool. Perhaps someone intentionally 555 # rpool/ROOT 575 # rpool/expor [all...] |
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/backend/loader/ |
H A D | grub2.py | 274 def __init__(self, filename='/rpool/boot/grub/menu.conf', new_conf=False): 3471 def cache_zpool_props(self, lzfsh, rpool): 3474 zph = zpool_open(lzfsh, rpool) 3475 if self._rpool_props.get(rpool) is None: 3476 self._rpool_props[rpool] = {} 3482 self._rpool_props[rpool][ZPOOL_PROP_GUID] = hexguid 3498 for rpool in all_root_pools: 3504 with libbe.get_boot_config(rpool, init_argdict=argdict) as bootconf: 3505 self.cache_zpool_props(self.lzfsh, rpool) 3524 rootvar = 'root_' + ''.join([x for x in rpool i [all...] |