Home
last modified time | relevance | path

Searched refs:tdp (Results 1 – 14 of 14) sorted by relevance

/f-stack/lib/include/sys/
H A Dmutex.h69 #define thread_lock_flags_(tdp, opts, file, line) DO_NOTHING argument
70 #define thread_lock(tdp) DO_NOTHING argument
71 #define thread_lock_flags(tdp, opt) DO_NOTHING argument
72 #define thread_unlock(tdp) DO_NOTHING argument
/f-stack/dpdk/examples/pipeline/
H A Dthread.c246 struct pipeline_data *tdp = &td->pipeline_data[td->n_pipelines]; in thread_pipeline_enable() local
254 tdp->p = p->p; in thread_pipeline_enable()
255 tdp->timer_period = in thread_pipeline_enable()
257 tdp->time_next = rte_get_tsc_cycles() + tdp->timer_period; in thread_pipeline_enable()
328 struct pipeline_data *tdp = &td->pipeline_data[i]; in thread_pipeline_disable() local
330 if (tdp->p != p->p) in thread_pipeline_disable()
341 memcpy(tdp, tdp_last, sizeof(*tdp)); in thread_pipeline_disable()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dspa_config.c242 spa_config_dirent_t *dp, *tdp; in spa_write_cachefile() local
282 tdp = list_head(&spa->spa_config_list); in spa_write_cachefile()
284 tdp == NULL || in spa_write_cachefile()
285 tdp->scd_path == NULL || in spa_write_cachefile()
286 strcmp(tdp->scd_path, dp->scd_path) != 0) { in spa_write_cachefile()
335 while ((tdp = list_next(&target->spa_config_list, dp)) != NULL) { in spa_write_cachefile()
336 list_remove(&target->spa_config_list, tdp); in spa_write_cachefile()
337 if (tdp->scd_path != NULL) in spa_write_cachefile()
338 spa_strfree(tdp->scd_path); in spa_write_cachefile()
339 kmem_free(tdp, sizeof (spa_config_dirent_t)); in spa_write_cachefile()
/f-stack/freebsd/sys/
H A Dmutex.h143 #define thread_lock(tdp) \ argument
144 thread_lock_flags_((tdp), 0, __FILE__, __LINE__)
146 #define thread_lock(tdp) \ argument
147 _thread_lock((tdp), 0, __FILE__, __LINE__)
149 #define thread_lock(tdp) \ argument
150 _thread_lock((tdp))
154 #define thread_lock_flags(tdp, opt) \ argument
157 #define thread_lock_flags(tdp, opt) \ argument
158 _thread_lock(tdp)
161 #define thread_unlock(tdp) \ argument
[all …]
/f-stack/freebsd/contrib/openzfs/config/
H A Dkernel-rename.m410 struct inode *tip, struct dentry *tdp,
/f-stack/lib/
H A Dff_compat.c96 struct proc **p, struct thread **tdp, in kproc_kthread_add() argument
105 struct thread **tdp, int flags, int pages, in kthread_add() argument
/f-stack/freebsd/kern/
H A Dvfs_lookup.c794 struct vnode *tdp; /* saved dp */ in lookup() local
1003 tdp = dp; in lookup()
1006 vput(tdp); in lookup()
1066 tdp = dp; in lookup()
1069 vput(tdp); in lookup()
1139 cnp->cn_flags), &tdp); in lookup()
1147 ndp->ni_vp = dp = tdp; in lookup()
H A Dkern_resource.c384 struct thread *tdp; in sys_rtprio() local
422 FOREACH_THREAD_IN_PROC(p, tdp) { in sys_rtprio()
423 pri_to_rtp(tdp, &rtp2); in sys_rtprio()
H A Dsubr_turnstile.c594 struct thread **tdp) in turnstile_lock() argument
610 *tdp = ts->ts_owner; in turnstile_lock()
H A Dkern_thread.c1617 tdfind_hash(lwpid_t tid, pid_t pid, struct proc **pp, struct thread **tdp) in tdfind_hash() argument
1655 *tdp = td; in tdfind_hash()
H A Dkern_cpuset.c887 cpuset_which(cpuwhich_t which, id_t id, struct proc **pp, struct thread **tdp, in cpuset_which() argument
896 *tdp = td = NULL; in cpuset_which()
961 *tdp = td; in cpuset_which()
H A Dvfs_syscalls.c888 struct vnode *vp, *tdp; in sys_fchdir() local
907 error = VFS_ROOT(mp, LK_SHARED, &tdp); in sys_fchdir()
912 vp = tdp; in sys_fchdir()
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_thread.c319 struct pipeline_data *tdp = &td->pipeline_data[td->n_pipelines]; in softnic_thread_pipeline_enable() local
324 tdp->p = p->p; in softnic_thread_pipeline_enable()
326 tdp->table_data[i].a = in softnic_thread_pipeline_enable()
328 tdp->n_tables = p->n_tables; in softnic_thread_pipeline_enable()
330 tdp->msgq_req = p->msgq_req; in softnic_thread_pipeline_enable()
331 tdp->msgq_rsp = p->msgq_rsp; in softnic_thread_pipeline_enable()
332 tdp->timer_period = (rte_get_tsc_hz() * p->timer_period_ms) / 1000; in softnic_thread_pipeline_enable()
333 tdp->time_next = rte_get_tsc_cycles() + tdp->timer_period; in softnic_thread_pipeline_enable()
404 struct pipeline_data *tdp = &td->pipeline_data[i]; in softnic_thread_pipeline_disable() local
406 if (tdp->p != p->p) in softnic_thread_pipeline_disable()
[all …]
/f-stack/dpdk/examples/ip_pipeline/
H A Dthread.c282 struct pipeline_data *tdp = &td->pipeline_data[td->n_pipelines]; in thread_pipeline_enable() local
290 tdp->p = p->p; in thread_pipeline_enable()
292 tdp->table_data[i].a = p->table[i].a; in thread_pipeline_enable()
294 tdp->n_tables = p->n_tables; in thread_pipeline_enable()
296 tdp->msgq_req = p->msgq_req; in thread_pipeline_enable()
297 tdp->msgq_rsp = p->msgq_rsp; in thread_pipeline_enable()
298 tdp->timer_period = (rte_get_tsc_hz() * p->timer_period_ms) / 1000; in thread_pipeline_enable()
299 tdp->time_next = rte_get_tsc_cycles() + tdp->timer_period; in thread_pipeline_enable()
375 struct pipeline_data *tdp = &td->pipeline_data[i]; in thread_pipeline_disable() local
377 if (tdp->p != p->p) in thread_pipeline_disable()
[all …]