Home
last modified time | relevance | path

Searched refs:moduleid (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libc/port/threads/
H A Dtls.c51 tls_modinfo_alloc(tls_metadata_t *tlsm, ulong_t moduleid) in tls_modinfo_alloc() argument
58 tls_modinfo->tls_size <= moduleid) { in tls_modinfo_alloc()
61 while (mod_slots <= moduleid) in tls_modinfo_alloc()
169 ulong_t moduleid = tlsp->tm_modid; in __tls_mod_add() local
175 modinfo = tls_modinfo_alloc(tlsm, moduleid); in __tls_mod_add()
176 (void) memcpy(&modinfo[moduleid], tlsp, sizeof (*tlsp)); in __tls_mod_add()
187 ulong_t moduleid = tlsp->tm_modid; in __tls_mod_remove() local
192 moduleid < tlsm->tls_modinfo.tls_size); in __tls_mod_remove()
194 (void) memset(&modinfo[moduleid], 0, sizeof (TLS_modinfo)); in __tls_mod_remove()
221 ulong_t moduleid; in slow_tls_get_addr() local
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dnetstack.c153 netstack_register(int moduleid, in netstack_register() argument
161 ASSERT(moduleid >= 0 && moduleid < NS_MAX); in netstack_register()
169 ASSERT(ns_reg[moduleid].nr_create == NULL); in netstack_register()
170 ASSERT(ns_reg[moduleid].nr_flags == 0); in netstack_register()
171 ns_reg[moduleid].nr_create = module_create; in netstack_register()
172 ns_reg[moduleid].nr_shutdown = module_shutdown; in netstack_register()
173 ns_reg[moduleid].nr_destroy = module_destroy; in netstack_register()
174 ns_reg[moduleid].nr_flags = NRF_REGISTERED; in netstack_register()
183 nm_state_t *nms = &ns->netstack_m_state[moduleid]; in netstack_register()
190 netstack_t *, ns, int, moduleid); in netstack_register()
[all …]
/titanic_41/usr/src/uts/common/io/chxge/com/
H A Dvsc7326.c254 static int bist_rd(adapter_t *adapter, int moduleid, int address) in bist_rd() argument
267 ((moduleid & 0xff) << 0)); in bist_rd()
281 static int bist_wr(adapter_t *adapter, int moduleid, int address, int value) in bist_wr() argument
297 ((moduleid & 0xff) << 0)); in bist_wr()
311 static int run_bist(adapter_t *adapter, int moduleid) in run_bist() argument
314 (void) bist_wr(adapter,moduleid, 0x00, 0x02); in run_bist()
315 (void) bist_wr(adapter,moduleid, 0x01, 0x01); in run_bist()
320 static int check_bist(adapter_t *adapter, int moduleid) in check_bist() argument
325 result = bist_rd(adapter,moduleid, 0x02); in check_bist()
326 column = ((bist_rd(adapter,moduleid, 0x0e)<<8) + in check_bist()
[all …]
/titanic_41/usr/src/lib/libc_db/common/
H A Dthread_db.c2233 __td_thr_tlsbase(td_thrhandle_t *th_p, ulong_t moduleid, psaddr_t *base) in __td_thr_tlsbase() argument
2260 else if (moduleid >= tls_metadata.tls_modinfo.tls_size) in __td_thr_tlsbase()
2264 tls_metadata.tls_modinfo.tls_data + moduleid), in __td_thr_tlsbase()
2274 else if (moduleid >= tls.tls_size) in __td_thr_tlsbase()
2277 (psaddr_t)((tls_t *)tls.tls_data + moduleid), in __td_thr_tlsbase()
2295 else if (moduleid >= tls_metadata.tls_modinfo.tls_size) in __td_thr_tlsbase()
2299 (uintptr_t)tls_metadata.tls_modinfo.tls_data + moduleid), in __td_thr_tlsbase()
2309 else if (moduleid >= tls.tls_size) in __td_thr_tlsbase()
2312 (psaddr_t)((tls32_t *)(uintptr_t)tls.tls_data + moduleid), in __td_thr_tlsbase()
/titanic_41/usr/src/head/
H A Dthread_db.h632 td_thr_tlsbase(const td_thrhandle_t *, ulong_t moduleid, psaddr_t *base);