DOKK / manpages / debian 13 / dpdk-doc / rte_mcfg_mem_write_unlock.3.en
rte_eal_memconfig.h(3) Library Functions Manual rte_eal_memconfig.h(3)

rte_eal_memconfig.h

#include <stdbool.h>
#include <rte_rwlock.h>
#include <rte_spinlock.h>


__rte_internal rte_rwlock_t * rte_mcfg_mem_get_lock (void)
void rte_mcfg_mem_read_lock (void)
void rte_mcfg_mem_read_unlock (void)
void rte_mcfg_mem_write_lock (void)
void rte_mcfg_mem_write_unlock (void)
void rte_mcfg_tailq_read_lock (void)
void rte_mcfg_tailq_read_unlock (void)
void rte_mcfg_tailq_write_lock (void)
void rte_mcfg_tailq_write_unlock (void)
void rte_mcfg_mempool_read_lock (void)
void rte_mcfg_mempool_read_unlock (void)
void rte_mcfg_mempool_write_lock (void)
void rte_mcfg_mempool_write_unlock (void)
void rte_mcfg_timer_lock (void)
void rte_mcfg_timer_unlock (void)
bool rte_mcfg_get_single_file_segments (void)

This API allows access to EAL shared memory configuration through an API.

Definition in file rte_eal_memconfig.h.

Internal helpers used for lock annotations.

Lock the internal EAL shared memory configuration for shared access.

Unlock the internal EAL shared memory configuration for shared access.

Lock the internal EAL shared memory configuration for exclusive access.

Unlock the internal EAL shared memory configuration for exclusive access.

Lock the internal EAL TAILQ list for shared access.

Unlock the internal EAL TAILQ list for shared access.

Lock the internal EAL TAILQ list for exclusive access.

Unlock the internal EAL TAILQ list for exclusive access.

Lock the internal EAL Mempool list for shared access.

Unlock the internal EAL Mempool list for shared access.

Lock the internal EAL Mempool list for exclusive access.

Unlock the internal EAL Mempool list for exclusive access.

Lock the internal EAL Timer Library lock for exclusive access.

Unlock the internal EAL Timer Library lock for exclusive access.

If true, pages are put in single files (per memseg list), as opposed to creating a file per page.

Generated automatically by Doxygen for DPDK from the source code.

Version 24.11.3 DPDK