array_index_nospec  244 arch/arm64/kernel/ptrace.c 		idx = array_index_nospec(idx, ARM_MAX_BRP);
array_index_nospec  250 arch/arm64/kernel/ptrace.c 		idx = array_index_nospec(idx, ARM_MAX_WRP);
array_index_nospec  270 arch/arm64/kernel/ptrace.c 		idx = array_index_nospec(idx, ARM_MAX_BRP);
array_index_nospec  277 arch/arm64/kernel/ptrace.c 		idx = array_index_nospec(idx, ARM_MAX_WRP);
array_index_nospec   47 arch/arm64/kernel/syscall.c 		syscall_fn = syscall_table[array_index_nospec(scno, sc_nr)];
array_index_nospec  385 arch/arm64/kvm/guest.c 	region->koffset = array_index_nospec(reqoffset, sve_state_size);
array_index_nospec  306 arch/powerpc/kernel/ptrace.c 		regno = array_index_nospec(regno, regs_max);
array_index_nospec  330 arch/powerpc/kernel/ptrace.c 		regno = array_index_nospec(regno, PT_MAX_PUT_REG + 1);
array_index_nospec 2304 arch/s390/kvm/interrupt.c 	id = array_index_nospec(id, MAX_S390_IO_ADAPTERS);
array_index_nospec 2321 arch/s390/kvm/interrupt.c 	adapter_info.id = array_index_nospec(adapter_info.id,
array_index_nospec  289 arch/x86/entry/common.c 		nr = array_index_nospec(nr, NR_syscalls);
array_index_nospec  294 arch/x86/entry/common.c 		nr = array_index_nospec(nr & ~__X32_SYSCALL_BIT,
array_index_nospec  331 arch/x86/entry/common.c 		nr = array_index_nospec(nr, IA32_NR_syscalls);
array_index_nospec  311 arch/x86/events/core.c 	cache_type = array_index_nospec(cache_type, PERF_COUNT_HW_CACHE_MAX);
array_index_nospec  316 arch/x86/events/core.c 	cache_op = array_index_nospec(cache_op, PERF_COUNT_HW_CACHE_OP_MAX);
array_index_nospec  321 arch/x86/events/core.c 	cache_result = array_index_nospec(cache_result, PERF_COUNT_HW_CACHE_RESULT_MAX);
array_index_nospec  433 arch/x86/events/core.c 	attr->config = array_index_nospec((unsigned long)attr->config, x86_pmu.max_events);
array_index_nospec  322 arch/x86/events/intel/cstate.c 		cfg = array_index_nospec((unsigned long)cfg, PERF_CSTATE_CORE_EVENT_MAX);
array_index_nospec  331 arch/x86/events/intel/cstate.c 		cfg = array_index_nospec((unsigned long)cfg, PERF_CSTATE_PKG_EVENT_MAX);
array_index_nospec  352 arch/x86/events/intel/rapl.c 	cfg = array_index_nospec((long)cfg, NR_RAPL_DOMAINS + 1);
array_index_nospec  203 arch/x86/events/msr.c 	cfg = array_index_nospec((unsigned long)cfg, PERF_MSR_EVENT_MAX);
array_index_nospec  621 arch/x86/kernel/ptrace.c 		int index = array_index_nospec(n, HBP_NUM);
array_index_nospec  233 arch/x86/kernel/tls.c 	index = array_index_nospec(index,
array_index_nospec 5360 arch/x86/kvm/emulate.c 				u32 index = array_index_nospec(
array_index_nospec  817 arch/x86/kvm/hyperv.c 	*pdata = hv->hv_crash_param[array_index_nospec(index, size)];
array_index_nospec  861 arch/x86/kvm/hyperv.c 	hv->hv_crash_param[array_index_nospec(index, size)] = data;
array_index_nospec   75 arch/x86/kvm/ioapic.c 				u32 index = array_index_nospec(
array_index_nospec  296 arch/x86/kvm/ioapic.c 		index = array_index_nospec(index, IOAPIC_NUM_PINS);
array_index_nospec  140 arch/x86/kvm/lapic.c 			offset = array_index_nospec(offset, map->max_apic_id + 1);
array_index_nospec  900 arch/x86/kvm/lapic.c 			u32 dest_id = array_index_nospec(irq->dest_id, map->max_apic_id + 1);
array_index_nospec 1936 arch/x86/kvm/lapic.c 		index = array_index_nospec(
array_index_nospec  195 arch/x86/kvm/mtrr.c 		*unit = array_index_nospec(
array_index_nospec  201 arch/x86/kvm/mtrr.c 		*unit = array_index_nospec(
array_index_nospec   92 arch/x86/kvm/pmu.h 		u32 index = array_index_nospec(msr - base,
array_index_nospec  107 arch/x86/kvm/pmu.h 		u32 index = array_index_nospec(msr - base,
array_index_nospec   93 arch/x86/kvm/vmx/pmu_intel.c 	event = fixed_pmc_events[array_index_nospec(idx, size)];
array_index_nospec  148 arch/x86/kvm/vmx/pmu_intel.c 	return &counters[array_index_nospec(idx, num_counters)];
array_index_nospec  389 arch/x86/kvm/vmx/vmcs12.h 	index = array_index_nospec(index, nr_vmcs12_fields);
array_index_nospec 1114 arch/x86/kvm/x86.c 		vcpu->arch.db[array_index_nospec(dr, size)] = val;
array_index_nospec 1155 arch/x86/kvm/x86.c 		*val = vcpu->arch.db[array_index_nospec(dr, size)];
array_index_nospec 2550 arch/x86/kvm/x86.c 			u32 offset = array_index_nospec(
array_index_nospec 2977 arch/x86/kvm/x86.c 			u32 offset = array_index_nospec(
array_index_nospec 1137 drivers/ata/libahci.c 		pmp = array_index_nospec(pmp, EM_MAX_SLOTS);
array_index_nospec 2767 drivers/atm/iphase.c 	board = array_index_nospec(board, iadev_count + 1);
array_index_nospec 1461 drivers/atm/zatm.c 				pool = array_index_nospec(pool,
array_index_nospec 1485 drivers/atm/zatm.c 				pool = array_index_nospec(pool,
array_index_nospec 2256 drivers/block/pktcdvd.c 	dev_minor = array_index_nospec(dev_minor, MAX_WRITERS);
array_index_nospec  393 drivers/char/applicom.c 	IndexCard = array_index_nospec(IndexCard, MAX_BOARD);
array_index_nospec  723 drivers/char/applicom.c 	IndexCard = array_index_nospec(IndexCard, MAX_BOARD);
array_index_nospec 1407 drivers/char/ipmi/ipmi_msghandler.c 		channel = array_index_nospec(channel, IPMI_MAX_CHANNELS);
array_index_nospec 1429 drivers/char/ipmi/ipmi_msghandler.c 		channel = array_index_nospec(channel, IPMI_MAX_CHANNELS);
array_index_nospec 1451 drivers/char/ipmi/ipmi_msghandler.c 		channel = array_index_nospec(channel, IPMI_MAX_CHANNELS);
array_index_nospec 1473 drivers/char/ipmi/ipmi_msghandler.c 		channel = array_index_nospec(channel, IPMI_MAX_CHANNELS);
array_index_nospec 2295 drivers/char/ipmi/ipmi_msghandler.c 	addr->channel = array_index_nospec(addr->channel, IPMI_MAX_CHANNELS);
array_index_nospec  293 drivers/char/mwave/mwavedd.c 			ipcnum = array_index_nospec(ipcnum,
array_index_nospec  323 drivers/char/mwave/mwavedd.c 			ipcnum = array_index_nospec(ipcnum,
array_index_nospec  391 drivers/char/mwave/mwavedd.c 			ipcnum = array_index_nospec(ipcnum,
array_index_nospec   80 drivers/crypto/ccree/cc_request_mgr.c 	alg = array_index_nospec(alg, CC_CPP_NUM_ALGS);
array_index_nospec   81 drivers/crypto/ccree/cc_request_mgr.c 	slot = array_index_nospec(slot, CC_CPP_NUM_SLOTS);
array_index_nospec  503 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 		idx = array_index_nospec(idx, ARRAY_SIZE(data.states));
array_index_nospec 1455 drivers/gpu/drm/drm_bufs.c 		idx = array_index_nospec(idx, dma->buf_count);
array_index_nospec  836 drivers/gpu/drm/drm_ioctl.c 		index = array_index_nospec(index, dev->driver->num_ioctls);
array_index_nospec  842 drivers/gpu/drm/drm_ioctl.c 		nr = array_index_nospec(nr, DRM_CORE_IOCTL_COUNT);
array_index_nospec  924 drivers/gpu/drm/drm_ioctl.c 	nr = array_index_nospec(nr, DRM_CORE_IOCTL_COUNT);
array_index_nospec 1390 drivers/gpu/drm/i915/gem/i915_gem_context.c 	idx = array_index_nospec(idx, set->engines->num_engines);
array_index_nospec 1475 drivers/gpu/drm/i915/gem/i915_gem_context.c 	idx = array_index_nospec(idx, set->engines->num_engines);
array_index_nospec 1391 drivers/gpu/drm/i915/gvt/kvmgt.c 					array_index_nospec(info.index,
array_index_nospec  180 drivers/gpu/drm/i915/i915_query.c 			func_idx = array_index_nospec(func_idx,
array_index_nospec   46 drivers/gpu/drm/i915/i915_user_extensions.c 			name = array_index_nospec(name, count);
array_index_nospec  459 drivers/hid/usbhid/hiddev.c 		uref->field_index = array_index_nospec(uref->field_index,
array_index_nospec  465 drivers/hid/usbhid/hiddev.c 		uref->usage_index = array_index_nospec(uref->usage_index,
array_index_nospec  493 drivers/hid/usbhid/hiddev.c 			uref->field_index = array_index_nospec(uref->field_index,
array_index_nospec  502 drivers/hid/usbhid/hiddev.c 					array_index_nospec(uref->usage_index,
array_index_nospec  515 drivers/hid/usbhid/hiddev.c 				array_index_nospec(uref->usage_index,
array_index_nospec  759 drivers/hid/usbhid/hiddev.c 		finfo.field_index = array_index_nospec(finfo.field_index,
array_index_nospec  805 drivers/hid/usbhid/hiddev.c 		cinfo.index = array_index_nospec(cinfo.index,
array_index_nospec 2820 drivers/hwmon/nct6775.c 	val = array_index_nospec(val, NUM_TEMP + 1);
array_index_nospec 1721 drivers/infiniband/core/ucma.c 	hdr.cmd = array_index_nospec(hdr.cmd, ARRAY_SIZE(ucma_cmd_table));
array_index_nospec  894 drivers/infiniband/core/user_mad.c 	id = array_index_nospec(id, IB_UMAD_MAX_AGENTS);
array_index_nospec 1541 drivers/infiniband/hw/hfi1/verbs.c 	sl = array_index_nospec(sl, ARRAY_SIZE(ibp->sl_to_sc));
array_index_nospec 1469 drivers/media/dvb-core/dvb_ca_en50221.c 	slot = array_index_nospec(slot, ca->slot_count);
array_index_nospec   42 drivers/misc/hmc6352.c 	val = array_index_nospec(val, strlen(map));
array_index_nospec  189 drivers/misc/sgi-gru/grukdump.c 	req.gid = array_index_nospec(req.gid, gru_max_gids);
array_index_nospec 2276 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 		t.qset_idx = array_index_nospec(t.qset_idx, nqsets);
array_index_nospec  659 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c 		rxnfc->fs.location = array_index_nospec(rxnfc->fs.location,
array_index_nospec 3509 drivers/net/wireless/mac80211_hwsim.c 		idx = array_index_nospec(idx,
array_index_nospec  963 drivers/pci/switch/switchtec.c 		p.port = array_index_nospec(p.port,
array_index_nospec  338 drivers/ptp/ptp_chardev.c 		pin_index = array_index_nospec(pin_index, ops->n_pins);
array_index_nospec  370 drivers/ptp/ptp_chardev.c 		pin_index = array_index_nospec(pin_index, ops->n_pins);
array_index_nospec  377 drivers/s390/char/keyboard.c 	kb_table = array_index_nospec(kb_table , MAX_NR_KEYMAPS);
array_index_nospec  346 drivers/s390/cio/vfio_ccw_ops.c 		info->index = array_index_nospec(info->index,
array_index_nospec  715 drivers/tty/vt/vt_ioctl.c 			vsa.console = array_index_nospec(vsa.console,
array_index_nospec 3165 drivers/usb/gadget/function/f_mass_storage.c 	num = array_index_nospec(num, FSG_MAX_LUNS);
array_index_nospec  217 drivers/usb/usbip/vhci_sysfs.c 	*pdev_nr = array_index_nospec(*pdev_nr, vhci_num_controllers);
array_index_nospec  223 drivers/usb/usbip/vhci_sysfs.c 	*rhport = array_index_nospec(*rhport, VHCI_HC_PORTS);
array_index_nospec  818 drivers/vfio/pci/vfio_pci.c 			info.index = array_index_nospec(info.index,
array_index_nospec 1603 drivers/vhost/vhost.c 	idx = array_index_nospec(idx, d->nvqs);
array_index_nospec 1065 fs/aio.c       	id = array_index_nospec(id, table->nr);
array_index_nospec 2146 fs/ext4/mballoc.c 			ac->ac_2order = array_index_nospec(i - 1,
array_index_nospec 1183 fs/io_uring.c  	index = array_index_nospec(buf_index, ctx->nr_user_bufs);
array_index_nospec  691 fs/quota/quota.c 	type = array_index_nospec(type, MAXQUOTAS);
array_index_nospec   87 include/linux/fdtable.h 		fd = array_index_nospec(fd, fdt->max_fds);
array_index_nospec  542 include/linux/kvm_host.h 	i = array_index_nospec(i, num_vcpus);
array_index_nospec  628 include/linux/kvm_host.h 	as_id = array_index_nospec(as_id, KVM_ADDRESS_SPACE_NUM);
array_index_nospec  138 include/sound/control.h 	return array_index_nospec(ioff, kctl->count);
array_index_nospec  144 include/sound/control.h 	return array_index_nospec(ioff, kctl->count);
array_index_nospec  389 ipc/sem.c      	idx = array_index_nospec(sops->sem_num, sma->sem_nsems);
array_index_nospec  639 ipc/sem.c      		int idx = array_index_nospec(sop->sem_num, sma->sem_nsems);
array_index_nospec  720 ipc/sem.c      		int idx = array_index_nospec(sop->sem_num, sma->sem_nsems);
array_index_nospec 1368 ipc/sem.c      	semnum = array_index_nospec(semnum, sma->sem_nsems);
array_index_nospec 1523 ipc/sem.c      	semnum = array_index_nospec(semnum, nsems);
array_index_nospec 2123 ipc/sem.c      		int idx = array_index_nospec(sops->sem_num, sma->sem_nsems);
array_index_nospec  109 kernel/bpf/syscall.c 	type = array_index_nospec(type, ARRAY_SIZE(bpf_map_types));
array_index_nospec 1210 kernel/bpf/syscall.c 	type = array_index_nospec(type, ARRAY_SIZE(bpf_prog_types));
array_index_nospec  915 kernel/events/ring_buffer.c 			int aux_pgoff = array_index_nospec(pgoff - rb->aux_pgoff, rb->aux_nr_pages);
array_index_nospec  232 kernel/sched/autogroup.c 	idx = array_index_nospec(nice + 20, 40);
array_index_nospec 7794 kernel/sched/core.c 	idx = array_index_nospec(idx, 40);
array_index_nospec 1455 kernel/sys.c   	resource = array_index_nospec(resource, RLIM_NLIMITS);
array_index_nospec 1475 kernel/sys.c   	resource = array_index_nospec(resource, RLIM_NLIMITS);
array_index_nospec 1369 kernel/time/posix-timers.c 	return posix_clocks[array_index_nospec(idx, ARRAY_SIZE(posix_clocks))];
array_index_nospec  695 net/atm/lec.c  	ioc_data.dev_num = array_index_nospec(ioc_data.dev_num, MAX_LEC_ITF);
array_index_nospec  716 net/atm/lec.c  	arg = array_index_nospec(arg, MAX_LEC_ITF);
array_index_nospec  733 net/atm/lec.c  	i = array_index_nospec(arg, MAX_LEC_ITF);
array_index_nospec  223 net/core/sock_diag.c 	req->sdiag_family = array_index_nospec(req->sdiag_family, AF_MAX);
array_index_nospec 1629 net/ipv4/ipmr.c 		vr.vifi = array_index_nospec(vr.vifi, mrt->maxvif);
array_index_nospec 1704 net/ipv4/ipmr.c 		vr.vifi = array_index_nospec(vr.vifi, mrt->maxvif);
array_index_nospec 1868 net/ipv6/ip6mr.c 		vr.mifi = array_index_nospec(vr.mifi, mrt->maxvif);
array_index_nospec 1943 net/ipv6/ip6mr.c 		vr.mifi = array_index_nospec(vr.mifi, mrt->maxvif);
array_index_nospec  956 net/mpls/af_mpls.c 	*index = array_index_nospec(*index, net->mpls.platform_labels);
array_index_nospec  669 net/netlink/af_netlink.c 	protocol = array_index_nospec(protocol, MAX_LINKS);
array_index_nospec 2827 net/socket.c   	call = array_index_nospec(call, SYS_SENDMMSG + 1);
array_index_nospec 2635 net/wireless/nl80211.c 	txq_params->ac = array_index_nospec(ac, NL80211_NUM_ACS);
array_index_nospec 4155 net/wireless/nl80211.c 		ridx = array_index_nospec(ridx, IEEE80211_HT_MCS_MASK_LEN);
array_index_nospec 10852 net/wireless/nl80211.c 		i = array_index_nospec(i, n);
array_index_nospec 10859 net/wireless/nl80211.c 		low_index = array_index_nospec(low_index, n);
array_index_nospec 10865 net/wireless/nl80211.c 		i = array_index_nospec(i, n);
array_index_nospec  811 net/wireless/util.c 	return array_index_nospec(ret, IEEE80211_NUM_TIDS);
array_index_nospec  118 sound/core/pcm.c 			stream = array_index_nospec(stream, 2);
array_index_nospec  601 sound/core/rawmidi.c 	info->stream = array_index_nospec(info->stream, 2);
array_index_nospec  289 sound/core/seq/oss/seq_oss_event.c 		ch = array_index_nospec(ch, info->nr_voices);
array_index_nospec  350 sound/core/seq/oss/seq_oss_event.c 		ch = array_index_nospec(ch, info->nr_voices);
array_index_nospec  306 sound/core/seq/oss/seq_oss_midi.c 	dev = array_index_nospec(dev, dp->max_mididev);
array_index_nospec  335 sound/core/seq/oss/seq_oss_synth.c 	dev = array_index_nospec(dev, SNDRV_SEQ_OSS_MAX_SYNTH_DEVS);
array_index_nospec  464 sound/drivers/opl3/opl3_synth.c 	voice_offset = array_index_nospec(voice_offset, MAX_OPL2_VOICES);
array_index_nospec  465 sound/drivers/opl3/opl3_synth.c 	voice_op = array_index_nospec(voice->op, 4);
array_index_nospec   33 sound/pci/asihpi/hpimsginit.c 		object = array_index_nospec(object, HPI_OBJ_MAXINDEX + 1);
array_index_nospec   62 sound/pci/asihpi/hpimsginit.c 		object = array_index_nospec(object, HPI_OBJ_MAXINDEX + 1);
array_index_nospec  183 sound/pci/asihpi/hpioctl.c 			pa = &adapters[array_index_nospec(hm->h.adapter_index,
array_index_nospec 1016 sound/pci/emu10k1/emufx.c 	ipcm->substream = array_index_nospec(ipcm->substream,
array_index_nospec 1064 sound/pci/emu10k1/emufx.c 	ipcm->substream = array_index_nospec(ipcm->substream,
array_index_nospec   49 sound/pci/hda/hda_hwdep.c 		verb = array_index_nospec(verb, codec->core.num_nodes);
array_index_nospec 4083 sound/pci/rme9652/hdsp.c 	channel = array_index_nospec(channel, hdsp->max_channels);
array_index_nospec 5700 sound/pci/rme9652/hdspm.c 		channel = array_index_nospec(channel, hdspm->max_channels_out);
array_index_nospec 5718 sound/pci/rme9652/hdspm.c 		channel = array_index_nospec(channel, hdspm->max_channels_in);
array_index_nospec 2059 sound/pci/rme9652/rme9652.c 	chn = rme9652->channel_map[array_index_nospec(info->channel,
array_index_nospec   60 sound/synth/emux/emux_hwdep.c 	info.mode = array_index_nospec(info.mode, EMUX_MD_END);
array_index_nospec   67 sound/synth/emux/emux_hwdep.c 			info.port = array_index_nospec(info.port, emu->num_ports);
array_index_nospec  369 virt/kvm/arm/vgic/vgic-mmio-v2.c 		n = array_index_nospec(n, 4);
array_index_nospec  395 virt/kvm/arm/vgic/vgic-mmio-v2.c 		n = array_index_nospec(n, 4);
array_index_nospec   95 virt/kvm/arm/vgic/vgic.c 		intid = array_index_nospec(intid, VGIC_MAX_PRIVATE + 1);
array_index_nospec  101 virt/kvm/arm/vgic/vgic.c 		intid = array_index_nospec(intid, kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS);
array_index_nospec  135 virt/kvm/irqchip.c 	u32 gsi = array_index_nospec(ue->gsi, KVM_MAX_IRQ_ROUTES);
array_index_nospec 3240 virt/kvm/kvm_main.c 	type = array_index_nospec(cd->type, ARRAY_SIZE(kvm_device_ops_table));