Searched refs:moduleid (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | tls.c | 51 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 …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | netstack.c | 166 netstack_register(int moduleid, in netstack_register() argument 174 ASSERT(moduleid >= 0 && moduleid < NS_MAX); in netstack_register() 182 ASSERT(ns_reg[moduleid].nr_create == NULL); in netstack_register() 183 ASSERT(ns_reg[moduleid].nr_flags == 0); in netstack_register() 184 ns_reg[moduleid].nr_create = module_create; in netstack_register() 185 ns_reg[moduleid].nr_shutdown = module_shutdown; in netstack_register() 186 ns_reg[moduleid].nr_destroy = module_destroy; in netstack_register() 187 ns_reg[moduleid].nr_flags = NRF_REGISTERED; in netstack_register() 196 nm_state_t *nms = &ns->netstack_m_state[moduleid]; in netstack_register() 203 netstack_t *, ns, int, moduleid); in netstack_register() [all …]
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | vsc7326.c | 252 static int bist_rd(adapter_t *adapter, int moduleid, int address) in bist_rd() argument 265 ((moduleid & 0xff) << 0)); in bist_rd() 279 static int bist_wr(adapter_t *adapter, int moduleid, int address, int value) in bist_wr() argument 295 ((moduleid & 0xff) << 0)); in bist_wr() 309 static int run_bist(adapter_t *adapter, int moduleid) in run_bist() argument 312 (void) bist_wr(adapter,moduleid, 0x00, 0x02); in run_bist() 313 (void) bist_wr(adapter,moduleid, 0x01, 0x01); in run_bist() 318 static int check_bist(adapter_t *adapter, int moduleid) in check_bist() argument 323 result = bist_rd(adapter,moduleid, 0x02); in check_bist() 324 column = ((bist_rd(adapter,moduleid, 0x0e)<<8) + in check_bist() [all …]
|
/illumos-gate/usr/src/lib/libc_db/common/ |
H A D | thread_db.c | 2253 __td_thr_tlsbase(td_thrhandle_t *th_p, ulong_t moduleid, psaddr_t *base) in __td_thr_tlsbase() argument 2280 else if (moduleid >= tls_metadata.tls_modinfo.tls_size) in __td_thr_tlsbase() 2284 tls_metadata.tls_modinfo.tls_data + moduleid), in __td_thr_tlsbase() 2294 else if (moduleid >= tls.tls_size) in __td_thr_tlsbase() 2297 (psaddr_t)((tls_t *)tls.tls_data + moduleid), in __td_thr_tlsbase() 2315 else if (moduleid >= tls_metadata.tls_modinfo.tls_size) in __td_thr_tlsbase() 2319 (uintptr_t)tls_metadata.tls_modinfo.tls_data + moduleid), in __td_thr_tlsbase() 2329 else if (moduleid >= tls.tls_size) in __td_thr_tlsbase() 2332 (psaddr_t)((tls32_t *)(uintptr_t)tls.tls_data + moduleid), in __td_thr_tlsbase()
|
/illumos-gate/usr/src/head/ |
H A D | thread_db.h | 630 td_thr_tlsbase(const td_thrhandle_t *, ulong_t moduleid, psaddr_t *base);
|