/illumos-gate/usr/src/uts/common/os/ |
H A D | sleepq.c | 100 ASSERT(*tpp == tp); in sleepq_unlink() 104 *tpp = tp->t_link; in sleepq_unlink() 134 kthread_t **tpp; in sleepq_insert() local 141 tpp = &spq->sq_first; in sleepq_insert() 151 *tpp = t; in sleepq_insert() 221 kthread_t **tpp; in sleepq_wakeone_chan() local 223 tpp = &spq->sq_first; in sleepq_wakeone_chan() 243 tpp = &tp->t_link; in sleepq_wakeone_chan() 252 kthread_t **tpp; in sleepq_wakeall_chan() local 254 tpp = &spq->sq_first; in sleepq_wakeall_chan() [all …]
|
H A D | semaphore.c | 120 kthread_t **tpp; in sema_queue() local 127 tpp = &s->s_slpq; in sema_queue() 132 tpp = &tp->t_link; in sema_queue() 134 *tpp = t; in sema_queue() 145 kthread_t **tpp; in sema_dequeue() local 151 tpp = &s->s_slpq; in sema_dequeue() 154 *tpp = t->t_link; in sema_dequeue() 158 tpp = &tp->t_link; in sema_dequeue() 177 kthread_t **tpp; in sema_unsleep() local 183 tpp = &s->s_slpq; in sema_unsleep() [all …]
|
H A D | waitq.c | 123 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 D | sched.c | 513 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 D | mem_config.c | 1813 page_t *pp, *tpp, *tpp_targ; in delete_memory_thread() local 2235 tpp = pp; in delete_memory_thread() 2236 page_sub(&pp, tpp); in delete_memory_thread() 2237 pfn = page_pptonum(tpp); in delete_memory_thread() 2239 ASSERT(PAGE_EXCL(tpp)); in delete_memory_thread() 2240 ASSERT(tpp->p_vnode == NULL); in delete_memory_thread() 2241 ASSERT(!hat_page_is_mapped(tpp)); in delete_memory_thread() 2242 ASSERT(tpp->p_szc == szc); in delete_memory_thread() 2243 tpp->p_szc = 0; in delete_memory_thread() 2244 page_delete_collect(tpp, mhp); in delete_memory_thread()
|
H A D | mem_cage.c | 1572 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()
|
/illumos-gate/usr/src/lib/libnsl/netselect/ |
H A D | netselect.c | 229 for (tpp = netpp; *tpp; tpp++) { in getnetconfigent() 231 if (*tpp && (strcmp((*tpp)->nc_netid, "udp6") == 0 || in getnetconfigent() 306 for (tpp = listpp; *tpp = fgetnetconfig(fp, NULL); tpp++) in getnetlist() 440 for (tpp = netpp; *tpp; tpp++) { in setnetpath() 472 for (tpp = netpp; *tpp; tpp++) { in setnetpath() 508 for (tpp = netpp; *tpp; tpp++) { in setnetpath() 676 tpp = listpp; in getlookups() 697 for (tpp = listpp; *tpp; tpp++) in getlookups() 698 free(*tpp); in getlookups() 703 *tpp = NULL; in getlookups() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | suntpi.c | 147 tpi_provinfo_t **tpp; in tpi_findprov() local 166 for (tpp = &tpi_provinfo_table[TPI_HASH(key)]; *tpp != NULL; in tpi_findprov() 167 tpp = &(*tpp)->tpi_next) { in tpi_findprov() 168 if ((*tpp)->tpi_keylen == keylen && in tpi_findprov() 169 bcmp((*tpp)->tpi_key, key, keylen) == 0) { in tpi_findprov() 171 return (*tpp); in tpi_findprov() 178 *tpp = kmem_zalloc(sizeof (tpi_provinfo_t), KM_SLEEP); in tpi_findprov() 179 (*tpp)->tpi_key = kmem_alloc(keylen, KM_SLEEP); in tpi_findprov() 180 bcopy(key, (*tpp)->tpi_key, keylen); in tpi_findprov() 181 (*tpp)->tpi_keylen = keylen; in tpi_findprov() [all …]
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itm_util.c | 519 itmc_data_pair_t **tpp; in map_table() local 894 tpp, num, default_data, in map_table() 947 itmc_data_pair_t **tpp, in map_table_indexed_fixed() argument 1122 (*(tpp + i))->data1.size); in map_table_indexed_fixed() 1135 itmc_data_pair_t **tpp, in map_table_lookup_fixed() argument 1287 itmc_data_pair_t **tpp, in map_table_hash() argument 1341 (*(tpp + i))->data0.size, in map_table_hash() 1461 (*(tpp + i))->data0.size, in map_table_hash() 1589 itmc_data_pair_t **tpp, in map_table_dense_encoding() argument 1710 (*(tpp + i))->data0.size, in map_table_dense_encoding() [all …]
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_page.c | 2618 for (i = 0, tpp = rootpp; i < pgcnt; i++, tpp = tpp->p_next) { in page_free_toxic_pages() 2802 for (i = 0, tpp = pp; i < pgcnt; i++, tpp++) { in page_free_pages() 2823 ASSERT(tpp->p_next == tpp); in page_free_pages() 2824 ASSERT(tpp->p_prev == tpp); in page_free_pages() 3147 for (i = 0, tpp = pp; i < pgcnt; i++, tpp++) { in page_destroy_pages() 3168 ASSERT(tpp->p_next == tpp); in page_destroy_pages() 3169 ASSERT(tpp->p_prev == tpp); in page_destroy_pages() 5037 } while ((tpp = tpp->p_next) != *target); in page_relocate() 5078 } while ((tpp = tpp->p_next) != pp); in page_free_replacement_page() 5276 if (tpp != pp && !page_trylock(tpp, SE_EXCL)) in page_try_demote_pages() [all …]
|
H A D | vm_pagelist.c | 1968 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() 2657 page_t *tpp, *first_pp = pp; in page_trylock_cons() local 2676 tpp = pp->p_next; in page_trylock_cons() 2677 while (tpp != pp) { in page_trylock_cons() 2678 if (!page_trylock(tpp, se)) { in page_trylock_cons() 2685 while (first_pp != tpp) { in page_trylock_cons() 2691 tpp = tpp->p_next; in page_trylock_cons()
|
/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_sec_mechs.c | 121 void **tpp = mpp; in list_free_all() local 123 if (tpp) { in list_free_all() 124 for (; *tpp; tpp++) in list_free_all() 149 void **tpp; in list_copy() local 156 for (tpp = mpp; *tpp; tpp++) in list_copy() 159 diff = tpp - mpp; in list_copy() 169 *tpp++ = tp; in list_copy() 274 char **tpp = cpp; in free_fields() local 279 if (*tpp) in free_fields() 280 free(*tpp); in free_fields() [all …]
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_lacp.c | 1243 aggr_port_t *tpp; in lacp_selection_logic() local 1294 for (tpp = aggrp->lg_ports; tpp; tpp = tpp->lp_next) { in lacp_selection_logic() 1305 if (tpp == NULL) { in lacp_selection_logic() 1325 for (tpp = aggrp->lg_ports; tpp; tpp = tpp->lp_next) { in lacp_selection_logic() 1339 if (tpp == NULL) { in lacp_selection_logic() 1388 for (tpp = aggrp->lg_ports; tpp; tpp = in lacp_selection_logic() 1389 tpp->lp_next) { in lacp_selection_logic() 1390 if (tpp == portp) in lacp_selection_logic() 1449 for (tpp = aggrp->lg_ports; tpp; tpp = tpp->lp_next) { in lacp_selection_logic() 1473 for (tpp = aggrp->lg_ports; tpp; tpp = tpp->lp_next) in lacp_selection_logic() [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/server/ |
H A D | ovsec_kadmd.c | 242 char **tpp; in freedomnames() local 245 tpp = npp; in freedomnames() 246 while (*tpp++) { in freedomnames() 247 free(*(tpp-1)); in freedomnames() 302 tpp = npp; in getdomnames() 304 while (tpp && *tpp++) { in getdomnames() 339 tpp = npp; in getdomnames() 340 while (tpp && *tpp++) { in getdomnames() 382 char **tpp = dnames; in set_svc_domnames() local 384 if (!tpp) in set_svc_domnames() [all …]
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | nhm_init.c | 71 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()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 2015 struct table **tpp, *tp; in age_table() local 2019 tpp = &table; in age_table() 2020 while (*tpp != NULL) { in age_table() 2021 tp = *tpp; in age_table() 2024 *tpp = tp->next; in age_table() 2036 tpp = &tp->next; in age_table() 2065 tpp = &table; in flush_unreachable_routers() 2066 while (*tpp != NULL) { in flush_unreachable_routers() 2067 tp = *tpp; in flush_unreachable_routers() 2069 *tpp = tp->next; in flush_unreachable_routers() [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_switching.c | 792 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()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwp_sobj.c | 1416 kthread_t **tpp; in lwp_release() local 1421 while ((tp = *tpp) != NULL) { in lwp_release() 1446 sleepq_unlink(tpp, tp); in lwp_release() 1457 tpp = &tp->t_link; in lwp_release() 1469 kthread_t **tpp; in lwp_release_all() local 1477 sleepq_unlink(tpp, tp); in lwp_release_all() 1485 tpp = &tp->t_link; in lwp_release_all() 2255 kthread_t **tpp; in lwp_rwlock_release() local 2273 sleepq_unlink(tpp, tp); in lwp_rwlock_release() 2289 sleepq_unlink(tpp, tp); in lwp_rwlock_release() [all …]
|
/illumos-gate/usr/src/cmd/tsol/tnd/ |
H A D | tnd.c | 581 tsol_tpent_t *tpp; in nss_get_tp() local 585 tpp = &tp; in nss_get_tp() 589 while ((tpp = (tsol_tpent_t *)tsol_gettpent()) != NULL) { in nss_get_tp() 593 (void) memcpy(&new->tp_ent, tpp, sizeof (tp)); in nss_get_tp() 617 struct tnd_tnrhtp_c *tpp; in load_tp_entry() local 622 tpp = *tppp; in load_tp_entry() 623 if (tnrhtp(TNDB_LOAD, &tpp->tp_ent)) { in load_tp_entry() 631 tpp->tp_ent.name); in load_tp_entry()
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_dir.c | 242 struct tmpnode **tpp, /* return tmpnode, if create/mkdir */ in tdirenter() argument 396 if (tpp) { in tdirenter() 397 *tpp = found; in tdirenter() 462 } else if (tpp) { in tdirenter() 463 *tpp = tp; in tdirenter()
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac.c | 1471 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()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | txg.c | 228 txg_thread_exit(tx_state_t *tx, callb_cpr_t *cpr, kthread_t **tpp) in txg_thread_exit() argument 230 ASSERT(*tpp != NULL); in txg_thread_exit() 231 *tpp = NULL; in txg_thread_exit()
|
/illumos-gate/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 6750 page_t *tpp, *rpp; in hat_page_relocate() local 6780 tpp = targ; in hat_page_relocate() 6783 tpp++; in hat_page_relocate() 6821 tpp = targ; in hat_page_relocate() 6897 tpp = targ; in hat_page_relocate() 6905 tpp->p_nrm = 0; in hat_page_relocate() 6907 tpp->p_index = 0; in hat_page_relocate() 6967 tpp = targ; in hat_page_relocate() 6974 targ = tpp; in hat_page_relocate() 7348 tpp->p_share = 0; in hat_pagereload() [all …]
|
/illumos-gate/usr/src/cmd/ps/ |
H A D | ps.c | 1294 prfind(int found, psinfo_t *psinfo, char **tpp) in prfind() argument 1301 *tpp = "?"; in prfind() 1314 *tpp = tp; in prfind() 1347 *tpp = tp; in prfind() 1351 *tpp = tp; in prfind()
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hat_i86.c | 3712 page_t *tpp; in hati_page_clrwrt() local 3714 tpp = PP_GROUPLEADER(pp, pszc); in hati_page_clrwrt() 3715 if (pp != tpp) { in hati_page_clrwrt() 3716 pp = tpp; in hati_page_clrwrt() 4230 page_t *tpp; in hat_pagesync() local 4232 tpp = PP_GROUPLEADER(pp, pszc); in hat_pagesync() 4233 if (pp != tpp) { in hat_pagesync() 4234 pp = tpp; in hat_pagesync()
|