Home
last modified time | relevance | path

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

/external/strace/tests-m32/
Dnet-tpacket_stats.c10 struct tp_stats { struct
17 struct tp_stats *tpstats = optval; in get_tpacket_stats() argument
41 if (optlen > offsetof(struct tp_stats, tp_drops)) { in get_tpacket_stats()
42 optlen -= offsetof(struct tp_stats, tp_drops); in get_tpacket_stats()
49 if (optlen > offsetof(struct tp_stats, tp_freeze_q_cnt) - in get_tpacket_stats()
50 offsetof(struct tp_stats, tp_drops)) { in get_tpacket_stats()
51 optlen -= offsetof(struct tp_stats, tp_freeze_q_cnt) - in get_tpacket_stats()
52 offsetof(struct tp_stats, tp_drops); in get_tpacket_stats()
72 TAIL_ALLOC_OBJECT_CONST_PTR(struct tp_stats, tp_stats); in main()
76 const unsigned int offset_tp_packets = offsetofend(struct tp_stats, tp_packets); in main()
[all …]
/external/strace/tests/
Dnet-tpacket_stats.c10 struct tp_stats { struct
17 struct tp_stats *tpstats = optval; in get_tpacket_stats() argument
41 if (optlen > offsetof(struct tp_stats, tp_drops)) { in get_tpacket_stats()
42 optlen -= offsetof(struct tp_stats, tp_drops); in get_tpacket_stats()
49 if (optlen > offsetof(struct tp_stats, tp_freeze_q_cnt) - in get_tpacket_stats()
50 offsetof(struct tp_stats, tp_drops)) { in get_tpacket_stats()
51 optlen -= offsetof(struct tp_stats, tp_freeze_q_cnt) - in get_tpacket_stats()
52 offsetof(struct tp_stats, tp_drops); in get_tpacket_stats()
72 TAIL_ALLOC_OBJECT_CONST_PTR(struct tp_stats, tp_stats); in main()
76 const unsigned int offset_tp_packets = offsetofend(struct tp_stats, tp_packets); in main()
[all …]
/external/strace/tests-mx32/
Dnet-tpacket_stats.c10 struct tp_stats { struct
17 struct tp_stats *tpstats = optval; in get_tpacket_stats() argument
41 if (optlen > offsetof(struct tp_stats, tp_drops)) { in get_tpacket_stats()
42 optlen -= offsetof(struct tp_stats, tp_drops); in get_tpacket_stats()
49 if (optlen > offsetof(struct tp_stats, tp_freeze_q_cnt) - in get_tpacket_stats()
50 offsetof(struct tp_stats, tp_drops)) { in get_tpacket_stats()
51 optlen -= offsetof(struct tp_stats, tp_freeze_q_cnt) - in get_tpacket_stats()
52 offsetof(struct tp_stats, tp_drops); in get_tpacket_stats()
72 TAIL_ALLOC_OBJECT_CONST_PTR(struct tp_stats, tp_stats); in main()
76 const unsigned int offset_tp_packets = offsetofend(struct tp_stats, tp_packets); in main()
[all …]
/external/strace/
Dnet.c679 struct tp_stats { in print_tpacket_stats() struct
700 if (len > offsetof(struct tp_stats, tp_drops)) { in print_tpacket_stats()
701 len -= offsetof(struct tp_stats, tp_drops); in print_tpacket_stats()
709 if (len > offsetof(struct tp_stats, tp_freeze_q_cnt) - in print_tpacket_stats()
710 offsetof(struct tp_stats, tp_drops)) { in print_tpacket_stats()
711 len -= offsetof(struct tp_stats, tp_freeze_q_cnt) - in print_tpacket_stats()
712 offsetof(struct tp_stats, tp_drops); in print_tpacket_stats()