Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnf_log.c22 static struct nf_logger __rcu *loggers[NFPROTO_NUMPROTO][NF_LOG_TYPE_MAX] __read_mostly; variable
34 log = nft_log_dereference(loggers[pf][i]); in __find_logger()
91 if (rcu_access_pointer(loggers[i][logger->type])) { in nf_log_register()
97 rcu_assign_pointer(loggers[i][logger->type], logger); in nf_log_register()
99 if (rcu_access_pointer(loggers[pf][logger->type])) { in nf_log_register()
103 rcu_assign_pointer(loggers[pf][logger->type], logger); in nf_log_register()
119 log = nft_log_dereference(loggers[i][logger->type]); in nf_log_unregister()
121 RCU_INIT_POINTER(loggers[i][logger->type], NULL); in nf_log_unregister()
159 if (pf >= ARRAY_SIZE(loggers)) in nf_logger_find_get()
179 logger = rcu_dereference(loggers[pf][type]); in nf_logger_find_get()
[all …]