Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c119 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
129 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
150 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
167 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
183 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
202 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
217 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
231 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
418 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
504 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dpkt.c109 PR("%p[%ld]", pkt, atomic_get(&pkt->atomic_ref)); in net_pkt_buffer_info()
116 PR("%p[%ld/%u (%u/%u)]", buf, atomic_get(&pkt->atomic_ref), in net_pkt_buffer_info()
Dallocs.c44 pkt, atomic_get(&pkt->atomic_ref), str, in allocs_cb()
Dconn.c179 atomic_get(&pkt->atomic_ref), in tcp_sent_list_cb()
184 pkt, atomic_get(&pkt->atomic_ref), in tcp_sent_list_cb()
Dipv4.c46 atomic_get(&ipv4->unicast[i].ipv4.atomic_ref), in ip_address_lifetime_cb()
Dipv6.c138 remaining_str, atomic_get(&ipv6->unicast[i].atomic_ref), in address_lifetime_cb()
/Zephyr-latest/tests/net/tx_timestamp/src/
Dmain.c204 zassert_equal(atomic_get(&pkt->atomic_ref), 0, "Pkt %p not released\n"); in test_timestamp_setup()
250 zassert_equal(atomic_get(&pkt->atomic_ref), 0, "Pkt %p not released\n"); in test_timestamp_setup_2nd_iface()
275 zassert_equal(atomic_get(&pkt->atomic_ref), 0, "Pkt %p not released\n"); in test_timestamp_setup_all()
299 zassert_false(atomic_get(&pkt->atomic_ref) < 1, "Pkt %p released\n"); in test_timestamp_cleanup()
/Zephyr-latest/subsys/net/ip/
Dnet_private.h387 printk("%p[%ld]", pkt, atomic_get(&pkt->atomic_ref)); in net_pkt_print_buffer_info()
394 printk("%p[%ld/%u (%u/%u)]", buf, atomic_get(&pkt->atomic_ref), in net_pkt_print_buffer_info()
Dnet_pkt.c537 ref = atomic_get(&pkt->atomic_ref);
555 } while (!atomic_cas(&pkt->atomic_ref, ref, ref - 1));
629 ref = pkt ? atomic_get(&pkt->atomic_ref) : 0;
637 } while (!atomic_cas(&pkt->atomic_ref, ref, ref + 1));
1484 pkt->atomic_ref = ATOMIC_INIT(1);
Dnet_if.c1930 ifaddr->atomic_ref = ATOMIC_INIT(1); in net_if_addr_init()
4340 ifaddr->atomic_ref = ATOMIC_INIT(1); in net_if_ipv4_addr_add()
5181 ref = ifaddr ? atomic_get(&ifaddr->atomic_ref) : 0; in net_if_addr_ref_debug()
5193 } while (!atomic_cas(&ifaddr->atomic_ref, ref, ref + 1)); in net_if_addr_ref_debug()
5246 ref = atomic_get(&ifaddr->atomic_ref); in net_if_addr_unref_debug()
5258 } while (!atomic_cas(&ifaddr->atomic_ref, ref, ref - 1)); in net_if_addr_unref_debug()
/Zephyr-latest/tests/net/arp/src/
Dmain.c455 zassert_equal(atomic_get(&pkt->atomic_ref), 2, in ZTEST()
552 zassert_equal(atomic_get(&pkt->atomic_ref), 1, in ZTEST()
/Zephyr-latest/subsys/net/l2/ethernet/
Dbridge.c392 send_pkt, (int)atomic_get(&send_pkt->atomic_ref)); in bridge_iface_process()
Darp.c55 atomic_get(&pkt->atomic_ref) - 1); in arp_entry_cleanup()
/Zephyr-latest/drivers/ethernet/
Deth_xmc4xxx.c531 if (atomic_get(&pkt->atomic_ref) > 1) { in eth_xmc4xxx_handle_tx()
/Zephyr-latest/drivers/ethernet/nxp_enet/
Deth_nxp_enet.c166 if (pkt && atomic_get(&pkt->atomic_ref) > 0) { in ts_register_tx_event()
Deth_mcux.c845 if (pkt && atomic_get(&pkt->atomic_ref) > 0) { in ts_register_tx_event()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h63 atomic_t atomic_ref; member
Dnet_pkt.h175 atomic_t atomic_ref; member
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c2435 zassert_equal(ifaddr->atomic_ref, 1, "Ref count is wrong (%ld vs %ld)", in ZTEST()
2436 ifaddr->atomic_ref, 1); in ZTEST()