vec 438 arch/alpha/kernel/setup.c struct alpha_machine_vector *vec = NULL; vec 502 arch/alpha/kernel/setup.c vec = get_sysvec_byname(p+9); vec 568 arch/alpha/kernel/setup.c if (!vec) { vec 569 arch/alpha/kernel/setup.c vec = get_sysvec(hwrpb->sys_type, hwrpb->sys_variation, vec 573 arch/alpha/kernel/setup.c if (!vec) { vec 578 arch/alpha/kernel/setup.c if (vec != &alpha_mv) { vec 579 arch/alpha/kernel/setup.c alpha_mv = *vec; vec 855 arch/alpha/kernel/setup.c struct alpha_machine_vector *vec; vec 858 arch/alpha/kernel/setup.c vec = NULL; vec 860 arch/alpha/kernel/setup.c vec = systype_vecs[type]; vec 863 arch/alpha/kernel/setup.c vec = api_vecs[type - ST_API_BIAS]; vec 866 arch/alpha/kernel/setup.c vec = unofficial_vecs[type - ST_UNOFFICIAL_BIAS]; vec 871 arch/alpha/kernel/setup.c if (!vec) { vec 880 arch/alpha/kernel/setup.c vec = alcor_vecs[alcor_indices[member]]; vec 884 arch/alpha/kernel/setup.c vec = eb164_vecs[eb164_indices[member]]; vec 887 arch/alpha/kernel/setup.c if (vec == &eb164_mv && cpu == EV56_CPU) vec 888 arch/alpha/kernel/setup.c vec = &pc164_mv; vec 892 arch/alpha/kernel/setup.c vec = eb64p_vecs[eb64p_indices[member]]; vec 896 arch/alpha/kernel/setup.c vec = eb66_vecs[eb66_indices[member]]; vec 900 arch/alpha/kernel/setup.c vec = marvel_vecs[marvel_indices[member]]; vec 903 arch/alpha/kernel/setup.c vec = titan_vecs[0]; /* default */ vec 905 arch/alpha/kernel/setup.c vec = titan_vecs[titan_indices[member]]; vec 909 arch/alpha/kernel/setup.c vec = tsunami_vecs[tsunami_indices[member]]; vec 913 arch/alpha/kernel/setup.c vec = &mikasa_primo_mv; vec 915 arch/alpha/kernel/setup.c vec = &mikasa_mv; vec 919 arch/alpha/kernel/setup.c vec = &noritake_primo_mv; vec 921 arch/alpha/kernel/setup.c vec = &noritake_mv; vec 925 arch/alpha/kernel/setup.c vec = &sable_gamma_mv; vec 927 arch/alpha/kernel/setup.c vec = &sable_mv; vec 931 arch/alpha/kernel/setup.c return vec; vec 120 arch/arc/kernel/troubleshoot.c unsigned int vec, cause_code; vec 128 arch/arc/kernel/troubleshoot.c vec = regs->ecr_vec; vec 132 arch/arc/kernel/troubleshoot.c if (vec == ECR_V_DTLB_MISS) { vec 137 arch/arc/kernel/troubleshoot.c } else if (vec == ECR_V_ITLB_MISS) { vec 139 arch/arc/kernel/troubleshoot.c } else if (vec == ECR_V_MACH_CHK) { vec 143 arch/arc/kernel/troubleshoot.c } else if (vec == ECR_V_PROTV) { vec 153 arch/arc/kernel/troubleshoot.c } else if (vec == ECR_V_INSN_ERR) { vec 156 arch/arc/kernel/troubleshoot.c } else if (vec == ECR_V_MEM_ERR) { vec 163 arch/arc/kernel/troubleshoot.c } else if (vec == ECR_V_MISALIGN) { vec 166 arch/arc/kernel/troubleshoot.c } else if (vec == ECR_V_TRAP) { vec 126 arch/ia64/include/asm/hw_irq.h extern void ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action); vec 165 arch/ia64/include/asm/hw_irq.h local_vector_to_irq (ia64_vector vec) vec 167 arch/ia64/include/asm/hw_irq.h return __this_cpu_read(vector_irq[vec]); vec 268 arch/ia64/kernel/iosapic.c ia64_vector vec; vec 273 arch/ia64/kernel/iosapic.c vec = irq_to_vector(irq); vec 278 arch/ia64/kernel/iosapic.c IOSAPIC_MASK|vec); vec 279 arch/ia64/kernel/iosapic.c iosapic_eoi(rte->iosapic->addr, vec); vec 392 arch/ia64/kernel/iosapic.c ia64_vector vec = irq_to_vector(irq); vec 404 arch/ia64/kernel/iosapic.c iosapic_eoi(rte->iosapic->addr, vec); vec 426 arch/ia64/kernel/irq_ia64.c # define IS_RESCHEDULE(vec) (vec == IA64_IPI_RESCHEDULE) vec 427 arch/ia64/kernel/irq_ia64.c # define IS_LOCAL_TLB_FLUSH(vec) (vec == IA64_IPI_LOCAL_TLB_FLUSH) vec 429 arch/ia64/kernel/irq_ia64.c # define IS_RESCHEDULE(vec) (0) vec 430 arch/ia64/kernel/irq_ia64.c # define IS_LOCAL_TLB_FLUSH(vec) (0) vec 610 arch/ia64/kernel/irq_ia64.c ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action) vec 614 arch/ia64/kernel/irq_ia64.c irq = vec; vec 615 arch/ia64/kernel/irq_ia64.c BUG_ON(bind_irq_vector(irq, vec, CPU_MASK_ALL)); vec 77 arch/m68k/68000/ints.c void process_int(int vec, struct pt_regs *fp) vec 66 arch/m68k/include/asm/irq.h extern void m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt); vec 95 arch/m68k/include/asm/traps.h #define VECOFF(vec) ((vec)<<2) vec 91 arch/m68k/kernel/ints.c void __init m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt) vec 96 arch/m68k/kernel/ints.c m68k_first_user_vec = vec; vec 99 arch/m68k/kernel/ints.c *user_irqvec_fixup = vec - IRQ_USER; vec 229 arch/mips/include/asm/netlogic/xlp-hal/pic.h int sch, int vec, int dt, int db, int cpu) vec 234 arch/mips/include/asm/netlogic/xlp-hal/pic.h ((0 /*mc*/) << 20) | ((vec & 0x3f) << 24) | vec 243 arch/mips/include/asm/netlogic/xlp-hal/pic.h int sch, int vec, int dt, int db, int dte) vec 248 arch/mips/include/asm/netlogic/xlp-hal/pic.h ((sch & 0x1) << 28) | ((vec & 0x3f) << 20) | vec 257 arch/mips/include/asm/netlogic/xlp-hal/pic.h int sch, int vec, int cpu) vec 260 arch/mips/include/asm/netlogic/xlp-hal/pic.h nlm_9xx_pic_write_irt(base, irt_num, en, nmi, sch, vec, vec 263 arch/mips/include/asm/netlogic/xlp-hal/pic.h nlm_pic_write_irt(base, irt_num, en, nmi, sch, vec, 1, vec 136 arch/mips/pci/msi-xlp.c int vec; vec 138 arch/mips/pci/msi-xlp.c vec = nlm_irq_msivec(d->irq); vec 140 arch/mips/pci/msi-xlp.c md->msi_enabled_mask |= 1u << vec; vec 153 arch/mips/pci/msi-xlp.c int vec; vec 155 arch/mips/pci/msi-xlp.c vec = nlm_irq_msivec(d->irq); vec 157 arch/mips/pci/msi-xlp.c md->msi_enabled_mask &= ~(1u << vec); vec 169 arch/mips/pci/msi-xlp.c int link, vec; vec 172 arch/mips/pci/msi-xlp.c vec = nlm_irq_msivec(d->irq); vec 177 arch/mips/pci/msi-xlp.c nlm_write_reg(md->lnkbase, PCIE_9XX_MSI_STATUS, 1u << vec); vec 179 arch/mips/pci/msi-xlp.c nlm_write_reg(md->lnkbase, PCIE_MSI_STATUS, 1u << vec); vec 229 arch/powerpc/include/asm/kvm_book3s.h extern void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec); vec 231 arch/powerpc/include/asm/kvm_book3s.h unsigned int vec); vec 232 arch/powerpc/include/asm/kvm_book3s.h extern void kvmppc_inject_interrupt(struct kvm_vcpu *vcpu, int vec, u64 flags); vec 89 arch/powerpc/include/asm/xics.h void (*mask_unknown)(struct ics *ics, unsigned long vec); vec 90 arch/powerpc/include/asm/xics.h long (*get_server)(struct ics *ics, unsigned long vec); vec 108 arch/powerpc/include/asm/xics.h static inline void xics_push_cppr(unsigned int vec) vec 115 arch/powerpc/include/asm/xics.h if (vec == XICS_IPI) vec 156 arch/powerpc/include/asm/xics.h extern void xics_mask_unknown_vec(unsigned int vec); vec 1302 arch/powerpc/kernel/prom_init.c u8 vec[8]; vec 1305 arch/powerpc/kernel/prom_init.c if (prop_len > sizeof(vec)) vec 1309 arch/powerpc/kernel/prom_init.c &vec, sizeof(vec)); vec 1310 arch/powerpc/kernel/prom_init.c for (i = 0; i < sizeof(vec); i += 2) { vec 1312 arch/powerpc/kernel/prom_init.c , vec[i] vec 1313 arch/powerpc/kernel/prom_init.c , vec[i + 1]); vec 1314 arch/powerpc/kernel/prom_init.c prom_parse_platform_support(vec[i], vec[i + 1], vec 135 arch/powerpc/kvm/book3s.c void kvmppc_inject_interrupt(struct kvm_vcpu *vcpu, int vec, u64 flags) vec 140 arch/powerpc/kvm/book3s.c kvmppc_set_pc(vcpu, kvmppc_interrupt_offset(vcpu) + vec); vec 144 arch/powerpc/kvm/book3s.c static int kvmppc_book3s_vec2irqprio(unsigned int vec) vec 148 arch/powerpc/kvm/book3s.c switch (vec) { vec 172 arch/powerpc/kvm/book3s.c unsigned int vec) vec 176 arch/powerpc/kvm/book3s.c clear_bit(kvmppc_book3s_vec2irqprio(vec), vec 183 arch/powerpc/kvm/book3s.c void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec) vec 187 arch/powerpc/kvm/book3s.c set_bit(kvmppc_book3s_vec2irqprio(vec), vec 190 arch/powerpc/kvm/book3s.c printk(KERN_INFO "Queueing interrupt %x\n", vec); vec 298 arch/powerpc/kvm/book3s.c int vec = 0; vec 304 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_DECREMENTER; vec 308 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_EXTERNAL; vec 311 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_SYSTEM_RESET; vec 314 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_MACHINE_CHECK; vec 317 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_DATA_STORAGE; vec 320 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_INST_STORAGE; vec 323 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_DATA_SEGMENT; vec 326 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_INST_SEGMENT; vec 329 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_ALIGNMENT; vec 332 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_PROGRAM; vec 335 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_VSX; vec 338 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_ALTIVEC; vec 341 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_FP_UNAVAIL; vec 344 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_SYSCALL; vec 347 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_TRACE; vec 350 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_PERFMON; vec 353 arch/powerpc/kvm/book3s.c vec = BOOK3S_INTERRUPT_FAC_UNAVAIL; vec 362 arch/powerpc/kvm/book3s.c printk(KERN_INFO "Deliver interrupt 0x%x? %x\n", vec, deliver); vec 366 arch/powerpc/kvm/book3s.c kvmppc_inject_interrupt(vcpu, vec, 0); vec 765 arch/powerpc/kvm/book3s_hv_builtin.c unsigned long vec = 0; vec 777 arch/powerpc/kvm/book3s_hv_builtin.c vec = BOOK3S_INTERRUPT_EXTERNAL; vec 783 arch/powerpc/kvm/book3s_hv_builtin.c vec = BOOK3S_INTERRUPT_DECREMENTER; vec 786 arch/powerpc/kvm/book3s_hv_builtin.c if (vec) { vec 791 arch/powerpc/kvm/book3s_hv_builtin.c kvmppc_set_pc(vcpu, vec); vec 668 arch/powerpc/kvm/book3s_pr.c ulong eaddr, int vec) vec 670 arch/powerpc/kvm/book3s_pr.c bool data = (vec == BOOK3S_INTERRUPT_DATA_STORAGE); vec 749 arch/powerpc/kvm/book3s_pr.c kvmppc_book3s_queue_irqprio(vcpu, vec + 0x80); vec 106 arch/powerpc/sysdev/xics/icp-hv.c unsigned int vec = xirr & 0x00ffffff; vec 109 arch/powerpc/sysdev/xics/icp-hv.c if (vec == XICS_IRQ_SPURIOUS) vec 112 arch/powerpc/sysdev/xics/icp-hv.c irq = irq_find_mapping(xics_host, vec); vec 114 arch/powerpc/sysdev/xics/icp-hv.c xics_push_cppr(vec); vec 119 arch/powerpc/sysdev/xics/icp-hv.c xics_mask_unknown_vec(vec); vec 118 arch/powerpc/sysdev/xics/icp-native.c unsigned int vec = xirr & 0x00ffffff; vec 121 arch/powerpc/sysdev/xics/icp-native.c if (vec == XICS_IRQ_SPURIOUS) vec 124 arch/powerpc/sysdev/xics/icp-native.c irq = irq_find_mapping(xics_host, vec); vec 126 arch/powerpc/sysdev/xics/icp-native.c xics_push_cppr(vec); vec 131 arch/powerpc/sysdev/xics/icp-native.c xics_mask_unknown_vec(vec); vec 175 arch/powerpc/sysdev/xics/icp-native.c unsigned int vec = xirr & 0x00ffffff; vec 177 arch/powerpc/sysdev/xics/icp-native.c if (vec == XICS_IRQ_SPURIOUS) vec 179 arch/powerpc/sysdev/xics/icp-native.c if (vec == XICS_IPI) { vec 186 arch/powerpc/sysdev/xics/icp-native.c vec); vec 187 arch/powerpc/sysdev/xics/icp-native.c xics_mask_unknown_vec(vec); vec 64 arch/powerpc/sysdev/xics/icp-opal.c unsigned int vec; vec 68 arch/powerpc/sysdev/xics/icp-opal.c vec = xirr & 0x00ffffff; vec 69 arch/powerpc/sysdev/xics/icp-opal.c if (vec == XICS_IRQ_SPURIOUS) vec 72 arch/powerpc/sysdev/xics/icp-opal.c irq = irq_find_mapping(xics_host, vec); vec 74 arch/powerpc/sysdev/xics/icp-opal.c xics_push_cppr(vec); vec 79 arch/powerpc/sysdev/xics/icp-opal.c xics_mask_unknown_vec(vec); vec 150 arch/powerpc/sysdev/xics/icp-opal.c unsigned int vec; vec 154 arch/powerpc/sysdev/xics/icp-opal.c vec = xirr & 0x00ffffff; vec 155 arch/powerpc/sysdev/xics/icp-opal.c if (vec == XICS_IRQ_SPURIOUS) vec 157 arch/powerpc/sysdev/xics/icp-opal.c if (vec == XICS_IPI) { vec 164 arch/powerpc/sysdev/xics/icp-opal.c "disabling\n", vec); vec 165 arch/powerpc/sysdev/xics/icp-opal.c xics_mask_unknown_vec(vec); vec 161 arch/powerpc/sysdev/xics/ics-opal.c static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec); vec 162 arch/powerpc/sysdev/xics/ics-opal.c static long ics_opal_get_server(struct ics *ics, unsigned long vec); vec 198 arch/powerpc/sysdev/xics/ics-opal.c static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec) vec 205 arch/powerpc/sysdev/xics/ics-opal.c rc = opal_get_xive(vec, &server, &priority); vec 209 arch/powerpc/sysdev/xics/ics-opal.c ics_opal_mask_real_irq(vec); vec 212 arch/powerpc/sysdev/xics/ics-opal.c static long ics_opal_get_server(struct ics *ics, unsigned long vec) vec 219 arch/powerpc/sysdev/xics/ics-opal.c rc = opal_get_xive(vec, &server, &priority); vec 28 arch/powerpc/sysdev/xics/ics-rtas.c static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec); vec 29 arch/powerpc/sysdev/xics/ics-rtas.c static long ics_rtas_get_server(struct ics *ics, unsigned long vec); vec 192 arch/powerpc/sysdev/xics/ics-rtas.c static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec) vec 194 arch/powerpc/sysdev/xics/ics-rtas.c ics_rtas_mask_real_irq(vec); vec 197 arch/powerpc/sysdev/xics/ics-rtas.c static long ics_rtas_get_server(struct ics *ics, unsigned long vec) vec 201 arch/powerpc/sysdev/xics/ics-rtas.c rc = rtas_call(ibm_get_xive, 1, 3, status, vec); vec 112 arch/powerpc/sysdev/xics/xics-common.c void xics_mask_unknown_vec(unsigned int vec) vec 116 arch/powerpc/sysdev/xics/xics-common.c pr_err("Interrupt 0x%x (real) is invalid, disabling it.\n", vec); vec 119 arch/powerpc/sysdev/xics/xics-common.c ics->mask_unknown(ics, vec); vec 180 arch/powerpc/xmon/xmon.c static const char *getvecname(unsigned long vec); vec 1495 arch/powerpc/xmon/xmon.c const char *getvecname(unsigned long vec) vec 1499 arch/powerpc/xmon/xmon.c switch (vec) { vec 58 arch/sh/include/asm/traps_32.h unsigned int vec = regs->tra; \ vec 59 arch/sh/include/asm/traps_32.h (void)vec; vec 32 arch/sh/include/asm/traps_64.h asmlinkage void name##_trap_handler(unsigned int vec, struct pt_regs *regs) vec 144 arch/sh/include/asm/uaccess.h extern void *set_exception_table_vec(unsigned int vec, void *handler); vec 544 arch/sh/kernel/ptrace_64.c asmlinkage void do_single_step(unsigned long long vec, struct pt_regs *regs) vec 140 arch/sh/kernel/traps.c if (notify_die(DIE_TRAP, "debug trap", regs, 0, vec & 0xff, vec 181 arch/sh/kernel/traps.c switch (notify_die(DIE_NMI, "NMI", regs, 0, vec & 0xff, SIGINT)) { vec 746 arch/sh/kernel/traps_32.c void *set_exception_table_vec(unsigned int vec, void *handler) vec 751 arch/sh/kernel/traps_32.c old_handler = exception_handling_table[vec]; vec 752 arch/sh/kernel/traps_32.c exception_handling_table[vec] = handler; vec 378 arch/sh/mm/fault.c unsigned long vec; vec 387 arch/sh/mm/fault.c vec = lookup_exception_vector(); vec 401 arch/sh/mm/fault.c if (kprobe_page_fault(regs, vec)) vec 408 arch/sh/mm/fault.c if (unlikely(kprobe_page_fault(regs, vec))) vec 228 arch/um/os-Linux/process.c char vec[2]; vec 231 arch/um/os-Linux/process.c ret = mincore(addr, UM_KERN_PAGE_SIZE, vec); vec 239 arch/um/os-Linux/process.c return vec[0] & 1; vec 244 arch/um/os-Linux/process.c char *vec; vec 250 arch/um/os-Linux/process.c vec = calloc(1, (len + UM_KERN_PAGE_SIZE - 1) / UM_KERN_PAGE_SIZE); vec 251 arch/um/os-Linux/process.c if (!vec) vec 254 arch/um/os-Linux/process.c ret = mincore(addr, UM_KERN_PAGE_SIZE, vec); vec 265 arch/um/os-Linux/process.c if (!(vec[i] & 1)) { vec 273 arch/um/os-Linux/process.c free(vec); vec 303 arch/x86/include/asm/apic.h void (*send_IPI_mask_allbutself)(const struct cpumask *msk, int vec); vec 940 arch/x86/kernel/alternative.c struct text_poke_loc *vec; vec 989 arch/x86/kernel/alternative.c tp = bsearch(ip, bp_patching.vec, bp_patching.nr_entries, vec 995 arch/x86/kernel/alternative.c tp = bp_patching.vec; vec 1036 arch/x86/kernel/alternative.c bp_patching.vec = tp; vec 1086 arch/x86/kernel/alternative.c bp_patching.vec = NULL; vec 609 arch/x86/kvm/emulate.c static int emulate_exception(struct x86_emulate_ctxt *ctxt, int vec, vec 612 arch/x86/kvm/emulate.c WARN_ON(vec > 0x1f); vec 613 arch/x86/kvm/emulate.c ctxt->exception.vector = vec; vec 76 arch/x86/kvm/lapic.c static inline int apic_test_vector(int vec, void *bitmap) vec 78 arch/x86/kvm/lapic.c return test_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); vec 89 arch/x86/kvm/lapic.c static inline int __apic_test_and_set_vector(int vec, void *bitmap) vec 91 arch/x86/kvm/lapic.c return __test_and_set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); vec 94 arch/x86/kvm/lapic.c static inline int __apic_test_and_clear_vector(int vec, void *bitmap) vec 96 arch/x86/kvm/lapic.c return __test_and_clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); vec 358 arch/x86/kvm/lapic.c int vec; vec 361 arch/x86/kvm/lapic.c for (vec = MAX_APIC_VECTOR - APIC_VECTORS_PER_REG; vec 362 arch/x86/kvm/lapic.c vec >= 0; vec -= APIC_VECTORS_PER_REG) { vec 363 arch/x86/kvm/lapic.c reg = bitmap + REG_POS(vec); vec 365 arch/x86/kvm/lapic.c return __fls(*reg) + vec; vec 373 arch/x86/kvm/lapic.c int vec; vec 377 arch/x86/kvm/lapic.c for (vec = 0; vec < MAX_APIC_VECTOR; vec += APIC_VECTORS_PER_REG) { vec 378 arch/x86/kvm/lapic.c reg = bitmap + REG_POS(vec); vec 387 arch/x86/kvm/lapic.c u32 i, vec; vec 394 arch/x86/kvm/lapic.c for (i = vec = 0; i <= 7; i++, vec += 32) { vec 403 arch/x86/kvm/lapic.c __fls(irr_val ^ prev_irr_val) + vec; vec 407 arch/x86/kvm/lapic.c *max_irr = __fls(irr_val) + vec; vec 445 arch/x86/kvm/lapic.c static inline void apic_clear_irr(int vec, struct kvm_lapic *apic) vec 453 arch/x86/kvm/lapic.c kvm_lapic_clear_vector(vec, apic->regs + APIC_IRR); vec 458 arch/x86/kvm/lapic.c kvm_lapic_clear_vector(vec, apic->regs + APIC_IRR); vec 464 arch/x86/kvm/lapic.c static inline void apic_set_isr(int vec, struct kvm_lapic *apic) vec 468 arch/x86/kvm/lapic.c if (__apic_test_and_set_vector(vec, apic->regs + APIC_ISR)) vec 479 arch/x86/kvm/lapic.c kvm_x86_ops->hwapic_isr_update(vcpu, vec); vec 488 arch/x86/kvm/lapic.c apic->highest_isr_cache = vec; vec 511 arch/x86/kvm/lapic.c static inline void apic_clear_isr(int vec, struct kvm_lapic *apic) vec 514 arch/x86/kvm/lapic.c if (!__apic_test_and_clear_vector(vec, apic->regs + APIC_ISR)) vec 1446 arch/x86/kvm/lapic.c int vec = reg & APIC_VECTOR_MASK; vec 1452 arch/x86/kvm/lapic.c if (apic_test_vector(vec, bitmap)) vec 132 arch/x86/kvm/lapic.h static inline void kvm_lapic_clear_vector(int vec, void *bitmap) vec 134 arch/x86/kvm/lapic.h clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); vec 137 arch/x86/kvm/lapic.h static inline void kvm_lapic_set_vector(int vec, void *bitmap) vec 139 arch/x86/kvm/lapic.h set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec)); vec 142 arch/x86/kvm/lapic.h static inline void kvm_lapic_set_irr(int vec, struct kvm_lapic *apic) vec 144 arch/x86/kvm/lapic.h kvm_lapic_set_vector(vec, apic->regs + APIC_IRR); vec 5190 arch/x86/kvm/svm.c static int svm_deliver_avic_intr(struct kvm_vcpu *vcpu, int vec) vec 5195 arch/x86/kvm/svm.c kvm_lapic_set_irr(vec, vcpu->arch.apic); vec 444 arch/x86/kvm/trace.h TP_PROTO(__u32 apicid, __u16 dm, __u16 tm, __u8 vec), vec 445 arch/x86/kvm/trace.h TP_ARGS(apicid, dm, tm, vec), vec 451 arch/x86/kvm/trace.h __field( __u8, vec ) vec 458 arch/x86/kvm/trace.h __entry->vec = vec; vec 462 arch/x86/kvm/trace.h __entry->apicid, __entry->vec, vec 1323 arch/x86/kvm/trace.h TP_PROTO(u32 vcpu, u32 offset, bool ft, bool rw, u32 vec), vec 1324 arch/x86/kvm/trace.h TP_ARGS(vcpu, offset, ft, rw, vec), vec 1331 arch/x86/kvm/trace.h __field(u32, vec) vec 1339 arch/x86/kvm/trace.h __entry->vec = vec; vec 1348 arch/x86/kvm/trace.h __entry->vec) vec 4510 arch/x86/kvm/vmx/vmx.c static bool rmode_exception(struct kvm_vcpu *vcpu, int vec) vec 4512 arch/x86/kvm/vmx/vmx.c switch (vec) { vec 4543 arch/x86/kvm/vmx/vmx.c int vec, u32 err_code) vec 4549 arch/x86/kvm/vmx/vmx.c if (((vec == GP_VECTOR) || (vec == SS_VECTOR)) && err_code == 0) { vec 4565 arch/x86/kvm/vmx/vmx.c kvm_queue_exception(vcpu, vec); vec 1036 crypto/testmgr.c const struct hash_testvec *vec, vec 1044 crypto/testmgr.c kv.iov_base = (void *)vec->plaintext; vec 1045 crypto/testmgr.c kv.iov_len = vec->psize; vec 1046 crypto/testmgr.c iov_iter_kvec(&input, WRITE, &kv, 1, vec->psize); vec 1047 crypto/testmgr.c return build_test_sglist(tsgl, cfg->src_divs, alignmask, vec->psize, vec 1053 crypto/testmgr.c const struct hash_testvec *vec, vec 1058 crypto/testmgr.c if (memcmp(result, vec->digest, digestsize) != 0) { vec 1088 crypto/testmgr.c const struct hash_testvec *vec, vec 1105 crypto/testmgr.c if (vec->ksize) { vec 1106 crypto/testmgr.c err = crypto_shash_setkey(tfm, vec->key, vec->ksize); vec 1108 crypto/testmgr.c if (err == vec->setkey_error) vec 1111 crypto/testmgr.c driver, vec_name, vec->setkey_error, err, vec 1115 crypto/testmgr.c if (vec->setkey_error) { vec 1117 crypto/testmgr.c driver, vec_name, vec->setkey_error); vec 1123 crypto/testmgr.c err = build_hash_sglist(tsgl, vec, cfg, alignmask, divs); vec 1136 crypto/testmgr.c vec->digest_error) { vec 1147 crypto/testmgr.c if (err == vec->digest_error) vec 1150 crypto/testmgr.c driver, vec_name, vec->digest_error, err, vec 1154 crypto/testmgr.c if (vec->digest_error) { vec 1156 crypto/testmgr.c driver, vec_name, vec->digest_error, cfg->name); vec 1230 crypto/testmgr.c return check_hash_result("shash", result, digestsize, vec, vec_name, vec 1271 crypto/testmgr.c const struct hash_testvec *vec, vec 1292 crypto/testmgr.c if (vec->ksize) { vec 1293 crypto/testmgr.c err = crypto_ahash_setkey(tfm, vec->key, vec->ksize); vec 1295 crypto/testmgr.c if (err == vec->setkey_error) vec 1298 crypto/testmgr.c driver, vec_name, vec->setkey_error, err, vec 1302 crypto/testmgr.c if (vec->setkey_error) { vec 1304 crypto/testmgr.c driver, vec_name, vec->setkey_error); vec 1310 crypto/testmgr.c err = build_hash_sglist(tsgl, vec, cfg, alignmask, divs); vec 1323 crypto/testmgr.c vec->digest_error) { vec 1327 crypto/testmgr.c ahash_request_set_crypt(req, tsgl->sgl, result, vec->psize); vec 1330 crypto/testmgr.c if (err == vec->digest_error) vec 1333 crypto/testmgr.c driver, vec_name, vec->digest_error, err, vec 1337 crypto/testmgr.c if (vec->digest_error) { vec 1339 crypto/testmgr.c driver, vec_name, vec->digest_error, cfg->name); vec 1431 crypto/testmgr.c return check_hash_result("ahash", result, digestsize, vec, vec_name, vec 1436 crypto/testmgr.c const struct hash_testvec *vec, vec 1453 crypto/testmgr.c err = test_shash_vec_cfg(driver, vec, vec_name, cfg, desc, tsgl, vec 1459 crypto/testmgr.c return test_ahash_vec_cfg(driver, vec, vec_name, cfg, req, tsgl, vec 1463 crypto/testmgr.c static int test_hash_vec(const char *driver, const struct hash_testvec *vec, vec 1475 crypto/testmgr.c err = test_hash_vec_cfg(driver, vec, vec_name, vec 1490 crypto/testmgr.c err = test_hash_vec_cfg(driver, vec, vec_name, &cfg, vec 1507 crypto/testmgr.c struct hash_testvec *vec, vec 1513 crypto/testmgr.c vec->psize = generate_random_length(maxdatasize); vec 1514 crypto/testmgr.c generate_random_bytes((u8 *)vec->plaintext, vec->psize); vec 1520 crypto/testmgr.c vec->setkey_error = 0; vec 1521 crypto/testmgr.c vec->ksize = 0; vec 1523 crypto/testmgr.c vec->ksize = maxkeysize; vec 1525 crypto/testmgr.c vec->ksize = 1 + (prandom_u32() % maxkeysize); vec 1526 crypto/testmgr.c generate_random_bytes((u8 *)vec->key, vec->ksize); vec 1528 crypto/testmgr.c vec->setkey_error = crypto_shash_setkey(desc->tfm, vec->key, vec 1529 crypto/testmgr.c vec->ksize); vec 1531 crypto/testmgr.c if (vec->setkey_error) vec 1536 crypto/testmgr.c vec->digest_error = crypto_shash_digest(desc, vec->plaintext, vec 1537 crypto/testmgr.c vec->psize, (u8 *)vec->digest); vec 1540 crypto/testmgr.c vec->psize, vec->ksize); vec 1564 crypto/testmgr.c struct hash_testvec vec = { 0 }; vec 1632 crypto/testmgr.c vec.key = kmalloc(maxkeysize, GFP_KERNEL); vec 1633 crypto/testmgr.c vec.plaintext = kmalloc(maxdatasize, GFP_KERNEL); vec 1634 crypto/testmgr.c vec.digest = kmalloc(digestsize, GFP_KERNEL); vec 1635 crypto/testmgr.c if (!vec.key || !vec.plaintext || !vec.digest) { vec 1641 crypto/testmgr.c generate_random_hash_testvec(generic_desc, &vec, vec 1646 crypto/testmgr.c err = test_hash_vec_cfg(driver, &vec, vec_name, cfg, vec 1655 crypto/testmgr.c kfree(vec.key); vec 1656 crypto/testmgr.c kfree(vec.plaintext); vec 1657 crypto/testmgr.c kfree(vec.digest); vec 1838 crypto/testmgr.c const struct aead_testvec *vec, vec 1847 crypto/testmgr.c const unsigned int authsize = vec->clen - vec->plen; vec 1860 crypto/testmgr.c if (vec->wk) vec 1864 crypto/testmgr.c err = crypto_aead_setkey(tfm, vec->key, vec->klen); vec 1865 crypto/testmgr.c if (err && err != vec->setkey_error) { vec 1867 crypto/testmgr.c driver, vec_name, vec->setkey_error, err, vec 1871 crypto/testmgr.c if (!err && vec->setkey_error) { vec 1873 crypto/testmgr.c driver, vec_name, vec->setkey_error); vec 1879 crypto/testmgr.c if (err && err != vec->setauthsize_error) { vec 1881 crypto/testmgr.c driver, vec_name, vec->setauthsize_error, err); vec 1884 crypto/testmgr.c if (!err && vec->setauthsize_error) { vec 1886 crypto/testmgr.c driver, vec_name, vec->setauthsize_error); vec 1890 crypto/testmgr.c if (vec->setkey_error || vec->setauthsize_error) vec 1896 crypto/testmgr.c if (vec->iv) vec 1897 crypto/testmgr.c memcpy(iv, vec->iv, ivsize); vec 1902 crypto/testmgr.c input[0].iov_base = (void *)vec->assoc; vec 1903 crypto/testmgr.c input[0].iov_len = vec->alen; vec 1904 crypto/testmgr.c input[1].iov_base = enc ? (void *)vec->ptext : (void *)vec->ctext; vec 1905 crypto/testmgr.c input[1].iov_len = enc ? vec->plen : vec->clen; vec 1907 crypto/testmgr.c vec->alen + (enc ? vec->plen : vec 1908 crypto/testmgr.c vec->clen), vec 1909 crypto/testmgr.c vec->alen + (enc ? vec->clen : vec 1910 crypto/testmgr.c vec->plen), vec 1922 crypto/testmgr.c enc ? vec->plen : vec->clen, iv); vec 1923 crypto/testmgr.c aead_request_set_ad(req, vec->alen); vec 1932 crypto/testmgr.c if (req->cryptlen != (enc ? vec->plen : vec->clen) || vec 1933 crypto/testmgr.c req->assoclen != vec->alen || vec 1943 crypto/testmgr.c if (req->cryptlen != (enc ? vec->plen : vec->clen)) vec 1945 crypto/testmgr.c if (req->assoclen != vec->alen) vec 1976 crypto/testmgr.c expected_error = vec->novrfy ? -EBADMSG : vec->crypt_error; vec 1991 crypto/testmgr.c err = verify_correct_output(&tsgls->dst, enc ? vec->ctext : vec->ptext, vec 1992 crypto/testmgr.c enc ? vec->clen : vec->plen, vec 1993 crypto/testmgr.c vec->alen, enc || !cfg->inplace); vec 2009 crypto/testmgr.c const struct aead_testvec *vec, unsigned int vec_num, vec 2017 crypto/testmgr.c if (enc && vec->novrfy) vec 2023 crypto/testmgr.c err = test_aead_vec_cfg(driver, enc, vec, vec_name, vec 2038 crypto/testmgr.c err = test_aead_vec_cfg(driver, enc, vec, vec_name, vec 2055 crypto/testmgr.c struct aead_testvec *vec, vec 2071 crypto/testmgr.c vec->klen = maxkeysize; vec 2073 crypto/testmgr.c vec->klen = prandom_u32() % (maxkeysize + 1); vec 2074 crypto/testmgr.c generate_random_bytes((u8 *)vec->key, vec->klen); vec 2075 crypto/testmgr.c vec->setkey_error = crypto_aead_setkey(tfm, vec->key, vec->klen); vec 2078 crypto/testmgr.c generate_random_bytes((u8 *)vec->iv, ivsize); vec 2087 crypto/testmgr.c vec->setauthsize_error = crypto_aead_setauthsize(tfm, authsize); vec 2092 crypto/testmgr.c vec->alen = 0; vec 2094 crypto/testmgr.c vec->alen = generate_random_length(total_len); vec 2095 crypto/testmgr.c vec->plen = total_len - vec->alen; vec 2096 crypto/testmgr.c generate_random_bytes((u8 *)vec->assoc, vec->alen); vec 2097 crypto/testmgr.c generate_random_bytes((u8 *)vec->ptext, vec->plen); vec 2099 crypto/testmgr.c vec->clen = vec->plen + authsize; vec 2105 crypto/testmgr.c vec->crypt_error = 0; vec 2106 crypto/testmgr.c if (vec->setkey_error || vec->setauthsize_error) vec 2112 crypto/testmgr.c if (vec->alen) vec 2113 crypto/testmgr.c sg_set_buf(&src[i++], vec->assoc, vec->alen); vec 2114 crypto/testmgr.c if (vec->plen) vec 2115 crypto/testmgr.c sg_set_buf(&src[i++], vec->ptext, vec->plen); vec 2116 crypto/testmgr.c sg_init_one(&dst, vec->ctext, vec->alen + vec->clen); vec 2117 crypto/testmgr.c memcpy(iv, vec->iv, ivsize); vec 2119 crypto/testmgr.c aead_request_set_crypt(req, src, &dst, vec->plen, iv); vec 2120 crypto/testmgr.c aead_request_set_ad(req, vec->alen); vec 2121 crypto/testmgr.c vec->crypt_error = crypto_wait_req(crypto_aead_encrypt(req), &wait); vec 2122 crypto/testmgr.c if (vec->crypt_error == 0) vec 2123 crypto/testmgr.c memmove((u8 *)vec->ctext, vec->ctext + vec->alen, vec->clen); vec 2127 crypto/testmgr.c vec->alen, vec->plen, authsize, vec->klen); vec 2151 crypto/testmgr.c struct aead_testvec vec = { 0 }; vec 2229 crypto/testmgr.c vec.key = kmalloc(maxkeysize, GFP_KERNEL); vec 2230 crypto/testmgr.c vec.iv = kmalloc(ivsize, GFP_KERNEL); vec 2231 crypto/testmgr.c vec.assoc = kmalloc(maxdatasize, GFP_KERNEL); vec 2232 crypto/testmgr.c vec.ptext = kmalloc(maxdatasize, GFP_KERNEL); vec 2233 crypto/testmgr.c vec.ctext = kmalloc(maxdatasize, GFP_KERNEL); vec 2234 crypto/testmgr.c if (!vec.key || !vec.iv || !vec.assoc || !vec.ptext || !vec.ctext) { vec 2240 crypto/testmgr.c generate_random_aead_testvec(generic_req, &vec, vec 2245 crypto/testmgr.c err = test_aead_vec_cfg(driver, ENCRYPT, &vec, vec_name, cfg, vec 2249 crypto/testmgr.c if (vec.crypt_error == 0) { vec 2250 crypto/testmgr.c err = test_aead_vec_cfg(driver, DECRYPT, &vec, vec_name, vec 2260 crypto/testmgr.c kfree(vec.key); vec 2261 crypto/testmgr.c kfree(vec.iv); vec 2262 crypto/testmgr.c kfree(vec.assoc); vec 2263 crypto/testmgr.c kfree(vec.ptext); vec 2264 crypto/testmgr.c kfree(vec.ctext); vec 2438 crypto/testmgr.c const struct cipher_testvec *vec, vec 2458 crypto/testmgr.c if (vec->wk) vec 2463 crypto/testmgr.c err = crypto_skcipher_setkey(tfm, vec->key, vec->klen); vec 2465 crypto/testmgr.c if (err == vec->setkey_error) vec 2468 crypto/testmgr.c driver, vec_name, vec->setkey_error, err, vec 2472 crypto/testmgr.c if (vec->setkey_error) { vec 2474 crypto/testmgr.c driver, vec_name, vec->setkey_error); vec 2482 crypto/testmgr.c if (vec->generates_iv && !enc) vec 2483 crypto/testmgr.c memcpy(iv, vec->iv_out, ivsize); vec 2484 crypto/testmgr.c else if (vec->iv) vec 2485 crypto/testmgr.c memcpy(iv, vec->iv, ivsize); vec 2489 crypto/testmgr.c if (vec->generates_iv) { vec 2498 crypto/testmgr.c input.iov_base = enc ? (void *)vec->ptext : (void *)vec->ctext; vec 2499 crypto/testmgr.c input.iov_len = vec->len; vec 2501 crypto/testmgr.c vec->len, vec->len, &input, 1); vec 2512 crypto/testmgr.c vec->len, iv); vec 2521 crypto/testmgr.c if (req->cryptlen != vec->len || vec 2531 crypto/testmgr.c if (req->cryptlen != vec->len) vec 2563 crypto/testmgr.c if (err == vec->crypt_error) vec 2566 crypto/testmgr.c driver, op, vec_name, vec->crypt_error, err, cfg->name); vec 2569 crypto/testmgr.c if (vec->crypt_error) { vec 2571 crypto/testmgr.c driver, op, vec_name, vec->crypt_error, cfg->name); vec 2576 crypto/testmgr.c err = verify_correct_output(&tsgls->dst, enc ? vec->ctext : vec->ptext, vec 2577 crypto/testmgr.c vec->len, 0, true); vec 2590 crypto/testmgr.c if (vec->iv_out && memcmp(iv, vec->iv_out, ivsize) != 0) { vec 2601 crypto/testmgr.c const struct cipher_testvec *vec, vec 2610 crypto/testmgr.c if (fips_enabled && vec->fips_skip) vec 2616 crypto/testmgr.c err = test_skcipher_vec_cfg(driver, enc, vec, vec_name, vec 2631 crypto/testmgr.c err = test_skcipher_vec_cfg(driver, enc, vec, vec_name, vec 2648 crypto/testmgr.c struct cipher_testvec *vec, vec 2660 crypto/testmgr.c vec->klen = maxkeysize; vec 2662 crypto/testmgr.c vec->klen = prandom_u32() % (maxkeysize + 1); vec 2663 crypto/testmgr.c generate_random_bytes((u8 *)vec->key, vec->klen); vec 2664 crypto/testmgr.c vec->setkey_error = crypto_skcipher_setkey(tfm, vec->key, vec->klen); vec 2667 crypto/testmgr.c generate_random_bytes((u8 *)vec->iv, ivsize); vec 2670 crypto/testmgr.c vec->len = generate_random_length(maxdatasize); vec 2671 crypto/testmgr.c generate_random_bytes((u8 *)vec->ptext, vec->len); vec 2674 crypto/testmgr.c if (vec->setkey_error) vec 2678 crypto/testmgr.c sg_init_one(&src, vec->ptext, vec->len); vec 2679 crypto/testmgr.c sg_init_one(&dst, vec->ctext, vec->len); vec 2680 crypto/testmgr.c memcpy(iv, vec->iv, ivsize); vec 2682 crypto/testmgr.c skcipher_request_set_crypt(req, &src, &dst, vec->len, iv); vec 2683 crypto/testmgr.c vec->crypt_error = crypto_wait_req(crypto_skcipher_encrypt(req), &wait); vec 2684 crypto/testmgr.c if (vec->crypt_error != 0) { vec 2691 crypto/testmgr.c memset((u8 *)vec->ctext, 0, vec->len); vec 2695 crypto/testmgr.c vec->len, vec->klen); vec 2716 crypto/testmgr.c struct cipher_testvec vec = { 0 }; vec 2793 crypto/testmgr.c vec.key = kmalloc(tfm->keysize, GFP_KERNEL); vec 2794 crypto/testmgr.c vec.iv = kmalloc(ivsize, GFP_KERNEL); vec 2795 crypto/testmgr.c vec.ptext = kmalloc(maxdatasize, GFP_KERNEL); vec 2796 crypto/testmgr.c vec.ctext = kmalloc(maxdatasize, GFP_KERNEL); vec 2797 crypto/testmgr.c if (!vec.key || !vec.iv || !vec.ptext || !vec.ctext) { vec 2803 crypto/testmgr.c generate_random_cipher_testvec(generic_req, &vec, maxdatasize, vec 2807 crypto/testmgr.c err = test_skcipher_vec_cfg(driver, ENCRYPT, &vec, vec_name, vec 2811 crypto/testmgr.c err = test_skcipher_vec_cfg(driver, DECRYPT, &vec, vec_name, vec 2820 crypto/testmgr.c kfree(vec.key); vec 2821 crypto/testmgr.c kfree(vec.iv); vec 2822 crypto/testmgr.c kfree(vec.ptext); vec 2823 crypto/testmgr.c kfree(vec.ctext); vec 3473 crypto/testmgr.c static int do_test_kpp(struct crypto_kpp *tfm, const struct kpp_testvec *vec, vec 3493 crypto/testmgr.c err = crypto_kpp_set_secret(tfm, vec->secret, vec->secret_size); vec 3519 crypto/testmgr.c if (vec->genkey) { vec 3528 crypto/testmgr.c if (memcmp(vec->expected_a_public, sg_virt(req->dst), vec 3529 crypto/testmgr.c vec->expected_a_public_size)) { vec 3538 crypto/testmgr.c input_buf = kmemdup(vec->b_public, vec->b_public_size, GFP_KERNEL); vec 3544 crypto/testmgr.c sg_init_one(&src, input_buf, vec->b_public_size); vec 3546 crypto/testmgr.c kpp_request_set_input(req, &src, vec->b_public_size); vec 3557 crypto/testmgr.c if (vec->genkey) { vec 3559 crypto/testmgr.c a_ss = kmemdup(sg_virt(req->dst), vec->expected_ss_size, GFP_KERNEL); vec 3569 crypto/testmgr.c err = crypto_kpp_set_secret(tfm, vec->b_secret, vec 3570 crypto/testmgr.c vec->b_secret_size); vec 3574 crypto/testmgr.c sg_init_one(&src, a_public, vec->expected_a_public_size); vec 3576 crypto/testmgr.c kpp_request_set_input(req, &src, vec->expected_a_public_size); vec 3590 crypto/testmgr.c shared_secret = (void *)vec->expected_ss; vec 3598 crypto/testmgr.c vec->expected_ss_size)) { vec 343 drivers/block/umem.c struct bio_vec vec; vec 361 drivers/block/umem.c vec = bio_iter_iovec(bio, card->current_iter); vec 364 drivers/block/umem.c vec.bv_page, vec 365 drivers/block/umem.c vec.bv_offset, vec 366 drivers/block/umem.c vec.bv_len, vec 385 drivers/block/umem.c desc->transfer_size = cpu_to_le32(vec.bv_len); vec 401 drivers/block/umem.c bio_advance_iter(bio, &card->current_iter, vec.bv_len); vec 431 drivers/block/umem.c struct bio_vec vec; vec 439 drivers/block/umem.c vec = bio_iter_iovec(bio, page->iter); vec 440 drivers/block/umem.c bio_advance_iter(bio, &page->iter, vec.bv_len); vec 449 drivers/block/umem.c vec.bv_len, vec 1428 drivers/block/zram/zram_drv.c struct bio_vec vec; vec 1430 drivers/block/zram/zram_drv.c vec = *bvec; vec 1451 drivers/block/zram/zram_drv.c vec.bv_page = page; vec 1452 drivers/block/zram/zram_drv.c vec.bv_len = PAGE_SIZE; vec 1453 drivers/block/zram/zram_drv.c vec.bv_offset = 0; vec 1456 drivers/block/zram/zram_drv.c ret = __zram_bvec_write(zram, &vec, index, bio); vec 623 drivers/char/applicom.c static irqreturn_t ac_interrupt(int vec, void *dev_instance) vec 359 drivers/crypto/cavium/cpt/cptvf_main.c static void cptvf_free_irq_affinity(struct cpt_vf *cptvf, int vec) vec 361 drivers/crypto/cavium/cpt/cptvf_main.c irq_set_affinity_hint(pci_irq_vector(cptvf->pdev, vec), NULL); vec 362 drivers/crypto/cavium/cpt/cptvf_main.c free_cpumask_var(cptvf->affinity_mask[vec]); vec 614 drivers/crypto/cavium/cpt/cptvf_main.c static void cptvf_set_irq_affinity(struct cpt_vf *cptvf, int vec) vec 619 drivers/crypto/cavium/cpt/cptvf_main.c if (!zalloc_cpumask_var(&cptvf->affinity_mask[vec], vec 628 drivers/crypto/cavium/cpt/cptvf_main.c cptvf->affinity_mask[vec]); vec 629 drivers/crypto/cavium/cpt/cptvf_main.c irq_set_affinity_hint(pci_irq_vector(pdev, vec), vec 630 drivers/crypto/cavium/cpt/cptvf_main.c cptvf->affinity_mask[vec]); vec 269 drivers/crypto/cavium/nitrox/nitrox_isr.c int vec; vec 276 drivers/crypto/cavium/nitrox/nitrox_isr.c vec = pci_irq_vector(pdev, i); vec 277 drivers/crypto/cavium/nitrox/nitrox_isr.c irq_set_affinity_hint(vec, NULL); vec 278 drivers/crypto/cavium/nitrox/nitrox_isr.c free_irq(vec, qvec); vec 293 drivers/crypto/cavium/nitrox/nitrox_isr.c int nr_vecs, vec, cpu; vec 335 drivers/crypto/cavium/nitrox/nitrox_isr.c vec = pci_irq_vector(pdev, i); vec 336 drivers/crypto/cavium/nitrox/nitrox_isr.c ret = request_irq(vec, nps_pkt_slc_isr, 0, qvec->name, qvec); vec 343 drivers/crypto/cavium/nitrox/nitrox_isr.c irq_set_affinity_hint(vec, get_cpu_mask(cpu)); vec 357 drivers/crypto/cavium/nitrox/nitrox_isr.c vec = pci_irq_vector(pdev, i); vec 358 drivers/crypto/cavium/nitrox/nitrox_isr.c ret = request_irq(vec, nps_core_int_isr, 0, qvec->name, qvec); vec 364 drivers/crypto/cavium/nitrox/nitrox_isr.c irq_set_affinity_hint(vec, get_cpu_mask(cpu)); vec 384 drivers/crypto/cavium/nitrox/nitrox_isr.c int vec; vec 390 drivers/crypto/cavium/nitrox/nitrox_isr.c vec = ndev->iov.msix.vector; vec 391 drivers/crypto/cavium/nitrox/nitrox_isr.c irq_set_affinity_hint(vec, NULL); vec 392 drivers/crypto/cavium/nitrox/nitrox_isr.c free_irq(vec, qvec); vec 407 drivers/crypto/cavium/nitrox/nitrox_isr.c int vec, cpu; vec 434 drivers/crypto/cavium/nitrox/nitrox_isr.c vec = ndev->iov.msix.vector; vec 435 drivers/crypto/cavium/nitrox/nitrox_isr.c ret = request_irq(vec, nps_core_int_isr, 0, qvec->name, qvec); vec 442 drivers/crypto/cavium/nitrox/nitrox_isr.c irq_set_affinity_hint(vec, get_cpu_mask(cpu)); vec 208 drivers/gpu/drm/exynos/exynos_drm_g2d.c struct frame_vector *vec; vec 401 drivers/gpu/drm/exynos/exynos_drm_g2d.c pages = frame_vector_pages(g2d_userptr->vec); vec 405 drivers/gpu/drm/exynos/exynos_drm_g2d.c for (i = 0; i < frame_vector_count(g2d_userptr->vec); i++) vec 408 drivers/gpu/drm/exynos/exynos_drm_g2d.c put_vaddr_frames(g2d_userptr->vec); vec 409 drivers/gpu/drm/exynos/exynos_drm_g2d.c frame_vector_destroy(g2d_userptr->vec); vec 477 drivers/gpu/drm/exynos/exynos_drm_g2d.c g2d_userptr->vec = frame_vector_create(npages); vec 478 drivers/gpu/drm/exynos/exynos_drm_g2d.c if (!g2d_userptr->vec) { vec 484 drivers/gpu/drm/exynos/exynos_drm_g2d.c g2d_userptr->vec); vec 493 drivers/gpu/drm/exynos/exynos_drm_g2d.c if (frame_vector_to_pages(g2d_userptr->vec) < 0) { vec 505 drivers/gpu/drm/exynos/exynos_drm_g2d.c frame_vector_pages(g2d_userptr->vec), vec 542 drivers/gpu/drm/exynos/exynos_drm_g2d.c put_vaddr_frames(g2d_userptr->vec); vec 545 drivers/gpu/drm/exynos/exynos_drm_g2d.c frame_vector_destroy(g2d_userptr->vec); vec 79 drivers/gpu/drm/vc4/vc4_drv.h struct vc4_vec *vec; vec 172 drivers/gpu/drm/vc4/vc4_vec.c #define VEC_READ(offset) readl(vec->regs + (offset)) vec 173 drivers/gpu/drm/vc4/vc4_vec.c #define VEC_WRITE(offset, val) writel(val, vec->regs + (offset)) vec 178 drivers/gpu/drm/vc4/vc4_vec.c struct vc4_vec *vec; vec 190 drivers/gpu/drm/vc4/vc4_vec.c struct vc4_vec *vec; vec 214 drivers/gpu/drm/vc4/vc4_vec.c void (*mode_set)(struct vc4_vec *vec); vec 244 drivers/gpu/drm/vc4/vc4_vec.c static void vc4_vec_ntsc_mode_set(struct vc4_vec *vec) vec 250 drivers/gpu/drm/vc4/vc4_vec.c static void vc4_vec_ntsc_j_mode_set(struct vc4_vec *vec) vec 263 drivers/gpu/drm/vc4/vc4_vec.c static void vc4_vec_pal_mode_set(struct vc4_vec *vec) vec 269 drivers/gpu/drm/vc4/vc4_vec.c static void vc4_vec_pal_m_mode_set(struct vc4_vec *vec) vec 347 drivers/gpu/drm/vc4/vc4_vec.c struct vc4_vec *vec) vec 360 drivers/gpu/drm/vc4/vc4_vec.c vec_connector->encoder = vec->encoder; vec 361 drivers/gpu/drm/vc4/vc4_vec.c vec_connector->vec = vec; vec 370 drivers/gpu/drm/vc4/vc4_vec.c vec->tv_mode = &vc4_vec_tv_modes[VC4_VEC_TV_MODE_NTSC]; vec 372 drivers/gpu/drm/vc4/vc4_vec.c drm_connector_attach_encoder(connector, vec->encoder); vec 384 drivers/gpu/drm/vc4/vc4_vec.c struct vc4_vec *vec = vc4_vec_encoder->vec; vec 394 drivers/gpu/drm/vc4/vc4_vec.c clk_disable_unprepare(vec->clock); vec 396 drivers/gpu/drm/vc4/vc4_vec.c ret = pm_runtime_put(&vec->pdev->dev); vec 406 drivers/gpu/drm/vc4/vc4_vec.c struct vc4_vec *vec = vc4_vec_encoder->vec; vec 409 drivers/gpu/drm/vc4/vc4_vec.c ret = pm_runtime_get_sync(&vec->pdev->dev); vec 422 drivers/gpu/drm/vc4/vc4_vec.c ret = clk_set_rate(vec->clock, 108000000); vec 428 drivers/gpu/drm/vc4/vc4_vec.c ret = clk_prepare_enable(vec->clock); vec 465 drivers/gpu/drm/vc4/vc4_vec.c vec->tv_mode->mode_set(vec); vec 485 drivers/gpu/drm/vc4/vc4_vec.c struct vc4_vec *vec = vc4_vec_encoder->vec; vec 487 drivers/gpu/drm/vc4/vc4_vec.c vec->tv_mode = &vc4_vec_tv_modes[conn_state->tv.mode]; vec 530 drivers/gpu/drm/vc4/vc4_vec.c struct vc4_vec *vec; vec 539 drivers/gpu/drm/vc4/vc4_vec.c vec = devm_kzalloc(dev, sizeof(*vec), GFP_KERNEL); vec 540 drivers/gpu/drm/vc4/vc4_vec.c if (!vec) vec 548 drivers/gpu/drm/vc4/vc4_vec.c vc4_vec_encoder->vec = vec; vec 549 drivers/gpu/drm/vc4/vc4_vec.c vec->encoder = &vc4_vec_encoder->base.base; vec 551 drivers/gpu/drm/vc4/vc4_vec.c vec->pdev = pdev; vec 552 drivers/gpu/drm/vc4/vc4_vec.c vec->regs = vc4_ioremap_regs(pdev, 0); vec 553 drivers/gpu/drm/vc4/vc4_vec.c if (IS_ERR(vec->regs)) vec 554 drivers/gpu/drm/vc4/vc4_vec.c return PTR_ERR(vec->regs); vec 555 drivers/gpu/drm/vc4/vc4_vec.c vec->regset.base = vec->regs; vec 556 drivers/gpu/drm/vc4/vc4_vec.c vec->regset.regs = vec_regs; vec 557 drivers/gpu/drm/vc4/vc4_vec.c vec->regset.nregs = ARRAY_SIZE(vec_regs); vec 559 drivers/gpu/drm/vc4/vc4_vec.c vec->clock = devm_clk_get(dev, NULL); vec 560 drivers/gpu/drm/vc4/vc4_vec.c if (IS_ERR(vec->clock)) { vec 561 drivers/gpu/drm/vc4/vc4_vec.c ret = PTR_ERR(vec->clock); vec 569 drivers/gpu/drm/vc4/vc4_vec.c drm_encoder_init(drm, vec->encoder, &vc4_vec_encoder_funcs, vec 571 drivers/gpu/drm/vc4/vc4_vec.c drm_encoder_helper_add(vec->encoder, &vc4_vec_encoder_helper_funcs); vec 573 drivers/gpu/drm/vc4/vc4_vec.c vec->connector = vc4_vec_connector_init(drm, vec); vec 574 drivers/gpu/drm/vc4/vc4_vec.c if (IS_ERR(vec->connector)) { vec 575 drivers/gpu/drm/vc4/vc4_vec.c ret = PTR_ERR(vec->connector); vec 579 drivers/gpu/drm/vc4/vc4_vec.c dev_set_drvdata(dev, vec); vec 581 drivers/gpu/drm/vc4/vc4_vec.c vc4->vec = vec; vec 583 drivers/gpu/drm/vc4/vc4_vec.c vc4_debugfs_add_regset32(drm, "vec_regs", &vec->regset); vec 588 drivers/gpu/drm/vc4/vc4_vec.c drm_encoder_cleanup(vec->encoder); vec 599 drivers/gpu/drm/vc4/vc4_vec.c struct vc4_vec *vec = dev_get_drvdata(dev); vec 601 drivers/gpu/drm/vc4/vc4_vec.c vc4_vec_connector_destroy(vec->connector); vec 602 drivers/gpu/drm/vc4/vc4_vec.c drm_encoder_cleanup(vec->encoder); vec 605 drivers/gpu/drm/vc4/vc4_vec.c vc4->vec = NULL; vec 658 drivers/i2c/busses/i2c-ismt.c static irqreturn_t ismt_do_interrupt(int vec, void *data) vec 683 drivers/i2c/busses/i2c-ismt.c static irqreturn_t ismt_do_msi_interrupt(int vec, void *data) vec 1128 drivers/md/raid5.c sh->dev[i].vec.bv_page = sh->dev[i].orig_page; vec 1130 drivers/md/raid5.c sh->dev[i].vec.bv_page = sh->dev[i].page; vec 2151 drivers/md/raid5.c bio_init(&dev->req, &dev->vec, 1); vec 254 drivers/md/raid5.h struct bio_vec vec, rvec; vec 34 drivers/media/common/videobuf2/videobuf2-dma-contig.c struct frame_vector *vec; vec 436 drivers/media/common/videobuf2/videobuf2-dma-contig.c pages = frame_vector_pages(buf->vec); vec 441 drivers/media/common/videobuf2/videobuf2-dma-contig.c for (i = 0; i < frame_vector_count(buf->vec); i++) vec 449 drivers/media/common/videobuf2/videobuf2-dma-contig.c vb2_destroy_framevec(buf->vec); vec 457 drivers/media/common/videobuf2/videobuf2-dma-contig.c struct frame_vector *vec; vec 487 drivers/media/common/videobuf2/videobuf2-dma-contig.c vec = vb2_create_framevec(vaddr, size); vec 488 drivers/media/common/videobuf2/videobuf2-dma-contig.c if (IS_ERR(vec)) { vec 489 drivers/media/common/videobuf2/videobuf2-dma-contig.c ret = PTR_ERR(vec); vec 492 drivers/media/common/videobuf2/videobuf2-dma-contig.c buf->vec = vec; vec 493 drivers/media/common/videobuf2/videobuf2-dma-contig.c n_pages = frame_vector_count(vec); vec 494 drivers/media/common/videobuf2/videobuf2-dma-contig.c ret = frame_vector_to_pages(vec); vec 496 drivers/media/common/videobuf2/videobuf2-dma-contig.c unsigned long *nums = frame_vector_pfns(vec); vec 521 drivers/media/common/videobuf2/videobuf2-dma-contig.c ret = sg_alloc_table_from_pages(sgt, frame_vector_pages(vec), n_pages, vec 566 drivers/media/common/videobuf2/videobuf2-dma-contig.c vb2_destroy_framevec(vec); vec 38 drivers/media/common/videobuf2/videobuf2-dma-sg.c struct frame_vector *vec; vec 227 drivers/media/common/videobuf2/videobuf2-dma-sg.c struct frame_vector *vec; vec 242 drivers/media/common/videobuf2/videobuf2-dma-sg.c vec = vb2_create_framevec(vaddr, size); vec 243 drivers/media/common/videobuf2/videobuf2-dma-sg.c if (IS_ERR(vec)) vec 245 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->vec = vec; vec 247 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->pages = frame_vector_pages(vec); vec 250 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->num_pages = frame_vector_count(vec); vec 271 drivers/media/common/videobuf2/videobuf2-dma-sg.c vb2_destroy_framevec(vec); vec 298 drivers/media/common/videobuf2/videobuf2-dma-sg.c vb2_destroy_framevec(buf->vec); vec 42 drivers/media/common/videobuf2/videobuf2-memops.c struct frame_vector *vec; vec 48 drivers/media/common/videobuf2/videobuf2-memops.c vec = frame_vector_create(nr); vec 49 drivers/media/common/videobuf2/videobuf2-memops.c if (!vec) vec 51 drivers/media/common/videobuf2/videobuf2-memops.c ret = get_vaddr_frames(start & PAGE_MASK, nr, flags, vec); vec 59 drivers/media/common/videobuf2/videobuf2-memops.c return vec; vec 61 drivers/media/common/videobuf2/videobuf2-memops.c put_vaddr_frames(vec); vec 63 drivers/media/common/videobuf2/videobuf2-memops.c frame_vector_destroy(vec); vec 75 drivers/media/common/videobuf2/videobuf2-memops.c void vb2_destroy_framevec(struct frame_vector *vec) vec 77 drivers/media/common/videobuf2/videobuf2-memops.c put_vaddr_frames(vec); vec 78 drivers/media/common/videobuf2/videobuf2-memops.c frame_vector_destroy(vec); vec 27 drivers/media/common/videobuf2/videobuf2-vmalloc.c struct frame_vector *vec; vec 79 drivers/media/common/videobuf2/videobuf2-vmalloc.c struct frame_vector *vec; vec 90 drivers/media/common/videobuf2/videobuf2-vmalloc.c vec = vb2_create_framevec(vaddr, size); vec 91 drivers/media/common/videobuf2/videobuf2-vmalloc.c if (IS_ERR(vec)) { vec 92 drivers/media/common/videobuf2/videobuf2-vmalloc.c ret = PTR_ERR(vec); vec 95 drivers/media/common/videobuf2/videobuf2-vmalloc.c buf->vec = vec; vec 96 drivers/media/common/videobuf2/videobuf2-vmalloc.c n_pages = frame_vector_count(vec); vec 97 drivers/media/common/videobuf2/videobuf2-vmalloc.c if (frame_vector_to_pages(vec) < 0) { vec 98 drivers/media/common/videobuf2/videobuf2-vmalloc.c unsigned long *nums = frame_vector_pfns(vec); vec 110 drivers/media/common/videobuf2/videobuf2-vmalloc.c buf->vaddr = vm_map_ram(frame_vector_pages(vec), n_pages, -1, vec 120 drivers/media/common/videobuf2/videobuf2-vmalloc.c vb2_destroy_framevec(vec); vec 135 drivers/media/common/videobuf2/videobuf2-vmalloc.c if (!buf->vec->is_pfns) { vec 136 drivers/media/common/videobuf2/videobuf2-vmalloc.c n_pages = frame_vector_count(buf->vec); vec 137 drivers/media/common/videobuf2/videobuf2-vmalloc.c pages = frame_vector_pages(buf->vec); vec 147 drivers/media/common/videobuf2/videobuf2-vmalloc.c vb2_destroy_framevec(buf->vec); vec 698 drivers/misc/habanalabs/habanalabs.h struct frame_vector *vec; vec 1267 drivers/misc/habanalabs/memory.c userptr->vec = frame_vector_create(npages); vec 1268 drivers/misc/habanalabs/memory.c if (!userptr->vec) { vec 1274 drivers/misc/habanalabs/memory.c userptr->vec); vec 1285 drivers/misc/habanalabs/memory.c if (frame_vector_to_pages(userptr->vec) < 0) { vec 1299 drivers/misc/habanalabs/memory.c frame_vector_pages(userptr->vec), vec 1313 drivers/misc/habanalabs/memory.c put_vaddr_frames(userptr->vec); vec 1315 drivers/misc/habanalabs/memory.c frame_vector_destroy(userptr->vec); vec 1341 drivers/misc/habanalabs/memory.c pages = frame_vector_pages(userptr->vec); vec 1345 drivers/misc/habanalabs/memory.c for (i = 0; i < frame_vector_count(userptr->vec); i++) vec 1348 drivers/misc/habanalabs/memory.c put_vaddr_frames(userptr->vec); vec 1349 drivers/misc/habanalabs/memory.c frame_vector_destroy(userptr->vec); vec 1710 drivers/mtd/chips/cfi_cmdset_0001.c const struct kvec *vec; vec 1789 drivers/mtd/chips/cfi_cmdset_0001.c vec = *pvec; vec 1793 drivers/mtd/chips/cfi_cmdset_0001.c if (n > vec->iov_len - vec_seek) vec 1794 drivers/mtd/chips/cfi_cmdset_0001.c n = vec->iov_len - vec_seek; vec 1802 drivers/mtd/chips/cfi_cmdset_0001.c vec->iov_base + vec_seek, vec 1814 drivers/mtd/chips/cfi_cmdset_0001.c if (vec_seek == vec->iov_len) { vec 1815 drivers/mtd/chips/cfi_cmdset_0001.c vec++; vec 1819 drivers/mtd/chips/cfi_cmdset_0001.c *pvec = vec; vec 1923 drivers/mtd/chips/cfi_cmdset_0001.c struct kvec vec; vec 1925 drivers/mtd/chips/cfi_cmdset_0001.c vec.iov_base = (void *) buf; vec 1926 drivers/mtd/chips/cfi_cmdset_0001.c vec.iov_len = len; vec 1928 drivers/mtd/chips/cfi_cmdset_0001.c return cfi_intelext_writev(mtd, &vec, 1, to, retlen); vec 383 drivers/mtd/lpddr/lpddr_cmds.c const struct kvec *vec; vec 409 drivers/mtd/lpddr/lpddr_cmds.c vec = *pvec; vec 414 drivers/mtd/lpddr/lpddr_cmds.c if (n > vec->iov_len - vec_seek) vec 415 drivers/mtd/lpddr/lpddr_cmds.c n = vec->iov_len - vec_seek; vec 423 drivers/mtd/lpddr/lpddr_cmds.c vec->iov_base + vec_seek, word_gap, n); vec 434 drivers/mtd/lpddr/lpddr_cmds.c if (vec_seek == vec->iov_len) { vec 435 drivers/mtd/lpddr/lpddr_cmds.c vec++; vec 439 drivers/mtd/lpddr/lpddr_cmds.c *pvec = vec; vec 609 drivers/mtd/lpddr/lpddr_cmds.c struct kvec vec; vec 611 drivers/mtd/lpddr/lpddr_cmds.c vec.iov_base = (void *) buf; vec 612 drivers/mtd/lpddr/lpddr_cmds.c vec.iov_len = len; vec 614 drivers/mtd/lpddr/lpddr_cmds.c return lpddr_writev(mtd, &vec, 1, to, retlen); vec 577 drivers/net/ethernet/aquantia/atlantic/aq_nic.c unsigned int vec = skb->queue_mapping % self->aq_nic_cfg.vecs; vec 583 drivers/net/ethernet/aquantia/atlantic/aq_nic.c ring = self->aq_ring_tx[AQ_NIC_TCVEC2RING(self, tc, vec)]; vec 2780 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (o->registry.aprox_match.vec[i]) vec 2784 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c vec, cur_bit)) { vec 2807 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c BIT_VEC64_CLEAR_BIT(o->registry.aprox_match.vec, cur_bit); vec 2850 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c BIT_VEC64_SET_BIT(o->registry.aprox_match.vec, bin); vec 2869 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c BIT_VEC64_SET_BIT(o->registry.aprox_match.vec, bin); vec 2874 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c BIT_VEC64_CLEAR_BIT(o->registry.aprox_match.vec, bin); vec 3024 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c memcpy(cur, o->registry.aprox_match.vec, vec 3361 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c elem = o->registry.aprox_match.vec[i]; vec 3502 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c BIT_VEC64_SET_BIT(o->registry.aprox_match.vec, vec 3552 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c memset(o->registry.aprox_match.vec, 0, vec 3553 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c sizeof(o->registry.aprox_match.vec)); vec 3570 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c memset(o->registry.aprox_match.vec, 0, vec 3571 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c sizeof(o->registry.aprox_match.vec)); vec 4253 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c int idx, vec, i; vec 4258 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c for (vec = 0; vec < BNX2X_POOL_VEC_SIZE; vec++) { vec 4261 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (!o->pool_mirror[vec]) vec 4265 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c for (idx = vec * BIT_VEC64_ELEM_SZ, i = 0; vec 559 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h u64 vec[BNX2X_MCAST_VEC_SZ]; vec 504 drivers/net/ethernet/brocade/bna/bnad.c u32 ci, vec; vec 507 drivers/net/ethernet/brocade/bna/bnad.c for (vec = 0, ci = sop_ci; vec < nvecs; vec++) { vec 597 drivers/net/ethernet/brocade/bna/bnad.c u32 pi, vec, sop_ci = 0, nvecs = 0; vec 721 drivers/net/ethernet/brocade/bna/bnad.c for (vec = 0; vec < nvecs; vec++) { vec 1099 drivers/net/ethernet/cavium/thunder/nicvf_main.c int vec, cpu; vec 1101 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (vec = 0; vec < nic->num_vec; vec++) { vec 1102 drivers/net/ethernet/cavium/thunder/nicvf_main.c if (!nic->irq_allocated[vec]) vec 1105 drivers/net/ethernet/cavium/thunder/nicvf_main.c if (!zalloc_cpumask_var(&nic->affinity_mask[vec], GFP_KERNEL)) vec 1108 drivers/net/ethernet/cavium/thunder/nicvf_main.c if (vec < NICVF_INTR_ID_SQ) vec 1110 drivers/net/ethernet/cavium/thunder/nicvf_main.c cpu = nicvf_netdev_qidx(nic, vec) + 1; vec 1115 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->affinity_mask[vec]); vec 1116 drivers/net/ethernet/cavium/thunder/nicvf_main.c irq_set_affinity_hint(pci_irq_vector(nic->pdev, vec), vec 1117 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->affinity_mask[vec]); vec 239 drivers/net/ethernet/chelsio/cxgb3/adapter.h unsigned short vec; vec 409 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c err = request_irq(adap->msix_info[qidx + 1].vec, vec 417 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c free_irq(adap->msix_info[qidx + 1].vec, vec 432 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c free_irq(adapter->msix_info[0].vec, adapter); vec 437 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c free_irq(adapter->msix_info[i + 1].vec, vec 1266 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c err = request_irq(adap->msix_info[0].vec, vec 1274 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c free_irq(adap->msix_info[0].vec, adap); vec 2292 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c t.vector = adapter->msix_info[q1 + t.qset_idx + 1].vec; vec 3133 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c adap->msix_info[i].vec = entries[i].vector; vec 881 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned short vec; vec 950 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned short vec; vec 1817 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h bool ucast, u64 vec, bool sleep_ok); vec 1911 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int cxgb4_set_msix_aff(struct adapter *adap, unsigned short vec, vec 1913 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h void cxgb4_clear_msix_aff(unsigned short vec, cpumask_var_t aff_mask); vec 349 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c u64 vec = 0; vec 356 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c vec |= (1ULL << hash_mac_addr(entry->addr)); vec 359 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c vec, false); vec 711 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int cxgb4_set_msix_aff(struct adapter *adap, unsigned short vec, vec 724 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c rv = irq_set_affinity_hint(vec, *aff_mask); vec 728 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c vec, rv); vec 733 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c void cxgb4_clear_msix_aff(unsigned short vec, cpumask_var_t aff_mask) vec 735 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c irq_set_affinity_hint(vec, NULL); vec 746 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c err = request_irq(adap->msix_info[1].vec, t4_sge_intr_msix, 0, vec 753 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c err = request_irq(minfo->vec, vec 760 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cxgb4_set_msix_aff(adap, minfo->vec, vec 770 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cxgb4_clear_msix_aff(minfo->vec, minfo->aff_mask); vec 771 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c free_irq(minfo->vec, &s->ethrxq[ethqidx].rspq); vec 773 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c free_irq(adap->msix_info[1].vec, &s->fw_evtq); vec 783 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c free_irq(adap->msix_info[1].vec, &s->fw_evtq); vec 786 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cxgb4_clear_msix_aff(minfo->vec, minfo->aff_mask); vec 787 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c free_irq(minfo->vec, &s->ethrxq[i].rspq); vec 924 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c free_irq(adap->msix_info[0].vec, adap); vec 2376 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c err = request_irq(adap->msix_info[0].vec, t4_nondata_intr, 0, vec 2382 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c free_irq(adap->msix_info[0].vec, adap); vec 5343 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->msix_info[i].vec = entries[i].vector; vec 5346 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->msix_info_ulds[j].vec = entries[i].vector; vec 365 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c err = request_irq(minfo->vec, vec 372 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c cxgb4_set_msix_aff(adap, minfo->vec, vec 381 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c cxgb4_clear_msix_aff(minfo->vec, minfo->aff_mask); vec 383 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c free_irq(minfo->vec, &rxq_info->uldrxq[idx].rspq); vec 399 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c cxgb4_clear_msix_aff(minfo->vec, minfo->aff_mask); vec 401 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c free_irq(minfo->vec, &rxq_info->uldrxq[idx].rspq); vec 8190 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c bool ucast, u64 vec, bool sleep_ok) vec 8201 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.u.hash.hashvec = cpu_to_be64(vec); vec 380 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h unsigned short vec; vec 245 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c u64 vec = 0; vec 252 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c vec |= (1ULL << hash_mac_addr(entry->addr)); vec 254 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c return t4vf_set_addr_hash(adapter, pi->viid, ucast, vec, false); vec 390 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c err = request_irq(adapter->msix_info[MSIX_FW].vec, t4vf_sge_intr_msix, vec 400 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c err = request_irq(adapter->msix_info[msi].vec, vec 412 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c free_irq(adapter->msix_info[--msi].vec, &s->ethrxq[rxq].rspq); vec 413 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c free_irq(adapter->msix_info[MSIX_FW].vec, &s->fw_evtq); vec 425 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c free_irq(adapter->msix_info[MSIX_FW].vec, &s->fw_evtq); vec 428 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c free_irq(adapter->msix_info[msi++].vec, vec 2898 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c adapter->msix_info[i].vec = entries[i].vector; vec 1738 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c bool ucast, u64 vec, bool sleep_ok) vec 1752 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.u.hash.hashvec = cpu_to_be64(vec); vec 3486 drivers/net/ethernet/emulex/benet/be_main.c int status, i, vec; vec 3490 drivers/net/ethernet/emulex/benet/be_main.c vec = be_msix_vec_get(adapter, eqo); vec 3491 drivers/net/ethernet/emulex/benet/be_main.c status = request_irq(vec, be_msix, 0, eqo->desc, eqo); vec 3495 drivers/net/ethernet/emulex/benet/be_main.c irq_set_affinity_hint(vec, eqo->affinity_mask); vec 3542 drivers/net/ethernet/emulex/benet/be_main.c int i, vec; vec 3555 drivers/net/ethernet/emulex/benet/be_main.c vec = be_msix_vec_get(adapter, eqo); vec 3556 drivers/net/ethernet/emulex/benet/be_main.c irq_set_affinity_hint(vec, NULL); vec 3557 drivers/net/ethernet/emulex/benet/be_main.c free_irq(vec, eqo); vec 11072 drivers/net/ethernet/intel/i40e/i40e_main.c int vec; vec 11078 drivers/net/ethernet/intel/i40e/i40e_main.c vec = v_actual - 1; vec 11086 drivers/net/ethernet/intel/i40e/i40e_main.c switch (vec) { vec 11100 drivers/net/ethernet/intel/i40e/i40e_main.c pf->num_iwarp_msix = min_t(int, (vec / 3), vec 11102 drivers/net/ethernet/intel/i40e/i40e_main.c pf->num_vmdq_vsis = min_t(int, (vec / 3), vec 11105 drivers/net/ethernet/intel/i40e/i40e_main.c pf->num_vmdq_vsis = min_t(int, (vec / 2), vec 11110 drivers/net/ethernet/intel/i40e/i40e_main.c vec--; vec 11113 drivers/net/ethernet/intel/i40e/i40e_main.c (vec - (pf->num_iwarp_msix + pf->num_vmdq_vsis)), vec 1236 drivers/net/ethernet/marvell/octeontx2/af/rvu.c u16 vec; vec 1241 drivers/net/ethernet/marvell/octeontx2/af/rvu.c for (vec = 0; vec < pfvf->msix.max; vec++) { vec 1242 drivers/net/ethernet/marvell/octeontx2/af/rvu.c if (pfvf->msix_lfmap[vec] == MSIX_BLKLF(blkaddr, lf)) vec 1243 drivers/net/ethernet/marvell/octeontx2/af/rvu.c return vec; vec 1251 drivers/net/ethernet/marvell/octeontx2/af/rvu.c u16 nvecs, vec, offset; vec 1269 drivers/net/ethernet/marvell/octeontx2/af/rvu.c for (vec = 0; vec < nvecs; vec++) vec 1270 drivers/net/ethernet/marvell/octeontx2/af/rvu.c pfvf->msix_lfmap[offset + vec] = MSIX_BLKLF(block->addr, lf); vec 1276 drivers/net/ethernet/marvell/octeontx2/af/rvu.c u16 nvecs, vec, offset; vec 1290 drivers/net/ethernet/marvell/octeontx2/af/rvu.c for (vec = 0; vec < nvecs; vec++) vec 1291 drivers/net/ethernet/marvell/octeontx2/af/rvu.c pfvf->msix_lfmap[offset + vec] = 0; vec 2246 drivers/net/ethernet/mellanox/mlx4/cmd.c u32 vec; vec 2255 drivers/net/ethernet/mellanox/mlx4/cmd.c vec = be32_to_cpu(bit_vec[i]); vec 2257 drivers/net/ethernet/mellanox/mlx4/cmd.c if (!(vec & (1 << j))) vec 237 drivers/net/ethernet/mellanox/mlx4/eq.c static void mlx4_set_eq_affinity_hint(struct mlx4_priv *priv, int vec) vec 241 drivers/net/ethernet/mellanox/mlx4/eq.c struct mlx4_eq *eq = &priv->eq_table.eq[vec]; vec 1552 drivers/net/ethernet/mellanox/mlx4/eq.c void mlx4_release_eq(struct mlx4_dev *dev, int vec) vec 1555 drivers/net/ethernet/mellanox/mlx4/eq.c int eq_vec = MLX4_CQ_TO_EQ_VECTOR(vec); vec 828 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static void mlx5_cmd_comp_handler(struct mlx5_core_dev *dev, u64 vec, bool forced); vec 1465 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static void mlx5_cmd_comp_handler(struct mlx5_core_dev *dev, u64 vec, bool forced) vec 1479 drivers/net/ethernet/mellanox/mlx5/core/cmd.c vector = vec & 0xffffffff; vec 1513 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (vec & MLX5_TRIGGERED_CMD_COMP) vec 537 drivers/net/ethernet/ti/cpsw_ethtool.c struct cpsw_vector *vec; vec 542 drivers/net/ethernet/ti/cpsw_ethtool.c vec = cpsw->rxv; vec 546 drivers/net/ethernet/ti/cpsw_ethtool.c vec = cpsw->txv; vec 552 drivers/net/ethernet/ti/cpsw_ethtool.c vec[*ch].ch = cpdma_chan_create(cpsw->dma, vch, handler, rx); vec 556 drivers/net/ethernet/ti/cpsw_ethtool.c if (IS_ERR(vec[*ch].ch)) vec 557 drivers/net/ethernet/ti/cpsw_ethtool.c return PTR_ERR(vec[*ch].ch); vec 559 drivers/net/ethernet/ti/cpsw_ethtool.c if (!vec[*ch].ch) vec 570 drivers/net/ethernet/ti/cpsw_ethtool.c ret = cpdma_chan_destroy(vec[*ch].ch); vec 763 drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c if (!isset(sup_chan.vec, ch->hw_value)) vec 1253 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c setbit(channels->vec, channel); vec 150 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h u8 vec[MAXCHANNEL / NBBY]; vec 928 drivers/net/wireless/intel/iwlwifi/pcie/internal.h int vec = trans_p->shared_vec_mask & vec 935 drivers/net/wireless/intel/iwlwifi/pcie/internal.h DRV_NAME ": queue %d", i + vec); vec 183 drivers/net/wireless/realtek/rtw88/rtw8822c.c static void rtw8822c_dac_iq_offset(struct rtw_dev *rtwdev, u32 *vec, u32 *val) vec 190 drivers/net/wireless/realtek/rtw88/rtw8822c.c if (vec[i] > 0x200) vec 191 drivers/net/wireless/realtek/rtw88/rtw8822c.c m = (0x400 - vec[i]) + m; vec 193 drivers/net/wireless/realtek/rtw88/rtw8822c.c p = vec[i] + p; vec 627 drivers/net/wireless/realtek/rtw88/rtw8822c.c u8 path, u8 vec, u32 w_addr, u32 r_addr) vec 633 drivers/net/wireless/realtek/rtw88/rtw8822c.c if (WARN_ON(vec >= 2)) vec 639 drivers/net/wireless/realtek/rtw88/rtw8822c.c dm_info->dack_msbk[path][vec][i] = val; vec 500 drivers/ntb/hw/amd/ntb_hw_amd.c static void amd_handle_event(struct amd_ntb_dev *ndev, int vec) vec 510 drivers/ntb/hw/amd/ntb_hw_amd.c dev_dbg(dev, "status = 0x%x and vec = %d\n", status, vec); vec 555 drivers/ntb/hw/amd/ntb_hw_amd.c static irqreturn_t ndev_interrupt(struct amd_ntb_dev *ndev, int vec) vec 557 drivers/ntb/hw/amd/ntb_hw_amd.c dev_dbg(&ndev->ntb.pdev->dev, "vec %d\n", vec); vec 559 drivers/ntb/hw/amd/ntb_hw_amd.c if (vec > (AMD_DB_CNT - 1) || (ndev->msix_vec_count == 1)) vec 560 drivers/ntb/hw/amd/ntb_hw_amd.c amd_handle_event(ndev, vec); vec 562 drivers/ntb/hw/amd/ntb_hw_amd.c if (vec < AMD_DB_CNT) vec 563 drivers/ntb/hw/amd/ntb_hw_amd.c ntb_db_event(&ndev->ntb, vec); vec 595 drivers/ntb/hw/amd/ntb_hw_amd.c ndev->vec = kcalloc_node(msix_max, sizeof(*ndev->vec), vec 597 drivers/ntb/hw/amd/ntb_hw_amd.c if (!ndev->vec) vec 622 drivers/ntb/hw/amd/ntb_hw_amd.c ndev->vec[i].ndev = ndev; vec 623 drivers/ntb/hw/amd/ntb_hw_amd.c ndev->vec[i].num = i; vec 625 drivers/ntb/hw/amd/ntb_hw_amd.c "ndev_vec_isr", &ndev->vec[i]); vec 637 drivers/ntb/hw/amd/ntb_hw_amd.c free_irq(ndev->msix[i].vector, &ndev->vec[i]); vec 642 drivers/ntb/hw/amd/ntb_hw_amd.c kfree(ndev->vec); vec 645 drivers/ntb/hw/amd/ntb_hw_amd.c ndev->vec = NULL; vec 698 drivers/ntb/hw/amd/ntb_hw_amd.c free_irq(ndev->msix[i].vector, &ndev->vec[i]); vec 701 drivers/ntb/hw/amd/ntb_hw_amd.c kfree(ndev->vec); vec 202 drivers/ntb/hw/amd/ntb_hw_amd.h struct amd_ntb_vec *vec; vec 321 drivers/ntb/hw/intel/ntb_hw_gen1.c static irqreturn_t ndev_interrupt(struct intel_ntb_dev *ndev, int vec) vec 325 drivers/ntb/hw/intel/ntb_hw_gen1.c vec_mask = ndev_vec_mask(ndev, vec); vec 327 drivers/ntb/hw/intel/ntb_hw_gen1.c if ((ndev->hwerr_flags & NTB_HWERR_MSIX_VECTOR32_BAD) && (vec == 31)) vec 330 drivers/ntb/hw/intel/ntb_hw_gen1.c dev_dbg(&ndev->ntb.pdev->dev, "vec %d vec_mask %llx\n", vec, vec_mask); vec 340 drivers/ntb/hw/intel/ntb_hw_gen1.c ntb_db_event(&ndev->ntb, vec); vec 381 drivers/ntb/hw/intel/ntb_hw_gen1.c ndev->vec = kcalloc_node(msix_max, sizeof(*ndev->vec), vec 383 drivers/ntb/hw/intel/ntb_hw_gen1.c if (!ndev->vec) vec 400 drivers/ntb/hw/intel/ntb_hw_gen1.c ndev->vec[i].ndev = ndev; vec 401 drivers/ntb/hw/intel/ntb_hw_gen1.c ndev->vec[i].num = i; vec 403 drivers/ntb/hw/intel/ntb_hw_gen1.c "ndev_vec_isr", &ndev->vec[i]); vec 415 drivers/ntb/hw/intel/ntb_hw_gen1.c free_irq(ndev->msix[i].vector, &ndev->vec[i]); vec 420 drivers/ntb/hw/intel/ntb_hw_gen1.c kfree(ndev->vec); vec 423 drivers/ntb/hw/intel/ntb_hw_gen1.c ndev->vec = NULL; vec 479 drivers/ntb/hw/intel/ntb_hw_gen1.c free_irq(ndev->msix[i].vector, &ndev->vec[i]); vec 482 drivers/ntb/hw/intel/ntb_hw_gen1.c kfree(ndev->vec); vec 166 drivers/ntb/hw/intel/ntb_hw_intel.h struct intel_ntb_vec *vec; vec 149 drivers/ntb/test/ntb_msi_test.c static void ntb_msit_db_event(void *ctx, int vec) vec 501 drivers/ntb/test/ntb_perf.c static void perf_db_event(void *ctx, int vec) vec 505 drivers/ntb/test/ntb_perf.c dev_dbg(&perf->ntb->dev, "DB vec %d mask %#llx bits %#llx\n", vec, vec 506 drivers/ntb/test/ntb_perf.c ntb_db_vector_mask(perf->ntb, vec), ntb_db_read(perf->ntb)); vec 231 drivers/ntb/test/ntb_pingpong.c static void pp_db_event(void *ctx, int vec) vec 304 drivers/ntb/test/ntb_tool.c static void tool_db_event(void *ctx, int vec) vec 309 drivers/ntb/test/ntb_tool.c db_mask = ntb_db_vector_mask(tc->ntb, vec); vec 313 drivers/ntb/test/ntb_tool.c vec, db_mask, db_bits); vec 214 drivers/nvme/host/tcp.c struct bio_vec *vec; vec 220 drivers/nvme/host/tcp.c vec = &rq->special_vec; vec 227 drivers/nvme/host/tcp.c vec = __bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter); vec 233 drivers/nvme/host/tcp.c iov_iter_bvec(&req->iter, dir, vec, nsegs, size); vec 1324 drivers/pci/msi.c int pci_irq_get_node(struct pci_dev *pdev, int vec) vec 1328 drivers/pci/msi.c mask = pci_irq_get_affinity(pdev, vec); vec 167 drivers/scsi/bfa/bfa.h typedef void (*bfa_msix_handler_t)(struct bfa_s *bfa, int vec); vec 307 drivers/scsi/bfa/bfa.h void bfa_msix_all(struct bfa_s *bfa, int vec); vec 308 drivers/scsi/bfa/bfa.h void bfa_msix_reqq(struct bfa_s *bfa, int vec); vec 309 drivers/scsi/bfa/bfa.h void bfa_msix_rspq(struct bfa_s *bfa, int vec); vec 310 drivers/scsi/bfa/bfa.h void bfa_msix_lpu_err(struct bfa_s *bfa, int vec); vec 763 drivers/scsi/bfa/bfa_core.c bfa_msix_all(struct bfa_s *bfa, int vec) vec 884 drivers/scsi/bfa/bfa_core.c bfa_msix_reqq(struct bfa_s *bfa, int vec) vec 886 drivers/scsi/bfa/bfa_core.c bfa_isr_reqq(bfa, vec - bfa->iocfc.hwif.cpe_vec_q0); vec 900 drivers/scsi/bfa/bfa_core.c bfa_msix_rspq(struct bfa_s *bfa, int vec) vec 902 drivers/scsi/bfa/bfa_core.c bfa_isr_rspq(bfa, vec - bfa->iocfc.hwif.rme_vec_q0); vec 906 drivers/scsi/bfa/bfa_core.c bfa_msix_lpu_err(struct bfa_s *bfa, int vec) vec 98 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_msix_dummy(struct bfa_s *bfa, int vec) vec 21 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_msix_dummy(struct bfa_s *bfa, int vec) vec 1119 drivers/scsi/bfa/bfad.c struct bfad_msix_s *vec = dev_id; vec 1120 drivers/scsi/bfa/bfad.c struct bfad_s *bfad = vec->bfad; vec 1126 drivers/scsi/bfa/bfad.c bfa_msix(&bfad->bfa, vec->msix.entry); vec 2681 drivers/scsi/csiostor/csio_hw.c uint16_t vec = (uint16_t)csio_get_mb_intr_idx(csio_hw_to_mbm(hw)); vec 2696 drivers/scsi/csiostor/csio_hw.c AIVEC_V(AIVEC_M), vec); vec 417 drivers/scsi/csiostor/csio_wr.c uint32_t vec, uint8_t portid, bool async, vec 446 drivers/scsi/csiostor/csio_wr.c iqp.iqandstindex = (uint16_t)vec; vec 47 drivers/scsi/initio.h unsigned short vec; vec 220 drivers/scsi/isci/host.c irqreturn_t isci_msix_isr(int vec, void *data) vec 608 drivers/scsi/isci/host.c irqreturn_t isci_intx_isr(int vec, void *data) vec 627 drivers/scsi/isci/host.c irqreturn_t isci_error_isr(int vec, void *data) vec 485 drivers/scsi/isci/isci.h irqreturn_t isci_msix_isr(int vec, void *data); vec 486 drivers/scsi/isci/isci.h irqreturn_t isci_intx_isr(int vec, void *data); vec 487 drivers/scsi/isci/isci.h irqreturn_t isci_error_isr(int vec, void *data); vec 1269 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_interrupt_enable(struct pm8001_hba_info *pm8001_ha, u8 vec) vec 1283 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_interrupt_disable(struct pm8001_hba_info *pm8001_ha, u8 vec) vec 4171 drivers/scsi/pm8001/pm8001_hwi.c static int process_oq(struct pm8001_hba_info *pm8001_ha, u8 vec) vec 4180 drivers/scsi/pm8001/pm8001_hwi.c circularQ = &pm8001_ha->outbnd_q_tbl[vec]; vec 4649 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_isr(struct pm8001_hba_info *pm8001_ha, u8 vec) vec 4651 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_interrupt_disable(pm8001_ha, vec); vec 4652 drivers/scsi/pm8001/pm8001_hwi.c process_oq(pm8001_ha, vec); vec 4653 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_interrupt_enable(pm8001_ha, vec); vec 198 drivers/scsi/pm8001/pm8001_sas.h irqreturn_t (*isr)(struct pm8001_hba_info *pm8001_ha, u8 vec); vec 200 drivers/scsi/pm8001/pm8001_sas.h int (*isr_process_oq)(struct pm8001_hba_info *pm8001_ha, u8 vec); vec 201 drivers/scsi/pm8001/pm8001_sas.h void (*interrupt_enable)(struct pm8001_hba_info *pm8001_ha, u8 vec); vec 202 drivers/scsi/pm8001/pm8001_sas.h void (*interrupt_disable)(struct pm8001_hba_info *pm8001_ha, u8 vec); vec 1369 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_interrupt_enable(struct pm8001_hba_info *pm8001_ha, u8 vec) vec 1373 drivers/scsi/pm8001/pm80xx_hwi.c mask = (u32)(1 << vec); vec 1387 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_interrupt_disable(struct pm8001_hba_info *pm8001_ha, u8 vec) vec 1391 drivers/scsi/pm8001/pm80xx_hwi.c if (vec == 0xFF) vec 1394 drivers/scsi/pm8001/pm80xx_hwi.c mask = (u32)(1 << vec); vec 3809 drivers/scsi/pm8001/pm80xx_hwi.c static int process_oq(struct pm8001_hba_info *pm8001_ha, u8 vec) vec 3818 drivers/scsi/pm8001/pm80xx_hwi.c if (vec == (pm8001_ha->number_of_intr - 1)) { vec 3830 drivers/scsi/pm8001/pm80xx_hwi.c circularQ = &pm8001_ha->outbnd_q_tbl[vec]; vec 4643 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_isr(struct pm8001_hba_info *pm8001_ha, u8 vec) vec 4645 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_interrupt_disable(pm8001_ha, vec); vec 4646 drivers/scsi/pm8001/pm80xx_hwi.c process_oq(pm8001_ha, vec); vec 4647 drivers/scsi/pm8001/pm80xx_hwi.c pm80xx_chip_interrupt_enable(pm8001_ha, vec); vec 4514 drivers/scsi/pmcraid.c struct pmcraid_isr_param *vec = &pinstance->hrrq_vector[i]; vec 4516 drivers/scsi/pmcraid.c vec->hrrq_id = i; vec 4517 drivers/scsi/pmcraid.c vec->drv_inst = pinstance; vec 4519 drivers/scsi/pmcraid.c PMCRAID_DRIVER_NAME, vec); vec 899 drivers/usb/mon/mon_bin.c u32 __user *vec, unsigned int max) vec 928 drivers/usb/mon/mon_bin.c if (put_user(cur_out, &vec[nevents])) { vec 1021 drivers/usb/mon/mon_bin.c struct mon_pgmap *vec; vec 1027 drivers/usb/mon/mon_bin.c vec = kcalloc(size / CHUNK_SIZE, sizeof(struct mon_pgmap), vec 1029 drivers/usb/mon/mon_bin.c if (vec == NULL) { vec 1034 drivers/usb/mon/mon_bin.c ret = mon_alloc_buff(vec, size/CHUNK_SIZE); vec 1036 drivers/usb/mon/mon_bin.c kfree(vec); vec 1043 drivers/usb/mon/mon_bin.c mon_free_buff(vec, size/CHUNK_SIZE); vec 1044 drivers/usb/mon/mon_bin.c kfree(vec); vec 1049 drivers/usb/mon/mon_bin.c rp->b_vec = vec; vec 219 drivers/video/fbdev/arcfb.c static irqreturn_t arcfb_interrupt(int vec, void *dev_instance) vec 130 drivers/vme/bridges/vme_ca91cx42.c int vec, i, serviced = 0; vec 138 drivers/vme/bridges/vme_ca91cx42.c vec = ioread32(bridge->base + vec 141 drivers/vme/bridges/vme_ca91cx42.c vme_irq_handler(ca91cx42_bridge, i, vec); vec 217 drivers/vme/bridges/vme_tsi148.c int vec, i, serviced = 0; vec 229 drivers/vme/bridges/vme_tsi148.c vec = ioread8(bridge->base + TSI148_LCSR_VIACK[i] + 3); vec 231 drivers/vme/bridges/vme_tsi148.c vme_irq_handler(tsi148_bridge, i, vec); vec 94 drivers/xen/pvcalls-back.c struct kvec vec[2]; vec 129 drivers/xen/pvcalls-back.c vec[0].iov_base = data->in + masked_prod; vec 130 drivers/xen/pvcalls-back.c vec[0].iov_len = wanted; vec 131 drivers/xen/pvcalls-back.c iov_iter_kvec(&msg.msg_iter, WRITE, vec, 1, wanted); vec 133 drivers/xen/pvcalls-back.c vec[0].iov_base = data->in + masked_prod; vec 134 drivers/xen/pvcalls-back.c vec[0].iov_len = array_size - masked_prod; vec 135 drivers/xen/pvcalls-back.c vec[1].iov_base = data->in; vec 136 drivers/xen/pvcalls-back.c vec[1].iov_len = wanted - vec[0].iov_len; vec 137 drivers/xen/pvcalls-back.c iov_iter_kvec(&msg.msg_iter, WRITE, vec, 2, wanted); vec 171 drivers/xen/pvcalls-back.c struct kvec vec[2]; vec 188 drivers/xen/pvcalls-back.c vec[0].iov_base = data->out + pvcalls_mask(cons, array_size); vec 189 drivers/xen/pvcalls-back.c vec[0].iov_len = size; vec 190 drivers/xen/pvcalls-back.c iov_iter_kvec(&msg.msg_iter, READ, vec, 1, size); vec 192 drivers/xen/pvcalls-back.c vec[0].iov_base = data->out + pvcalls_mask(cons, array_size); vec 193 drivers/xen/pvcalls-back.c vec[0].iov_len = array_size - pvcalls_mask(cons, array_size); vec 194 drivers/xen/pvcalls-back.c vec[1].iov_base = data->out; vec 195 drivers/xen/pvcalls-back.c vec[1].iov_len = size - vec[0].iov_len; vec 196 drivers/xen/pvcalls-back.c iov_iter_kvec(&msg.msg_iter, READ, vec, 2, size); vec 82 drivers/xen/xenbus/xenbus.h const struct kvec *vec; vec 369 drivers/xen/xenbus/xenbus_comms.c base = state.req->vec[state.idx].iov_base; vec 370 drivers/xen/xenbus/xenbus_comms.c len = state.req->vec[state.idx].iov_len; vec 279 drivers/xen/xenbus/xenbus_xs.c struct kvec *vec; vec 281 drivers/xen/xenbus/xenbus_xs.c req = kmalloc(sizeof(*req) + sizeof(*vec), GFP_KERNEL); vec 285 drivers/xen/xenbus/xenbus_xs.c vec = (struct kvec *)(req + 1); vec 286 drivers/xen/xenbus/xenbus_xs.c vec->iov_len = msg->len; vec 287 drivers/xen/xenbus/xenbus_xs.c vec->iov_base = msg + 1; vec 289 drivers/xen/xenbus/xenbus_xs.c req->vec = vec; vec 318 drivers/xen/xenbus/xenbus_xs.c req->vec = iovec; vec 1151 fs/ceph/caps.c arg->xattr_buf ? (int)arg->xattr_buf->vec.iov_len : 0); vec 1192 fs/ceph/caps.c fc->xattr_len = cpu_to_le32(arg->xattr_buf->vec.iov_len); vec 1193 fs/ceph/caps.c msg->hdr.middle_len = cpu_to_le32(arg->xattr_buf->vec.iov_len); vec 895 fs/ceph/inode.c memcpy(ci->i_xattrs.blob->vec.iov_base, vec 664 fs/ceph/xattr.c ci->i_xattrs.blob ? (int)ci->i_xattrs.blob->vec.iov_len : 0); vec 673 fs/ceph/xattr.c if (ci->i_xattrs.blob && ci->i_xattrs.blob->vec.iov_len > 4) { vec 674 fs/ceph/xattr.c p = ci->i_xattrs.blob->vec.iov_base; vec 675 fs/ceph/xattr.c end = p + ci->i_xattrs.blob->vec.iov_len; vec 776 fs/ceph/xattr.c dest = ci->i_xattrs.prealloc_blob->vec.iov_base; vec 793 fs/ceph/xattr.c ci->i_xattrs.prealloc_blob->vec.iov_len = vec 794 fs/ceph/xattr.c dest - ci->i_xattrs.prealloc_blob->vec.iov_base; vec 2074 fs/cifs/smbdirect.c struct kvec vec; vec 2153 fs/cifs/smbdirect.c vec.iov_base = vec 2156 fs/cifs/smbdirect.c vec.iov_len = max_iov_size; vec 2158 fs/cifs/smbdirect.c vec.iov_len = vec 2161 fs/cifs/smbdirect.c remaining_data_length -= vec.iov_len; vec 2166 fs/cifs/smbdirect.c j, vec.iov_base, vec.iov_len, vec 2169 fs/cifs/smbdirect.c info, &vec, 1, vec 164 fs/nfsd/nfs4xdr.c struct kvec *vec = &argp->rqstp->rq_arg.tail[0]; vec 168 fs/nfsd/nfs4xdr.c avail = vec->iov_len; vec 169 fs/nfsd/nfs4xdr.c argp->p = vec->iov_base; vec 170 fs/nfsd/nfs4xdr.c argp->end = vec->iov_base + avail; vec 39 fs/nfsd/nfscache.c static int nfsd_cache_append(struct svc_rqst *rqstp, struct kvec *vec); vec 555 fs/nfsd/nfscache.c struct kvec *vec = &rqstp->rq_res.head[0]; vec 557 fs/nfsd/nfscache.c if (vec->iov_len + data->iov_len > PAGE_SIZE) { vec 562 fs/nfsd/nfscache.c memcpy((char*)vec->iov_base + vec->iov_len, data->iov_base, data->iov_len); vec 563 fs/nfsd/nfscache.c vec->iov_len += data->iov_len; vec 899 fs/nfsd/vfs.c struct kvec *vec, int vlen, unsigned long *count, vec 907 fs/nfsd/vfs.c iov_iter_kvec(&iter, READ, vec, vlen, *count); vec 951 fs/nfsd/vfs.c loff_t offset, struct kvec *vec, int vlen, vec 983 fs/nfsd/vfs.c iov_iter_kvec(&iter, WRITE, vec, vlen, *cnt); vec 1017 fs/nfsd/vfs.c loff_t offset, struct kvec *vec, int vlen, unsigned long *count, vec 1033 fs/nfsd/vfs.c err = nfsd_readv(rqstp, fhp, file, offset, vec, vlen, count, eof); vec 1049 fs/nfsd/vfs.c struct kvec *vec, int vlen, unsigned long *cnt, int stable) vec 1060 fs/nfsd/vfs.c err = nfsd_vfs_write(rqstp, fhp, nf->nf_file, offset, vec, vec 87 fs/nfsd/vfs.h struct kvec *vec, int vlen, vec 97 fs/nfsd/vfs.h struct kvec *vec, int vlen, unsigned long *cnt, vec 903 fs/ocfs2/cluster/tcp.c struct kvec vec = { .iov_len = len, .iov_base = data, }; vec 905 fs/ocfs2/cluster/tcp.c iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, len); vec 909 fs/ocfs2/cluster/tcp.c static int o2net_send_tcp_msg(struct socket *sock, struct kvec *vec, vec 920 fs/ocfs2/cluster/tcp.c ret = kernel_sendmsg(sock, &msg, vec, veclen, total); vec 1020 fs/ocfs2/cluster/tcp.c struct kvec *vec = NULL; vec 1065 fs/ocfs2/cluster/tcp.c vec = kmalloc_array(veclen, sizeof(struct kvec), GFP_ATOMIC); vec 1066 fs/ocfs2/cluster/tcp.c if (vec == NULL) { vec 1081 fs/ocfs2/cluster/tcp.c vec[0].iov_len = sizeof(struct o2net_msg); vec 1082 fs/ocfs2/cluster/tcp.c vec[0].iov_base = msg; vec 1083 fs/ocfs2/cluster/tcp.c memcpy(&vec[1], caller_vec, caller_veclen * sizeof(struct kvec)); vec 1097 fs/ocfs2/cluster/tcp.c ret = o2net_send_tcp_msg(sc->sc_sock, vec, veclen, vec 1125 fs/ocfs2/cluster/tcp.c kfree(vec); vec 1135 fs/ocfs2/cluster/tcp.c struct kvec vec = { vec 1139 fs/ocfs2/cluster/tcp.c return o2net_send_message_vec(msg_type, key, &vec, 1, vec 1147 fs/ocfs2/cluster/tcp.c struct kvec vec = { vec 1163 fs/ocfs2/cluster/tcp.c return o2net_send_tcp_msg(sock, &vec, 1, sizeof(struct o2net_msg)); vec 86 fs/ocfs2/cluster/tcp.h int o2net_send_message_vec(u32 msg_type, u32 key, struct kvec *vec, vec 439 fs/ocfs2/dlm/dlmast.c struct kvec vec[2]; vec 455 fs/ocfs2/dlm/dlmast.c vec[0].iov_len = sizeof(struct dlm_proxy_ast); vec 456 fs/ocfs2/dlm/dlmast.c vec[0].iov_base = &past; vec 459 fs/ocfs2/dlm/dlmast.c vec[1].iov_len = DLM_LVB_LEN; vec 460 fs/ocfs2/dlm/dlmast.c vec[1].iov_base = lock->lksb->lvb; vec 464 fs/ocfs2/dlm/dlmast.c ret = o2net_send_message_vec(DLM_PROXY_AST_MSG, dlm->key, vec, veclen, vec 363 fs/ocfs2/dlm/dlmconvert.c struct kvec vec[2]; vec 376 fs/ocfs2/dlm/dlmconvert.c vec[0].iov_len = sizeof(struct dlm_convert_lock); vec 377 fs/ocfs2/dlm/dlmconvert.c vec[0].iov_base = &convert; vec 381 fs/ocfs2/dlm/dlmconvert.c vec[1].iov_len = DLM_LVB_LEN; vec 382 fs/ocfs2/dlm/dlmconvert.c vec[1].iov_base = lock->lksb->lvb; vec 387 fs/ocfs2/dlm/dlmconvert.c vec, veclen, res->owner, &status); vec 65 fs/ocfs2/dlm/dlmdomain.c static void dlm_free_pagevec(void **vec, int pages) vec 68 fs/ocfs2/dlm/dlmdomain.c free_page((unsigned long)vec[pages]); vec 69 fs/ocfs2/dlm/dlmdomain.c kfree(vec); vec 74 fs/ocfs2/dlm/dlmdomain.c void **vec = kmalloc_array(pages, sizeof(void *), GFP_KERNEL); vec 77 fs/ocfs2/dlm/dlmdomain.c if (!vec) vec 81 fs/ocfs2/dlm/dlmdomain.c if (!(vec[i] = (void *)__get_free_page(GFP_KERNEL))) vec 87 fs/ocfs2/dlm/dlmdomain.c return vec; vec 89 fs/ocfs2/dlm/dlmdomain.c dlm_free_pagevec(vec, i); vec 320 fs/ocfs2/dlm/dlmunlock.c struct kvec vec[2]; vec 342 fs/ocfs2/dlm/dlmunlock.c vec[0].iov_len = sizeof(struct dlm_unlock_lock); vec 343 fs/ocfs2/dlm/dlmunlock.c vec[0].iov_base = &unlock; vec 347 fs/ocfs2/dlm/dlmunlock.c vec[1].iov_len = DLM_LVB_LEN; vec 348 fs/ocfs2/dlm/dlmunlock.c vec[1].iov_base = lock->lksb->lvb; vec 353 fs/ocfs2/dlm/dlmunlock.c vec, veclen, owner, &status); vec 987 fs/read_write.c ssize_t vfs_readv(struct file *file, const struct iovec __user *vec, vec 995 fs/read_write.c ret = import_iovec(READ, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); vec 1004 fs/read_write.c static ssize_t vfs_writev(struct file *file, const struct iovec __user *vec, vec 1012 fs/read_write.c ret = import_iovec(WRITE, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); vec 1022 fs/read_write.c static ssize_t do_readv(unsigned long fd, const struct iovec __user *vec, vec 1034 fs/read_write.c ret = vfs_readv(f.file, vec, vlen, ppos, flags); vec 1046 fs/read_write.c static ssize_t do_writev(unsigned long fd, const struct iovec __user *vec, vec 1058 fs/read_write.c ret = vfs_writev(f.file, vec, vlen, ppos, flags); vec 1076 fs/read_write.c static ssize_t do_preadv(unsigned long fd, const struct iovec __user *vec, vec 1089 fs/read_write.c ret = vfs_readv(f.file, vec, vlen, &pos, flags); vec 1099 fs/read_write.c static ssize_t do_pwritev(unsigned long fd, const struct iovec __user *vec, vec 1112 fs/read_write.c ret = vfs_writev(f.file, vec, vlen, &pos, flags); vec 1122 fs/read_write.c SYSCALL_DEFINE3(readv, unsigned long, fd, const struct iovec __user *, vec, vec 1125 fs/read_write.c return do_readv(fd, vec, vlen, 0); vec 1128 fs/read_write.c SYSCALL_DEFINE3(writev, unsigned long, fd, const struct iovec __user *, vec, vec 1131 fs/read_write.c return do_writev(fd, vec, vlen, 0); vec 1134 fs/read_write.c SYSCALL_DEFINE5(preadv, unsigned long, fd, const struct iovec __user *, vec, vec 1139 fs/read_write.c return do_preadv(fd, vec, vlen, pos, 0); vec 1142 fs/read_write.c SYSCALL_DEFINE6(preadv2, unsigned long, fd, const struct iovec __user *, vec, vec 1149 fs/read_write.c return do_readv(fd, vec, vlen, flags); vec 1151 fs/read_write.c return do_preadv(fd, vec, vlen, pos, flags); vec 1154 fs/read_write.c SYSCALL_DEFINE5(pwritev, unsigned long, fd, const struct iovec __user *, vec, vec 1159 fs/read_write.c return do_pwritev(fd, vec, vlen, pos, 0); vec 1162 fs/read_write.c SYSCALL_DEFINE6(pwritev2, unsigned long, fd, const struct iovec __user *, vec, vec 1169 fs/read_write.c return do_writev(fd, vec, vlen, flags); vec 1171 fs/read_write.c return do_pwritev(fd, vec, vlen, pos, flags); vec 1176 fs/read_write.c const struct compat_iovec __user *vec, vec 1184 fs/read_write.c ret = compat_import_iovec(READ, vec, vlen, UIO_FASTIOV, &iov, &iter); vec 1196 fs/read_write.c const struct compat_iovec __user *vec, vec 1206 fs/read_write.c ret = compat_readv(f.file, vec, vlen, &pos, flags); vec 1215 fs/read_write.c const struct compat_iovec __user *,vec, vec 1218 fs/read_write.c return do_compat_readv(fd, vec, vlen, 0); vec 1222 fs/read_write.c const struct compat_iovec __user *vec, vec 1235 fs/read_write.c ret = compat_readv(f.file, vec, vlen, &pos, flags); vec 1242 fs/read_write.c const struct compat_iovec __user *,vec, vec 1245 fs/read_write.c return do_compat_preadv64(fd, vec, vlen, pos, 0); vec 1250 fs/read_write.c const struct compat_iovec __user *,vec, vec 1255 fs/read_write.c return do_compat_preadv64(fd, vec, vlen, pos, 0); vec 1260 fs/read_write.c const struct compat_iovec __user *,vec, vec 1264 fs/read_write.c return do_compat_readv(fd, vec, vlen, flags); vec 1266 fs/read_write.c return do_compat_preadv64(fd, vec, vlen, pos, flags); vec 1271 fs/read_write.c const struct compat_iovec __user *,vec, vec 1278 fs/read_write.c return do_compat_readv(fd, vec, vlen, flags); vec 1280 fs/read_write.c return do_compat_preadv64(fd, vec, vlen, pos, flags); vec 1284 fs/read_write.c const struct compat_iovec __user *vec, vec 1292 fs/read_write.c ret = compat_import_iovec(WRITE, vec, vlen, UIO_FASTIOV, &iov, &iter); vec 1306 fs/read_write.c const struct compat_iovec __user* vec, vec 1316 fs/read_write.c ret = compat_writev(f.file, vec, vlen, &pos, flags); vec 1324 fs/read_write.c const struct compat_iovec __user *, vec, vec 1327 fs/read_write.c return do_compat_writev(fd, vec, vlen, 0); vec 1331 fs/read_write.c const struct compat_iovec __user *vec, vec 1344 fs/read_write.c ret = compat_writev(f.file, vec, vlen, &pos, flags); vec 1351 fs/read_write.c const struct compat_iovec __user *,vec, vec 1354 fs/read_write.c return do_compat_pwritev64(fd, vec, vlen, pos, 0); vec 1359 fs/read_write.c const struct compat_iovec __user *,vec, vec 1364 fs/read_write.c return do_compat_pwritev64(fd, vec, vlen, pos, 0); vec 1369 fs/read_write.c const struct compat_iovec __user *,vec, vec 1373 fs/read_write.c return do_compat_writev(fd, vec, vlen, flags); vec 1375 fs/read_write.c return do_compat_pwritev64(fd, vec, vlen, pos, flags); vec 1380 fs/read_write.c const struct compat_iovec __user *,vec, vec 1386 fs/read_write.c return do_compat_writev(fd, vec, vlen, flags); vec 1388 fs/read_write.c return do_compat_pwritev64(fd, vec, vlen, pos, flags); vec 349 fs/splice.c static ssize_t kernel_readv(struct file *file, const struct kvec *vec, vec 359 fs/splice.c res = vfs_readv(file, (const struct iovec __user *)vec, vlen, &pos, 0); vec 369 fs/splice.c struct kvec *vec, __vec[PIPE_DEF_BUFFERS]; vec 394 fs/splice.c vec = __vec; vec 396 fs/splice.c vec = kmalloc_array(nr_pages, sizeof(struct kvec), GFP_KERNEL); vec 397 fs/splice.c if (unlikely(!vec)) { vec 408 fs/splice.c vec[i].iov_base = page_address(pages[i]) + offset; vec 409 fs/splice.c vec[i].iov_len = this_len; vec 414 fs/splice.c res = kernel_readv(in, vec, nr_pages, *ppos); vec 420 fs/splice.c if (vec != __vec) vec 421 fs/splice.c kfree(vec); vec 825 fs/xfs/xfs_log.c struct xfs_log_vec vec = { vec 856 fs/xfs/xfs_log.c error = xlog_write(log, &vec, tic, &lsn, NULL, flags); vec 1526 fs/xfs/xfs_log.c struct xfs_log_vec vec = { vec 1532 fs/xfs/xfs_log.c error = xlog_write(log, &vec, ticket, commitlsnp, iclog, vec 2082 fs/xfs/xfs_log.c struct xfs_log_iovec *vec; vec 2096 fs/xfs/xfs_log.c vec = lv->lv_iovecp; vec 2098 fs/xfs/xfs_log.c int dumplen = min(vec->i_len, 32); vec 2101 fs/xfs/xfs_log.c xfs_warn(mp, " type = 0x%x", vec->i_type); vec 2102 fs/xfs/xfs_log.c xfs_warn(mp, " len = %d", vec->i_len); vec 2104 fs/xfs/xfs_log.c xfs_hex_dump(vec->i_addr, dumplen); vec 2106 fs/xfs/xfs_log.c vec++; vec 28 fs/xfs/xfs_log.h struct xfs_log_iovec *vec = *vecp; vec 30 fs/xfs/xfs_log.h if (vec) { vec 31 fs/xfs/xfs_log.h ASSERT(vec - lv->lv_iovecp < lv->lv_niovecs); vec 32 fs/xfs/xfs_log.h vec++; vec 34 fs/xfs/xfs_log.h vec = &lv->lv_iovecp[0]; vec 37 fs/xfs/xfs_log.h vec->i_type = type; vec 38 fs/xfs/xfs_log.h vec->i_addr = lv->lv_buf + lv->lv_buf_len; vec 40 fs/xfs/xfs_log.h ASSERT(IS_ALIGNED((unsigned long)vec->i_addr, sizeof(uint64_t))); vec 42 fs/xfs/xfs_log.h *vecp = vec; vec 43 fs/xfs/xfs_log.h return vec->i_addr; vec 57 fs/xfs/xfs_log.h xlog_finish_iovec(struct xfs_log_vec *lv, struct xfs_log_iovec *vec, int len) vec 61 fs/xfs/xfs_log.h vec->i_len = len; vec 18 include/linux/ceph/buffer.h struct kvec vec; vec 583 include/linux/compat.h const struct compat_iovec __user *vec, compat_ulong_t vlen); vec 585 include/linux/compat.h const struct compat_iovec __user *vec, compat_ulong_t vlen); vec 588 include/linux/compat.h const struct compat_iovec __user *vec, vec 591 include/linux/compat.h const struct compat_iovec __user *vec, vec 595 include/linux/compat.h const struct compat_iovec __user *vec, vec 601 include/linux/compat.h const struct compat_iovec __user *vec, vec 841 include/linux/compat.h const struct compat_iovec __user *vec, vec 844 include/linux/compat.h const struct compat_iovec __user *vec, vec 848 include/linux/compat.h const struct compat_iovec __user *vec, vec 854 include/linux/compat.h const struct compat_iovec __user *vec, vec 43 include/linux/huge_mm.h unsigned char *vec); vec 1433 include/linux/mlx4/device.h void mlx4_release_eq(struct mlx4_dev *dev, int vec); vec 1436 include/linux/mlx4/device.h int mlx4_eq_get_irq(struct mlx4_dev *dev, int vec); vec 1563 include/linux/mm.h void frame_vector_destroy(struct frame_vector *vec); vec 1565 include/linux/mm.h unsigned int gup_flags, struct frame_vector *vec); vec 1566 include/linux/mm.h void put_vaddr_frames(struct frame_vector *vec); vec 1567 include/linux/mm.h int frame_vector_to_pages(struct frame_vector *vec); vec 1568 include/linux/mm.h void frame_vector_to_pfns(struct frame_vector *vec); vec 1570 include/linux/mm.h static inline unsigned int frame_vector_count(struct frame_vector *vec) vec 1572 include/linux/mm.h return vec->nr_frames; vec 1575 include/linux/mm.h static inline struct page **frame_vector_pages(struct frame_vector *vec) vec 1577 include/linux/mm.h if (vec->is_pfns) { vec 1578 include/linux/mm.h int err = frame_vector_to_pages(vec); vec 1583 include/linux/mm.h return (struct page **)(vec->ptrs); vec 1586 include/linux/mm.h static inline unsigned long *frame_vector_pfns(struct frame_vector *vec) vec 1588 include/linux/mm.h if (!vec->is_pfns) vec 1589 include/linux/mm.h frame_vector_to_pfns(vec); vec 1590 include/linux/mm.h return (unsigned long *)(vec->ptrs); vec 291 include/linux/net.h int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, vec 294 include/linux/net.h struct kvec *vec, size_t num, size_t len); vec 295 include/linux/net.h int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, vec 1456 include/linux/pci.h const struct cpumask *pci_irq_get_affinity(struct pci_dev *pdev, int vec); vec 1457 include/linux/pci.h int pci_irq_get_node(struct pci_dev *pdev, int vec); vec 1496 include/linux/pci.h int vec) vec 1501 include/linux/pci.h static inline int pci_irq_get_node(struct pci_dev *pdev, int vec) vec 346 include/linux/sunrpc/svc.h struct kvec *vec = &rqstp->rq_arg.head[0]; vec 347 include/linux/sunrpc/svc.h return cp >= (char*)vec->iov_base vec 348 include/linux/sunrpc/svc.h && cp <= (char*)vec->iov_base + vec->iov_len; vec 354 include/linux/sunrpc/svc.h struct kvec *vec = &rqstp->rq_res.head[0]; vec 357 include/linux/sunrpc/svc.h vec->iov_len = cp - (char*)vec->iov_base; vec 359 include/linux/sunrpc/svc.h return vec->iov_len <= PAGE_SIZE; vec 467 include/linux/syscalls.h const struct iovec __user *vec, vec 470 include/linux/syscalls.h const struct iovec __user *vec, vec 476 include/linux/syscalls.h asmlinkage long sys_preadv(unsigned long fd, const struct iovec __user *vec, vec 478 include/linux/syscalls.h asmlinkage long sys_pwritev(unsigned long fd, const struct iovec __user *vec, vec 875 include/linux/syscalls.h unsigned char __user * vec); vec 977 include/linux/syscalls.h asmlinkage long sys_preadv2(unsigned long fd, const struct iovec __user *vec, vec 980 include/linux/syscalls.h asmlinkage long sys_pwritev2(unsigned long fd, const struct iovec __user *vec, vec 285 include/linux/uio.h int (*f)(struct kvec *vec, void *context), vec 38 include/media/videobuf2-memops.h void vb2_destroy_framevec(struct frame_vector *vec); vec 110 include/trace/events/irq.h __field( unsigned int, vec ) vec 114 include/trace/events/irq.h __entry->vec = vec_nr; vec 117 include/trace/events/irq.h TP_printk("vec=%u [action=%s]", __entry->vec, vec 118 include/trace/events/irq.h show_softirq_name(__entry->vec)) vec 338 include/uapi/linux/rds.h struct rds_iovec vec; vec 345 include/uapi/linux/rds.h struct rds_iovec vec; vec 68 kernel/sched/cpupri.c struct cpupri_vec *vec = &cp->pri_to_cpu[idx]; vec 71 kernel/sched/cpupri.c if (!atomic_read(&(vec)->count)) vec 97 kernel/sched/cpupri.c if (cpumask_any_and(p->cpus_ptr, vec->mask) >= nr_cpu_ids) vec 101 kernel/sched/cpupri.c cpumask_and(lowest_mask, p->cpus_ptr, vec->mask); vec 151 kernel/sched/cpupri.c struct cpupri_vec *vec = &cp->pri_to_cpu[newpri]; vec 153 kernel/sched/cpupri.c cpumask_set_cpu(cpu, vec->mask); vec 160 kernel/sched/cpupri.c atomic_inc(&(vec)->count); vec 164 kernel/sched/cpupri.c struct cpupri_vec *vec = &cp->pri_to_cpu[oldpri]; vec 185 kernel/sched/cpupri.c atomic_dec(&(vec)->count); vec 187 kernel/sched/cpupri.c cpumask_clear_cpu(cpu, vec->mask); vec 204 kernel/sched/cpupri.c struct cpupri_vec *vec = &cp->pri_to_cpu[i]; vec 206 kernel/sched/cpupri.c atomic_set(&vec->count, 0); vec 207 kernel/sched/cpupri.c if (!zalloc_cpumask_var(&vec->mask, GFP_KERNEL)) vec 969 kernel/sysctl_binary.c unsigned __user *vec = oldval; vec 970 kernel/sysctl_binary.c size_t length = oldlen / sizeof(*vec); vec 990 kernel/sysctl_binary.c if (put_user(value, vec + i)) vec 993 kernel/sysctl_binary.c copied += sizeof(*vec); vec 1000 kernel/sysctl_binary.c unsigned __user *vec = newval; vec 1001 kernel/sysctl_binary.c size_t length = newlen / sizeof(*vec); vec 1012 kernel/sysctl_binary.c if (get_user(value, vec + i)) vec 1042 kernel/sysctl_binary.c unsigned long __user *vec = oldval; vec 1043 kernel/sysctl_binary.c size_t length = oldlen / sizeof(*vec); vec 1063 kernel/sysctl_binary.c if (put_user(value, vec + i)) vec 1066 kernel/sysctl_binary.c copied += sizeof(*vec); vec 1073 kernel/sysctl_binary.c unsigned long __user *vec = newval; vec 1074 kernel/sysctl_binary.c size_t length = newlen / sizeof(*vec); vec 1085 kernel/sysctl_binary.c if (get_user(value, vec + i)) vec 1461 kernel/time/timer.c struct hlist_head *vec; vec 1469 kernel/time/timer.c vec = base->vectors + idx; vec 1470 kernel/time/timer.c hlist_move_list(vec, heads++); vec 1699 lib/iov_iter.c int (*f)(struct kvec *vec, void *context), vec 35 mm/frame_vector.c unsigned int gup_flags, struct frame_vector *vec) vec 46 mm/frame_vector.c if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) vec 47 mm/frame_vector.c nr_frames = vec->nr_allocated; vec 73 mm/frame_vector.c vec->got_ref = true; vec 74 mm/frame_vector.c vec->is_pfns = false; vec 76 mm/frame_vector.c gup_flags, (struct page **)(vec->ptrs), &locked); vec 80 mm/frame_vector.c vec->got_ref = false; vec 81 mm/frame_vector.c vec->is_pfns = true; vec 83 mm/frame_vector.c unsigned long *nums = frame_vector_pfns(vec); vec 109 mm/frame_vector.c vec->nr_frames = ret; vec 123 mm/frame_vector.c void put_vaddr_frames(struct frame_vector *vec) vec 128 mm/frame_vector.c if (!vec->got_ref) vec 130 mm/frame_vector.c pages = frame_vector_pages(vec); vec 138 mm/frame_vector.c for (i = 0; i < vec->nr_frames; i++) vec 140 mm/frame_vector.c vec->got_ref = false; vec 142 mm/frame_vector.c vec->nr_frames = 0; vec 154 mm/frame_vector.c int frame_vector_to_pages(struct frame_vector *vec) vec 160 mm/frame_vector.c if (!vec->is_pfns) vec 162 mm/frame_vector.c nums = frame_vector_pfns(vec); vec 163 mm/frame_vector.c for (i = 0; i < vec->nr_frames; i++) vec 167 mm/frame_vector.c for (i = 0; i < vec->nr_frames; i++) vec 169 mm/frame_vector.c vec->is_pfns = false; vec 180 mm/frame_vector.c void frame_vector_to_pfns(struct frame_vector *vec) vec 186 mm/frame_vector.c if (vec->is_pfns) vec 188 mm/frame_vector.c pages = (struct page **)(vec->ptrs); vec 190 mm/frame_vector.c for (i = 0; i < vec->nr_frames; i++) vec 192 mm/frame_vector.c vec->is_pfns = true; vec 205 mm/frame_vector.c struct frame_vector *vec; vec 220 mm/frame_vector.c vec = kvmalloc(size, GFP_KERNEL); vec 221 mm/frame_vector.c if (!vec) vec 223 mm/frame_vector.c vec->nr_allocated = nr_frames; vec 224 mm/frame_vector.c vec->nr_frames = 0; vec 225 mm/frame_vector.c return vec; vec 235 mm/frame_vector.c void frame_vector_destroy(struct frame_vector *vec) vec 238 mm/frame_vector.c VM_BUG_ON(vec->nr_frames > 0); vec 239 mm/frame_vector.c kvfree(vec); vec 29 mm/mincore.c unsigned char *vec = walk->private; vec 36 mm/mincore.c for (; addr != end; vec++, addr += PAGE_SIZE) vec 37 mm/mincore.c *vec = present; vec 38 mm/mincore.c walk->private = vec; vec 96 mm/mincore.c struct vm_area_struct *vma, unsigned char *vec) vec 106 mm/mincore.c vec[i] = mincore_page(vma->vm_file->f_mapping, pgoff); vec 109 mm/mincore.c vec[i] = 0; vec 128 mm/mincore.c unsigned char *vec = walk->private; vec 133 mm/mincore.c memset(vec, 1, nr); vec 139 mm/mincore.c __mincore_unmapped_range(addr, end, vma, vec); vec 149 mm/mincore.c vma, vec); vec 151 mm/mincore.c *vec = 1; vec 160 mm/mincore.c *vec = 1; vec 163 mm/mincore.c *vec = mincore_page(swap_address_space(entry), vec 167 mm/mincore.c *vec = 1; vec 171 mm/mincore.c vec++; vec 207 mm/mincore.c static long do_mincore(unsigned long addr, unsigned long pages, unsigned char *vec) vec 219 mm/mincore.c memset(vec, 1, pages); vec 222 mm/mincore.c err = walk_page_range(vma->vm_mm, addr, end, &mincore_walk_ops, vec); vec 253 mm/mincore.c unsigned char __user *, vec) vec 273 mm/mincore.c if (!access_ok(vec, pages)) vec 292 mm/mincore.c if (copy_to_user(vec, tmp, retval)) { vec 297 mm/mincore.c vec += retval; vec 255 net/ceph/auth_x.c (int)th->ticket_blob->vec.iov_len); vec 307 net/ceph/auth_x.c msg_a = au->buf->vec.iov_base; vec 310 net/ceph/auth_x.c end = au->buf->vec.iov_base + au->buf->vec.iov_len; vec 333 net/ceph/auth_x.c au->buf->vec.iov_len = p - au->buf->vec.iov_base; vec 357 net/ceph/auth_x.c (th->ticket_blob ? th->ticket_blob->vec.iov_len : 0); vec 384 net/ceph/auth_x.c msg_a = au->buf->vec.iov_base; vec 392 net/ceph/auth_x.c memcpy(msg_a->ticket_blob.blob, th->ticket_blob->vec.iov_base, vec 393 net/ceph/auth_x.c th->ticket_blob->vec.iov_len); vec 406 net/ceph/auth_x.c (int)au->buf->vec.iov_len); vec 421 net/ceph/auth_x.c const char *buf = th->ticket_blob->vec.iov_base; vec 422 net/ceph/auth_x.c u32 len = th->ticket_blob->vec.iov_len; vec 551 net/ceph/auth_x.c ceph_encode_copy(&p, xi->auth_authorizer.buf->vec.iov_base, vec 552 net/ceph/auth_x.c xi->auth_authorizer.buf->vec.iov_len); vec 651 net/ceph/auth_x.c auth->authorizer_buf = au->buf->vec.iov_base; vec 652 net/ceph/auth_x.c auth->authorizer_buf_len = au->buf->vec.iov_len; vec 20 net/ceph/buffer.c b->vec.iov_base = ceph_kvmalloc(len, gfp); vec 21 net/ceph/buffer.c if (!b->vec.iov_base) { vec 28 net/ceph/buffer.c b->vec.iov_len = len; vec 39 net/ceph/buffer.c kvfree(b->vec.iov_base); vec 55 net/ceph/buffer.c ceph_decode_copy(p, (*b)->vec.iov_base, len); vec 1313 net/ceph/messenger.c con_out_kvec_add(con, m->middle->vec.iov_len, vec 1314 net/ceph/messenger.c m->middle->vec.iov_base); vec 1325 net/ceph/messenger.c crc = crc32c(0, m->middle->vec.iov_base, vec 1326 net/ceph/messenger.c m->middle->vec.iov_len); vec 2447 net/ceph/messenger.c m->middle->vec.iov_len = 0; vec 2463 net/ceph/messenger.c ret = read_partial_message_section(con, &m->middle->vec, vec 3545 net/ceph/messenger.c msg->middle->vec.iov_base, vec 3546 net/ceph/messenger.c msg->middle->vec.iov_len, true); vec 347 net/dccp/ackvec.c int dccp_ackvec_parsed_add(struct list_head *head, u8 *vec, u8 len, u8 nonce) vec 353 net/dccp/ackvec.c new->vec = vec; vec 128 net/dccp/ackvec.h u8 *vec, vec 134 net/dccp/ackvec.h int dccp_ackvec_parsed_add(struct list_head *head, u8 *vec, u8 len, u8 nonce); vec 586 net/dccp/ccids/ccid2.c for (; avp->len--; avp->vec++) { vec 588 net/dccp/ccids/ccid2.c dccp_ackvec_runlen(avp->vec)); vec 592 net/dccp/ccids/ccid2.c dccp_ackvec_state(avp->vec) >> 6, vec 593 net/dccp/ccids/ccid2.c dccp_ackvec_runlen(avp->vec)); vec 612 net/dccp/ccids/ccid2.c const u8 state = dccp_ackvec_state(avp->vec); vec 256 net/dccp/feat.c if (val == NULL || (type == FEAT_SP && val->sp.vec == NULL)) vec 260 net/dccp/feat.c dccp_pr_debug_cat("%s%u", i ? " " : "", val->sp.vec[i]); vec 270 net/dccp/feat.c dccp_feat_val fval = { .sp.vec = list, .sp.len = len }; vec 317 net/dccp/feat.c if (fval->sp.vec == NULL) { vec 326 net/dccp/feat.c val = fval->sp.vec[0]; vec 369 net/dccp/feat.c fval->sp.vec = kmemdup(val, len, gfp_any()); vec 370 net/dccp/feat.c if (fval->sp.vec == NULL) { vec 383 net/dccp/feat.c kfree(val->sp.vec); vec 401 net/dccp/feat.c original->val.sp.vec, vec 649 net/dccp/feat.c ptr = pos->val.sp.vec; vec 737 net/dccp/feat.c kfree(fval.sp.vec); vec 985 net/dccp/feat.c ccids[entry->is_local] = entry->val.sp.vec[0]; vec 1008 net/dccp/feat.c ccid = entry->val.sp.vec[0]; vec 1066 net/dccp/feat.c if (!fv->sp.vec || !arr) { vec 1072 net/dccp/feat.c rc = dccp_feat_preflist_match(fv->sp.vec, fv->sp.len, arr, len); vec 1074 net/dccp/feat.c rc = dccp_feat_preflist_match(arr, len, fv->sp.vec, fv->sp.len); vec 1084 net/dccp/feat.c return dccp_feat_prefer(rc, fv->sp.vec, fv->sp.len); vec 1147 net/dccp/feat.c fval.sp.vec[0] = defval; vec 1148 net/dccp/feat.c } else if (!dccp_feat_is_valid_sp_val(feat, fval.sp.vec[0])) { vec 1149 net/dccp/feat.c kfree(fval.sp.vec); vec 1154 net/dccp/feat.c if (feat == DCCPF_CCID && !ccid_support_check(fval.sp.vec, 1)) { vec 1155 net/dccp/feat.c kfree(fval.sp.vec); vec 1275 net/dccp/feat.c entry->val.sp.vec[0] = *val; vec 50 net/dccp/feat.h u8 *vec; vec 55 net/rds/rdma.c static unsigned int rds_pages_in_vec(struct rds_iovec *vec) vec 57 net/rds/rdma.c if ((vec->addr + vec->bytes <= vec->addr) || vec 58 net/rds/rdma.c (vec->bytes > (u64)UINT_MAX)) vec 61 net/rds/rdma.c return ((vec->addr + vec->bytes + PAGE_SIZE - 1) >> PAGE_SHIFT) - vec 62 net/rds/rdma.c (vec->addr >> PAGE_SHIFT); vec 198 net/rds/rdma.c nr_pages = rds_pages_in_vec(&args->vec); vec 213 net/rds/rdma.c args->vec.addr, args->vec.bytes, nr_pages); vec 250 net/rds/rdma.c ret = rds_pin_pages(args->vec.addr, nr_pages, pages, 1); vec 294 net/rds/rdma.c cookie = rds_rdma_make_cookie(mr->r_key, args->vec.addr & ~PAGE_MASK); vec 356 net/rds/rdma.c new_args.vec = args.vec; vec 524 net/rds/rdma.c struct rds_iovec *vec; vec 541 net/rds/rdma.c vec = &iov->iov[0]; vec 543 net/rds/rdma.c if (copy_from_user(vec, local_vec, args->nr_local * vec 549 net/rds/rdma.c for (i = 0; i < args->nr_local; i++, vec++) { vec 551 net/rds/rdma.c nr_pages = rds_pages_in_vec(vec); vec 574 net/rds/rdma.c struct rds_iov_vector *vec) vec 601 net/rds/rdma.c if (vec->len != args->nr_local) { vec 606 net/rds/rdma.c iovs = vec->iov; vec 403 net/rds/rds.h struct rds_iov_vector *vec; vec 935 net/rds/rds.h struct rds_iov_vector *vec); vec 914 net/rds/send.c krealloc(vct->vec, vec 922 net/rds/send.c vct->vec = tmp_iov; vec 924 net/rds/send.c iov = &vct->vec[vct->indx]; vec 1005 net/rds/send.c ret = rds_cmsg_rdma_args(rs, rm, cmsg, &vct->vec[ind]); vec 1396 net/rds/send.c kfree(vct.vec[ind].iov); vec 1397 net/rds/send.c kfree(vct.vec); vec 1403 net/rds/send.c kfree(vct.vec[ind].iov); vec 1404 net/rds/send.c kfree(vct.vec); vec 63 net/rds/tcp_send.c struct kvec vec = { vec 71 net/rds/tcp_send.c return kernel_sendmsg(sock, &msg, &vec, 1, vec.iov_len); vec 278 net/smc/smc_clc.c struct kvec vec = {buf, buflen}; vec 292 net/smc/smc_clc.c iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, vec 336 net/smc/smc_clc.c iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, datlen); vec 366 net/smc/smc_clc.c struct kvec vec; vec 382 net/smc/smc_clc.c vec.iov_base = &dclc; vec 383 net/smc/smc_clc.c vec.iov_len = sizeof(struct smc_clc_msg_decline); vec 384 net/smc/smc_clc.c len = kernel_sendmsg(smc->clcsock, &msg, &vec, 1, vec 402 net/smc/smc_clc.c struct kvec vec[5]; vec 440 net/smc/smc_clc.c vec[i].iov_base = &pclc; vec 441 net/smc/smc_clc.c vec[i++].iov_len = sizeof(pclc); vec 443 net/smc/smc_clc.c vec[i].iov_base = &pclc_smcd; vec 444 net/smc/smc_clc.c vec[i++].iov_len = sizeof(pclc_smcd); vec 446 net/smc/smc_clc.c vec[i].iov_base = &pclc_prfx; vec 447 net/smc/smc_clc.c vec[i++].iov_len = sizeof(pclc_prfx); vec 449 net/smc/smc_clc.c vec[i].iov_base = &ipv6_prfx[0]; vec 450 net/smc/smc_clc.c vec[i++].iov_len = pclc_prfx.ipv6_prefixes_cnt * vec 453 net/smc/smc_clc.c vec[i].iov_base = &trl; vec 454 net/smc/smc_clc.c vec[i++].iov_len = sizeof(trl); vec 456 net/smc/smc_clc.c len = kernel_sendmsg(smc->clcsock, &msg, vec, i, plen); vec 476 net/smc/smc_clc.c struct kvec vec; vec 523 net/smc/smc_clc.c vec.iov_base = &cclc; vec 524 net/smc/smc_clc.c vec.iov_len = ntohs(cclc.hdr.length); vec 525 net/smc/smc_clc.c len = kernel_sendmsg(smc->clcsock, &msg, &vec, 1, vec 546 net/smc/smc_clc.c struct kvec vec; vec 595 net/smc/smc_clc.c vec.iov_base = &aclc; vec 596 net/smc/smc_clc.c vec.iov_len = ntohs(aclc.hdr.length); vec 597 net/smc/smc_clc.c len = kernel_sendmsg(new_smc->clcsock, &msg, &vec, 1, vec 674 net/socket.c struct kvec *vec, size_t num, size_t size) vec 676 net/socket.c iov_iter_kvec(&msg->msg_iter, WRITE, vec, num, size); vec 695 net/socket.c struct kvec *vec, size_t num, size_t size) vec 702 net/socket.c iov_iter_kvec(&msg->msg_iter, WRITE, vec, num, size); vec 910 net/socket.c struct kvec *vec, size_t num, size_t size, int flags) vec 915 net/socket.c iov_iter_kvec(&msg->msg_iter, READ, vec, num, size); vec 1649 net/sunrpc/svc.c struct kvec *vec = rqstp->rq_vec; vec 1657 net/sunrpc/svc.c vec[i].iov_base = first->iov_base; vec 1658 net/sunrpc/svc.c vec[i].iov_len = min_t(size_t, total, first->iov_len); vec 1659 net/sunrpc/svc.c total -= vec[i].iov_len; vec 1664 net/sunrpc/svc.c vec[i].iov_base = page_address(*pages); vec 1665 net/sunrpc/svc.c vec[i].iov_len = min_t(size_t, total, PAGE_SIZE); vec 1666 net/sunrpc/svc.c total -= vec[i].iov_len; vec 1005 net/sunrpc/svcsock.c static int copy_pages_to_kvecs(struct kvec *vec, struct page **pages, int len) vec 1011 net/sunrpc/svcsock.c vec[i].iov_base = page_address(pages[i]); vec 1012 net/sunrpc/svcsock.c vec[i].iov_len = PAGE_SIZE; vec 1038 net/sunrpc/svcsock.c struct kvec *vec; vec 1056 net/sunrpc/svcsock.c vec = rqstp->rq_vec; vec 1058 net/sunrpc/svcsock.c pnum = copy_pages_to_kvecs(&vec[0], &rqstp->rq_pages[0], base + want); vec 1064 net/sunrpc/svcsock.c len = svc_recvfrom(rqstp, vec, pnum, base + want, base); vec 194 net/sunrpc/xprtrdma/rpc_rdma.c rpcrdma_convert_kvec(struct kvec *vec, struct rpcrdma_mr_seg *seg, vec 200 net/sunrpc/xprtrdma/rpc_rdma.c base = vec->iov_base; vec 202 net/sunrpc/xprtrdma/rpc_rdma.c remaining = vec->iov_len; vec 477 net/sunrpc/xprtrdma/svc_rdma_rw.c struct kvec *vec) vec 479 net/sunrpc/xprtrdma/svc_rdma_rw.c info->wi_base = vec->iov_base; vec 481 net/sunrpc/xprtrdma/svc_rdma_rw.c vec->iov_len); vec 759 net/sunrpc/xprtsock.c static int xs_send_kvec(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t seek) vec 761 net/sunrpc/xprtsock.c iov_iter_kvec(&msg->msg_iter, WRITE, vec, 1, vec->iov_len); vec 787 net/sunrpc/xprtsock.c rpc_fraghdr marker, struct kvec *vec, size_t base) vec 794 net/sunrpc/xprtsock.c [1] = *vec, vec 1692 net/xfrm/xfrm_user.c struct xfrm_user_tmpl vec[XFRM_MAX_DEPTH]; vec 1699 net/xfrm/xfrm_user.c struct xfrm_user_tmpl *up = &vec[i]; vec 1716 net/xfrm/xfrm_user.c sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr, vec); vec 131 scripts/gcc-plugins/latent_entropy_plugin.c vec<constructor_elt, va_gc> *vals; vec 58 security/apparmor/include/label.h int aa_vec_unique(struct aa_profile **vec, int n, int flags); vec 59 security/apparmor/include/label.h struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len, vec 134 security/apparmor/include/label.h struct aa_profile *vec[]; vec 149 security/apparmor/include/label.h #define labels_ns(X) (vec_ns(&((X)->vec[0]), (X)->size)) vec 151 security/apparmor/include/label.h #define labels_profile(X) ((X)->vec[(X)->size - 1]) vec 158 security/apparmor/include/label.h for ((I).i = 0; ((P) = (L)->vec[(I).i]); ++((I).i)) vec 162 security/apparmor/include/label.h for (++((I).i); ((P) = (L)->vec[(I).i]); ++((I).i)) vec 177 security/apparmor/include/label.h ((P1) = (L1)->vec[(I).i]) && ((P2) = (L2)->vec[(I).j]); \ vec 193 security/apparmor/include/label.h ((P) = (L)->vec[(I).i]); \ vec 209 security/apparmor/include/label.h while ((L)->vec[___i] && (L)->vec[___i]->ns != (NS)) \ vec 216 security/apparmor/include/label.h ((P) = (L)->vec[(I).i]); \ vec 186 security/apparmor/label.c static bool vec_is_stale(struct aa_profile **vec, int n) vec 190 security/apparmor/label.c AA_BUG(!vec); vec 193 security/apparmor/label.c if (profile_is_stale(vec[i])) vec 200 security/apparmor/label.c static bool vec_unconfined(struct aa_profile **vec, int n) vec 204 security/apparmor/label.c AA_BUG(!vec); vec 207 security/apparmor/label.c if (!profile_unconfined(vec[i])) vec 224 security/apparmor/label.c static inline int unique(struct aa_profile **vec, int n) vec 229 security/apparmor/label.c AA_BUG(!vec); vec 233 security/apparmor/label.c int res = profile_cmp(vec[pos], vec[i]); vec 238 security/apparmor/label.c aa_put_profile(vec[i]); vec 244 security/apparmor/label.c vec[pos] = vec[i]; vec 262 security/apparmor/label.c int aa_vec_unique(struct aa_profile **vec, int n, int flags) vec 267 security/apparmor/label.c AA_BUG(!vec); vec 271 security/apparmor/label.c sort(vec, n, sizeof(struct aa_profile *), sort_cmp, NULL); vec 272 security/apparmor/label.c dups = unique(vec, n); vec 278 security/apparmor/label.c struct aa_profile *tmp = vec[i]; vec 282 security/apparmor/label.c int res = profile_cmp(vec[pos], tmp); vec 296 security/apparmor/label.c vec[j] = vec[j - 1]; vec 297 security/apparmor/label.c vec[pos] = tmp; vec 306 security/apparmor/label.c vec[n - dups] = NULL; vec 326 security/apparmor/label.c label->vec[i.i] = (struct aa_profile *) vec 384 security/apparmor/label.c on_list_rcu(&label->vec[0]->base.profiles)); vec 386 security/apparmor/label.c on_list_rcu(&label->vec[0]->base.list)); vec 410 security/apparmor/label.c label->vec[size] = NULL; /* null terminate */ vec 476 security/apparmor/label.c return vec_cmp(a->vec, a->size, b->vec, b->size); vec 486 security/apparmor/label.c if (!profile_unconfined(label->vec[i])) vec 515 security/apparmor/label.c int res = profile_cmp(sub->vec[I->j], set->vec[I->i]); vec 523 security/apparmor/label.c return sub->vec[(I->j)++]; vec 527 security/apparmor/label.c return sub->vec[(I->j)++]; vec 692 security/apparmor/label.c static struct aa_label *__vec_find(struct aa_profile **vec, int n) vec 696 security/apparmor/label.c AA_BUG(!vec); vec 697 security/apparmor/label.c AA_BUG(!*vec); vec 700 security/apparmor/label.c node = vec_labelset(vec, n)->root.rb_node; vec 703 security/apparmor/label.c int result = vec_cmp(this->vec, this->size, vec, n); vec 731 security/apparmor/label.c return __vec_find(label->vec, label->size); vec 806 security/apparmor/label.c static struct aa_label *vec_find(struct aa_profile **vec, int n) vec 812 security/apparmor/label.c AA_BUG(!vec); vec 813 security/apparmor/label.c AA_BUG(!*vec); vec 816 security/apparmor/label.c ls = vec_labelset(vec, n); vec 818 security/apparmor/label.c label = __vec_find(vec, n); vec 825 security/apparmor/label.c static struct aa_label *vec_create_and_insert_label(struct aa_profile **vec, vec 834 security/apparmor/label.c AA_BUG(!vec); vec 837 security/apparmor/label.c return aa_get_label(&vec[0]->label); vec 839 security/apparmor/label.c ls = labels_set(&vec[len - 1]->label); vec 849 security/apparmor/label.c new->vec[i] = aa_get_profile(vec[i]); vec 859 security/apparmor/label.c struct aa_label *aa_vec_find_or_create_label(struct aa_profile **vec, int len, vec 862 security/apparmor/label.c struct aa_label *label = vec_find(vec, len); vec 867 security/apparmor/label.c return vec_create_and_insert_label(vec, len, gfp); vec 884 security/apparmor/label.c return vec_find(label->vec, label->size); vec 946 security/apparmor/label.c int res = profile_cmp(a->vec[I->i], b->vec[I->j]); vec 949 security/apparmor/label.c return b->vec[(I->j)++]; vec 954 security/apparmor/label.c return a->vec[(I->i)++]; vec 958 security/apparmor/label.c return b->vec[(I->j)++]; vec 989 security/apparmor/label.c int res = profile_cmp(p, z->vec[k]); vec 1041 security/apparmor/label.c new->vec[k] = aa_get_newest_profile(next); vec 1042 security/apparmor/label.c AA_BUG(!new->vec[k]->label.proxy); vec 1043 security/apparmor/label.c AA_BUG(!new->vec[k]->label.proxy->label); vec 1044 security/apparmor/label.c if (next->label.proxy != new->vec[k]->label.proxy) vec 1049 security/apparmor/label.c new->vec[k++] = aa_get_profile(next); vec 1053 security/apparmor/label.c new->vec[k] = NULL; vec 1056 security/apparmor/label.c new->size -= aa_vec_unique(&new->vec[0], new->size, vec 1060 security/apparmor/label.c label = aa_get_label(&new->vec[0]->label); vec 1073 security/apparmor/label.c if (vec_unconfined(new->vec, new->size)) vec 1861 security/apparmor/label.c DEFINE_VEC(profile, vec); vec 1883 security/apparmor/label.c error = vec_setup(profile, vec, len, gfp); vec 1888 security/apparmor/label.c vec[i] = aa_get_profile(base->vec[i]); vec 1892 security/apparmor/label.c vec[i] = fqlookupn_profile(base, currbase, str, split - str); vec 1893 security/apparmor/label.c if (!vec[i]) vec 1899 security/apparmor/label.c if (vec[i]->ns != labels_ns(currbase)) vec 1900 security/apparmor/label.c currbase = &vec[i]->label; vec 1906 security/apparmor/label.c vec[i] = fqlookupn_profile(base, currbase, str, end - str); vec 1907 security/apparmor/label.c if (!vec[i]) vec 1912 security/apparmor/label.c return &vec[0]->label; vec 1914 security/apparmor/label.c len -= aa_vec_unique(vec, len, VEC_FLAG_TERMINATE); vec 1917 security/apparmor/label.c label = aa_get_label(&vec[0]->label); vec 1922 security/apparmor/label.c label = aa_vec_find_or_create_label(vec, len, gfp); vec 1924 security/apparmor/label.c label = vec_find(vec, len); vec 1930 security/apparmor/label.c vec_cleanup(profile, vec, len); vec 1996 security/apparmor/label.c vec_is_stale(label->vec, label->size)) && vec 2042 security/apparmor/label.c AA_BUG(!label->vec[i]); vec 2043 security/apparmor/label.c new->vec[i] = aa_get_newest_profile(label->vec[i]); vec 2044 security/apparmor/label.c AA_BUG(!new->vec[i]); vec 2045 security/apparmor/label.c AA_BUG(!new->vec[i]->label.proxy); vec 2046 security/apparmor/label.c AA_BUG(!new->vec[i]->label.proxy->label); vec 2047 security/apparmor/label.c if (new->vec[i]->label.proxy != label->vec[i]->label.proxy) vec 2053 security/apparmor/label.c new->size -= aa_vec_unique(&new->vec[0], new->size, vec 2057 security/apparmor/label.c tmp = aa_get_label(&new->vec[0]->label); vec 283 security/apparmor/policy.c profile->label.vec[0] = profile; vec 29 sound/core/oss/io.c #define pcm_writev(plug,vec,count) snd_pcm_oss_writev3(plug,vec,count) vec 31 sound/core/oss/io.c #define pcm_readv(plug,vec,count) snd_pcm_oss_readv3(plug,vec,count) vec 254 tools/testing/selftests/net/tls.c struct iovec vec; vec 257 tools/testing/selftests/net/tls.c vec.iov_base = (char *)test_str; vec 258 tools/testing/selftests/net/tls.c vec.iov_len = send_len; vec 260 tools/testing/selftests/net/tls.c msg.msg_iov = &vec; vec 273 tools/testing/selftests/net/tls.c struct iovec vec[MAX_FRAGS]; vec 279 tools/testing/selftests/net/tls.c vec[i].iov_base = (char *)test_str; vec 280 tools/testing/selftests/net/tls.c vec[i].iov_len = SEND_LEN; vec 284 tools/testing/selftests/net/tls.c msg.msg_iov = vec; vec 310 tools/testing/selftests/net/tls.c struct iovec vec = { (void *)mem, send_len }; vec 312 tools/testing/selftests/net/tls.c msg.msg_iov = &vec; vec 326 tools/testing/selftests/net/tls.c struct iovec vec[5]; vec 339 tools/testing/selftests/net/tls.c vec[i].iov_base = (void *)test_strs[i]; vec 340 tools/testing/selftests/net/tls.c vec[i].iov_len = strlen(test_strs[i]) + 1; vec 341 tools/testing/selftests/net/tls.c total_len += vec[i].iov_len; vec 343 tools/testing/selftests/net/tls.c msg.msg_iov = vec; vec 363 tools/testing/selftests/net/tls.c struct iovec vec[1024]; vec 376 tools/testing/selftests/net/tls.c vec[i].iov_base = (void *)test_strs[i]; vec 377 tools/testing/selftests/net/tls.c vec[i].iov_len = strlen(test_strs[i]) + 1; vec 378 tools/testing/selftests/net/tls.c total_len += vec[i].iov_len; vec 380 tools/testing/selftests/net/tls.c msg.msg_iov = vec; vec 467 tools/testing/selftests/net/tls.c struct iovec vec; vec 471 tools/testing/selftests/net/tls.c vec.iov_base = (char *)buf; vec 472 tools/testing/selftests/net/tls.c vec.iov_len = send_len; vec 474 tools/testing/selftests/net/tls.c hdr.msg_iov = &vec; vec 484 tools/testing/selftests/net/tls.c struct iovec vec; vec 488 tools/testing/selftests/net/tls.c vec.iov_base = (char *)recv_mem; vec 489 tools/testing/selftests/net/tls.c vec.iov_len = TLS_PAYLOAD_MAX_LEN; vec 492 tools/testing/selftests/net/tls.c hdr.msg_iov = &vec; vec 501 tools/testing/selftests/net/tls.c struct iovec vec[1024]; vec 512 tools/testing/selftests/net/tls.c vec[i].iov_base = iov_base[i]; vec 513 tools/testing/selftests/net/tls.c vec[i].iov_len = iov_len; vec 517 tools/testing/selftests/net/tls.c hdr.msg_iov = vec; vec 1049 tools/testing/selftests/net/tls.c struct iovec vec; vec 1052 tools/testing/selftests/net/tls.c vec.iov_base = (char *)test_str; vec 1053 tools/testing/selftests/net/tls.c vec.iov_len = 10; vec 1055 tools/testing/selftests/net/tls.c msg.msg_iov = &vec; vec 1071 tools/testing/selftests/net/tls.c vec.iov_base = buf; vec 298 tools/testing/selftests/powerpc/tm/tm-unavailable.c void test_fp_vec(int fp, int vec, pthread_attr_t *attr) vec 305 tools/testing/selftests/powerpc/tm/tm-unavailable.c flags.touch_vec = vec; vec 970 tools/vm/page-types.c uint8_t vec[PAGEMAP_BATCH]; vec 994 tools/vm/page-types.c if (mincore(ptr, len, vec)) vec 1010 tools/vm/page-types.c if (vec[i] & 1)