/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_isoch.c | 377 av1394_isoch_pool_t *pool; local 402 pool = (icp->ic_dir == AV1394_IR) ? 404 for (segoff = 0, i = 0; i < pool->ip_nsegs; i++) { 405 isp = &pool->ip_seg[i];
|
H A D | av1394_isoch_chan.c | 98 av1394_isoch_pool_t *pool; local 159 pool = &icp->ic_ir.ir_data_pool; 162 pool = &icp->ic_it.it_data_pool; 174 icp->ic_mmap_sz = pool->ip_umem_size; 412 * Allocate isoch pool for at least 'mincnt' and at most 'cnt' frames 422 * Function returns number of frames the resulting pool can hold. 425 av1394_ic_alloc_pool(av1394_isoch_pool_t *pool, size_t framesz, int cnt, argument 461 pool->ip_alloc_size = nsegs * sizeof (av1394_isoch_seg_t); 462 pool->ip_seg = kmem_zalloc(pool 500 av1394_ic_free_pool(av1394_isoch_pool_t *pool) argument 518 av1394_ic_dma_setup(av1394_ic_t *icp, av1394_isoch_pool_t *pool) argument 582 av1394_ic_dma_cleanup(av1394_ic_t *icp, av1394_isoch_pool_t *pool) argument 606 av1394_ic_dma_sync_frames(av1394_ic_t *icp, int idx, int cnt, av1394_isoch_pool_t *pool, uint_t type) argument [all...] |
H A D | av1394_isoch_recv.c | 75 av1394_isoch_pool_t *pool = &irp->ir_data_pool; local 80 nframes = av1394_ic_alloc_pool(pool, icp->ic_framesz, icp->ic_nframes, 92 if (av1394_ic_dma_setup(icp, pool) != DDI_SUCCESS) { 210 /* add empty frames to the pool */ 251 /* return freed frames to the pool */ 275 av1394_isoch_pool_t *pool = &icp->ic_ir.ir_data_pool; local 287 av1394_ic_dma_cleanup(icp, pool); 290 av1394_ic_free_pool(pool); 316 * to isoch pool segmentaion, the number of RECV_BUF commands per IXL data 337 av1394_isoch_pool_t *pool local [all...] |
H A D | av1394_isoch_xmit.c | 94 av1394_isoch_pool_t *pool = &itp->it_data_pool; local 99 nframes = av1394_ic_alloc_pool(pool, icp->ic_framesz, icp->ic_nframes, 114 if (av1394_ic_dma_setup(icp, pool) != DDI_SUCCESS) { 243 /* add full frames to the pool */ 303 /* add full frames to the pool */ 338 av1394_isoch_pool_t *pool = &icp->ic_it.it_data_pool; local 350 av1394_ic_dma_cleanup(icp, pool); 353 av1394_ic_free_pool(pool); 410 av1394_isoch_pool_t *pool = &itp->it_data_pool; local 442 segsz = pool [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib_recv.c | 242 kmutex_t f_lock; /* lock of fmr pool */ 249 struct rdsv3_inc_pool *pool = rds_ibdev->inc_pool; local 251 if (pool) { 252 list_destroy(&pool->f_list); 253 kmem_free((void *) pool, sizeof (*pool)); 260 struct rdsv3_inc_pool *pool; local 262 pool = (struct rdsv3_inc_pool *)kmem_zalloc(sizeof (*pool), KM_NOSLEEP); 263 if (pool 292 struct rdsv3_inc_pool *pool = (struct rdsv3_inc_pool *)data; local [all...] |
H A D | ib_rdma.c | 58 struct rdsv3_fmr_pool *m_pool; /* hca fmr pool */ 81 kmutex_t f_lock; /* lock of fmr pool */ 254 struct rdsv3_fmr_pool *pool = rds_ibdev->fmr_pool; local 262 if (pool) { 263 list_destroy(&pool->f_list); 264 kmem_free((void *) pool, sizeof (*pool)); 279 struct rdsv3_fmr_pool *pool; local 284 pool = (struct rdsv3_fmr_pool *)kmem_zalloc(sizeof (*pool), KM_NOSLEE 497 struct rdsv3_fmr_pool *pool = (struct rdsv3_fmr_pool *)data; local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_userhold.c | 197 zfs_dbgmsg("couldn't release holds on pool=%s " 198 "because pool is no longer loaded", 203 zfs_dbgmsg("couldn't release holds on pool=%s " 204 "because pool is no longer loaded (guid doesn't match)", 284 * The snaphosts must all be in the same pool. 553 char *pool; local 567 pool = spa_name(tmpdp->dp_spa); 590 pool = nvpair_name(pair); 604 error = dsl_sync_task(pool, dsl_dataset_user_release_check,
|
/illumos-gate/usr/src/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 204 * They must all be in the same pool. 221 char pool[ZFS_MAX_DATASET_NAME_LEN]; local 225 /* determine the pool name */ 229 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); 230 pool[strcspn(pool, "/@")] = '\0'; 237 error = lzc_ioctl(ZFS_IOC_SNAPSHOT, pool, args, errlist); 247 * They must all be in the same pool. 273 char pool[ZFS_MAX_DATASET_NAME_LE local 365 char pool[ZFS_MAX_DATASET_NAME_LEN]; local 412 char pool[ZFS_MAX_DATASET_NAME_LEN]; local 736 char pool[ZFS_MAX_DATASET_NAME_LEN]; local 798 char pool[ZFS_MAX_DATASET_NAME_LEN]; local [all...] |
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | auxprop.c | 62 size_t unused; /* Space unused in this pool between end 74 char *data_end; /* Bottom of string area in current pool */ 75 char **list_end; /* Top of list area in current pool */ 114 /* Resize a proppool. Invalidates the unused value for this pool */ 115 static struct proppool *resize_proppool(struct proppool *pool, size_t size) argument 119 if(pool->size >= size) return pool; 121 ret = sasl_sun_REALLOC(pool, sizeof(struct proppool) + size); 123 ret = sasl_REALLOC(pool, sizeof(struct proppool) + size); 184 struct proppool *pool; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | print.c | 280 Sfio_t *pool; local 288 pool=sfpool(sfstderr,NIL(Sfio_t*),SF_WRITE); 300 sfpool(sfstderr,pool,SF_WRITE);
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | swrand.c | 29 * from external sources and processes it into a pool of entropy (randomness) 60 #define HASHBUFSIZE 64 /* Buffer size used for pool mixing */ 87 static uint32_t entropy_bits; /* pool's current amount of entropy */ 88 static kmutex_t srndpool_lock; /* protects r/w accesses to the pool, */ 93 /* from the pool */ 215 * Initialize the pool using 237 /* Schedule periodic mixing of the pool. */ 309 * Extraction of entropy from the pool. 313 * MINEXTRACTBITS are present in the pool. 321 uint8_t digest[HASHSIZE], *pool; local 445 uint8_t *pool = (uint8_t *)srndpool; local 458 uint8_t *pool = (uint8_t *)buffer; local 474 uint8_t *pool = (uint8_t *)srndpool; local [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt_dma.c | 227 qlt_dma_handle_pool_t *pool; local 229 pool = kmem_zalloc(sizeof (*pool), KM_SLEEP); 230 mutex_init(&pool->pool_lock, NULL, MUTEX_DRIVER, NULL); 231 qlt->qlt_dma_handle_pool = pool; 237 qlt_dma_handle_pool_t *pool; local 240 pool = qlt->qlt_dma_handle_pool; 241 mutex_enter(&pool->pool_lock); 246 ASSERT(pool->num_free == pool 501 qlt_dma_handle_pool_t *pool; local 547 qlt_dma_handle_pool_t *pool; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | pool_pset.c | 29 #include <sys/pool.h> 59 * pset of the pool to which they are bound. This is accomplished by 463 * a pool is associated with a processor set. 469 pool_t *pool; local 477 pool = zone_pool_get(zone); 478 if (pool->pool_id == aza->poolid) 484 * Associate pool with new processor set. 489 pool_t *pool; local 495 if ((pool = pool_lookup_pool_by_id(poolid)) == NULL || 499 if (pool 600 pset_bind_start(proc_t **procs, pool_t *pool) argument 679 pset_bind_abort(proc_t **procs, pool_t *pool) argument [all...] |
H A D | pool.c | 26 #include <sys/pool.h> 52 * a common abstraction called a pool. Processor sets and other entities can 57 * to the same pool (pool_default), and processor sets can be managed through 85 * new pool, or (in case of an error) they will be all left bound to the 86 * old pool. Processes in a given task or a given project can only be bound to 88 * processes. Threads or LWPs of the same process do not have pool bindings, 89 * and are bound to the same resource sets associated with the resource pool 92 * The following picture shows one possible pool configuration with three 140 pool_t *pool_default; /* default pool which always exists */ 148 static id_space_t *pool_ids; /* pool I 355 pool_t *pool = pool_default; local 371 pool_t *pool = pool_default; local 385 pool_t *pool = pool_default; local 404 pool_t *pool; local 454 pool_t *pool; local 649 pool_t *pool = pool_default; local 698 pool_t *pool; local 745 pool_t *pool; local 796 pool_t *pool; local 1004 pool_t *pool; local 1020 pool_t *pool; local 1200 pool_get_class(pool_t *pool) argument 1290 pool_get_name(pool_t *pool, char **name) argument 1350 pool_do_bind(pool_t *pool, idtype_t idtype, id_t id, int flags) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_ep.c | 360 /* free send pool */ 363 /* free recv pool */ 381 /* send pool */ 389 /* recv pool */ 431 /* Re-initialize send pool */ 439 /* free all the receive buffers in the pool */ 761 rds_bufpool_t *pool; local 785 /* send pool locks */ 786 pool = &ep->ep_sndpool; 787 cv_destroy(&pool 1211 rds_bufpool_t *pool; local [all...] |
/illumos-gate/usr/src/uts/common/io/idm/ |
H A D | idm_impl.c | 626 * ID pool code. We use this to generate unique structure identifiers without 630 * A pool of IDs is a pool of 16 bit numbers. It is implemented as a bitmap. 637 * The pools start with a size of 8 bytes or 64 IDs. Each time the pool runs 640 * means that a pool can have a maximum number of 65534 IDs available. 645 idm_idpool_t *pool) 650 ASSERT(pool->id_magic == IDM_IDPOOL_MAGIC); 652 new_size = pool->id_size * 2; 657 bcopy(pool->id_pool, new_pool, pool 644 idm_idpool_increment( idm_idpool_t *pool) argument 683 idm_idpool_create(idm_idpool_t *pool) argument 713 idm_idpool_destroy(idm_idpool_t *pool) argument 728 idm_idpool_alloc(idm_idpool_t *pool, uint16_t *id) argument 783 idm_idpool_free(idm_idpool_t *pool, uint16_t id) argument [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | startd.c | 398 uu_list_pool_t *pool; local 401 pool = uu_list_pool_create(name, e, o, f, flags); 402 if (pool != NULL) 403 return (pool); 410 pool = uu_list_pool_create(name, e, o, f, flags); 411 if (pool != NULL) 412 return (pool); 428 startd_list_create(uu_list_pool_t *pool, void *parent, uint32_t flags) argument 433 list = uu_list_create(pool, parent, flags); 442 list = uu_list_create(pool, paren [all...] |
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat.c | 27 * poolstat - report active pool statistics 40 #include <pool.h> 78 { DX_FIELD, "pool", "pool", STR, 20, 14, addrof(pool_sbag), 107 /* formatter objects for pool, defined in a default printing sequence */ 113 { D_FIELD, "pool", "pool", STR, 20, 13, addrof(pool_sbag), 139 /* a handle to the pool configuration */ 168 "poolstat [-p pool-list] [-r rset-list] [-T d|u] [interval [count]]\n" 169 "poolstat [-p pool 785 pool_t *pool; local 934 pool_t **pool; local [all...] |
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/ |
H A D | zfs_mod.c | 47 * 5. If the pool does not have the 'autoreplace' property set, attempt to 51 * 6. If the pool has the 'autoreplace' property set, and the matching vdev 57 * indicates that a device failed to open during pool load, but the autoreplace 187 * If the pool doesn't have the autoreplace property set, then attempt a 330 unavailpool_t *pool = (unavailpool_t *)arg; local 332 (void) zpool_enable_datasets(pool->uap_zhp, NULL, 0); 333 zpool_close(pool->uap_zhp); 334 free(pool); 343 unavailpool_t *pool; local 355 for (pool 823 unavailpool_t *pool; local [all...] |
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_loader.c | 340 char *pool = NULL; local 400 pool = strtok(special, "/"); 401 INJECT_ERROR1("Z_MENU_GET_POOL", pool = NULL); 402 if (pool == NULL) { 404 bam_error(_("cant find pool for mount-point %s\n"), menu_root); 407 BAM_DPRINTF(("%s: derived pool=%s from special\n", fcn, pool)); 409 zmntpt = mount_top_dataset(pool, &zmnted); 412 bam_error(_("cannot mount pool dataset for pool 982 char *pool = menu_root + 1; local [all...] |
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_commit.c | 29 * These functions implement the process of commitment for a pool 45 * system || pool || 76 #include <pool.h> 149 pool_t *pool; local 161 if ((pool = pool_create(conf, name)) == NULL) { 167 * Now copy the properties from the original pool to the 170 if (pool_walk_properties(TO_CONF(src), src, TO_ELEM(pool), 178 pool_set_pair(TO_ELEM(pool), src); 179 *e1 = TO_ELEM(pool); 245 pool_t *pool; local 1153 set_importance_cb(pool_conf_t *conf, pool_t *pool, void *unused) argument 1195 unset_importance_cb(pool_conf_t *conf, pool_t *pool, void *unused) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | clusters.c | 396 static ClusterInfo *pool; variable 404 if (pool == NULL) { 407 pool = (ClusterInfo *)malloc(sizeof (ClusterInfo) * CHUNKSIZE); 409 if (pool == NULL) { 416 pool[i].nextfree = &pool[i+1]; 418 pool[CHUNKSIZE-1].nextfree = NULL; 420 ret = pool; 421 pool = pool [all...] |
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipf_y.y | 936 addr: pool '/' YY_NUMBER { pooled = 1; 940 | pool '=' '(' poollist ')' { pooled = 1; 1075 pool: IPFY_POOL { yyexpectaddr = 0; yycont = NULL; yyresetdict(); } label 1652 { "pool", IPFY_POOL }, 2110 ip_pool_t pool; 2138 bzero((char *)&pool, sizeof(pool)); 2139 pool.ipo_unit = IPL_LOGIPF; 2140 pool.ipo_list = top; 2141 num = load_pool(&pool, ipfioct [all...] |
/illumos-gate/usr/src/uts/sun/sys/ |
H A D | socalvar.h | 102 caddr_t skc_cq_raw; /* Pointer to unaligned CQ mem pool */ 103 cqe_t *skc_cq; /* Pointer to CQ memory pool. */ 239 uchar_t *pool; /* unsolicited buffer pool resources */ member in struct:socal_state
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | svc.c | 54 * Each master transport is registered to exactly one thread pool. 68 * A pool represents a kernel RPC service (NFS, Lock Manager, etc.). 69 * Transports related to the service are registered to the service pool. 70 * Service threads can switch between different transports in the pool. 71 * Thus, each service has its own pool of service threads. The maximum 72 * number of threads in a pool is pool->p_maxthreads. This limit allows 80 * In addition, each pool contains a doubly-linked list of transports, 82 * the pool share some other parameters such as stack size and 89 * svc_do_run(), respectively. Once the pool ha 360 SVCPOOL *pool; local 399 svc_pool_cleanup(SVCPOOL *pool) argument 439 svc_pool_tryexit(SVCPOOL *pool) argument 477 SVCPOOL *pool; local 501 SVCPOOL *pool; local 535 svc_pool_unregister(struct svc_globals *svc, SVCPOOL *pool) argument 571 svc_pool_register(struct svc_globals *svc, SVCPOOL *pool, int id) argument 599 svc_pool_init(SVCPOOL *pool, uint_t maxthreads, uint_t redline, uint_t qsize, uint_t timeout, uint_t stksize, uint_t max_same_xprt) argument 682 SVCPOOL *pool; local 715 SVCPOOL *pool; local 789 SVCPOOL *pool; local 851 SVCPOOL *pool = xprt->xp_pool; local 883 svc_xprt_qdestroy(SVCPOOL *pool) argument 893 svc_xprt_qinit(SVCPOOL *pool, size_t qsize) argument 921 svc_xprt_qput(SVCPOOL *pool, SVCMASTERXPRT *xprt) argument 956 svc_xprt_qget(SVCPOOL *pool) argument 991 svc_xprt_qdelete(SVCPOOL *pool, SVCMASTERXPRT *xprt) argument 1584 svc_thread_exit(SVCPOOL *pool, SVCXPRT *clone_xprt) argument 1611 svc_thread_exitdetached(SVCPOOL *pool, SVCXPRT *clone_xprt) argument 1644 SVCPOOL *pool; local 1713 svc_thread_creator(SVCPOOL *pool) argument 1809 svc_creator_signal(SVCPOOL *pool) argument 1823 svc_creator_signalexit(SVCPOOL *pool) argument 1842 svc_poll(SVCPOOL *pool, SVCMASTERXPRT *xprt, SVCXPRT *clone_xprt) argument 2160 SVCPOOL *pool = xprt->xp_pool; local 2218 svc_run(SVCPOOL *pool) argument 2406 SVCPOOL *pool; local 2467 SVCPOOL *pool = xprt->xp_pool; local 2521 SVCPOOL *pool = xprt->xp_pool; local 2640 SVCPOOL *pool = clone_xprt->xp_master->xp_pool; local 2670 SVCPOOL *pool = clone_xprt->xp_master->xp_pool; local 2708 SVCPOOL *pool = xprt->xp_pool; local 2760 SVCPOOL *pool; local [all...] |