Home
last modified time | relevance | path

Searched refs:tpp (Results 1 – 25 of 31) sorted by relevance

12

/titanic_44/usr/src/uts/common/os/
H A Dsleepq.c100 sleepq_unlink(kthread_t **tpp, kthread_t *tp) in sleepq_unlink() argument
102 ASSERT(*tpp == tp); in sleepq_unlink()
106 *tpp = tp->t_link; in sleepq_unlink()
136 kthread_t **tpp; in sleepq_insert() local
143 tpp = &spq->sq_first; in sleepq_insert()
144 while ((next_tp = *tpp) != NULL) { in sleepq_insert()
150 tpp = &last_tp->t_link; in sleepq_insert()
152 *tpp = t; in sleepq_insert()
222 kthread_t **tpp; in sleepq_wakeone_chan() local
224 tpp = &spq->sq_first; in sleepq_wakeone_chan()
[all …]
H A Dsemaphore.c70 kthread_t **tpp; \
89 tpp = &s->s_slpq; \
90 while ((tp = *tpp) != NULL) { \
93 tpp = &tp->t_link; \
95 *tpp = curthread; \
120 kthread_t **tpp; in sema_queue() local
127 tpp = &s->s_slpq; in sema_queue()
129 while ((tp = *tpp) != NULL) { in sema_queue()
132 tpp = &tp->t_link; in sema_queue()
134 *tpp = t; in sema_queue()
[all …]
H A Dwaitq.c123 kthread_t **tpp; in waitq_link() local
129 tpp = &wq->wq_first; in waitq_link()
130 while ((next_tp = *tpp) != NULL) { in waitq_link()
136 tpp = &last_tp->t_link; in waitq_link()
138 *tpp = t; in waitq_link()
H A Dsched.c513 kthread_id_t *tpp; in swapdeq() local
518 tpp = &tswap_queue; in swapdeq()
520 ASSERT(*tpp != NULL); in swapdeq()
521 if (*tpp == tp) in swapdeq()
523 tpp = &(*tpp)->t_link; in swapdeq()
525 *tpp = tp->t_link; in swapdeq()
H A Dmem_config.c1812 page_t *pp, *tpp, *tpp_targ; in delete_memory_thread() local
2234 tpp = pp; in delete_memory_thread()
2235 page_sub(&pp, tpp); in delete_memory_thread()
2236 pfn = page_pptonum(tpp); in delete_memory_thread()
2238 ASSERT(PAGE_EXCL(tpp)); in delete_memory_thread()
2239 ASSERT(tpp->p_vnode == NULL); in delete_memory_thread()
2240 ASSERT(!hat_page_is_mapped(tpp)); in delete_memory_thread()
2241 ASSERT(tpp->p_szc == szc); in delete_memory_thread()
2242 tpp->p_szc = 0; in delete_memory_thread()
2243 page_delete_collect(tpp, mhp); in delete_memory_thread()
H A Dmem_cage.c1572 page_t *tpp; in kcage_relocate_page() local
1575 tpp = rpp; in kcage_relocate_page()
1576 page_sub(&rpp, tpp); in kcage_relocate_page()
1577 page_unlock(tpp); in kcage_relocate_page()
/titanic_44/usr/src/lib/libnsl/netselect/
H A Dnetselect.c222 struct netconfig **tpp; in getnetconfigent() local
231 for (tpp = netpp; *tpp; tpp++) { in getnetconfigent()
232 if (strcmp((*tpp)->nc_netid, netid) == 0) { in getnetconfigent()
233 if (*tpp && (strcmp((*tpp)->nc_netid, "udp6") == 0 || in getnetconfigent()
234 strcmp((*tpp)->nc_netid, "tcp6") == 0)) { in getnetconfigent()
241 return (netconfig_dup(*tpp)); in getnetconfigent()
271 struct netconfig **tpp; /* used to traverse the netconfig list */ in getnetlist() local
308 for (tpp = listpp; *tpp = fgetnetconfig(fp, NULL); tpp++) in getnetlist()
398 struct netconfig **tpp; /* scans the list from netconfig file */ in setnetpath() local
442 for (tpp = netpp; *tpp; tpp++) { in setnetpath()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Dsuntpi.c149 tpi_provinfo_t **tpp; in tpi_findprov() local
168 for (tpp = &tpi_provinfo_table[TPI_HASH(key)]; *tpp != NULL; in tpi_findprov()
169 tpp = &(*tpp)->tpi_next) { in tpi_findprov()
170 if ((*tpp)->tpi_keylen == keylen && in tpi_findprov()
171 bcmp((*tpp)->tpi_key, key, keylen) == 0) { in tpi_findprov()
173 return (*tpp); in tpi_findprov()
180 *tpp = kmem_zalloc(sizeof (tpi_provinfo_t), KM_SLEEP); in tpi_findprov()
181 (*tpp)->tpi_key = kmem_alloc(keylen, KM_SLEEP); in tpi_findprov()
182 bcopy(key, (*tpp)->tpi_key, keylen); in tpi_findprov()
183 (*tpp)->tpi_keylen = keylen; in tpi_findprov()
[all …]
/titanic_44/usr/src/cmd/geniconvtbl/
H A Ditm_util.c519 itmc_data_pair_t **tpp; in map_table() local
731 tpp = malloc_vital((sizeof (itmc_data_pair_t *)) * num); in map_table()
735 *(tpp + num) = &(ml->data_pair); in map_table()
749 (void) qsort(tpp, num, sizeof (itmc_data_pair_t *), in map_table()
753 for (n = 0, dp1 = tpp; n < (num-1); n++, dp1++) { in map_table()
792 source_start = data_to_long(&((*(tpp + 0))->data0)); in map_table()
793 source_end = data_to_long(&((*(tpp + num - 1))->data0)); in map_table()
794 if (0 < (*(tpp + num - 1))->range.size) { in map_table()
795 source_end = data_to_long(&((*(tpp + num - 1))->range)); in map_table()
894 tpp, num, default_data, in map_table()
[all …]
/titanic_44/usr/src/uts/common/vm/
H A Dvm_page.c2605 page_t *tpp; in page_free_toxic_pages() local
2609 for (i = 0, tpp = rootpp; i < pgcnt; i++, tpp = tpp->p_next) { in page_free_toxic_pages()
2610 ASSERT(tpp->p_szc == szc); in page_free_toxic_pages()
2611 ASSERT((PAGE_EXCL(tpp) && in page_free_toxic_pages()
2612 !page_iolock_assert(tpp)) || panicstr); in page_free_toxic_pages()
2613 tpp->p_szc = 0; in page_free_toxic_pages()
2617 tpp = rootpp; in page_free_toxic_pages()
2618 page_sub(&rootpp, tpp); in page_free_toxic_pages()
2619 ASSERT(PP_ISFREE(tpp)); in page_free_toxic_pages()
2620 PP_CLRFREE(tpp); in page_free_toxic_pages()
[all …]
H A Dvm_pagelist.c1968 page_t *pp, *pplist, *tpp, *start_pp; in page_promote() local
2085 tpp = pp; in page_promote()
2087 tpp->p_szc = new_szc; in page_promote()
2088 tpp = tpp->p_next; in page_promote()
2703 page_t *tpp, *first_pp = pp; in page_trylock_cons() local
2722 tpp = pp->p_next; in page_trylock_cons()
2723 while (tpp != pp) { in page_trylock_cons()
2724 if (!page_trylock(tpp, se)) { in page_trylock_cons()
2731 while (first_pp != tpp) { in page_trylock_cons()
2737 tpp = tpp->p_next; in page_trylock_cons()
/titanic_44/usr/src/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.c123 void **tpp = mpp; in list_free_all() local
125 if (tpp) { in list_free_all()
126 for (; *tpp; tpp++) in list_free_all()
127 (*free_ent)(*tpp); in list_free_all()
151 void **tpp; in list_copy() local
158 for (tpp = mpp; *tpp; tpp++) in list_copy()
161 diff = tpp - mpp; in list_copy()
166 for (tpp = tpp_h; *mpp; mpp++) { in list_copy()
171 *tpp++ = tp; in list_copy()
276 char **tpp = cpp; in free_fields() local
[all …]
/titanic_44/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_thread.c410 nsthread_t *tp, **tpp; in nst_thread_create() local
496 for (tpp = &nst_pending; (*tpp); tpp = &((*tpp)->tp_chain)) { in nst_thread_create()
497 if (*tpp == tp) { in nst_thread_create()
498 *tpp = tp->tp_chain; in nst_thread_create()
814 nsthread_t **tpp, *tp; in nst_del_thread() local
835 for (tpp = &set->set_chain; *tpp; tpp = &(*tpp)->tp_chain) { in nst_del_thread()
836 if (*tpp == tp) { in nst_del_thread()
837 *tpp = tp->tp_chain; in nst_del_thread()
/titanic_44/usr/src/uts/common/io/aggr/
H A Daggr_lacp.c1241 aggr_port_t *tpp; in lacp_selection_logic() local
1292 for (tpp = aggrp->lg_ports; tpp; tpp = tpp->lp_next) { in lacp_selection_logic()
1293 if (ether_cmp(&tpp->lp_lacp.PartnerOperSystem, in lacp_selection_logic()
1295 (tpp->lp_lacp.PartnerOperKey != 0)) in lacp_selection_logic()
1303 if (tpp == NULL) { in lacp_selection_logic()
1323 for (tpp = aggrp->lg_ports; tpp; tpp = tpp->lp_next) { in lacp_selection_logic()
1324 if (ether_cmp(&tpp->lp_lacp.PartnerOperSystem, in lacp_selection_logic()
1326 (tpp->lp_lacp.PartnerOperKey == in lacp_selection_logic()
1337 if (tpp == NULL) { in lacp_selection_logic()
1386 for (tpp = aggrp->lg_ports; tpp; tpp = in lacp_selection_logic()
[all …]
/titanic_44/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c242 char **tpp; in freedomnames() local
245 tpp = npp; in freedomnames()
246 while (*tpp++) { in freedomnames()
247 free(*(tpp-1)); in freedomnames()
267 char **npp = NULL, **tpp=NULL; in getdomnames() local
302 tpp = npp; in getdomnames()
304 while (tpp && *tpp++) { in getdomnames()
305 if (strcasecmp(*(tpp-1), hp->h_name) == 0) { in getdomnames()
339 tpp = npp; in getdomnames()
340 while (tpp && *tpp++) { in getdomnames()
[all …]
/titanic_44/usr/src/uts/intel/io/intel_nhm/
H A Dnhm_init.c71 nhm_dimm_t **dimmpp, **tpp; in check_serial_number() local
82 for (tpp = dimmpp + 1; tpp < end; tpp++) { in check_serial_number()
83 tp = *tpp; in check_serial_number()
/titanic_44/usr/src/uts/sun4v/io/
H A Dvsw_switching.c792 mfdb_ent_t *tpp = NULL; in vsw_forward_grp() local
835 for (tpp = entp; tpp != NULL; tpp = tpp->nextp) { in vsw_forward_grp()
839 (tpp->d_addr == (void *)arg)) { in vsw_forward_grp()
840 port = (vsw_port_t *)tpp->d_addr; in vsw_forward_grp()
846 (tpp->d_type == VSW_LOCALDEV)) { in vsw_forward_grp()
852 if (tpp->d_type == VSW_VNETPORT) { in vsw_forward_grp()
853 port = (vsw_port_t *)tpp->d_addr; in vsw_forward_grp()
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dnl7chttp.c210 char **tpp; in http_date2time_t() local
225 tpp = dow; in http_date2time_t()
226 tp = *tpp; in http_date2time_t()
235 if ((tp = *++tpp) == NULL) in http_date2time_t()
286 tpp = months; in http_date2time_t()
287 tp = *tpp++; in http_date2time_t()
298 if ((tp = *tpp++) == NULL) in http_date2time_t()
439 tpp = months; in http_date2time_t()
440 tp = *tpp++; in http_date2time_t()
451 if ((tp = *tpp++) == NULL) in http_date2time_t()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c2017 struct table **tpp, *tp; in age_table() local
2021 tpp = &table; in age_table()
2022 while (*tpp != NULL) { in age_table()
2023 tp = *tpp; in age_table()
2026 *tpp = tp->next; in age_table()
2038 tpp = &tp->next; in age_table()
2063 struct table **tpp, *tp; in flush_unreachable_routers() local
2067 tpp = &table; in flush_unreachable_routers()
2068 while (*tpp != NULL) { in flush_unreachable_routers()
2069 tp = *tpp; in flush_unreachable_routers()
[all …]
/titanic_44/usr/src/uts/common/syscall/
H A Dlwp_sobj.c1401 kthread_t **tpp; in lwp_release() local
1405 tpp = &sqh->sq_queue.sq_first; in lwp_release()
1406 while ((tp = *tpp) != NULL) { in lwp_release()
1431 sleepq_unlink(tpp, tp); in lwp_release()
1442 tpp = &tp->t_link; in lwp_release()
1454 kthread_t **tpp; in lwp_release_all() local
1458 tpp = &sqh->sq_queue.sq_first; in lwp_release_all()
1459 while ((tp = *tpp) != NULL) { in lwp_release_all()
1462 sleepq_unlink(tpp, tp); in lwp_release_all()
1470 tpp = &tp->t_link; in lwp_release_all()
[all …]
/titanic_44/usr/src/cmd/tsol/tnd/
H A Dtnd.c583 tsol_tpent_t *tpp; in nss_get_tp() local
587 tpp = &tp; in nss_get_tp()
591 while ((tpp = (tsol_tpent_t *)tsol_gettpent()) != NULL) { in nss_get_tp()
595 (void) memcpy(&new->tp_ent, tpp, sizeof (tp)); in nss_get_tp()
619 struct tnd_tnrhtp_c *tpp; in load_tp_entry() local
624 tpp = *tppp; in load_tp_entry()
625 if (tnrhtp(TNDB_LOAD, &tpp->tp_ent)) { in load_tp_entry()
633 tpp->tp_ent.name); in load_tp_entry()
/titanic_44/usr/src/uts/common/fs/tmpfs/
H A Dtmp_dir.c239 struct tmpnode **tpp, /* return tmpnode, if create/mkdir */ in tdirenter() argument
336 if (tpp) { in tdirenter()
337 *tpp = found; in tdirenter()
402 } else if (tpp) { in tdirenter()
403 *tpp = tp; in tdirenter()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_walker.c781 pi_walkerlist_find(topo_mod_t *mod, mde_cookie_t mde_node, tnode_t **tpp) in pi_walkerlist_find() argument
791 *tpp = NULL; in pi_walkerlist_find()
796 *tpp = result->t_parent; in pi_walkerlist_find()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dtxg.c227 txg_thread_exit(tx_state_t *tx, callb_cpr_t *cpr, kthread_t **tpp) in txg_thread_exit() argument
229 ASSERT(*tpp != NULL); in txg_thread_exit()
230 *tpp = NULL; in txg_thread_exit()
/titanic_44/usr/src/uts/sun4u/sunfire/io/
H A Dac.c1471 page_t *tpp; in ac_mem_exercise() local
1474 tpp = pp_repl; in ac_mem_exercise()
1475 page_sub(&pp_repl, tpp); in ac_mem_exercise()
1476 page_unlock(tpp); in ac_mem_exercise()

12