counts            258 arch/ia64/kernel/smp.c 	unsigned short *counts = __ia64_per_cpu_var(shadow_flush_counts);
counts            266 arch/ia64/kernel/smp.c 		counts[cpu] = local_tlb_flush_counts[cpu].count & 0xffff;
counts            280 arch/ia64/kernel/smp.c 		while(counts[cpu] == (local_tlb_flush_counts[cpu].count & 0xffff))
counts           1137 arch/powerpc/mm/numa.c 		u8 *counts = vphn_cpu_change_counts[cpu];
counts           1141 arch/powerpc/mm/numa.c 			counts[i] = hypervisor_counts[i];
counts           1163 arch/powerpc/mm/numa.c 		u8 *counts = vphn_cpu_change_counts[cpu];
counts           1167 arch/powerpc/mm/numa.c 			if (hypervisor_counts[i] != counts[i]) {
counts           1168 arch/powerpc/mm/numa.c 				counts[i] = hypervisor_counts[i];
counts            230 arch/powerpc/platforms/pseries/msi.c 	struct msi_counts *counts = data;
counts            240 arch/powerpc/platforms/pseries/msi.c 		counts->num_devices++;
counts            247 arch/powerpc/platforms/pseries/msi.c 	struct msi_counts *counts = data;
counts            251 arch/powerpc/platforms/pseries/msi.c 	if (dn == counts->requestor)
counts            252 arch/powerpc/platforms/pseries/msi.c 		req = counts->request;
counts            266 arch/powerpc/platforms/pseries/msi.c 	if (req < counts->quota)
counts            267 arch/powerpc/platforms/pseries/msi.c 		counts->spare += counts->quota - req;
counts            268 arch/powerpc/platforms/pseries/msi.c 	else if (req > counts->quota)
counts            269 arch/powerpc/platforms/pseries/msi.c 		counts->over_quota++;
counts            277 arch/powerpc/platforms/pseries/msi.c 	struct msi_counts counts;
counts            294 arch/powerpc/platforms/pseries/msi.c 	memset(&counts, 0, sizeof(struct msi_counts));
counts            297 arch/powerpc/platforms/pseries/msi.c 	pci_traverse_device_nodes(pe_dn, count_non_bridge_devices, &counts);
counts            299 arch/powerpc/platforms/pseries/msi.c 	if (counts.num_devices == 0) {
counts            305 arch/powerpc/platforms/pseries/msi.c 	counts.quota = total / counts.num_devices;
counts            306 arch/powerpc/platforms/pseries/msi.c 	if (request <= counts.quota)
counts            310 arch/powerpc/platforms/pseries/msi.c 	counts.requestor = pci_device_to_OF_node(dev);
counts            311 arch/powerpc/platforms/pseries/msi.c 	counts.request = request;
counts            312 arch/powerpc/platforms/pseries/msi.c 	pci_traverse_device_nodes(pe_dn, count_spare_msis, &counts);
counts            316 arch/powerpc/platforms/pseries/msi.c 	counts.spare += total % counts.num_devices;
counts            319 arch/powerpc/platforms/pseries/msi.c 	if (counts.over_quota)
counts            320 arch/powerpc/platforms/pseries/msi.c 		counts.quota += counts.spare / counts.over_quota;
counts            323 arch/powerpc/platforms/pseries/msi.c 	request = min(counts.quota, request);
counts           1835 arch/x86/events/intel/ds.c 	short counts[INTEL_PMC_IDX_FIXED + MAX_FIXED_PEBS_EVENTS] = {};
counts           1870 arch/x86/events/intel/ds.c 				counts[bit]++;
counts           1913 arch/x86/events/intel/ds.c 		counts[bit]++;
counts           1917 arch/x86/events/intel/ds.c 		if ((counts[bit] == 0) && (error[bit] == 0))
counts           1935 arch/x86/events/intel/ds.c 		if (counts[bit]) {
counts           1937 arch/x86/events/intel/ds.c 					       top, bit, counts[bit],
counts           1945 arch/x86/events/intel/ds.c 	short counts[INTEL_PMC_IDX_FIXED + MAX_FIXED_PEBS_EVENTS] = {};
counts           1977 arch/x86/events/intel/ds.c 			counts[bit]++;
counts           1981 arch/x86/events/intel/ds.c 		if (counts[bit] == 0)
counts           1992 arch/x86/events/intel/ds.c 				       top, bit, counts[bit],
counts            934 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 				struct residency_counts *counts)
counts           1040 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	counts->miss_before = miss_before;
counts           1041 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	counts->hits_before = hits_before;
counts           1042 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	counts->miss_after  = miss_after;
counts           1043 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	counts->hits_after  = hits_after;
counts           1050 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	struct residency_counts counts = {0};
counts           1072 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	measure_residency_fn(&perf_miss_attr, &perf_hit_attr, plr, &counts);
counts           1077 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	trace_pseudo_lock_l2(counts.hits_after - counts.hits_before,
counts           1078 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 			     counts.miss_after - counts.miss_before);
counts           1088 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	struct residency_counts counts = {0};
counts           1111 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	measure_residency_fn(&perf_miss_attr, &perf_hit_attr, plr, &counts);
counts           1117 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	counts.miss_after -= counts.miss_before;
counts           1127 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 		counts.hits_after -= counts.hits_before;
counts           1129 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 		counts.hits_after -= min(counts.miss_after, counts.hits_after);
counts           1131 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 		counts.hits_after -= counts.hits_before;
counts           1134 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	trace_pseudo_lock_l3(counts.hits_after, counts.miss_after);
counts           1439 drivers/counter/104-quad-8.c 	quad8iio->counter.counts = quad8_counts;
counts           1079 drivers/counter/counter.c 		count = counter->counts + i;
counts            312 drivers/counter/ftm-quaddec.c 	ftm->counter.counts = &ftm_quaddec_counts;
counts            666 drivers/counter/stm32-lptimer-cnt.c 		priv->counter.counts = &stm32_lptim_enc_counts;
counts            669 drivers/counter/stm32-lptimer-cnt.c 		priv->counter.counts = &stm32_lptim_in1_counts;
counts            362 drivers/counter/stm32-timer-cnt.c 	priv->counter.counts = &stm32_counts;
counts            115 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c 	int i, ret = 0, counts;
counts            122 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c 	counts = atomic_read(&dpu_kms->irq_obj.enable_counts[irq_idxs[0]]);
counts            123 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c 	if (counts)
counts            124 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c 		DRM_ERROR("irq_idx=%d enable_count=%d\n", irq_idxs[0], counts);
counts            170 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c 	int i, ret = 0, counts;
counts            177 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c 	counts = atomic_read(&dpu_kms->irq_obj.enable_counts[irq_idxs[0]]);
counts            178 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c 	if (counts == 2)
counts            179 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c 		DRM_ERROR("irq_idx=%d enable_count=%d\n", irq_idxs[0], counts);
counts           1230 drivers/infiniband/hw/hfi1/firmware.c 			u64 counts = read_csr(dd, ASIC_STS_SBUS_COUNTERS);
counts           1237 drivers/infiniband/hw/hfi1/firmware.c 			    (SBUS_COUNTER(counts, RCV_DATA_VALID) ==
counts           1238 drivers/infiniband/hw/hfi1/firmware.c 			     SBUS_COUNTER(counts, EXECUTE)))
counts             58 drivers/input/evdev.c 	static const size_t counts[EV_CNT] = {
counts             71 drivers/input/evdev.c 	return (type < EV_CNT) ? counts[type] : 0;
counts             38 drivers/md/dm-table.c 	unsigned int counts[MAX_DEPTH];	/* in nodes */
counts            112 drivers/md/dm-table.c 	if (n >= t->counts[l])
counts            127 drivers/md/dm-table.c 	for (n = 0U; n < t->counts[l]; n++) {
counts           1151 drivers/md/dm-table.c 		t->counts[i] = dm_div_up(t->counts[i + 1], CHILDREN_PER_NODE);
counts           1152 drivers/md/dm-table.c 		total += t->counts[i];
counts           1162 drivers/md/dm-table.c 		indexes += (KEYS_PER_NODE * t->counts[i]);
counts           1182 drivers/md/dm-table.c 	t->counts[t->depth - 1] = leaf_nodes;
counts            932 drivers/md/md-bitmap.c 	unsigned long chunk = block >> bitmap->counts.chunkshift;
counts            961 drivers/md/md-bitmap.c 	unsigned long chunk = block >> bitmap->counts.chunkshift;
counts            989 drivers/md/md-bitmap.c 	unsigned long chunk = block >> bitmap->counts.chunkshift;
counts           1071 drivers/md/md-bitmap.c 	chunks = bitmap->counts.chunks;
counts           1080 drivers/md/md-bitmap.c 			int needed = ((sector_t)(i+1) << (bitmap->counts.chunkshift)
counts           1083 drivers/md/md-bitmap.c 						  (sector_t)i << bitmap->counts.chunkshift,
counts           1161 drivers/md/md-bitmap.c 			int needed = ((sector_t)(i+1) << bitmap->counts.chunkshift
counts           1164 drivers/md/md-bitmap.c 						  (sector_t)i << bitmap->counts.chunkshift,
counts           1236 drivers/md/md-bitmap.c 	struct bitmap_counts *counts;
counts           1290 drivers/md/md-bitmap.c 	counts = &bitmap->counts;
counts           1291 drivers/md/md-bitmap.c 	spin_lock_irq(&counts->lock);
counts           1293 drivers/md/md-bitmap.c 	for (j = 0; j < counts->chunks; j++) {
counts           1295 drivers/md/md-bitmap.c 		sector_t  block = (sector_t)j << counts->chunkshift;
counts           1299 drivers/md/md-bitmap.c 			if (!counts->bp[j >> PAGE_COUNTER_SHIFT].pending) {
counts           1303 drivers/md/md-bitmap.c 			counts->bp[j >> PAGE_COUNTER_SHIFT].pending = 0;
counts           1306 drivers/md/md-bitmap.c 		bmc = md_bitmap_get_counter(counts, block, &blocks, 0);
counts           1314 drivers/md/md-bitmap.c 			md_bitmap_count_page(counts, block, -1);
counts           1318 drivers/md/md-bitmap.c 			md_bitmap_set_pending(counts, block);
counts           1322 drivers/md/md-bitmap.c 	spin_unlock_irq(&counts->lock);
counts           1416 drivers/md/md-bitmap.c 		spin_lock_irq(&bitmap->counts.lock);
counts           1417 drivers/md/md-bitmap.c 		bmc = md_bitmap_get_counter(&bitmap->counts, offset, &blocks, 1);
counts           1419 drivers/md/md-bitmap.c 			spin_unlock_irq(&bitmap->counts.lock);
counts           1431 drivers/md/md-bitmap.c 			spin_unlock_irq(&bitmap->counts.lock);
counts           1440 drivers/md/md-bitmap.c 			md_bitmap_count_page(&bitmap->counts, offset, 1);
counts           1448 drivers/md/md-bitmap.c 		spin_unlock_irq(&bitmap->counts.lock);
counts           1478 drivers/md/md-bitmap.c 		spin_lock_irqsave(&bitmap->counts.lock, flags);
counts           1479 drivers/md/md-bitmap.c 		bmc = md_bitmap_get_counter(&bitmap->counts, offset, &blocks, 0);
counts           1481 drivers/md/md-bitmap.c 			spin_unlock_irqrestore(&bitmap->counts.lock, flags);
counts           1500 drivers/md/md-bitmap.c 			md_bitmap_set_pending(&bitmap->counts, offset);
counts           1503 drivers/md/md-bitmap.c 		spin_unlock_irqrestore(&bitmap->counts.lock, flags);
counts           1522 drivers/md/md-bitmap.c 	spin_lock_irq(&bitmap->counts.lock);
counts           1523 drivers/md/md-bitmap.c 	bmc = md_bitmap_get_counter(&bitmap->counts, offset, blocks, 0);
counts           1537 drivers/md/md-bitmap.c 	spin_unlock_irq(&bitmap->counts.lock);
counts           1574 drivers/md/md-bitmap.c 	spin_lock_irqsave(&bitmap->counts.lock, flags);
counts           1575 drivers/md/md-bitmap.c 	bmc = md_bitmap_get_counter(&bitmap->counts, offset, blocks, 0);
counts           1586 drivers/md/md-bitmap.c 				md_bitmap_set_pending(&bitmap->counts, offset);
counts           1592 drivers/md/md-bitmap.c 	spin_unlock_irqrestore(&bitmap->counts.lock, flags);
counts           1632 drivers/md/md-bitmap.c 	sector &= ~((1ULL << bitmap->counts.chunkshift) - 1);
counts           1673 drivers/md/md-bitmap.c 	spin_lock_irq(&bitmap->counts.lock);
counts           1674 drivers/md/md-bitmap.c 	bmc = md_bitmap_get_counter(&bitmap->counts, offset, &secs, 1);
counts           1676 drivers/md/md-bitmap.c 		spin_unlock_irq(&bitmap->counts.lock);
counts           1681 drivers/md/md-bitmap.c 		md_bitmap_count_page(&bitmap->counts, offset, 1);
counts           1682 drivers/md/md-bitmap.c 		md_bitmap_set_pending(&bitmap->counts, offset);
counts           1687 drivers/md/md-bitmap.c 	spin_unlock_irq(&bitmap->counts.lock);
counts           1696 drivers/md/md-bitmap.c 		sector_t sec = (sector_t)chunk << bitmap->counts.chunkshift;
counts           1757 drivers/md/md-bitmap.c 	bp = bitmap->counts.bp;
counts           1758 drivers/md/md-bitmap.c 	pages = bitmap->counts.pages;
counts           1834 drivers/md/md-bitmap.c 	spin_lock_init(&bitmap->counts.lock);
counts           1887 drivers/md/md-bitmap.c 		 bitmap->counts.pages, bmname(bitmap));
counts           1986 drivers/md/md-bitmap.c 	struct bitmap_counts *counts;
counts           1995 drivers/md/md-bitmap.c 	counts = &bitmap->counts;
counts           1996 drivers/md/md-bitmap.c 	for (j = 0; j < counts->chunks; j++) {
counts           1997 drivers/md/md-bitmap.c 		block = (sector_t)j << counts->chunkshift;
counts           2029 drivers/md/md-bitmap.c 	struct bitmap_counts *counts;
counts           2034 drivers/md/md-bitmap.c 	counts = &bitmap->counts;
counts           2039 drivers/md/md-bitmap.c 		   counts->pages - counts->missing_pages,
counts           2040 drivers/md/md-bitmap.c 		   counts->pages,
counts           2041 drivers/md/md-bitmap.c 		   (counts->pages - counts->missing_pages)
counts           2092 drivers/md/md-bitmap.c 			bytes = DIV_ROUND_UP(bitmap->counts.chunks, 8);
counts           2098 drivers/md/md-bitmap.c 		chunkshift = bitmap->counts.chunkshift;
counts           2142 drivers/md/md-bitmap.c 	spin_lock_irq(&bitmap->counts.lock);
counts           2146 drivers/md/md-bitmap.c 	old_counts = bitmap->counts;
counts           2147 drivers/md/md-bitmap.c 	bitmap->counts.bp = new_bp;
counts           2148 drivers/md/md-bitmap.c 	bitmap->counts.pages = pages;
counts           2149 drivers/md/md-bitmap.c 	bitmap->counts.missing_pages = pages;
counts           2150 drivers/md/md-bitmap.c 	bitmap->counts.chunkshift = chunkshift;
counts           2151 drivers/md/md-bitmap.c 	bitmap->counts.chunks = chunks;
counts           2162 drivers/md/md-bitmap.c 			ret = md_bitmap_checkpage(&bitmap->counts, page, 1, 1);
counts           2173 drivers/md/md-bitmap.c 				bitmap->counts.bp = old_counts.bp;
counts           2174 drivers/md/md-bitmap.c 				bitmap->counts.pages = old_counts.pages;
counts           2175 drivers/md/md-bitmap.c 				bitmap->counts.missing_pages = old_counts.pages;
counts           2176 drivers/md/md-bitmap.c 				bitmap->counts.chunkshift = old_counts.chunkshift;
counts           2177 drivers/md/md-bitmap.c 				bitmap->counts.chunks = old_counts.chunks;
counts           2184 drivers/md/md-bitmap.c 				bitmap->counts.bp[page].count += 1;
counts           2196 drivers/md/md-bitmap.c 			bmc_new = md_bitmap_get_counter(&bitmap->counts, block, &new_blocks, 1);
counts           2207 drivers/md/md-bitmap.c 				md_bitmap_count_page(&bitmap->counts, block, 1);
counts           2208 drivers/md/md-bitmap.c 				md_bitmap_set_pending(&bitmap->counts, block);
counts           2217 drivers/md/md-bitmap.c 	if (bitmap->counts.bp != old_counts.bp) {
counts           2229 drivers/md/md-bitmap.c 			bmc = md_bitmap_get_counter(&bitmap->counts, block, &new_blocks, 1);
counts           2236 drivers/md/md-bitmap.c 					md_bitmap_count_page(&bitmap->counts, block, 1);
counts           2237 drivers/md/md-bitmap.c 					md_bitmap_set_pending(&bitmap->counts, block);
counts           2245 drivers/md/md-bitmap.c 	spin_unlock_irq(&bitmap->counts.lock);
counts            193 drivers/md/md-bitmap.h 	} counts;
counts           1120 drivers/md/md-cluster.c 	struct bitmap_counts *counts;
counts           1124 drivers/md/md-cluster.c 	unsigned long my_pages = bitmap->counts.pages;
counts           1144 drivers/md/md-cluster.c 		counts = &bitmap->counts;
counts           1159 drivers/md/md-cluster.c 			counts->pages = my_pages;
counts           1162 drivers/md/md-cluster.c 		if (my_pages != counts->pages)
counts             19 drivers/misc/habanalabs/hwmon.c 	u32 counts[HWMON_NR_SENSOR_TYPES] = {0};
counts             40 drivers/misc/habanalabs/hwmon.c 		counts[type]++;
counts             45 drivers/misc/habanalabs/hwmon.c 		if (counts[i] == 0)
counts             48 drivers/misc/habanalabs/hwmon.c 		num_sensors_for_type = counts[i] + 1;
counts            116 drivers/scsi/ch.c 	u_int               counts[CH_TYPES];
counts            229 drivers/scsi/ch.c 	            ch->counts[i])
counts            317 drivers/scsi/ch.c 		ch->counts[CHET_MT] =
counts            321 drivers/scsi/ch.c 		ch->counts[CHET_ST] =
counts            325 drivers/scsi/ch.c 		ch->counts[CHET_IE] =
counts            329 drivers/scsi/ch.c 		ch->counts[CHET_DT] =
counts            333 drivers/scsi/ch.c 			ch->counts[CHET_MT]);
counts            336 drivers/scsi/ch.c 			ch->counts[CHET_ST]);
counts            339 drivers/scsi/ch.c 			ch->counts[CHET_IE]);
counts            342 drivers/scsi/ch.c 			ch->counts[CHET_DT]);
counts            354 drivers/scsi/ch.c 		ch->counts[CHET_V1+i] = vendor_counts[i];
counts            361 drivers/scsi/ch.c 	ch->dt = kcalloc(ch->counts[CHET_DT], sizeof(*ch->dt),
counts            369 drivers/scsi/ch.c 	for (elem = 0; elem < ch->counts[CHET_DT]; elem++) {
counts            546 drivers/scsi/ch.c 	for (i = 0; i < ch->counts[type]; i++) {
counts            613 drivers/scsi/ch.c 	if (type >= CH_TYPES  ||  unit >= ch->counts[type])
counts            636 drivers/scsi/ch.c 		params.cp_npickers  = ch->counts[CHET_MT];
counts            637 drivers/scsi/ch.c 		params.cp_nslots    = ch->counts[CHET_ST];
counts            638 drivers/scsi/ch.c 		params.cp_nportals  = ch->counts[CHET_IE];
counts            639 drivers/scsi/ch.c 		params.cp_ndrives   = ch->counts[CHET_DT];
counts            650 drivers/scsi/ch.c 		if (ch->counts[CHET_V1]) {
counts            651 drivers/scsi/ch.c 			vparams.cvp_n1  = ch->counts[CHET_V1];
counts            654 drivers/scsi/ch.c 		if (ch->counts[CHET_V2]) {
counts            655 drivers/scsi/ch.c 			vparams.cvp_n2  = ch->counts[CHET_V2];
counts            658 drivers/scsi/ch.c 		if (ch->counts[CHET_V3]) {
counts            659 drivers/scsi/ch.c 			vparams.cvp_n3  = ch->counts[CHET_V3];
counts            662 drivers/scsi/ch.c 		if (ch->counts[CHET_V4]) {
counts            663 drivers/scsi/ch.c 			vparams.cvp_n4  = ch->counts[CHET_V4];
counts            795 drivers/scsi/ch.c 					    elem <  ch->firsts[i] + ch->counts[i]) {
counts           2457 drivers/usb/gadget/function/f_fs.c 	unsigned os_descs_count = 0, counts[3], flags;
counts           2510 drivers/usb/gadget/function/f_fs.c 			counts[i] = 0;
counts           2514 drivers/usb/gadget/function/f_fs.c 			counts[i] = get_unaligned_le32(data);
counts           2532 drivers/usb/gadget/function/f_fs.c 		if (!counts[i])
counts           2536 drivers/usb/gadget/function/f_fs.c 		ret = ffs_do_descs(counts[i], data, len,
counts           2573 drivers/usb/gadget/function/f_fs.c 	ffs->fs_descs_count	= counts[0];
counts           2574 drivers/usb/gadget/function/f_fs.c 	ffs->hs_descs_count	= counts[1];
counts           2575 drivers/usb/gadget/function/f_fs.c 	ffs->ss_descs_count	= counts[2];
counts             41 drivers/watchdog/loongson1_wdt.c 	unsigned int counts;
counts             45 drivers/watchdog/loongson1_wdt.c 	counts = drvdata->clk_rate * min(timeout, max_hw_heartbeat);
counts             46 drivers/watchdog/loongson1_wdt.c 	writel(counts, drvdata->base + WDT_TIMER);
counts            587 fs/lockd/clnt4xdr.c 	.counts		= nlm_version4_counts,
counts            585 fs/lockd/clntxdr.c 	.counts		= nlm_version1_counts,
counts            593 fs/lockd/clntxdr.c 	.counts		= nlm_version3_counts,
counts            563 fs/lockd/mon.c 	.counts		= nsm_version1_counts,
counts            516 fs/nfs/mount_clnt.c 	.counts		= mnt_counts,
counts            524 fs/nfs/mount_clnt.c 	.counts		= mnt3_counts,
counts           1160 fs/nfs/nfs2xdr.c 	.counts			= nfs_version2_counts,
counts           2556 fs/nfs/nfs3xdr.c 	.counts			= nfs_version3_counts,
counts           2586 fs/nfs/nfs3xdr.c 	.counts			= nfs3_acl_counts,
counts           7596 fs/nfs/nfs4xdr.c 	.counts			= nfs_version4_counts,
counts            800 fs/nfsd/nfs4callback.c 	.counts			= nfs4_cb_counts,
counts           1611 fs/xfs/libxfs/xfs_dir2_leaf.c 	int				counts)
counts           1624 fs/xfs/libxfs/xfs_dir2_leaf.c 	               + counts * sizeof(xfs_dir2_data_off_t)
counts            471 include/linux/counter.h 	struct counter_count *counts;
counts             95 include/linux/sunrpc/clnt.h 	unsigned int		*counts;	/* call counts */
counts             51 kernel/bpf/bpf_lru_list.c 		l->counts[type]++;
counts             58 kernel/bpf/bpf_lru_list.c 		l->counts[type]--;
counts            126 kernel/bpf/bpf_lru_list.c 	return l->counts[BPF_LRU_LIST_T_INACTIVE] <
counts            127 kernel/bpf/bpf_lru_list.c 		l->counts[BPF_LRU_LIST_T_ACTIVE];
counts            638 kernel/bpf/bpf_lru_list.c 		l->counts[i] = 0;
counts             32 kernel/bpf/bpf_lru_list.h 	unsigned int counts[NR_BPF_LRU_LIST_COUNT];
counts             81 kernel/gcov/gcc_3_4.c 	struct gcov_ctr_info		counts[0];
counts            190 kernel/gcov/gcc_3_4.c 		memset(info->counts[i].values, 0,
counts            191 kernel/gcov/gcc_3_4.c 		       info->counts[i].num * sizeof(gcov_type));
counts            220 kernel/gcov/gcc_3_4.c 		for (j = 0; j < dest->counts[i].num; j++) {
counts            221 kernel/gcov/gcc_3_4.c 			dest->counts[i].values[j] +=
counts            222 kernel/gcov/gcc_3_4.c 				source->counts[i].values[j];
counts            260 kernel/gcov/gcc_3_4.c 	dup = kzalloc(struct_size(dup, counts, active), GFP_KERNEL);
counts            278 kernel/gcov/gcc_3_4.c 		struct gcov_ctr_info *ctr = &info->counts[i];
counts            281 kernel/gcov/gcc_3_4.c 		dup->counts[i].num = ctr->num;
counts            282 kernel/gcov/gcc_3_4.c 		dup->counts[i].merge = ctr->merge;
counts            283 kernel/gcov/gcc_3_4.c 		dup->counts[i].values = vmalloc(size);
counts            284 kernel/gcov/gcc_3_4.c 		if (!dup->counts[i].values)
counts            286 kernel/gcov/gcc_3_4.c 		memcpy(dup->counts[i].values, ctr->values, size);
counts            305 kernel/gcov/gcc_3_4.c 		vfree(info->counts[i].values);
counts            568 kernel/gcov/gcc_3_4.c 			iter->info->counts[iter->type].
counts            381 net/sunrpc/auth_gss/gss_rpc_upcall.c 	.counts		= gssp_version1_counts,
counts           1637 net/sunrpc/clnt.c 		clnt->cl_program->version[clnt->cl_vers]->counts[idx]++;
counts           1141 net/sunrpc/rpcb_clnt.c 	.counts		= rpcb_version2_counts,
counts           1149 net/sunrpc/rpcb_clnt.c 	.counts		= rpcb_version3_counts,
counts           1157 net/sunrpc/rpcb_clnt.c 	.counts		= rpcb_version4_counts,
counts             61 net/sunrpc/stats.c 			seq_printf(seq, " %u", vers->counts[j]);
counts             25 samples/bpf/offwaketime_kern.c struct bpf_map_def SEC("maps") counts = {
counts             94 samples/bpf/offwaketime_kern.c 	val = bpf_map_lookup_elem(&counts, &key);
counts             96 samples/bpf/offwaketime_kern.c 		bpf_map_update_elem(&counts, &key, &zero, BPF_NOEXIST);
counts             97 samples/bpf/offwaketime_kern.c 		val = bpf_map_lookup_elem(&counts, &key);
counts             78 samples/bpf/sampleip_user.c struct ipcount counts[MAX_IPS];
counts             98 samples/bpf/sampleip_user.c 		counts[i].ip = next_key;
counts             99 samples/bpf/sampleip_user.c 		counts[i++].count = value;
counts            105 samples/bpf/sampleip_user.c 	qsort(counts, max, sizeof(struct ipcount), count_cmp);
counts            107 samples/bpf/sampleip_user.c 		if (counts[i].ip > PAGE_OFFSET) {
counts            108 samples/bpf/sampleip_user.c 			sym = ksym_search(counts[i].ip);
counts            114 samples/bpf/sampleip_user.c 			printf("0x%-17llx %-32s %u\n", counts[i].ip, sym->name,
counts            115 samples/bpf/sampleip_user.c 			       counts[i].count);
counts            117 samples/bpf/sampleip_user.c 			printf("0x%-17llx %-32s %u\n", counts[i].ip, "(user)",
counts            118 samples/bpf/sampleip_user.c 			       counts[i].count);
counts            175 samples/bpf/test_lru_dist.c 	unsigned int counts = 0;
counts            191 samples/bpf/test_lru_dist.c 			counts++;
counts            193 samples/bpf/test_lru_dist.c 	counts++; /* in case the last line has no \n */
counts            195 samples/bpf/test_lru_dist.c 	retkeys = malloc(counts * sizeof(unsigned long long));
counts            198 samples/bpf/test_lru_dist.c 	counts = 0;
counts            200 samples/bpf/test_lru_dist.c 		retkeys[counts++] = strtoull(l, NULL, 10);
counts            205 samples/bpf/test_lru_dist.c 	return counts;
counts             20 samples/bpf/trace_event_kern.c struct bpf_map_def SEC("maps") counts = {
counts             71 samples/bpf/trace_event_kern.c 	val = bpf_map_lookup_elem(&counts, &key);
counts             75 samples/bpf/trace_event_kern.c 		bpf_map_update_elem(&counts, &key, &one, BPF_NOEXIST);
counts            235 sound/drivers/mtpav.c 	int counts = 10000;
counts            239 sound/drivers/mtpav.c 	while (!(sbyte & SIGS_RFD) && counts--) {
counts           1857 sound/pci/ice1712/aureon.c 	unsigned int i, counts;
counts           1860 sound/pci/ice1712/aureon.c 	counts = ARRAY_SIZE(aureon_dac_controls);
counts           1862 sound/pci/ice1712/aureon.c 		counts -= 2; /* no side */
counts           1863 sound/pci/ice1712/aureon.c 	for (i = 0; i < counts; i++) {
counts            899 sound/pci/ice1712/phase.c 	unsigned int i, counts;
counts            902 sound/pci/ice1712/phase.c 	counts = ARRAY_SIZE(phase28_dac_controls);
counts            903 sound/pci/ice1712/phase.c 	for (i = 0; i < counts; i++) {
counts            324 sound/pci/vx222/vx222_ops.c static int put_xilinx_data(struct vx_core *chip, unsigned int port, unsigned int counts, unsigned char data)
counts            328 sound/pci/vx222/vx222_ops.c 	for (i = 0; i < counts; i++) {
counts            189 sound/usb/endpoint.c 		int counts;
counts            192 sound/usb/endpoint.c 			counts = ctx->packet_size[i];
counts            194 sound/usb/endpoint.c 			counts = snd_usb_endpoint_next_packet_size(ep);
counts            196 sound/usb/endpoint.c 		length = counts * ep->stride; /* number of silent bytes */
counts            207 sound/usb/endpoint.c 		offs += counts;
counts           1565 sound/usb/pcm.c 	unsigned int counts, frames, bytes;
counts           1577 sound/usb/pcm.c 			counts = ctx->packet_size[i];
counts           1579 sound/usb/pcm.c 			counts = snd_usb_endpoint_next_packet_size(ep);
counts           1583 sound/usb/pcm.c 		urb->iso_frame_desc[i].length = counts * ep->stride;
counts           1584 sound/usb/pcm.c 		frames += counts;
counts           1586 sound/usb/pcm.c 		subs->transfer_done += counts;
counts           1596 sound/usb/pcm.c 					counts -= subs->transfer_done;
counts           1598 sound/usb/pcm.c 						counts * ep->stride;
counts            117 sound/usb/usx2y/usbusx2yaudio.c 	int count, counts, pack;
counts            124 sound/usb/usx2y/usbusx2yaudio.c 		counts = cap_urb->iso_frame_desc[pack].actual_length / usX2Y->stride;
counts            125 sound/usb/usx2y/usbusx2yaudio.c 		count += counts;
counts            126 sound/usb/usx2y/usbusx2yaudio.c 		if (counts < 43 || counts > 50) {
counts            127 sound/usb/usx2y/usbusx2yaudio.c 			snd_printk(KERN_ERR "should not be here with counts=%i\n", counts);
counts            101 sound/usb/usx2y/usx2yhwdeppcm.c 	int count, counts, pack;
counts            117 sound/usb/usx2y/usx2yhwdeppcm.c 		counts = shm->captured_iso[shm->playback_iso_head].length / usX2Y->stride;
counts            118 sound/usb/usx2y/usx2yhwdeppcm.c 		if (counts < 43 || counts > 50) {
counts            119 sound/usb/usx2y/usx2yhwdeppcm.c 			snd_printk(KERN_ERR "should not be here with counts=%i\n", counts);
counts            130 sound/usb/usx2y/usx2yhwdeppcm.c 		count += counts;
counts           1937 tools/perf/builtin-script.c 			struct perf_counts_values *counts;
counts           1939 tools/perf/builtin-script.c 			counts = perf_counts(counter->counts, cpu, thread);
counts           1944 tools/perf/builtin-script.c 				counts->val,
counts           1945 tools/perf/builtin-script.c 				counts->ena,
counts           1946 tools/perf/builtin-script.c 				counts->run,
counts            256 tools/perf/builtin-stat.c 			perf_counts(counter->counts, cpu, thread);
counts            288 tools/perf/builtin-stat.c 			count = perf_counts(counter->counts, cpu, thread);
counts            294 tools/perf/builtin-stat.c 			if (!perf_counts__is_loaded(counter->counts, cpu, thread) &&
counts            296 tools/perf/builtin-stat.c 				counter->counts->scaled = -1;
counts            297 tools/perf/builtin-stat.c 				perf_counts(counter->counts, cpu, thread)->ena = 0;
counts            298 tools/perf/builtin-stat.c 				perf_counts(counter->counts, cpu, thread)->run = 0;
counts            302 tools/perf/builtin-stat.c 			perf_counts__set_loaded(counter->counts, cpu, thread, false);
counts             57 tools/perf/lib/tests/test-evlist.c 			struct perf_counts_values counts = { .val = 0 };
counts             59 tools/perf/lib/tests/test-evlist.c 			perf_evsel__read(evsel, cpu, 0, &counts);
counts             60 tools/perf/lib/tests/test-evlist.c 			__T("failed to read value for evsel", counts.val != 0);
counts             73 tools/perf/lib/tests/test-evlist.c 	struct perf_counts_values counts = { .val = 0 };
counts            111 tools/perf/lib/tests/test-evlist.c 		perf_evsel__read(evsel, 0, 0, &counts);
counts            112 tools/perf/lib/tests/test-evlist.c 		__T("failed to read value for evsel", counts.val != 0);
counts            124 tools/perf/lib/tests/test-evlist.c 	struct perf_counts_values counts = { .val = 0 };
counts            164 tools/perf/lib/tests/test-evlist.c 		perf_evsel__read(evsel, 0, 0, &counts);
counts            165 tools/perf/lib/tests/test-evlist.c 		__T("failed to read value for evsel", counts.val == 0);
counts            171 tools/perf/lib/tests/test-evlist.c 		perf_evsel__read(evsel, 0, 0, &counts);
counts            172 tools/perf/lib/tests/test-evlist.c 		__T("failed to read value for evsel", counts.val != 0);
counts             36 tools/perf/lib/tests/test-evsel.c 		struct perf_counts_values counts = { .val = 0 };
counts             38 tools/perf/lib/tests/test-evsel.c 		perf_evsel__read(evsel, cpu, 0, &counts);
counts             39 tools/perf/lib/tests/test-evsel.c 		__T("failed to read value for evsel", counts.val != 0);
counts             51 tools/perf/lib/tests/test-evsel.c 	struct perf_counts_values counts = { .val = 0 };
counts             71 tools/perf/lib/tests/test-evsel.c 	perf_evsel__read(evsel, 0, 0, &counts);
counts             72 tools/perf/lib/tests/test-evsel.c 	__T("failed to read value for evsel", counts.val != 0);
counts             83 tools/perf/lib/tests/test-evsel.c 	struct perf_counts_values counts = { .val = 0 };
counts            104 tools/perf/lib/tests/test-evsel.c 	perf_evsel__read(evsel, 0, 0, &counts);
counts            105 tools/perf/lib/tests/test-evsel.c 	__T("failed to read value for evsel", counts.val == 0);
counts            110 tools/perf/lib/tests/test-evsel.c 	perf_evsel__read(evsel, 0, 0, &counts);
counts            111 tools/perf/lib/tests/test-evsel.c 	__T("failed to read value for evsel", counts.val != 0);
counts            113 tools/perf/tests/openat-syscall-all-cpus.c 		if (perf_counts(evsel->counts, cpu, 0)->val != expected) {
counts            115 tools/perf/tests/openat-syscall-all-cpus.c 				 expected, cpus->map[cpu], perf_counts(evsel->counts, cpu, 0)->val);
counts             54 tools/perf/tests/openat-syscall.c 	if (perf_counts(evsel->counts, 0, 0)->val != nr_openat_calls) {
counts             56 tools/perf/tests/openat-syscall.c 			 nr_openat_calls, perf_counts(evsel->counts, 0, 0)->val);
counts             24 tools/perf/util/branch.c 	st->counts[flags->type]++;
counts             67 tools/perf/util/branch.c 		total += st->counts[i];
counts            101 tools/perf/util/branch.c 		if (st->counts[i] > 0)
counts            105 tools/perf/util/branch.c 				(double)st->counts[i] / (double)total);
counts            120 tools/perf/util/branch.c 		total += st->counts[i];
counts            135 tools/perf/util/branch.c 		if (st->counts[i] > 0)
counts             47 tools/perf/util/branch.h 	u64	counts[PERF_BR_MAX];
counts             10 tools/perf/util/counts.c 	struct perf_counts *counts = zalloc(sizeof(*counts));
counts             12 tools/perf/util/counts.c 	if (counts) {
counts             17 tools/perf/util/counts.c 			free(counts);
counts             21 tools/perf/util/counts.c 		counts->values = values;
counts             25 tools/perf/util/counts.c 			xyarray__delete(counts->values);
counts             26 tools/perf/util/counts.c 			free(counts);
counts             30 tools/perf/util/counts.c 		counts->loaded = values;
counts             33 tools/perf/util/counts.c 	return counts;
counts             36 tools/perf/util/counts.c void perf_counts__delete(struct perf_counts *counts)
counts             38 tools/perf/util/counts.c 	if (counts) {
counts             39 tools/perf/util/counts.c 		xyarray__delete(counts->loaded);
counts             40 tools/perf/util/counts.c 		xyarray__delete(counts->values);
counts             41 tools/perf/util/counts.c 		free(counts);
counts             45 tools/perf/util/counts.c static void perf_counts__reset(struct perf_counts *counts)
counts             47 tools/perf/util/counts.c 	xyarray__reset(counts->loaded);
counts             48 tools/perf/util/counts.c 	xyarray__reset(counts->values);
counts             53 tools/perf/util/counts.c 	perf_counts__reset(evsel->counts);
counts             58 tools/perf/util/counts.c 	evsel->counts = perf_counts__new(ncpus, nthreads);
counts             59 tools/perf/util/counts.c 	return evsel->counts != NULL ? 0 : -ENOMEM;
counts             64 tools/perf/util/counts.c 	perf_counts__delete(evsel->counts);
counts             65 tools/perf/util/counts.c 	evsel->counts = NULL;
counts             21 tools/perf/util/counts.h perf_counts(struct perf_counts *counts, int cpu, int thread)
counts             23 tools/perf/util/counts.h 	return xyarray__entry(counts->values, cpu, thread);
counts             27 tools/perf/util/counts.h perf_counts__is_loaded(struct perf_counts *counts, int cpu, int thread)
counts             29 tools/perf/util/counts.h 	return *((bool *) xyarray__entry(counts->loaded, cpu, thread));
counts             33 tools/perf/util/counts.h perf_counts__set_loaded(struct perf_counts *counts, int cpu, int thread, bool loaded)
counts             35 tools/perf/util/counts.h 	*((bool *) xyarray__entry(counts->loaded, cpu, thread)) = loaded;
counts             39 tools/perf/util/counts.h void perf_counts__delete(struct perf_counts *counts);
counts           1309 tools/perf/util/evsel.c 	struct perf_counts_values *count = perf_counts(evsel->counts, cpu, thread);
counts           1320 tools/perf/util/evsel.c 	count = perf_counts(counter->counts, cpu, thread);
counts           1326 tools/perf/util/evsel.c 	perf_counts__set_loaded(counter->counts, cpu, thread, true);
counts           1417 tools/perf/util/evsel.c 	if (evsel->counts == NULL && perf_evsel__alloc_counts(evsel, cpu + 1, thread + 1) < 0)
counts           1425 tools/perf/util/evsel.c 	*perf_counts(evsel->counts, cpu, thread) = count;
counts             47 tools/perf/util/evsel.h 	struct perf_counts	*counts;
counts           1401 tools/perf/util/scripting-engines/trace-event-python.c 			     &counter->counts->aggr);
counts           1409 tools/perf/util/scripting-engines/trace-event-python.c 				     perf_counts(counter->counts, cpu, thread));
counts            433 tools/perf/util/stat-display.c 	if (run == 0 || ena == 0 || counter->counts->scaled == -1) {
counts            507 tools/perf/util/stat-display.c 				val += perf_counts(counter->counts, cpu, 0)->val;
counts            595 tools/perf/util/stat-display.c 		struct perf_counts_values *counts;
counts            602 tools/perf/util/stat-display.c 		counts = perf_counts(counter->counts, cpu, 0);
counts            607 tools/perf/util/stat-display.c 		if (counts->ena == 0 || counts->run == 0 ||
counts            608 tools/perf/util/stat-display.c 		    counter->counts->scaled == -1) {
counts            613 tools/perf/util/stat-display.c 		ad->val += counts->val;
counts            614 tools/perf/util/stat-display.c 		ad->ena += counts->ena;
counts            615 tools/perf/util/stat-display.c 		ad->run += counts->run;
counts            712 tools/perf/util/stat-display.c 			val += perf_counts(counter->counts, cpu, thread)->val;
counts            713 tools/perf/util/stat-display.c 			ena += perf_counts(counter->counts, cpu, thread)->ena;
counts            714 tools/perf/util/stat-display.c 			run += perf_counts(counter->counts, cpu, thread)->run;
counts            825 tools/perf/util/stat-display.c 	ad->val += perf_counts(counter->counts, ad->cpu, 0)->val;
counts            826 tools/perf/util/stat-display.c 	ad->ena += perf_counts(counter->counts, ad->cpu, 0)->ena;
counts            827 tools/perf/util/stat-display.c 	ad->run += perf_counts(counter->counts, ad->cpu, 0)->run;
counts            883 tools/perf/util/stat-display.c 			val = perf_counts(counter->counts, cpu, 0)->val;
counts            884 tools/perf/util/stat-display.c 			ena = perf_counts(counter->counts, cpu, 0)->ena;
counts            885 tools/perf/util/stat-display.c 			run = perf_counts(counter->counts, cpu, 0)->run;
counts            150 tools/perf/util/stat.c 	struct perf_counts *counts;
counts            152 tools/perf/util/stat.c 	counts = perf_counts__new(ncpus, nthreads);
counts            153 tools/perf/util/stat.c 	if (counts)
counts            154 tools/perf/util/stat.c 		evsel->prev_raw_counts = counts;
counts            156 tools/perf/util/stat.c 	return counts ? 0 : -ENOMEM;
counts            285 tools/perf/util/stat.c 	struct perf_counts_values *aggr = &evsel->counts->aggr;
counts            345 tools/perf/util/stat.c 						   perf_counts(counter->counts, cpu, thread)))
counts            356 tools/perf/util/stat.c 	struct perf_counts_values *aggr = &counter->counts->aggr;
counts            358 tools/perf/util/stat.c 	u64 *count = counter->counts->aggr.values;
counts            385 tools/perf/util/stat.c 	perf_counts_values__scale(aggr, config->scale, &counter->counts->scaled);
counts            420 tools/perf/util/stat.c 	*perf_counts(counter->counts, st->cpu, st->thread) = count;
counts             30 tools/testing/selftests/bpf/progs/test_btf_haskv.c 	struct ipv_counts *counts;
counts             36 tools/testing/selftests/bpf/progs/test_btf_haskv.c 	counts = bpf_map_lookup_elem(&btf_map, &key);
counts             37 tools/testing/selftests/bpf/progs/test_btf_haskv.c 	if (!counts)
counts             40 tools/testing/selftests/bpf/progs/test_btf_haskv.c 	counts->v6++;
counts             38 tools/testing/selftests/bpf/progs/test_btf_newkv.c 	struct ipv_counts *counts;
counts             44 tools/testing/selftests/bpf/progs/test_btf_newkv.c 	counts = bpf_map_lookup_elem(&btf_map, &key);
counts             45 tools/testing/selftests/bpf/progs/test_btf_newkv.c 	if (!counts)
counts             48 tools/testing/selftests/bpf/progs/test_btf_newkv.c 	counts->v6++;
counts             51 tools/testing/selftests/bpf/progs/test_btf_newkv.c 	counts = bpf_map_lookup_elem(&btf_map_legacy, &key);
counts             52 tools/testing/selftests/bpf/progs/test_btf_newkv.c 	if (!counts)
counts             28 tools/testing/selftests/bpf/progs/test_btf_nokv.c 	struct ipv_counts *counts;
counts             34 tools/testing/selftests/bpf/progs/test_btf_nokv.c 	counts = bpf_map_lookup_elem(&btf_map, &key);
counts             35 tools/testing/selftests/bpf/progs/test_btf_nokv.c 	if (!counts)
counts             38 tools/testing/selftests/bpf/progs/test_btf_nokv.c 	counts->v6++;
counts            233 tools/usb/ffs-test.c 			const __le32 counts[];
counts            235 tools/usb/ffs-test.c 		const __le32 *counts = in->counts;
counts            255 tools/usb/ffs-test.c 			ret = le32_to_cpu(*counts);	\
counts            257 tools/usb/ffs-test.c 			++counts;			\
counts            267 tools/usb/ffs-test.c 		descs_start = (const void *)counts;