Home
last modified time | relevance | path

Searched refs:readwrite_lock (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/lib/librte_hash/
H A Drte_cuckoo_hash.c457 if (h->readwrite_lock == NULL) in rte_hash_create()
460 rte_rwlock_init(h->readwrite_lock); in rte_hash_create()
522 rte_free(h->readwrite_lock); in rte_hash_free()
585 rte_rwlock_write_lock_tm(h->readwrite_lock); in __hash_rw_writer_lock()
587 rte_rwlock_write_lock(h->readwrite_lock); in __hash_rw_writer_lock()
594 rte_rwlock_read_lock_tm(h->readwrite_lock); in __hash_rw_reader_lock()
596 rte_rwlock_read_lock(h->readwrite_lock); in __hash_rw_reader_lock()
603 rte_rwlock_write_unlock_tm(h->readwrite_lock); in __hash_rw_writer_unlock()
605 rte_rwlock_write_unlock(h->readwrite_lock); in __hash_rw_writer_unlock()
612 rte_rwlock_read_unlock_tm(h->readwrite_lock); in __hash_rw_reader_unlock()
[all …]
H A Drte_cuckoo_hash.h216 rte_rwlock_t *readwrite_lock; /**< Read-write lock thread-safety. */ member