/Zephyr-latest/tests/net/net_pkt/src/ |
D | main.c | 119 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/ |
D | pkt.c | 109 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()
|
D | allocs.c | 44 pkt, atomic_get(&pkt->atomic_ref), str, in allocs_cb()
|
D | conn.c | 179 atomic_get(&pkt->atomic_ref), in tcp_sent_list_cb() 184 pkt, atomic_get(&pkt->atomic_ref), in tcp_sent_list_cb()
|
D | ipv4.c | 46 atomic_get(&ipv4->unicast[i].ipv4.atomic_ref), in ip_address_lifetime_cb()
|
D | ipv6.c | 138 remaining_str, atomic_get(&ipv6->unicast[i].atomic_ref), in address_lifetime_cb()
|
/Zephyr-latest/tests/net/tx_timestamp/src/ |
D | main.c | 204 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/ |
D | net_private.h | 387 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()
|
D | net_pkt.c | 537 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);
|
D | net_if.c | 1930 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/ |
D | main.c | 455 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/ |
D | bridge.c | 392 send_pkt, (int)atomic_get(&send_pkt->atomic_ref)); in bridge_iface_process()
|
D | arp.c | 55 atomic_get(&pkt->atomic_ref) - 1); in arp_entry_cleanup()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_xmc4xxx.c | 531 if (atomic_get(&pkt->atomic_ref) > 1) { in eth_xmc4xxx_handle_tx()
|
/Zephyr-latest/drivers/ethernet/nxp_enet/ |
D | eth_nxp_enet.c | 166 if (pkt && atomic_get(&pkt->atomic_ref) > 0) { in ts_register_tx_event()
|
D | eth_mcux.c | 845 if (pkt && atomic_get(&pkt->atomic_ref) > 0) { in ts_register_tx_event()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_if.h | 63 atomic_t atomic_ref; member
|
D | net_pkt.h | 175 atomic_t atomic_ref; member
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 2435 zassert_equal(ifaddr->atomic_ref, 1, "Ref count is wrong (%ld vs %ld)", in ZTEST() 2436 ifaddr->atomic_ref, 1); in ZTEST()
|