Searched refs:task_struct (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.2-release/sys/ofed/include/linux/
H A Dkthread.h45 struct task_struct *task;
58 static inline struct task_struct *
61 struct task_struct *task;
70 struct task_struct *kthread_create(int (*threadfn)(void *data),
77 struct task_struct *_task; \
92 kthread_stop(struct task_struct *task)
H A Dsched.h51 * A task_struct is only provided for those tasks created with kthread.
53 * panics because no task_struct is allocated and td_retval[1] is
56 struct task_struct { struct
65 #define current ((struct task_struct *)curthread->td_retval[1])
66 #define task_struct_get(x) (struct task_struct *)(x)->td_retval[1]
/freebsd-10.2-release/contrib/ipfilter/ipsend/
H A Dlsock.c54 struct task_struct *proc;
97 struct task_struct *getproc()
99 struct task_struct *p, **pp;
115 siz = nproc * sizeof(struct task_struct *);
122 pp = (struct task_struct **)malloc(siz);
129 proc = (struct task_struct *)malloc(siz);
159 struct task_struct *p;
/freebsd-10.2-release/sys/ofed/drivers/infiniband/core/
H A Dfmr_pool.c98 struct task_struct *thread;

Completed in 115 milliseconds