Home
last modified time | relevance | path

Searched refs:pthread_self (Results 1 – 25 of 37) sorted by relevance

12

/f-stack/freebsd/contrib/openzfs/lib/libzpool/
H A Dkernel.c209 mp->m_owner = pthread_self(); in mutex_enter()
219 mp->m_owner = pthread_self(); in mutex_tryenter()
262 rwlp->rw_owner = pthread_self(); in rw_enter()
291 rwlp->rw_owner = pthread_self(); in rw_tryenter()
340 mp->m_owner = pthread_self(); in cv_wait()
373 mp->m_owner = pthread_self(); in cv_timedwait()
413 mp->m_owner = pthread_self(); in cv_timedwait_hires()
601 (uintmax_t)(uintptr_t)pthread_self()); in __dprintf()
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal_alarm.c89 ap->executing_id = pthread_self(); in eal_alarm_callback()
210 if (pthread_equal(ap->executing_id, pthread_self()) == 0) in rte_eal_alarm_cancel()
231 } else if (pthread_equal(ap->executing_id, pthread_self()) == 0) in rte_eal_alarm_cancel()
H A Deal_thread.c80 thread_id = pthread_self(); in eal_thread_loop()
H A Deal.c989 thread_id = pthread_self(); in rte_eal_init()
1217 if (pthread_setaffinity_np(pthread_self(), sizeof(rte_cpuset_t), in rte_eal_init()
/f-stack/dpdk/lib/librte_eal/freebsd/
H A Deal_alarm.c159 ap->executing_id = pthread_self(); in eal_alarm_callback()
267 pthread_self()) == 0) in rte_eal_alarm_cancel()
289 pthread_self()) == 0) { in rte_eal_alarm_cancel()
H A Deal_thread.c80 thread_id = pthread_self(); in eal_thread_loop()
H A Deal.c689 thread_id = pthread_self(); in rte_eal_init()
853 if (pthread_setaffinity_np(pthread_self(), sizeof(rte_cpuset_t), in rte_eal_init()
H A Deal_interrupts.c728 return pthread_equal(intr_thread, pthread_self()); in rte_thread_is_intr()
/f-stack/freebsd/contrib/openzfs/lib/libuutil/
H A Duu_misc.c194 uu_panic_thread = pthread_self(); in uu_panic()
204 if (uu_panic_thread == pthread_self()) in uu_panic()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_thread_id.c67 return (uint64_t) (uintptr_t) pthread_self(); in ngx_thread_tid()
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/
H A Dstack.h40 rc = pthread_getattr_np(pthread_self(), &attr); in stack_getbounds()
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_thread.c89 if (pthread_setaffinity_np(pthread_self(), sizeof(rte_cpuset_t), in rte_thread_set_affinity()
269 if (pthread_getaffinity_np(pthread_self(), sizeof(cpuset), in rte_thread_register()
H A Deal_common_trace.c362 rte_thread_getname(pthread_self(), name, in __rte_trace_mem_per_thread_alloc()
/f-stack/dpdk/lib/librte_eal/windows/
H A Deal_interrupts.c79 return pthread_equal(intr_thread, pthread_self()); in rte_thread_is_intr()
H A Deal_thread.c67 thread_id = pthread_self(); in eal_thread_loop()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_context.h225 #define curthread ((void *)(uintptr_t)pthread_self())
269 #define MUTEX_HELD(mp) pthread_equal((mp)->m_owner, pthread_self())
297 #define RW_WRITE_HELD(rw) pthread_equal((rw)->rw_owner, pthread_self())
628 #define CPU_SEQID ((uintptr_t)pthread_self() & (max_ncpus - 1))
/f-stack/freebsd/contrib/openzfs/lib/libtpool/
H A Dthread_pool.c106 pthread_t my_tid = pthread_self(); in job_cleanup()
139 active.tpa_tid = pthread_self(); in tpool_worker()
585 pthread_t my_tid = pthread_self(); in tpool_member()
/f-stack/dpdk/examples/performance-thread/pthread_shim/
H A Dmain.c83 (void *)pthread_self()); in helloworld_pthread()
H A Dpthread_shim.c215 get_addr_of_loaded_symbol(pthread_self); in RTE_INIT()
582 pthread_t pthread_self(void) in pthread_self() function
/f-stack/dpdk/lib/librte_eal/windows/include/
H A Dpthread.h46 #define pthread_self() \ macro
/f-stack/dpdk/drivers/bus/dpaa/base/qbman/
H A Dbman_driver.c40 ret = pthread_getaffinity_np(pthread_self(), sizeof(cpu_set_t), in fsl_bman_portal_init()
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dtsd.c326 pthread_t self = pthread_self(); in tsd_init_check_recursion()
H A Dbackground_thread.c512 pthread_setname_np(pthread_self(), "jemalloc_bg_thd");
523 assert(pthread_equal(pthread_self(),
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_mbx.c104 if (pthread_equal(hw->irq_thread_id, pthread_self())) { in hns3_get_mbx_resp()
/f-stack/freebsd/contrib/dev/acpica/os_specific/service_layers/
H A Dosunixxf.c1611 thread = pthread_self(); in AcpiOsGetThreadId()

12