/illumos-gate/usr/src/uts/common/io/ |
H A D | suntpi.c | 149 tpi_provinfo_t **tpp; local 168 for (tpp = &tpi_provinfo_table[TPI_HASH(key)]; *tpp != NULL; 169 tpp = &(*tpp)->tpi_next) { 170 if ((*tpp)->tpi_keylen == keylen && 171 bcmp((*tpp)->tpi_key, key, keylen) == 0) { 173 return (*tpp); 180 *tpp = kmem_zalloc(sizeof (tpi_provinfo_t), KM_SLEEP); 181 (*tpp) [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | sleepq.c | 96 * Common code to unlink a thread from the queue. tpp is a pointer to 100 sleepq_unlink(kthread_t **tpp, kthread_t *tp) argument 102 ASSERT(*tpp == tp); 106 *tpp = tp->t_link; 136 kthread_t **tpp; local 143 tpp = &spq->sq_first; 144 while ((next_tp = *tpp) != NULL) { 150 tpp = &last_tp->t_link; 152 *tpp = t; 222 kthread_t **tpp; local 253 kthread_t **tpp; local [all...] |
H A D | semaphore.c | 68 kthread_t **tpp; \ 87 tpp = &s->s_slpq; \ 88 while ((tp = *tpp) != NULL) { \ 91 tpp = &tp->t_link; \ 93 *tpp = curthread; \ 118 kthread_t **tpp; local 125 tpp = &s->s_slpq; 127 while ((tp = *tpp) != NULL) { 130 tpp = &tp->t_link; 132 *tpp 143 kthread_t **tpp; local 175 kthread_t **tpp; local [all...] |
H A D | waitq.c | 123 kthread_t **tpp; local 129 tpp = &wq->wq_first; 130 while ((next_tp = *tpp) != NULL) { 136 tpp = &last_tp->t_link; 138 *tpp = t;
|
H A D | sched.c | 513 kthread_id_t *tpp; local 518 tpp = &tswap_queue; 520 ASSERT(*tpp != NULL); 521 if (*tpp == tp) 523 tpp = &(*tpp)->t_link; 525 *tpp = tp->t_link;
|
H A D | mem_config.c | 1812 page_t *pp, *tpp, *tpp_targ; local 2234 tpp = pp; 2235 page_sub(&pp, tpp); 2236 pfn = page_pptonum(tpp); 2238 ASSERT(PAGE_EXCL(tpp)); 2239 ASSERT(tpp->p_vnode == NULL); 2240 ASSERT(!hat_page_is_mapped(tpp)); 2241 ASSERT(tpp->p_szc == szc); 2242 tpp->p_szc = 0; 2243 page_delete_collect(tpp, mh [all...] |
H A D | mem_cage.c | 1572 page_t *tpp; local 1575 tpp = rpp; 1576 page_sub(&rpp, tpp); 1577 page_unlock(tpp);
|
/illumos-gate/usr/src/lib/libnsl/netselect/ |
H A D | netselect.c | 222 struct netconfig **tpp; local 231 for (tpp = netpp; *tpp; tpp++) { 232 if (strcmp((*tpp)->nc_netid, netid) == 0) { 233 if (*tpp && (strcmp((*tpp)->nc_netid, "udp6") == 0 || 234 strcmp((*tpp)->nc_netid, "tcp6") == 0)) { 241 return (netconfig_dup(*tpp)); 271 struct netconfig **tpp; /* use local 398 struct netconfig **tpp; /* scans the list from netconfig file */ local 669 char **tpp; /* traverses the list, populating it */ local 882 struct netconfig **tpp; local [all...] |
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itm_util.c | 519 itmc_data_pair_t **tpp; local 731 tpp = malloc_vital((sizeof (itmc_data_pair_t *)) * num); 735 *(tpp + num) = &(ml->data_pair); 749 (void) qsort(tpp, num, sizeof (itmc_data_pair_t *), 753 for (n = 0, dp1 = tpp; n < (num-1); n++, dp1++) { 792 source_start = data_to_long(&((*(tpp + 0))->data0)); 793 source_end = data_to_long(&((*(tpp + num - 1))->data0)); 794 if (0 < (*(tpp + num - 1))->range.size) { 795 source_end = data_to_long(&((*(tpp + num - 1))->range)); 894 tpp, nu 946 map_table_indexed_fixed( itmc_data_pair_t **tpp, itm_size_t num, itm_data_t *default_data, long resultlen, itm_num_t error_count) argument 1134 map_table_lookup_fixed( itmc_data_pair_t **tpp, itm_size_t num, itm_data_t *default_data, long resultlen, itm_size_t num2) argument 1286 map_table_hash( itmc_data_pair_t **tpp, itm_size_t num, itm_data_t *default_data, long hash_factor, long resultlen, itm_size_t num2, itm_num_t error_count) argument 1588 map_table_dense_encoding( itmc_data_pair_t **tpp, itm_size_t num, itm_data_t *default_data, unsigned long entry_num, unsigned char *byte_seq_min, unsigned char *byte_seq_max, long resultlen, itm_num_t error_count) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_sec_mechs.c | 123 void **tpp = mpp; local 125 if (tpp) { 126 for (; *tpp; tpp++) 127 (*free_ent)(*tpp); 151 void **tpp; local 158 for (tpp = mpp; *tpp; tpp++) 161 diff = tpp 276 char **tpp = cpp; local 308 char **tpp = fpp; local [all...] |
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_page.c | 2594 page_t *tpp; local 2598 for (i = 0, tpp = rootpp; i < pgcnt; i++, tpp = tpp->p_next) { 2599 ASSERT(tpp->p_szc == szc); 2600 ASSERT((PAGE_EXCL(tpp) && 2601 !page_iolock_assert(tpp)) || panicstr); 2602 tpp->p_szc = 0; 2606 tpp = rootpp; 2607 page_sub(&rootpp, tpp); 2767 page_t *tpp, *rootpp = NULL; local 3111 page_t *tpp, *rootpp = NULL; local 4670 page_t *tpp; local 4718 page_t *tpp; local 4985 page_t *tpp = *target; local 5029 page_t *tpp; local 5051 page_t *tpp, *rpp; local 5185 page_t *tpp, *rootpp = pp; local 6527 page_t *tpp; local [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_thread.c | 410 nsthread_t *tp, **tpp; local 496 for (tpp = &nst_pending; (*tpp); tpp = &((*tpp)->tp_chain)) { 497 if (*tpp == tp) { 498 *tpp = tp->tp_chain; 814 nsthread_t **tpp, *tp; local 835 for (tpp = &set->set_chain; *tpp; tp [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/server/ |
H A D | ovsec_kadmd.c | 242 char **tpp; local 245 tpp = npp; 246 while (*tpp++) { 247 free(*(tpp-1)); 267 char **npp = NULL, **tpp=NULL; local 302 tpp = npp; 304 while (tpp && *tpp++) { 305 if (strcasecmp(*(tpp-1), hp->h_name) == 0) { 339 tpp 382 char **tpp = dnames; local [all...] |
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | nhm_init.c | 71 nhm_dimm_t **dimmpp, **tpp; local 82 for (tpp = dimmpp + 1; tpp < end; tpp++) { 83 tp = *tpp;
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_lacp.c | 1241 aggr_port_t *tpp; local 1292 for (tpp = aggrp->lg_ports; tpp; tpp = tpp->lp_next) { 1293 if (ether_cmp(&tpp->lp_lacp.PartnerOperSystem, 1295 (tpp->lp_lacp.PartnerOperKey != 0)) 1303 if (tpp == NULL) { 1323 for (tpp = aggrp->lg_ports; tpp; tp [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md_med.c | 1727 med_get_t_size_ioctl(mddb_med_t_parm_t *tpp, int mode) argument 1729 md_error_t *ep = &tpp->med_tp_mde; 1736 tpp->med_tp_nents = med_addr_tab_nents; 1737 tpp->med_tp_setup = md_med_transdevs_set; 1743 med_get_t_ioctl(mddb_med_t_parm_t *tpp, int mode) argument 1745 md_error_t *ep = &tpp->med_tp_mde; 1756 (void) strncpy(tpp->med_tp_ents[uapi].med_te_nm, 1758 tpp->med_tp_ents[uapi].med_te_dev = 1762 tpp->med_tp_nents = med_addr_tab_nents; 1768 med_set_t_ioctl(mddb_med_t_parm_t *tpp, in argument [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | nl7chttp.c | 210 char **tpp; local 225 tpp = dow; 226 tp = *tpp; 235 if ((tp = *++tpp) == NULL) 286 tpp = months; 287 tp = *tpp++; 298 if ((tp = *tpp++) == NULL) 439 tpp = months; 440 tp = *tpp++; 451 if ((tp = *tpp [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_switching.c | 792 mfdb_ent_t *tpp = NULL; local 835 for (tpp = entp; tpp != NULL; tpp = tpp->nextp) { 839 (tpp->d_addr == (void *)arg)) { 840 port = (vsw_port_t *)tpp->d_addr; 846 (tpp->d_type == VSW_LOCALDEV)) { 852 if (tpp->d_type == VSW_VNETPORT) { 853 port = (vsw_port_t *)tpp [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 2017 struct table **tpp, *tp; local 2021 tpp = &table; 2022 while (*tpp != NULL) { 2023 tp = *tpp; 2026 *tpp = tp->next; 2038 tpp = &tp->next; 2063 struct table **tpp, *tp; local 2067 tpp = &table; 2068 while (*tpp != NULL) { 2069 tp = *tpp; [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwp_sobj.c | 1417 kthread_t **tpp; local 1421 tpp = &sqh->sq_queue.sq_first; 1422 while ((tp = *tpp) != NULL) { 1447 sleepq_unlink(tpp, tp); 1458 tpp = &tp->t_link; 1470 kthread_t **tpp; local 1474 tpp = &sqh->sq_queue.sq_first; 1475 while ((tp = *tpp) != NULL) { 1478 sleepq_unlink(tpp, tp); 1486 tpp 2256 kthread_t **tpp; local [all...] |
/illumos-gate/usr/src/cmd/tsol/tnd/ |
H A D | tnd.c | 583 tsol_tpent_t *tpp; local 587 tpp = &tp; 591 while ((tpp = (tsol_tpent_t *)tsol_gettpent()) != NULL) { 595 (void) memcpy(&new->tp_ent, tpp, sizeof (tp)); 619 struct tnd_tnrhtp_c *tpp; local 624 tpp = *tppp; 625 if (tnrhtp(TNDB_LOAD, &tpp->tp_ent)) { 633 tpp->tp_ent.name);
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_dir.c | 239 struct tmpnode **tpp, /* return tmpnode, if create/mkdir */ 336 if (tpp) { 337 *tpp = found; 402 } else if (tpp) { 403 *tpp = tp; 231 tdirenter( struct tmount *tm, struct tmpnode *dir, char *name, enum de_op op, struct tmpnode *fromparent, struct tmpnode *tp, struct vattr *va, struct tmpnode **tpp, struct cred *cred, caller_context_t *ctp) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_walker.c | 781 pi_walkerlist_find(topo_mod_t *mod, mde_cookie_t mde_node, tnode_t **tpp) argument 791 *tpp = NULL; 796 *tpp = result->t_parent;
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac.c | 1471 page_t *tpp; local 1474 tpp = pp_repl; 1475 page_sub(&pp_repl, tpp); 1476 page_unlock(tpp);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | txg.c | 227 txg_thread_exit(tx_state_t *tx, callb_cpr_t *cpr, kthread_t **tpp) argument 229 ASSERT(*tpp != NULL); 230 *tpp = NULL;
|