/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_thread.c | 63 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 D | iscsi_thread.c | 37 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 D | iscsi_thread.h | 85 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 D | iscsid.c | 50 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 D | swtch.s | 103 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 D | proc_init.s | 123 ! 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 D | interrupt.s | 372 ! 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 D | xpvtap.c | 952 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 D | StatusBar.java | 59 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 D | rwlock_impl.h | 54 #define RW_WRITE_LOCK(thread) ((uintptr_t)(thread) | RW_WRITE_LOCKED) argument
|
H A D | strft.h | 131 void *thread; member 156 _hp->thread = curthread; \
|
H A D | class.h | 103 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 D | emlxs_thread.h | 44 kthread_t *thread; member 61 kthread_t *thread; member
|
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | ctxop.c | 36 kthread_t thread, *tp = &thread; in ctxop_walk_init() local
|
H A D | tsd.c | 84 kthread_t thread, *t = &thread; in ttotsd() local
|
H A D | thread.h | 50 int thread(uintptr_t, uint_t, int, const mdb_arg_t *);
|
H A D | Makefile.files | 78 thread.c \
|
/titanic_44/usr/src/lib/libsqlite/test/ |
H A D | lock.test | 156 # 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 D | thread1.test | 23 # 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 D | pthread.c | 90 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 D | Makefile | 35 thread.h
|
/titanic_44/usr/src/uts/intel/asm/ |
H A D | Makefile | 41 thread.h
|
/titanic_44/usr/src/uts/sun4v/ml/ |
H A D | mach_locore.s | 112 .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 D | Makefile.com | 35 thread.o \
|
/titanic_44/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | multi_thread_def.h | 135 struct thread_t thread[NUM_THREADS]; member
|