Home
last modified time | relevance | path

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

12345

/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_thread.c63 smb_thread_t *thread) in smb_thread_entry_point() argument
65 ASSERT(thread->sth_magic == SMB_THREAD_MAGIC); in smb_thread_entry_point()
66 mutex_enter(&thread->sth_mtx); in smb_thread_entry_point()
67 ASSERT(thread->sth_state == SMB_THREAD_STATE_STARTING); in smb_thread_entry_point()
69 if (!thread->sth_kill) { in smb_thread_entry_point()
70 thread->sth_state = SMB_THREAD_STATE_RUNNING; in smb_thread_entry_point()
71 cv_signal(&thread->sth_cv); in smb_thread_entry_point()
72 mutex_exit(&thread->sth_mtx); in smb_thread_entry_point()
75 thread->sth_ep(thread, thread->sth_ep_arg); in smb_thread_entry_point()
77 mutex_enter(&thread->sth_mtx); in smb_thread_entry_point()
[all …]
/titanic_44/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
H A Discsid.c50 static void iscsid_thread_static(iscsi_thread_t *thread, void *p);
51 static void iscsid_thread_sendtgts(iscsi_thread_t *thread, void *p);
52 static void iscsid_thread_isns(iscsi_thread_t *thread, void *p);
53 static void iscsid_thread_slp(iscsi_thread_t *thread, void *p);
54 static void iscsid_thread_boot_wd(iscsi_thread_t *thread, void *p);
1683 iscsid_thread_static(iscsi_thread_t *thread, void *p) in iscsid_thread_static() argument
1691 while (iscsi_thread_wait(thread, -1) != 0) { in iscsid_thread_static()
1734 iscsid_thread_sendtgts(iscsi_thread_t *thread, void *p) in iscsid_thread_sendtgts() argument
1741 while (iscsi_thread_wait(thread, -1) != 0) { in iscsid_thread_sendtgts()
1776 iscsid_thread_slp(iscsi_thread_t *thread, void *p) in iscsid_thread_slp() argument
[all …]
/titanic_44/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
H A Dinterrupt.s372 ! See if we are interrupting another interrupt thread.
379 ! We have interrupted an interrupt thread. Take a timestamp,
385 ! We came in on top of an interrupt thread that had no timestamp.
386 ! This could happen if, for instance, an interrupt thread which had
397 ! for the time slice, we want to "atomically" load the thread's
495 ! Push interrupted thread onto list from new thread.
496 ! Set the new thread as the current one.
497 ! Set interrupted thread's T_SP because if it is the idle thread,
760 ! Switch back to the interrupted thread and return
766 ! If we pinned an interrupt thread, store its starting timestamp.
[all …]
/titanic_44/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 …]
/titanic_44/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()
/titanic_44/usr/src/uts/common/sys/
H A Drwlock_impl.h54 #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)
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_thread.h44 kthread_t *thread; member
61 kthread_t *thread; member
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dctxop.c36 kthread_t thread, *tp = &thread; in ctxop_walk_init() local
H A Dtsd.c84 kthread_t thread, *t = &thread; in ttotsd() local
H A Dthread.h50 int thread(uintptr_t, uint_t, int, const mdb_arg_t *);
H A DMakefile.files78 thread.c \
/titanic_44/usr/src/lib/libsqlite/test/
H A Dlock.test156 # If one thread has a transaction another thread cannot start
165 # Nor can the other thread do a query.
172 # If the other thread (the one that does not hold the transaction)
210 # the first thread to release its transaction. That allows the
211 # second thread to continue.
293 # When one thread is writing, other threads cannot read. Except if the
294 # writing thread is writing to its temporary tables, the other threads
H A Dthread1.test23 # Skip this whole file if the thread testing code is not enabled
44 # thread can write the database. In other words:
/titanic_44/usr/src/lib/libc/port/threads/
H A Dpthread.c90 pthread_create(pthread_t *thread, const pthread_attr_t *attr, in pthread_create() argument
141 } else if (thread) { in pthread_create()
142 *thread = tid; in pthread_create()
/titanic_44/usr/src/uts/sparc/asm/
H A DMakefile35 thread.h
/titanic_44/usr/src/uts/intel/asm/
H A DMakefile41 thread.h
/titanic_44/usr/src/uts/sun4v/ml/
H A Dmach_locore.s112 .skip T0STKSZ ! thread 0 stack
131 .skip THREAD_SIZE ! thread 0
307 ! Initialize thread 0's stack.
438 ! buy a window using the current thread's stack
956 brnz,pn %l0, 1f ! can't call kpreempt if this thread is
/titanic_44/usr/src/lib/libfakekernel/
H A DMakefile.com35 thread.o \
/titanic_44/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dmulti_thread_def.h135 struct thread_t thread[NUM_THREADS]; member

12345