/linux-master/net/ipv6/netfilter/ |
H A D | ip6_tables.c | 320 counter = xt_get_this_cpu_counter(&e->counters); 401 e->counters.pcnt = pos; 425 pos = e->counters.pcnt; 426 e->counters.pcnt = 0; 440 e->counters.pcnt = pos; 459 e->counters.pcnt = pos; 545 if (!xt_percpu_counter_alloc(alloc_state, &e->counters)) 584 xt_percpu_counter_free(&e->counters); 647 /* Clear counters and comefrom */ 648 e->counters 756 get_counters(const struct xt_table_info *t, struct xt_counters counters[]) argument 786 get_old_counters(const struct xt_table_info *t, struct xt_counters counters[]) argument 808 struct xt_counters *counters; local 832 struct xt_counters *counters; local 1060 struct xt_counters *counters; local 1229 compat_uptr_t counters; /* struct xt_counters * */ member in struct:compat_ip6t_replace 1234 compat_copy_entry_to_user(struct ip6t_entry *e, void __user **dstptr, unsigned int *size, struct xt_counters *counters, unsigned int i) argument 1562 struct xt_counters *counters; local [all...] |
/linux-master/net/ipv4/netfilter/ |
H A D | arp_tables.c | 230 counter = xt_get_this_cpu_counter(&e->counters); 319 e->counters.pcnt = pos; 345 pos = e->counters.pcnt; 346 e->counters.pcnt = 0; 360 e->counters.pcnt = pos; 379 e->counters.pcnt = pos; 413 if (!xt_percpu_counter_alloc(alloc_state, &e->counters)) 432 xt_percpu_counter_free(&e->counters); 494 /* Clear counters and comefrom */ 495 e->counters 600 get_counters(const struct xt_table_info *t, struct xt_counters counters[]) argument 630 get_old_counters(const struct xt_table_info *t, struct xt_counters counters[]) argument 652 struct xt_counters *counters; local 676 struct xt_counters *counters; local 889 struct xt_counters *counters; local 1061 compat_uptr_t counters; member in struct:compat_arpt_replace 1305 compat_copy_entry_to_user(struct arpt_entry *e, void __user **dstptr, compat_uint_t *size, struct xt_counters *counters, unsigned int i) argument 1343 struct xt_counters *counters; local [all...] |
/linux-master/drivers/gpu/drm/v3d/ |
H A D | v3d_perfmon.c | 40 u32 channel = V3D_SET_FIELD(perfmon->counters[i], V3D_PCTR_S0); 43 channel |= V3D_SET_FIELD(i < ncounters ? perfmon->counters[i] : 0, 46 channel |= V3D_SET_FIELD(i < ncounters ? perfmon->counters[i] : 0, 49 channel |= V3D_SET_FIELD(i < ncounters ? perfmon->counters[i] : 0, 130 /* Number of monitored counters cannot exceed HW limits. */ 135 /* Make sure all counters are valid. */ 137 if (req->counters[i] >= V3D_PERFCNT_NUM) 147 perfmon->counters[i] = req->counters[i];
|
/linux-master/drivers/edac/ |
H A D | edac_device.h | 121 struct edac_device_counter counters; /* basic UE and CE counters */ member in struct:edac_device_block 137 struct edac_device_counter counters; /* instance counters */ member in struct:edac_device_instance 222 /* Event counters for the this whole EDAC Device */ 223 struct edac_device_counter counters; member in struct:edac_device_ctl_info
|
H A D | edac_device.c | 557 block->counters.ce_count += count; 561 instance->counters.ce_count += count; 562 edac_dev->counters.ce_count += count; 603 block->counters.ue_count += count; 607 instance->counters.ue_count += count; 608 edac_dev->counters.ue_count += count;
|
/linux-master/include/linux/netfilter_ipv6/ |
H A D | ip6_tables.h | 44 struct compat_xt_counters counters; member in struct:compat_ip6t_entry
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | Makefile | 7 counters.o \
|
/linux-master/lib/ |
H A D | stackdepot.c | 77 /* Statistics counters for debugfs. */ 87 static long counters[DEPOT_COUNTER_COUNT]; variable 364 counters[DEPOT_COUNTER_FREELIST_SIZE]--; 421 counters[DEPOT_COUNTER_REFD_ALLOCS]++; 422 counters[DEPOT_COUNTER_REFD_INUSE]++; 426 counters[DEPOT_COUNTER_PERSIST_COUNT]++; 427 counters[DEPOT_COUNTER_PERSIST_BYTES] += record_size; 503 counters[DEPOT_COUNTER_FREELIST_SIZE]++; 504 counters[DEPOT_COUNTER_REFD_FREES]++; 505 counters[DEPOT_COUNTER_REFD_INUS [all...] |
/linux-master/drivers/scsi/elx/efct/ |
H A D | efct_xport.c | 105 struct efct_hw_link_stat_counts *counters, void *arg) 110 counters[EFCT_HW_LINK_STAT_LINK_FAILURE_COUNT].counter; 112 counters[EFCT_HW_LINK_STAT_LOSS_OF_SYNC_COUNT].counter; 114 counters[EFCT_HW_LINK_STAT_PRIMITIVE_SEQ_COUNT].counter; 116 counters[EFCT_HW_LINK_STAT_INVALID_XMIT_WORD_COUNT].counter; 118 counters[EFCT_HW_LINK_STAT_CRC_COUNT].counter; 125 struct efct_hw_host_stat_counts *counters, void *arg) 130 counters[EFCT_HW_HOST_STAT_TX_KBYTE_COUNT].counter; 132 counters[EFCT_HW_HOST_STAT_RX_KBYTE_COUNT].counter; 134 counters[EFCT_HW_HOST_STAT_TX_FRAME_COUN 104 efct_xport_link_stats_cb(int status, u32 num_counters, struct efct_hw_link_stat_counts *counters, void *arg) argument 124 efct_xport_host_stats_cb(int status, u32 num_counters, struct efct_hw_host_stat_counts *counters, void *arg) argument 142 efct_xport_async_link_stats_cb(int status, u32 num_counters, struct efct_hw_link_stat_counts *counters, void *arg) argument 161 efct_xport_async_host_stats_cb(int status, u32 num_counters, struct efct_hw_host_stat_counts *counters, void *arg) argument [all...] |
/linux-master/drivers/infiniband/hw/qib/ |
H A D | qib_fs.c | 143 /* read the per-device counters */ 147 u64 *counters; local 151 avail = dd->f_read_cntrs(dd, *ppos, NULL, &counters); 152 return simple_read_from_buffer(buf, count, ppos, counters, avail); 155 /* read the per-device counters */ 189 /* read the per-port counters for port 1 (pidx 0) */ 193 u64 *counters; local 197 avail = dd->f_read_portcntrs(dd, *ppos, 0, NULL, &counters); 198 return simple_read_from_buffer(buf, count, ppos, counters, avail); 201 /* read the per-port counters fo 205 u64 *counters; local [all...] |
/linux-master/drivers/net/wireless/ti/wl18xx/ |
H A D | tx.c | 144 hlid = wl->fw_status->counters.hlid; 148 wl->fw_status->counters.tx_last_rate; 150 wl->fw_status->counters.tx_last_rate_mbps;
|
H A D | wl18xx.h | 150 struct wl18xx_fw_packet_counters counters; member in struct:wl18xx_fw_status
|
/linux-master/include/uapi/linux/netfilter_ipv4/ |
H A D | ip_tables.h | 120 /* Packet and byte counters. */ 121 struct xt_counters counters; member in struct:ipt_entry 200 /* Number of counters (must be equal to current number of entries). */ 202 /* The old entries' counters. */ 203 struct xt_counters __user *counters; member in struct:ipt_replace
|
/linux-master/include/uapi/linux/netfilter_arp/ |
H A D | arp_tables.h | 108 /* Packet and byte counters. */ 109 struct xt_counters counters; member in struct:arpt_entry 178 /* Number of counters (must be equal to current number of entries). */ 180 /* The old entries' counters. */ 181 struct xt_counters __user *counters; member in struct:arpt_replace
|
/linux-master/drivers/net/wireless/ti/wl12xx/ |
H A D | wl12xx.h | 144 struct wl12xx_fw_packet_counters counters; member in struct:wl12xx_fw_status
|
/linux-master/include/linux/netfilter_ipv4/ |
H A D | ip_tables.h | 79 struct compat_xt_counters counters; member in struct:compat_ipt_entry
|
/linux-master/include/linux/netfilter_arp/ |
H A D | arp_tables.h | 68 struct compat_xt_counters counters; member in struct:compat_arpt_entry
|
/linux-master/drivers/gpu/drm/msm/adreno/ |
H A D | a5xx_preempt.c | 226 void *counters; local 237 /* The buffer to store counters needs to be unprivileged */ 238 counters = msm_gem_kernel_new(gpu->dev, 241 if (IS_ERR(counters)) { 243 return PTR_ERR(counters);
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | index.h | 77 void uds_get_index_stats(struct uds_index *index, struct uds_index_stats *counters);
|
/linux-master/drivers/comedi/drivers/ |
H A D | addi_apci_1564.c | 31 * - 3 32-bit counters 65 * FIXME: The operation of the counters is not really described in the 147 * devpriv->counters Register Map (see addi_tcw.h for register/bit defines) 164 unsigned long counters; /* base address of 32-bit counters */ member in struct:apci1564_private 191 if (devpriv->counters) { 192 unsigned long iobase = devpriv->counters + ADDI_TCW_CTRL_REG; 237 if (devpriv->counters) { 241 iobase = devpriv->counters + APCI1564_COUNTER(chan); 579 unsigned long iobase = devpriv->counters [all...] |
/linux-master/mm/kfence/ |
H A D | core.c | 168 /* Statistics counters for debugfs. */ 180 static atomic_long_t counters[KFENCE_COUNTER_COUNT]; variable 199 return atomic_long_read(&counters[KFENCE_COUNTER_ALLOCATED]) > thresh; 317 atomic_long_inc(&counters[KFENCE_COUNTER_BUGS]); 410 atomic_long_inc(&counters[KFENCE_COUNTER_SKIP_CAPACITY]); 484 atomic_long_inc(&counters[KFENCE_COUNTER_ALLOCATED]); 485 atomic_long_inc(&counters[KFENCE_COUNTER_ALLOCS]); 500 atomic_long_inc(&counters[KFENCE_COUNTER_BUGS]); 551 atomic_long_dec(&counters[KFENCE_COUNTER_ALLOCATED]); 552 atomic_long_inc(&counters[KFENCE_COUNTER_FREE [all...] |
/linux-master/drivers/crypto/nx/ |
H A D | nx-common-pseries.c | 129 struct ibm_nx842_counters *counters; member in struct:nx842_devdata 142 atomic64_inc(&dev->counters->_x); \ 401 ibm_nx842_incr_hist(local_devdata->counters->comp_times, 532 ibm_nx842_incr_hist(local_devdata->counters->decomp_times, 767 new_devdata->counters = old_devdata->counters; 887 atomic64_read(&local_devdata->counters->_name)); \ 930 times = local_devdata->counters->comp_times; 932 times = local_devdata->counters->decomp_times; 1041 new_devdata->counters [all...] |
/linux-master/arch/mips/kernel/ |
H A D | perf_event_mipsxx.c | 43 * MIPS CPUs vary in performance counters. They use this differently, 56 * MIPS performance counters are indexed starting from 0. 57 * CNTR_EVEN indicates the indexes of the counters to be used are 144 static unsigned int counters_total_to_per_cpu(unsigned int counters) argument 146 return counters >> vpe_shift(); 198 * The counters are unsigned, we must cast to truncate 332 * even and odd counters, whereas many other are only by 333 * even _or_ odd counters. This introduces an issue that 554 /* Don't read disabled counters! */ 570 * MIPS performance counters ca 815 int counters; local 837 int counters = (int)(long)arg; local 909 int counters = (int)(long)arg; local 1577 unsigned int counters = mipspmu.num_counters; local 1893 int counters, irq, pmu_type; local [all...] |
/linux-master/include/uapi/linux/netfilter_ipv6/ |
H A D | ip6_tables.h | 124 /* Packet and byte counters. */ 125 struct xt_counters counters; member in struct:ip6t_entry 240 /* Number of counters (must be equal to current number of entries). */ 242 /* The old entries' counters. */ 243 struct xt_counters __user *counters; member in struct:ip6t_replace
|
/linux-master/include/uapi/linux/netfilter_bridge/ |
H A D | ebtables.h | 53 /* nr of counters userspace expects back */ 55 /* where the kernel will put the old counters */ 56 struct ebt_counter __user *counters; member in struct:ebt_replace 69 /* nr of counters userspace expects back */ 71 /* where the kernel will put the old counters */ 72 struct ebt_counter *counters; member in struct:ebt_replace_kernel
|