Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 25 of 126) sorted by relevance

123456

/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_thread.c37 iscsi_thread_t *thread; in iscsi_thread_create() local
41 if (thread != NULL) { in iscsi_thread_create()
48 thread->dip = dip; in iscsi_thread_create()
50 thread->arg = arg; in iscsi_thread_create()
58 thread = NULL; in iscsi_thread_create()
62 return (thread); in iscsi_thread_create()
70 iscsi_thread_t *thread in iscsi_thread_destroy() argument
73 ASSERT(thread != NULL); in iscsi_thread_destroy()
326 cv_wait(&thread->sign.cdv, &thread->sign.mtx); in iscsi_thread_wait()
328 rtn = cv_reltimedwait(&thread->sign.cdv, &thread->sign.mtx, in iscsi_thread_wait()
[all …]
H A Discsi_thread.h85 iscsi_thread_t *thread
90 iscsi_thread_t *thread
95 iscsi_thread_t *thread
100 iscsi_thread_t *thread
105 iscsi_thread_t *thread
110 iscsi_thread_t *thread,
116 iscsi_thread_t *thread
H A Discsid.c54 static void iscsid_thread_slp(iscsi_thread_t *thread, void *p);
1697 iscsid_thread_static(iscsi_thread_t *thread, void *p) in iscsid_thread_static() argument
1705 while (iscsi_thread_wait(thread, -1) != 0) { in iscsid_thread_static()
1748 iscsid_thread_sendtgts(iscsi_thread_t *thread, void *p) in iscsid_thread_sendtgts() argument
1755 while (iscsi_thread_wait(thread, -1) != 0) { in iscsid_thread_sendtgts()
1790 iscsid_thread_slp(iscsi_thread_t *thread, void *p) in iscsid_thread_slp() argument
1803 } while (iscsi_thread_wait(thread, -1) != 0); in iscsid_thread_slp()
1810 iscsid_thread_isns(iscsi_thread_t *thread, void *ptr) in iscsid_thread_isns() argument
1815 while (iscsi_thread_wait(thread, -1) != 0) { in iscsid_thread_isns()
2402 iscsid_thread_boot_wd(iscsi_thread_t *thread, void *p) in iscsid_thread_boot_wd() argument
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_thread.c65 smb_thread_t *thread) in smb_thread_entry_point() argument
77 thread->sth_ep(thread, thread->sth_ep_arg); in smb_thread_entry_point()
85 thread->sth_th = NULL; in smb_thread_entry_point()
112 bzero(thread, sizeof (*thread)); in smb_thread_init()
114 (void) strlcpy(thread->sth_name, name, sizeof (thread->sth_name)); in smb_thread_init()
116 thread->sth_ep = ep; in smb_thread_init()
119 thread->sth_pri = pri; in smb_thread_init()
134 thread->sth_magic = 0; in smb_thread_destroy()
215 cv_wait(&thread->sth_cv, &thread->sth_mtx); in smb_thread_stop()
230 cv_wait(&thread->sth_cv, &thread->sth_mtx); in smb_thread_stop()
[all …]
/illumos-gate/usr/src/uts/sun4/ml/
H A Dswtch.S94 ! kernel thread
113 ! user thread
214 ! if resume from user to kernel thread
216 ! if resume from kernel (or a different user) thread to user thread
313 ! Switch to new thread's stack
361 ! kernel thread
362 ! i0 = new thread
364 ! Switch to new thread's stack
407 ! in the thread structure.
479 ! %i0 = new thread
[all …]
H A Dproc_init.S106 ! It is very important to have a thread pointer and a cpu struct
118 ldn [%l3 + CPU_THREAD], THREAD_REG ! set thread pointer (%g7)
132 ! Resume the thread allocated for the CPU.
136 ret ! "return" into the thread
H A Dinterrupt.S344 ! See if we are interrupting another interrupt thread.
351 ! We have interrupted an interrupt thread. Take a timestamp,
357 ! We came in on top of an interrupt thread that had no timestamp.
369 ! for the time slice, we want to "atomically" load the thread's
467 ! Push interrupted thread onto list from new thread.
468 ! Set the new thread as the current one.
732 ! Switch back to the interrupted thread and return
777 ! the next thread to run.
810 ! Put thread back on the interrupt thread list.
839 ! set the thread state to free so kernel debuggers don't see it
[all …]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxpvtap.c954 thread = &state->bt_thread; in xpvtap_user_thread_init()
959 thread->ut_wake = B_FALSE; in xpvtap_user_thread_init()
960 thread->ut_exit = B_FALSE; in xpvtap_user_thread_init()
996 thread = &state->bt_thread; in xpvtap_user_thread_start()
1087 thread = &state->bt_thread; in xpvtap_user_thread()
1092 if (thread->ut_exit) { in xpvtap_user_thread()
1103 if (!thread->ut_wake) { in xpvtap_user_thread()
1104 e = cv_wait_sig(&thread->ut_wake_cv, &thread->ut_mutex); in xpvtap_user_thread()
1106 thread->ut_exit = B_TRUE; in xpvtap_user_thread()
1113 if (!thread->ut_wake) { in xpvtap_user_thread()
[all …]
/illumos-gate/usr/src/common/amdzen/
H A Dzen_fabric_utils.c103 const uint32_t core, const uint32_t thread) in zen_apic_id_valid_parts() argument
132 if (((thread << decomp->aad_thread_shift) & in zen_apic_id_valid_parts()
146 const uint32_t core, const uint32_t thread, uint32_t *apicid) in zen_apic_id_compose() argument
151 thread)); in zen_apic_id_compose()
152 id = thread << decomp->aad_thread_shift; in zen_apic_id_compose()
/illumos-gate/usr/src/uts/common/sys/
H A Drwlock_impl.h52 #define RW_WRITE_LOCK(thread) ((uintptr_t)(thread) | RW_WRITE_LOCKED) argument
H A Dstrft.h131 void *thread; member
156 _hp->thread = curthread; \
H A Dclass.h103 thread_ops_t thread; member
151 (sclass[cid].cl_funcs->thread.cl_enterclass) (t, cid, \
155 (sclass[cid].cl_funcs->thread.cl_exitclass) ((void *)clprocp)
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_thread.h44 kthread_t *thread; member
61 kthread_t *thread; member
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dlock.test154 # If one thread has a transaction another thread cannot start
163 # Nor can the other thread do a query.
170 # If the other thread (the one that does not hold the transaction)
208 # the first thread to release its transaction. That allows the
209 # second thread to continue.
291 # When one thread is writing, other threads cannot read. Except if the
292 # writing thread is writing to its temporary tables, the other threads
/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dsegments.h101 void update_gdt_gsbase(struct thread *td, uint32_t base);
102 void update_gdt_fsbase(struct thread *td, uint32_t base);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/threadname/
H A Dtst.threadname.c67 thread(void *arg) in thread() function
93 if (pthread_create(&tids[i], NULL, thread, NULL) != 0) in main()
/illumos-gate/usr/src/test/os-tests/tests/
H A Ducontext.c68 thread(void *arg __unused) in thread() function
99 VERIFY0(pthread_create(&tid, NULL, thread, NULL)); in main()
/illumos-gate/usr/src/cmd/acpi/common/
H A Dosunixxf.c1608 pthread_t thread; in AcpiOsGetThreadId() local
1611 thread = pthread_self(); in AcpiOsGetThreadId()
1612 return (ACPI_CAST_PTHREAD_T (thread)); in AcpiOsGetThreadId()
1636 pthread_t thread; in AcpiOsExecute() local
1640 ret = pthread_create (&thread, NULL, (PTHREAD_CALLBACK) Function, Context); in AcpiOsExecute()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtsd.c84 kthread_t thread, *t = &thread; in ttotsd() local
H A Dthread.h52 int thread(uintptr_t, uint_t, int, const mdb_arg_t *);
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthread.c107 pthread_create(pthread_t *thread, const pthread_attr_t *attr, in pthread_create() argument
168 } else if (thread) { in pthread_create()
169 *thread = tid; in pthread_create()
/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dmdb_xregs.ksh110 ::tmodel thread
111 ::fpregs ! cat > $fpregs.thread
/illumos-gate/usr/src/tools/btxld/
H A Dimgact_aout.h150 struct thread;
153 int aout_coredump(struct thread *td, struct vnode *vp, off_t limit,
/illumos-gate/usr/src/boot/sys/sys/
H A Dimgact_aout.h150 struct thread;
153 int aout_coredump(struct thread *td, struct vnode *vp, off_t limit,
/illumos-gate/usr/src/cmd/bhyve/
H A Dtpm_intf_crb.c174 pthread_t thread; member
498 error = pthread_create(&crb->thread, NULL, tpm_crb_thread, crb); in tpm_crb_init()
504 pthread_set_name_np(crb->thread, "tpm_intf_crb"); in tpm_crb_init()
530 pthread_join(crb->thread, NULL); in tpm_crb_deinit()

123456