Home
last modified time | relevance | path

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

123456789

/onnv-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_thread.c37 iscsi_thread_t *thread; in iscsi_thread_create() local
39 thread = kmem_zalloc(sizeof (iscsi_thread_t), KM_SLEEP); in iscsi_thread_create()
41 if (thread != NULL) { in iscsi_thread_create()
43 thread->tq = ddi_taskq_create(dip, name, 1, in iscsi_thread_create()
46 if (thread->tq != NULL) { in iscsi_thread_create()
47 thread->signature = SIG_ISCSI_THREAD; in iscsi_thread_create()
48 thread->dip = dip; in iscsi_thread_create()
49 thread->entry_point = entry_point; in iscsi_thread_create()
50 thread->arg = arg; in iscsi_thread_create()
51 thread->state = ISCSI_THREAD_STATE_STOPPED; in iscsi_thread_create()
[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
/onnv-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c862 smb_thread_t *thread) in smb_thread_entry_point() argument
864 ASSERT(thread->sth_magic == SMB_THREAD_MAGIC); in smb_thread_entry_point()
865 mutex_enter(&thread->sth_mtx); in smb_thread_entry_point()
866 ASSERT(thread->sth_state == SMB_THREAD_STATE_STARTING); in smb_thread_entry_point()
867 thread->sth_th = curthread; in smb_thread_entry_point()
868 thread->sth_did = thread->sth_th->t_did; in smb_thread_entry_point()
870 if (!thread->sth_kill) { in smb_thread_entry_point()
871 thread->sth_state = SMB_THREAD_STATE_RUNNING; in smb_thread_entry_point()
872 cv_signal(&thread->sth_cv); in smb_thread_entry_point()
873 mutex_exit(&thread->sth_mtx); in smb_thread_entry_point()
[all …]
/onnv-gate/usr/src/uts/sun4/ml/
H A Dswtch.s103 brnz,pt %o4, 0f ! if user thread skip
107 ! kernel thread
126 ! user thread
157 mov THREAD_REG, %o0 ! delay - arg = thread pointer
162 ! Temporarily switch to idle thread's stack
174 stn %o0, [%i1 + CPU_THREAD] ! set CPU's thread to idle
177 ! Clear and unlock previous thread's t_lock
227 ! if resume from user to kernel thread
229 ! if resume from kernel (or a different user) thread to user thread
288 ! it becomes safe for the thread to run.
[all …]
H A Dproc_init.s123 ! It is very important to have a thread pointer and a cpu struct
135 ldn [%l3 + CPU_THREAD], THREAD_REG ! set thread pointer (%g7)
149 ! Resume the thread allocated for the CPU.
153 ret ! "return" into the thread
/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/ui/
H A DSwingWorker.java40 private Thread thread; field in SwingWorker
59 Thread t = thread; in interrupt()
63 thread = null; in interrupt()
73 t = thread; in get()
99 thread = null; in SwingWorker()
105 thread = new Thread(doConstruct); in SwingWorker()
106 thread.start(); in SwingWorker()
/onnv-gate/usr/src/common/openssl/crypto/
H A Dmem_dbg.c97 unsigned long thread; member
119 unsigned long thread; member
281 return(((const APP_INFO *)a_void)->thread in app_info_cmp()
282 != ((const APP_INFO *)b_void)->thread); in app_info_cmp()
290 ret=(unsigned long)((const APP_INFO *)a_void)->thread; in app_info_hash()
303 tmp.thread=CRYPTO_thread_id(); in pop_info()
314 if (ret->thread != tmp.thread) in pop_info()
317 ret->thread, tmp.thread); in pop_info()
357 ami->thread=CRYPTO_thread_id(); in CRYPTO_push_info_()
367 if (ami->thread != amim->thread) in CRYPTO_push_info_()
[all …]
/onnv-gate/usr/src/uts/common/xen/io/
H A Dxpvtap.c952 xpvtap_user_thread_t *thread; in xpvtap_user_thread_init() local
956 thread = &state->bt_thread; in xpvtap_user_thread_init()
958 mutex_init(&thread->ut_mutex, NULL, MUTEX_DRIVER, NULL); in xpvtap_user_thread_init()
959 cv_init(&thread->ut_wake_cv, NULL, CV_DRIVER, NULL); in xpvtap_user_thread_init()
960 cv_init(&thread->ut_exit_done_cv, NULL, CV_DRIVER, NULL); in xpvtap_user_thread_init()
961 thread->ut_wake = B_FALSE; in xpvtap_user_thread_init()
962 thread->ut_exit = B_FALSE; in xpvtap_user_thread_init()
963 thread->ut_exit_done = B_TRUE; in xpvtap_user_thread_init()
967 thread->ut_taskq = ddi_taskq_create(state->bt_dip, taskqname, 1, in xpvtap_user_thread_init()
969 if (thread->ut_taskq == NULL) { in xpvtap_user_thread_init()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/lib/sample-tests/
H A Dout_of_order1 # From a bungled core thread test.
10 ok 8 - Nested thread test
11 ok 9 - Nested thread test
20 ok 14 - Check so that tid for threads work for main thread
21 ok 15 - Check so that tid for threads work for main thread
/onnv-gate/usr/src/cmd/filebench/workloads/
H A Drandomrw.f45 thread name=rand-r-thread,memsize=5m,instances=$nthreads
50 thread name=rand-w-thread,memsize=5m,instances=$nthreads
H A Dmultistreamwritedirect.f39 thread name=seqwrite1,memsize=10m,instances=$nthreads
44 thread name=seqwrite2,memsize=10m,instances=$nthreads
49 thread name=seqwrite3,memsize=10m,instances=$nthreads
54 thread name=seqwrite4,memsize=10m,instances=$nthreads
H A Dmultistreamreaddirect.f39 thread name=seqread1,memsize=10m,instances=$nthreads
44 thread name=seqread2,memsize=10m,instances=$nthreads
49 thread name=seqread3,memsize=10m,instances=$nthreads
54 thread name=seqread4,memsize=10m,instances=$nthreads
H A Dmultistreamread.f40 thread name=seqread1,memsize=10m,instances=$nthreads
45 thread name=seqread2,memsize=10m,instances=$nthreads
50 thread name=seqread3,memsize=10m,instances=$nthreads
55 thread name=seqread4,memsize=10m,instances=$nthreads
H A Dmultistreamwrite.f40 thread name=seqwrite1,memsize=10m,instances=$nthreads
45 thread name=seqwrite2,memsize=10m,instances=$nthreads
50 thread name=seqwrite3,memsize=10m,instances=$nthreads
55 thread name=seqwrite4,memsize=10m,instances=$nthreads
H A Dcompflow_demo.f60 thread name=user1,memsize=10m,instances=$nthreads
65 thread name=user2,memsize=10m,instances=$nthreads
70 thread name=user3,memsize=10m,instances=$nthreads
H A Doltp.f57 thread name=lgwr,memsize=$memperthread,useism
69 thread name=dbwr,memsize=$memperthread,useism
82 thread name=shadow,memsize=$memperthread,useism
H A Drandomread.f45 thread name=rand-thread,memsize=5m,instances=$nthreads
H A Drandomwrite.f45 thread name=rand-thread,memsize=5m,instances=$nthreads
H A Dvideoserver.f57 thread name=vidwriter,memsize=10m,instances=1
69 thread name=vidreaders,memsize=10m,instances=$nthreads
/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/tests/
H A Dtest_tnf.nawk34 thread = $5;
48 if (int(start[thread "" type]) == 0) {
56 elapsed = time - start[thread "" type];
63 printf("\t\top: %s thread: %d elapsed %f%s%s\n",
64 type, thread, elapsed, val, vchar);
73 start[thread "" type] = 0;
79 start[thread "" type] = time;
/onnv-gate/usr/src/common/openssl/doc/crypto/
H A DERR_remove_state.pod5 ERR_remove_state - free a thread's error queue
15 ERR_remove_state() frees the error queue associated with thread B<pid>.
16 If B<pid> == 0, the current thread will have its error queue removed.
H A Dthreads.pod8 CRYPTO_destroy_dynlockid, CRYPTO_lock - OpenSSL thread support
68 id_function(void) is a function that returns a thread ID, for example
71 ID for each thread (see NOTES below).
130 You can find out if OpenSSL was configured with thread support:
135 // thread support enabled
137 // no thread support
145 different answers in each thread, since that may depend on the machine
149 thread. Red Hat 9 Linux and later use NPTL, which is
/onnv-gate/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/
H A DStatusBar.java59 Thread thread = new Thread(this); in StatusBar() local
60 thread.setDaemon(true); in StatusBar()
61 thread.start(); in StatusBar()
/onnv-gate/usr/src/uts/common/sys/
H A Drwlock_impl.h54 #define RW_WRITE_LOCK(thread) ((uintptr_t)(thread) | RW_WRITE_LOCKED) argument
/onnv-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_thread.h44 kthread_t *thread; member
61 kthread_t *thread; member

123456789