/linux-master/samples/bpf/ |
H A D | xdp_sample_shared.h | 7 size_t dropped; member in struct:datarec
|
H A D | test_cls_bpf.sh | 7 local dropped=`tc -s qdisc show dev $IFC | tail -3 | awk '/drop/{print $7}'` 8 if [ "$dropped" == "0," ]; then 11 echo "Successfully filtered " $dropped " packets"
|
H A D | xdp_sample.bpf.c | 83 NO_TEAR_INC(rec->dropped); 143 NO_TEAR_ADD(rec->dropped, drops); 170 NO_TEAR_ADD(rec->dropped, drops); 200 NO_TEAR_INC(rec->dropped); 226 NO_TEAR_ADD(rec->dropped, drops); 261 NO_TEAR_ADD(rec->dropped, drops);
|
H A D | test_cgrp2_tc.sh | 104 local dropped=$($TC -s qdisc show dev $HOST_IFC | tail -3 | \ 106 if [[ $dropped -eq 0 ]] 111 echo "Successfully filtered $dropped packets"
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | perfbuf_bench.c | 20 long dropped __attribute__((aligned(128))) = 0; variable 30 __sync_add_and_fetch(&dropped, 1);
|
H A D | ringbuf_bench.c | 19 long dropped __attribute__((aligned(128))) = 0; variable 45 __sync_add_and_fetch(&dropped, 1); 57 __sync_add_and_fetch(&dropped, 1);
|
H A D | test_ringbuf.c | 29 long dropped = 0; variable 50 __sync_fetch_and_add(&dropped, 1);
|
H A D | test_ringbuf_multi.c | 53 long dropped = 0; variable 74 dropped += 1;
|
/linux-master/drivers/net/wireless/silabs/wfx/ |
H A D | queue.h | 38 struct sk_buff_head *dropped); 41 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped);
|
H A D | queue.c | 94 struct sk_buff_head *skb_queue, struct sk_buff_head *dropped) 101 skb_queue_head(dropped, skb); 107 struct sk_buff_head *dropped) 109 __wfx_tx_queue_drop(wvif, &queue->normal, dropped); 110 __wfx_tx_queue_drop(wvif, &queue->cab, dropped); 111 __wfx_tx_queue_drop(wvif, &queue->offchan, dropped); 128 void wfx_pending_drop(struct wfx_dev *wdev, struct sk_buff_head *dropped) argument 143 skb_queue_head(dropped, skb); 93 __wfx_tx_queue_drop(struct wfx_vif *wvif, struct sk_buff_head *skb_queue, struct sk_buff_head *dropped) argument 106 wfx_tx_queue_drop(struct wfx_vif *wvif, struct wfx_queue *queue, struct sk_buff_head *dropped) argument
|
H A D | data_tx.c | 546 static void wfx_flush_vif(struct wfx_vif *wvif, u32 queues, struct sk_buff_head *dropped) argument 555 if (dropped) 556 wfx_tx_queue_drop(wvif, queue, dropped); 573 struct sk_buff_head dropped; local 577 skb_queue_head_init(&dropped); 580 wfx_flush_vif(wvif, queues, drop ? &dropped : NULL); 584 wfx_flush_vif(wvif, queues, drop ? &dropped : NULL); 588 wfx_pending_drop(wdev, &dropped); 589 while ((skb = skb_dequeue(&dropped)) != NULL) {
|
/linux-master/kernel/printk/ |
H A D | internal.h | 33 * per line and dropped messages or in extended message format) 123 * @dropped: The number of dropped records from reading @seq. 129 unsigned long dropped; member in struct:printk_message 137 void console_prepend_dropped(struct printk_message *pmsg, unsigned long dropped);
|
H A D | nbcon.c | 854 unsigned long dropped; local 871 * @con->dropped is not protected in case of an unsafe hostile 875 con_dropped = data_race(READ_ONCE(con->dropped)); 877 dropped = con_dropped + pmsg.dropped; 878 if (dropped && !is_extended) 879 console_prepend_dropped(&pmsg, dropped); 884 /* For skipped records just update seq/dropped in @con. */ 907 * Since any dropped message was successfully output, reset the 908 * dropped coun [all...] |
/linux-master/drivers/thunderbolt/ |
H A D | trace.h | 155 TP_PROTO(int index, u8 type, const void *data, size_t size, bool dropped), 156 TP_ARGS(index, type, data, size, dropped), 162 __field(bool, dropped) 169 __entry->dropped = dropped; 171 TP_printk("type=%s, dropped=%u, size=%zd, domain=%d, %s", 172 show_type_name(__entry->type), __entry->dropped,
|
/linux-master/net/batman-adv/ |
H A D | soft-interface.c | 207 goto dropped; 223 goto dropped; 235 goto dropped; 241 goto dropped; 253 goto dropped; 266 goto dropped; 269 goto dropped; 300 goto dropped; 316 goto dropped; 327 goto dropped; [all...] |
H A D | send.h | 19 bool dropped);
|
H A D | fragmentation.c | 33 * @dropped: whether the chain is cleared because all fragments are dropped 37 static void batadv_frag_clear_chain(struct hlist_head *head, bool dropped) argument 45 if (dropped) 253 bool dropped = false; local 270 dropped = true; 292 batadv_frag_clear_chain(chain, dropped);
|
H A D | send.c | 60 * guarantee the frame will be transmitted as it may be dropped due 121 * guarantee the frame will be transmitted as it may be dropped due 136 * guarantee the frame will be transmitted as it may be dropped due 460 * @dropped: whether the packet is freed because is dropped 466 bool dropped) 468 if (dropped) 1058 bool dropped = false; local 1066 dropped = true; 1071 dropped 465 batadv_forw_packet_free(struct batadv_forw_packet *forw_packet, bool dropped) argument [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | ringbuf.c | 68 skel->bss->dropped = 0; 217 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", 218 0L, skel->bss->dropped); 255 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", 256 0L, skel->bss->dropped); 281 skel->bss->dropped = 0; 316 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", 317 0L, skel->bss->dropped);
|
H A D | ringbuf_multi.c | 135 CHECK(skel->bss->dropped != 0, "err_dropped", "exp %ld, got %ld\n", 136 0L, skel->bss->dropped);
|
/linux-master/tools/perf/util/bpf_skel/ |
H A D | sample_filter.bpf.c | 18 int dropped; variable 192 __sync_fetch_and_add(&dropped, 1);
|
/linux-master/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_debugfs.c | 47 (u64)atomic64_read(&ndev->stats.dropped));
|
/linux-master/net/core/ |
H A D | drop_monitor.c | 3 * Monitoring code for network dropped packet alerts 60 u64_stats_t dropped; member in struct:net_dm_stats 513 * packet was dropped. 533 u64_stats_inc(&data->stats.dropped); 1004 u64_stats_inc(&hw_data->stats.dropped); 1447 u64 dropped; local 1451 dropped = u64_stats_read(&cpu_stats->dropped); 1454 u64_stats_add(&stats->dropped, dropped); 1491 u64 dropped; local [all...] |
/linux-master/net/sched/ |
H A D | sch_sfq.c | 349 unsigned int hash, dropped; local 465 dropped = sfq_drop(sch, to_free); 466 /* Return Congestion Notification only if we dropped a packet 470 qdisc_tree_reduce_backlog(sch, 0, dropped - qdisc_pkt_len(skb)); 474 /* As we dropped a packet, better let upper stack know this */ 475 qdisc_tree_reduce_backlog(sch, 1, dropped); 542 int dropped = 0; local 574 dropped++; 601 sch->q.qlen -= dropped; 602 qdisc_tree_reduce_backlog(sch, dropped, drop_le 631 unsigned int qlen, dropped = 0; local [all...] |
/linux-master/sound/firewire/ |
H A D | isight.c | 141 u32 dropped; local 148 dropped = total - isight->total_samples; 149 if (dropped < runtime->buffer_size) { 150 if (isight->buffer_pointer + dropped <= runtime->buffer_size) { 152 0, dropped * 4); 157 memset(runtime->dma_area, 0, (dropped - count1) * 4); 159 isight_update_pointers(isight, dropped);
|