Searched defs:tpp (Results 1 - 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/uts/common/os/
H A Dsleepq.c96 * 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 Dwaitq.c123 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 Dsemaphore.c68 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 Dsched.c513 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 Dmem_cage.c1572 page_t *tpp; local
1575 tpp = rpp;
1576 page_sub(&rpp, tpp);
1577 page_unlock(tpp);
/illumos-gate/usr/src/uts/common/io/
H A Dsuntpi.c149 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...]
H A Dtimod.c2489 struct tim_tim **tpp; local
2492 tpp = &tim_hash[TIM_HASH(tp->tim_acceptor)];
2495 if ((next = *tpp) != NULL)
2498 tp->tim_ptpn = tpp;
2499 *tpp = tp;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dtxg.c227 txg_thread_exit(tx_state_t *tx, callb_cpr_t *cpr, kthread_t **tpp) argument
229 ASSERT(*tpp != NULL);
230 *tpp = NULL;
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_dir.c239 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/uts/common/avs/ns/solaris/
H A Dnsc_thread.c410 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/uts/intel/io/intel_nhm/
H A Dnhm_init.c71 nhm_dimm_t **dimmpp, **tpp; local
82 for (tpp = dimmpp + 1; tpp < end; tpp++) {
83 tp = *tpp;
/illumos-gate/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) argument
791 *tpp = NULL;
796 *tpp = result->t_parent;
/illumos-gate/usr/src/lib/libnsl/netselect/
H A Dnetselect.c222 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/krb5/kadmin/server/
H A Dovsec_kadmd.c242 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/sun4v/io/
H A Dvsw_switching.c792 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/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.c123 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/cmd/tsol/tnd/
H A Dtnd.c583 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/sockfs/
H A Dnl7chttp.c210 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/common/io/aggr/
H A Daggr_lacp.c1241 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/sbp2/
H A Dsbp2.c149 sbp2_tgt_init(void *bus_hdl, sbp2_bus_t *bus, int maxluns, sbp2_tgt_t **tpp) argument
188 *tpp = tp;
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dac.c1471 page_t *tpp; local
1474 tpp = pp_repl;
1475 page_sub(&pp_repl, tpp);
1476 page_unlock(tpp);
/illumos-gate/usr/src/uts/common/syscall/
H A Dlwp_sobj.c1417 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/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c2017 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/cmd/geniconvtbl/
H A Ditm_util.c519 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/uts/common/io/lvm/md/
H A Dmd_med.c1727 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...]

Completed in 133 milliseconds

12