Searched refs:array_index_nospec (Results 26 - 50 of 142) sorted by relevance

123456

/linux-master/drivers/dma-buf/
H A Ddma-heap.c139 nr = array_index_nospec(nr, ARRAY_SIZE(dma_heap_ioctl_cmds));
/linux-master/arch/loongarch/kernel/
H A Dptrace.c415 idx = array_index_nospec(idx, LOONGARCH_MAX_BRP);
421 idx = array_index_nospec(idx, LOONGARCH_MAX_WRP);
438 idx = array_index_nospec(idx, LOONGARCH_MAX_BRP);
444 idx = array_index_nospec(idx, LOONGARCH_MAX_WRP);
/linux-master/arch/x86/kvm/svm/
H A Dpmu.c35 return &pmu->gp_counters[array_index_nospec(pmc_idx, num_counters)];
/linux-master/arch/x86/events/
H A Dmsr.c217 cfg = array_index_nospec((unsigned long)cfg, PERF_MSR_EVENT_MAX);
/linux-master/arch/x86/entry/
H A Dentry_fred.c162 unsigned int index = array_index_nospec(vector - FIRST_SYSTEM_VECTOR,
/linux-master/kernel/sched/
H A Dautogroup.c254 idx = array_index_nospec(nice + 20, 40);
/linux-master/ipc/
H A Dsem.c411 idx = array_index_nospec(sops->sem_num, sma->sem_nsems);
660 int idx = array_index_nospec(sop->sem_num, sma->sem_nsems);
741 int idx = array_index_nospec(sop->sem_num, sma->sem_nsems);
1387 semnum = array_index_nospec(semnum, sma->sem_nsems);
1541 semnum = array_index_nospec(semnum, nsems);
2129 int idx = array_index_nospec(sops->sem_num, sma->sem_nsems);
/linux-master/sound/core/seq/oss/
H A Dseq_oss_event.c289 ch = array_index_nospec(ch, info->nr_voices);
350 ch = array_index_nospec(ch, info->nr_voices);
/linux-master/sound/drivers/opl3/
H A Dopl3_synth.c466 voice_offset = array_index_nospec(voice_offset, MAX_OPL2_VOICES);
467 voice_op = array_index_nospec(voice->op, 4);
/linux-master/drivers/crypto/ccree/
H A Dcc_request_mgr.c80 alg = array_index_nospec(alg, CC_CPP_NUM_ALGS);
81 slot = array_index_nospec(slot, CC_CPP_NUM_SLOTS);
/linux-master/arch/x86/kvm/
H A Dioapic.c79 u32 index = array_index_nospec(
341 index = array_index_nospec(index, IOAPIC_NUM_PINS);
H A Dmtrr.c203 *unit = array_index_nospec(
209 *unit = array_index_nospec(
/linux-master/drivers/ptp/
H A Dptp_chardev.c440 pin_index = array_index_nospec(pin_index, ops->n_pins);
472 pin_index = array_index_nospec(pin_index, ops->n_pins);
/linux-master/io_uring/
H A Dregister.c411 opcode = array_index_nospec(opcode, IORING_REGISTER_LAST);
600 fd = array_index_nospec(fd, IO_RINGFD_REG_MAX);
H A Dmsg_ring.c167 idx = array_index_nospec(idx, ctx->nr_user_files);
H A Dcancel.c255 fd = array_index_nospec(fd, ctx->nr_user_files);
H A During_cmd.c217 index = array_index_nospec(req->buf_index, ctx->nr_user_bufs);
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_mux_codec.c406 if_id = array_index_nospec(if_id, IPC_MEM_MUX_IP_SESSION_ENTRIES);
454 if_id = array_index_nospec(if_id, IPC_MEM_MUX_IP_SESSION_ENTRIES);
530 next_cmd_index = array_index_nospec(next_cmd_index,
617 if_id = array_index_nospec(if_id,
/linux-master/net/core/
H A Dsock_diag.c241 req->sdiag_family = array_index_nospec(req->sdiag_family, AF_MAX);
/linux-master/kernel/dma/
H A Dcontiguous.c114 nid = array_index_nospec(tmp, MAX_NUMNODES);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c162 hw_ip = array_index_nospec(hw_ip, AMDGPU_HW_IP_NUM);
227 hw_ip = array_index_nospec(hw_ip, AMDGPU_HW_IP_NUM);
822 hw_prio = array_index_nospec(hw_prio, AMDGPU_RING_PRIO_MAX);
/linux-master/drivers/tty/vt/
H A Dvt_ioctl.c603 vsa.console = array_index_nospec(vsa.console, MAX_NR_CONSOLES);
847 arg = array_index_nospec(arg, MAX_NR_CONSOLES);
905 arg = array_index_nospec(arg - 1, MAX_NR_CONSOLES);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_exec_queue.c380 idx = array_index_nospec(ext.property, ARRAY_SIZE(exec_queue_set_property_funcs));
416 idx = array_index_nospec(ext.name,
449 idx = array_index_nospec(eci.engine_class,
/linux-master/arch/x86/kvm/vmx/
H A Dvmcs12.h378 index = array_index_nospec(index, nr_vmcs12_fields);
/linux-master/arch/arm64/kernel/
H A Dptrace.c241 idx = array_index_nospec(idx, ARM_MAX_BRP);
247 idx = array_index_nospec(idx, ARM_MAX_WRP);
267 idx = array_index_nospec(idx, ARM_MAX_BRP);
274 idx = array_index_nospec(idx, ARM_MAX_WRP);

Completed in 220 milliseconds

123456