Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnft_dynset.c98 READ_ONCE(nft_set_ext_timeout(ext)->timeout) != 0) { in nft_dynset_eval()
100 WRITE_ONCE(nft_set_ext_timeout(ext)->expiration, get_jiffies_64() + timeout); in nft_dynset_eval()
H A Dnf_tables_api.c5819 u64 timeout = READ_ONCE(nft_set_ext_timeout(ext)->timeout); in nf_tables_fill_setelem()
5833 expires = READ_ONCE(nft_set_ext_timeout(ext)->expiration); in nf_tables_fill_setelem()
6507 nft_set_ext_timeout(ext)->timeout = timeout; in nft_set_elem_init()
6512 nft_set_ext_timeout(ext)->expiration = get_jiffies_64() + expiration; in nft_set_elem_init()
7172 if (timeout != nft_set_ext_timeout(ext2)->timeout) { in nft_add_set_elem()
10521 WRITE_ONCE(nft_set_ext_timeout(ext)->timeout, in nf_tables_commit()
10525 WRITE_ONCE(nft_set_ext_timeout(ext)->expiration, in nf_tables_commit()
/linux/include/net/netfilter/
H A Dnf_tables.h817 static inline struct nft_timeout *nft_set_ext_timeout(const struct nft_set_ext *ext) in nft_set_ext_timeout() function
836 READ_ONCE(nft_set_ext_timeout(ext)->timeout) == 0) in __nft_set_elem_expired()
839 return time_after_eq64(tstamp, READ_ONCE(nft_set_ext_timeout(ext)->expiration)); in __nft_set_elem_expired()