Home
last modified time | relevance | path

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

/dpdk/lib/hash/
H A Drte_cuckoo_hash.c494 h->readwrite_lock = rte_malloc(NULL, sizeof(rte_rwlock_t), in rte_hash_create()
496 if (h->readwrite_lock == NULL) in rte_hash_create()
499 rte_rwlock_init(h->readwrite_lock); in rte_hash_create()
561 rte_free(h->readwrite_lock); in rte_hash_hash()
623 __rte_exclusive_lock_function(&h->readwrite_lock) in __hash_rw_reader_lock()
627 rte_rwlock_write_lock_tm(h->readwrite_lock); in __hash_rw_reader_lock()
629 rte_rwlock_write_lock(h->readwrite_lock);
634 __rte_shared_lock_function(&h->readwrite_lock) in __hash_rw_writer_unlock()
638 rte_rwlock_read_lock_tm(h->readwrite_lock); in __hash_rw_writer_unlock()
640 rte_rwlock_read_lock(h->readwrite_lock);
[all...]
H A Drte_cuckoo_hash.h205 rte_rwlock_t *readwrite_lock; /**< Read-write lock thread-safety. */ member