/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_futex.c | 134 LIN_SDT_PROBE_DEFINE3(futex, futex_atomic_op, entry, "struct thread *", 142 LIN_SDT_PROBE_DEFINE2(futex, linux_sys_futex, entry, "struct thread *", 168 LIN_SDT_PROBE_DEFINE2(futex, linux_set_robust_list, entry, "struct thread *", 172 LIN_SDT_PROBE_DEFINE2(futex, linux_get_robust_list, entry, "struct thread *", 185 LIN_SDT_PROBE_DEFINE2(futex, release_futexes, entry, "struct thread *", 248 * of futex where thread sleep to wp_list 268 static int futex_atomic_op(struct thread *, int, uint32_t *); 671 futex_atomic_op(struct thread *td, int encoded_op, uint32_t *uaddr) 746 linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args) 1131 linux_set_robust_list(struct thread *t [all...] |
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_base.c | 1900 - Queue processing thread reads queue holding the mutex, but releases it while 3206 struct thread *td;
|
/freebsd-11-stable/contrib/sqlite3/ |
H A D | ltmain.sh | 7073 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ 7186 -thread-safe) 7613 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
|
H A D | configure | 1438 --enable-threadsafe build a thread-safe library [default=yes] 2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2639 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
/freebsd-11-stable/contrib/unbound/ |
H A D | ltmain.sh | 7073 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ 7186 -thread-safe) 7609 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
|
H A D | configure | 1625 --with-solaris-threads use solaris native thread library. 16539 # not on mingw, check thread libraries. 16541 # check for thread library. 16617 # Create a list of thread flags to try. Items starting with a "-" are 16622 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" 16641 # --thread-safe: KAI C++ 17065 # check solaris thread library 17104 for ac_lib in '' thread; do 17180 fi # end of non-mingw check of thread libraries 19580 # in libevent, for thread [all...] |
/freebsd-11-stable/contrib/unbound/contrib/ |
H A D | parseunbound.pl | 5 # every thread. 35 # there is a special key 'thread' that indicates the thread. its not used, but returned anyway. 36 my @records = ('thread', 'queries', 'cachehits', 'recursions', 'recursionavg', 44 # Stats hash containing one or more keys. for every thread, 1 key. 46 my %startstats = (); # when we got a queries entry for this thread 48 # stats hash contains name/value pairs of the actual numbers for that thread. 76 # this line doesn't contain a pid:thread. skip. 81 if ( $line =~ m/info: server stats for thread \d+: (\d+) queries, (\d+) answers from cache, (\d+) recursions/ ) { 83 $allstats{$inthread}->{thread} [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | taskqueue.h | 43 struct thread; 68 * interrupt or waking a kernel thread). 99 int taskqueue_member(struct taskqueue *queue, struct thread *td); 111 * Functions for dedicated thread taskqueues 196 * This queue is serviced by a kernel thread. To enqueue a task, call 199 TASKQUEUE_DECLARE(thread); variable
|
H A D | filedesc.h | 86 int fd_refcnt; /* thread reference count */ 153 struct thread; 161 int closef(struct file *fp, struct thread *td); 162 int dupfdopen(struct thread *td, struct filedesc *fdp, int dfd, int mode, 164 int falloc_caps(struct thread *td, struct file **resultfp, int *resultfd, 166 int falloc_noinstall(struct thread *td, struct file **resultfp); 169 int finstall(struct thread *td, struct file *fp, int *resultfd, int flags, 171 int fdalloc(struct thread *td, int minfd, int *result); 172 int fdallocn(struct thread *td, int minfd, int *fds, int n); 173 int fdcheckstd(struct thread *t [all...] |
/freebsd-11-stable/sys/dev/arcmsr/ |
H A D | arcmsr.c | 237 static int arcmsr_open(struct cdev *dev, int flags, int fmt, struct thread *proc) 251 static int arcmsr_close(struct cdev *dev, int flags, int fmt, struct thread *proc) 265 static int arcmsr_ioctl(struct cdev *dev, u_long ioctl_cmd, caddr_t arg, int flags, struct thread *proc)
|
/freebsd-11-stable/sys/fs/nfsserver/ |
H A D | nfs_nfsdkrpc.c | 319 struct thread *td = curthread; 479 nfsrvd_nfsd(struct thread *td, struct nfsd_nfsd_args *args)
|
/freebsd-11-stable/sys/vm/ |
H A D | vm_fault.c | 210 * possible for the no-NOSYNC thread to see m->dirty 502 struct thread *td; 1801 * the calling thread. Subsequent calls to vm_fault() by that thread will
|
/freebsd-11-stable/sys/kern/ |
H A D | vfs_mount.c | 73 static int vfs_domount(struct thread *td, const char *fstype, char *fspath, 379 sys_nmount(struct thread *td, struct nmount_args *uap) 567 vfs_donmount(struct thread *td, uint64_t fsflags, struct uio *fsoptions) 761 sys_mount(struct thread *td, struct mount_args *uap) 817 struct thread *td, /* Calling thread. */ 941 struct thread *td, /* Calling thread. */ 1094 struct thread *td, /* Calling thread [all...] |
H A D | kern_rmlock.c | 81 static int owner_rm(const struct lock_object *lock, struct thread **owner); 138 struct thread *td; 179 owner_rm(const struct lock_object *lock, struct thread **owner) 218 * Return a count of the number of trackers the thread 'td' already 223 const struct thread *td) 380 * Just grant the lock if this thread already has a tracker 433 struct thread *td = curthread; 473 _rm_unlock_hard(struct thread *td,struct rm_priotracker *tracker) 509 struct thread *td = tracker->rmp_thread; 598 ("rm_wlock() by idle thread [all...] |
H A D | kern_jail.c | 124 static int do_jail_attach(struct thread *td, struct prison *pr); 256 sys_jail(struct thread *td, struct jail_args *uap) 305 kern_jail(struct thread *td, struct jail *j) 467 sys_jail_set(struct thread *td, struct jail_set_args *uap) 485 kern_jail_set(struct thread *td, struct uio *optuio, int flags) 1928 sys_jail_get(struct thread *td, struct jail_get_args *uap) 1949 kern_jail_get(struct thread *td, struct uio *optuio, int flags) 2236 sys_jail_remove(struct thread *td, struct jail_remove_args *uap) 2342 sys_jail_attach(struct thread *td, struct jail_attach_args *uap) 2379 do_jail_attach(struct thread *t [all...] |
H A D | kern_descrip.c | 104 struct thread *td, int holdleaders); 111 static int getmaxfd(struct thread *td); 173 void __read_mostly (*mq_fdclose)(struct thread *td, int fd, struct file *fp); 339 sys_getdtablesize(struct thread *td, struct getdtablesize_args *uap) 371 sys_dup2(struct thread *td, struct dup2_args *uap) 387 sys_dup(struct thread *td, struct dup_args *uap) 405 sys_fcntl(struct thread *td, struct fcntl_args *uap) 412 kern_fcntl_freebsd(struct thread *td, int fd, int cmd, long arg) 479 kern_fcntl(struct thread *td, int fd, int cmd, intptr_t arg) 699 * that the closing thread wa [all...] |
H A D | kern_fork.c | 104 sys_fork(struct thread *td, struct fork_args *uap) 122 sys_pdfork(struct thread *td, struct pdfork_args *uap) 148 sys_vfork(struct thread *td, struct vfork_args *uap) 165 sys_rfork(struct thread *td, struct rfork_args *uap) 345 fork_norfproc(struct thread *td, int flags) 395 do_fork(struct thread *td, struct fork_req *fr, struct proc *p2, struct thread *td2, 493 __rangeof(struct thread, td_startzero, td_endzero)); 499 __rangeof(struct thread, td_startcopy, td_endcopy)); 834 fork1(struct thread *t [all...] |
H A D | kern_event.c | 99 struct thread *td, int waitok); 103 static void kqueue_drain(struct kqueue *kq, struct thread *td); 110 struct kevent *keva, struct thread *td); 138 static void knote_drop(struct knote *kn, struct thread *td); 906 sys_kqueue(struct thread *td, struct kqueue_args *uap) 923 kern_kqueue(struct thread *td, int flags, struct filecaps *fcaps) 970 sys_kevent(struct thread *td, struct kevent_args *uap) 1046 kern_kevent(struct thread *td, int fd, int nchanges, int nevents, 1069 kqueue_kevent(struct kqueue *kq, struct thread *td, int nchanges, int nevents, 1110 kern_kevent_fp(struct thread *t [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_rcu.c | 211 * Pin thread to current CPU so that the unlock code gets the 268 struct thread *td = curthread; 277 * Find the lowest priority or sleeping thread which 280 * go anywhere while the current thread is locked. 293 /* set new thread priority */ 299 * Release the thread lock while yielding to 311 * thread priority so that code gets run. The thread 322 struct thread *td; 360 /* get thread bac [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | sched.h | 65 struct thread *task_thread; 73 pid_t pid; /* BSD thread ID */ 88 struct thread *__td = curthread; \
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_freebsd.c | 1140 netmap_close(struct cdev *dev, int fflag, int devtype, struct thread *td) 1150 netmap_open(struct cdev *dev, int oflags, int devtype, struct thread *td) 1184 /* Userspace thread (kthread creator). */ 1185 struct thread *user_td; 1198 struct thread *worker; 1366 nm_os_selrecord(struct thread *td, struct nm_selinfo *si) 1414 * thread different from the one issuing kevent(). 1421 revents = netmap_poll(priv, events, /*thread=*/NULL); 1452 * This is called when a thread invokes kevent() to record 1494 freebsd_netmap_poll(struct cdev *cdevi __unused, int events, struct thread *t [all...] |
H A D | netmap.c | 43 * 1. a process/thread issues one or more open() on /dev/netmap, to create 67 to the threads themselves. Only one thread at a time can be in 119 during which the thread may incur in a page fault. 136 * > 1. a process/thread issues one or more open() on /dev/netmap, to create 1022 * XXX The file may be closed in a thread while 1023 * another thread is using it. 1225 * is not supposed to touch the ring (using a different thread) 2418 struct thread *td, int nr_body_is_user) 2467 if (priv->np_nifp != NULL) { /* thread already registered */
|
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | mlfk_ipl.c | 72 static int ipfopen(struct cdev*, int, int, struct thread *); 73 static int ipfclose(struct cdev*, int, int, struct thread *); 134 static int ipfpoll(struct cdev *dev, int events, struct thread *td); 430 ipfpoll(struct cdev *dev, int events, struct thread *td) 485 struct thread *p; 525 struct thread *p;
|
H A D | ip_fil_freebsd.c | 281 struct thread *p;
|
H A D | ip_fil.h | 1532 /* thread or process. Does not belong */ 1645 extern int ipfioctl(struct cdev*, u_long, caddr_t, int, struct thread *);
|