opt 299 arch/arc/kernel/setup.c int opt = 2; /* stock MPY/MPYH */ opt 302 arch/arc/kernel/setup.c opt = cpu->extn_mpy.dsp + 6; opt 304 arch/arc/kernel/setup.c scnprintf(mpy_opt, 16, "mpy[opt %d] ", opt); opt 67 arch/arm/include/asm/efi.h static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt) opt 91 arch/arm64/include/asm/assembler.h .macro smp_dmb, opt opt 22 arch/arm64/include/asm/barrier.h #define dmb(opt) asm volatile("dmb " #opt : : : "memory") opt 23 arch/arm64/include/asm/barrier.h #define dsb(opt) asm volatile("dsb " #opt : : : "memory") opt 117 arch/arm64/include/asm/efi.h static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt) opt 467 arch/arm64/mm/hugetlbpage.c static __init int setup_hugepagesz(char *opt) opt 469 arch/arm64/mm/hugetlbpage.c unsigned long ps = memparse(opt, &opt); opt 28 arch/arm64/mm/numa.c static __init int numa_parse_early_param(char *opt) opt 30 arch/arm64/mm/numa.c if (!opt) opt 32 arch/arm64/mm/numa.c if (str_has_prefix(opt, "off")) opt 25 arch/h8300/kernel/sim-console.c static int __init sim_setup(struct earlycon_device *device, const char *opt) opt 19 arch/mips/include/asm/cpu-features.h #define __opt(opt) (cpu_data[0].options & (opt)) opt 33 arch/mips/include/asm/cpu-features.h #define __isa_ge_and_opt(isa, opt) ((MIPS_ISA_REV >= (isa)) && __opt(opt)) opt 43 arch/mips/include/asm/cpu-features.h #define __isa_ge_or_opt(isa, opt) ((MIPS_ISA_REV >= (isa)) || __opt(opt)) opt 54 arch/mips/include/asm/cpu-features.h #define __isa_lt_and_opt(isa, opt) ((MIPS_ISA_REV < (isa)) && __opt(opt)) opt 16 arch/parisc/include/asm/hardware.h unsigned short opt; opt 641 arch/powerpc/kernel/legacy_serial.c static char __initdata opt[16]; opt 642 arch/powerpc/kernel/legacy_serial.c sprintf(opt, "%d", speed); opt 643 arch/powerpc/kernel/legacy_serial.c return add_preferred_console("ttyS", offset, opt); opt 760 arch/powerpc/kernel/prom_init.c const char *opt; opt 774 arch/powerpc/kernel/prom_init.c opt = prom_strstr(prom_cmd_line, "iommu="); opt 775 arch/powerpc/kernel/prom_init.c if (opt) { opt 776 arch/powerpc/kernel/prom_init.c prom_printf("iommu opt is: %s\n", opt); opt 777 arch/powerpc/kernel/prom_init.c opt += 6; opt 778 arch/powerpc/kernel/prom_init.c while (*opt && *opt == ' ') opt 779 arch/powerpc/kernel/prom_init.c opt++; opt 780 arch/powerpc/kernel/prom_init.c if (!prom_strncmp(opt, "off", 3)) opt 782 arch/powerpc/kernel/prom_init.c else if (!prom_strncmp(opt, "force", 5)) opt 786 arch/powerpc/kernel/prom_init.c opt = prom_strstr(prom_cmd_line, "mem="); opt 787 arch/powerpc/kernel/prom_init.c if (opt) { opt 788 arch/powerpc/kernel/prom_init.c opt += 4; opt 789 arch/powerpc/kernel/prom_init.c prom_memory_limit = prom_memparse(opt, (const char **)&opt); opt 798 arch/powerpc/kernel/prom_init.c opt = prom_strstr(prom_cmd_line, "disable_radix"); opt 799 arch/powerpc/kernel/prom_init.c if (opt) { opt 800 arch/powerpc/kernel/prom_init.c opt += 13; opt 801 arch/powerpc/kernel/prom_init.c if (*opt && *opt == '=') { opt 804 arch/powerpc/kernel/prom_init.c if (prom_strtobool(++opt, &val)) opt 814 arch/powerpc/kernel/prom_init.c opt = prom_strstr(prom_cmd_line, "xive=off"); opt 815 arch/powerpc/kernel/prom_init.c if (opt) { opt 822 arch/powerpc/kernel/prom_init.c opt = prom_strstr(prom_cmd_line, "svm="); opt 823 arch/powerpc/kernel/prom_init.c if (opt) { opt 826 arch/powerpc/kernel/prom_init.c opt += sizeof("svm=") - 1; opt 827 arch/powerpc/kernel/prom_init.c if (!prom_strtobool(opt, &val)) opt 626 arch/powerpc/platforms/cell/spufs/inode.c int opt; opt 628 arch/powerpc/platforms/cell/spufs/inode.c opt = fs_parse(fc, &spufs_fs_parameters, param, &result); opt 629 arch/powerpc/platforms/cell/spufs/inode.c if (opt < 0) opt 630 arch/powerpc/platforms/cell/spufs/inode.c return opt; opt 632 arch/powerpc/platforms/cell/spufs/inode.c switch (opt) { opt 491 arch/powerpc/platforms/powernv/eeh-powernv.c int opt; opt 500 arch/powerpc/platforms/powernv/eeh-powernv.c opt = OPAL_EEH_ACTION_CLEAR_FREEZE_MMIO; opt 503 arch/powerpc/platforms/powernv/eeh-powernv.c opt = OPAL_EEH_ACTION_CLEAR_FREEZE_DMA; opt 507 arch/powerpc/platforms/powernv/eeh-powernv.c opt = OPAL_EEH_ACTION_SET_FREEZE_ALL; opt 521 arch/powerpc/platforms/powernv/eeh-powernv.c rc = opal_pci_eeh_freeze_set(phb->opal_id, pe->addr, opt); opt 534 arch/powerpc/platforms/powernv/eeh-powernv.c return phb->unfreeze_pe(phb, pe->addr, opt); opt 536 arch/powerpc/platforms/powernv/eeh-powernv.c rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe->addr, opt); opt 561 arch/powerpc/platforms/powernv/pci-ioda.c static int pnv_ioda_unfreeze_pe(struct pnv_phb *phb, int pe_no, int opt) opt 575 arch/powerpc/platforms/powernv/pci-ioda.c rc = opal_pci_eeh_freeze_clear(phb->opal_id, pe_no, opt); opt 578 arch/powerpc/platforms/powernv/pci-ioda.c __func__, rc, opt, phb->hose->global_number, pe_no); opt 589 arch/powerpc/platforms/powernv/pci-ioda.c opt); opt 592 arch/powerpc/platforms/powernv/pci-ioda.c __func__, rc, opt, phb->hose->global_number, opt 115 arch/powerpc/platforms/powernv/pci.h int (*unfreeze_pe)(struct pnv_phb *phb, int pe_no, int opt); opt 17 arch/riscv/mm/hugetlbpage.c static __init int setup_hugepagesz(char *opt) opt 19 arch/riscv/mm/hugetlbpage.c unsigned long ps = memparse(opt, &opt); opt 253 arch/s390/boot/ipl_parm.c ipl_block.fcp.opt == IPL_PB0_FCP_OPT_DUMP) { opt 229 arch/s390/hypfs/inode.c int opt; opt 231 arch/s390/hypfs/inode.c opt = fs_parse(fc, &hypfs_fs_parameters, param, &result); opt 232 arch/s390/hypfs/inode.c if (opt < 0) opt 233 arch/s390/hypfs/inode.c return opt; opt 235 arch/s390/hypfs/inode.c switch (opt) { opt 1007 arch/s390/include/asm/pgtable.h unsigned long opt, unsigned long asce, opt 1012 arch/s390/include/asm/pgtable.h if (__builtin_constant_p(opt) && opt == 0) { opt 1022 arch/s390/include/asm/pgtable.h opt = opt | (asce & _ASCE_ORIGIN); opt 1025 arch/s390/include/asm/pgtable.h : [r2] "+a" (address), [r3] "+a" (opt) opt 1446 arch/s390/include/asm/pgtable.h unsigned long opt, unsigned long asce, opt 1452 arch/s390/include/asm/pgtable.h if (__builtin_constant_p(opt) && opt == 0) { opt 1465 arch/s390/include/asm/pgtable.h : [r1] "a" (sto), [r2] "a" ((addr & HPAGE_MASK) | opt), opt 1472 arch/s390/include/asm/pgtable.h unsigned long opt, unsigned long asce, opt 1479 arch/s390/include/asm/pgtable.h if (__builtin_constant_p(opt) && opt == 0) { opt 1492 arch/s390/include/asm/pgtable.h : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK) | opt), opt 24 arch/s390/include/asm/tlbflush.h unsigned long opt; opt 26 arch/s390/include/asm/tlbflush.h opt = IDTE_PTOA; opt 28 arch/s390/include/asm/tlbflush.h opt |= IDTE_GUEST_ASCE; opt 32 arch/s390/include/asm/tlbflush.h : : "a" (opt), "a" (asce) : "cc"); opt 51 arch/s390/include/uapi/asm/ipl.h __u8 opt; opt 257 arch/s390/kernel/ipl.c if (ipl_block.fcp.opt == IPL_PB0_FCP_OPT_DUMP) opt 1031 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.opt = IPL_PB0_FCP_OPT_IPL; opt 1240 arch/s390/kernel/ipl.c dump_block_fcp->fcp.opt = IPL_PB0_FCP_OPT_DUMP; opt 257 arch/s390/mm/hugetlbpage.c static __init int setup_hugepagesz(char *opt) opt 260 arch/s390/mm/hugetlbpage.c char *string = opt; opt 262 arch/s390/mm/hugetlbpage.c size = memparse(opt, &opt); opt 32 arch/s390/mm/pgtable.c unsigned long opt, asce; opt 35 arch/s390/mm/pgtable.c opt = 0; opt 38 arch/s390/mm/pgtable.c opt |= IPTE_NODAT; opt 41 arch/s390/mm/pgtable.c opt |= IPTE_GUEST_ASCE; opt 43 arch/s390/mm/pgtable.c __ptep_ipte(addr, ptep, opt, asce, IPTE_LOCAL); opt 52 arch/s390/mm/pgtable.c unsigned long opt, asce; opt 55 arch/s390/mm/pgtable.c opt = 0; opt 58 arch/s390/mm/pgtable.c opt |= IPTE_NODAT; opt 61 arch/s390/mm/pgtable.c opt |= IPTE_GUEST_ASCE; opt 63 arch/s390/mm/pgtable.c __ptep_ipte(addr, ptep, opt, asce, IPTE_GLOBAL); opt 175 arch/x86/include/asm/efi.h extern void efifb_setup_from_dmi(struct screen_info *si, const char *opt); opt 610 arch/x86/kernel/cpu/bugs.c static inline bool match_option(const char *arg, int arglen, const char *opt) opt 612 arch/x86/kernel/cpu/bugs.c int len = strlen(opt); opt 614 arch/x86/kernel/cpu/bugs.c return len == arglen && !strncmp(arg, opt, len); opt 2069 arch/x86/kernel/cpu/resctrl/rdtgroup.c int opt; opt 2071 arch/x86/kernel/cpu/resctrl/rdtgroup.c opt = fs_parse(fc, &rdt_fs_parameters, param, &result); opt 2072 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (opt < 0) opt 2073 arch/x86/kernel/cpu/resctrl/rdtgroup.c return opt; opt 2075 arch/x86/kernel/cpu/resctrl/rdtgroup.c switch (opt) { opt 70 arch/x86/kernel/sysfb_efi.c void efifb_setup_from_dmi(struct screen_info *si, const char *opt) opt 76 arch/x86/kernel/sysfb_efi.c !strcmp(opt, efifb_dmi_list[i].optname)) { opt 2309 arch/x86/kvm/vmx/vmx.c u32 min, opt, min2, opt2; opt 2332 arch/x86/kvm/vmx/vmx.c opt = CPU_BASED_TPR_SHADOW | opt 2335 arch/x86/kvm/vmx/vmx.c if (adjust_vmx_controls(min, opt, MSR_IA32_VMX_PROCBASED_CTLS, opt 2410 arch/x86/kvm/vmx/vmx.c opt = VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL | opt 2416 arch/x86/kvm/vmx/vmx.c if (adjust_vmx_controls(min, opt, MSR_IA32_VMX_EXIT_CTLS, opt 2421 arch/x86/kvm/vmx/vmx.c opt = PIN_BASED_VIRTUAL_NMIS | PIN_BASED_POSTED_INTR | opt 2423 arch/x86/kvm/vmx/vmx.c if (adjust_vmx_controls(min, opt, MSR_IA32_VMX_PINBASED_CTLS, opt 2434 arch/x86/kvm/vmx/vmx.c opt = VM_ENTRY_LOAD_IA32_PERF_GLOBAL_CTRL | opt 2440 arch/x86/kvm/vmx/vmx.c if (adjust_vmx_controls(min, opt, MSR_IA32_VMX_ENTRY_CTLS, opt 189 arch/x86/mm/hugetlbpage.c static __init int setup_hugepagesz(char *opt) opt 191 arch/x86/mm/hugetlbpage.c unsigned long ps = memparse(opt, &opt); opt 37 arch/x86/mm/numa.c static __init int numa_setup(char *opt) opt 39 arch/x86/mm/numa.c if (!opt) opt 41 arch/x86/mm/numa.c if (!strncmp(opt, "off", 3)) opt 44 arch/x86/mm/numa.c if (!strncmp(opt, "fake=", 5)) opt 45 arch/x86/mm/numa.c numa_emu_cmdline(opt + 5); opt 48 arch/x86/mm/numa.c if (!strncmp(opt, "noacpi", 6)) opt 201 arch/x86/mm/pkeys.c static __init int setup_init_pkru(char *opt) opt 205 arch/x86/mm/pkeys.c if (kstrtouint(opt, 0, &new_init_pkru)) opt 355 arch/x86/pci/pcbios.c struct irq_routing_options opt; opt 365 arch/x86/pci/pcbios.c opt.table = (struct irq_info *) page; opt 366 arch/x86/pci/pcbios.c opt.size = PAGE_SIZE; opt 367 arch/x86/pci/pcbios.c opt.segment = __KERNEL_DS; opt 380 arch/x86/pci/pcbios.c "=m" (opt) opt 383 arch/x86/pci/pcbios.c "D" ((long) &opt), opt 385 arch/x86/pci/pcbios.c "m" (opt) opt 387 arch/x86/pci/pcbios.c DBG("OK ret=%d, size=%d, map=%x\n", ret, opt.size, map); opt 390 arch/x86/pci/pcbios.c else if (opt.size) { opt 391 arch/x86/pci/pcbios.c rt = kmalloc(sizeof(struct irq_routing_table) + opt.size, GFP_KERNEL); opt 394 arch/x86/pci/pcbios.c rt->size = opt.size + sizeof(struct irq_routing_table); opt 396 arch/x86/pci/pcbios.c memcpy(rt->slots, (void *) page, opt.size); opt 163 arch/xtensa/include/asm/elf.h xtregs_opt_t opt; opt 130 arch/xtensa/kernel/ptrace.c newregs->opt = regs->xtregs_opt; opt 169 arch/xtensa/kernel/ptrace.c regs->xtregs_opt = newregs->opt; opt 38 arch/xtensa/kernel/signal.c xtregs_opt_t opt; opt 162 arch/xtensa/kernel/signal.c err |= __copy_to_user(&frame->xtregs.opt, ®s->xtregs_opt, opt 228 arch/xtensa/kernel/signal.c err |= __copy_from_user(®s->xtregs_opt, &frame->xtregs.opt, opt 440 block/blk-settings.c void blk_limits_io_opt(struct queue_limits *limits, unsigned int opt) opt 442 block/blk-settings.c limits->io_opt = opt; opt 459 block/blk-settings.c void blk_queue_io_opt(struct request_queue *q, unsigned int opt) opt 461 block/blk-settings.c blk_limits_io_opt(&q->limits, opt); opt 116 drivers/clk/mvebu/armada-370.c u32 opt = ((readl(sar) >> SARL_A370_FAB_FREQ_OPT) & opt 121 drivers/clk/mvebu/armada-370.c *mult = a370_nbclk_ratios[opt][0]; opt 122 drivers/clk/mvebu/armada-370.c *div = a370_nbclk_ratios[opt][1]; opt 125 drivers/clk/mvebu/armada-370.c *mult = a370_hclk_ratios[opt][0]; opt 126 drivers/clk/mvebu/armada-370.c *div = a370_hclk_ratios[opt][1]; opt 129 drivers/clk/mvebu/armada-370.c *mult = a370_dramclk_ratios[opt][0]; opt 130 drivers/clk/mvebu/armada-370.c *div = a370_dramclk_ratios[opt][1]; opt 117 drivers/clk/mvebu/armada-375.c u32 opt = ((readl(sar) >> SAR1_A375_CPU_DDR_L2_FREQ_OPT) & opt 122 drivers/clk/mvebu/armada-375.c *mult = armada_375_cpu_l2_ratios[opt][0]; opt 123 drivers/clk/mvebu/armada-375.c *div = armada_375_cpu_l2_ratios[opt][1]; opt 126 drivers/clk/mvebu/armada-375.c *mult = armada_375_cpu_ddr_ratios[opt][0]; opt 127 drivers/clk/mvebu/armada-375.c *div = armada_375_cpu_ddr_ratios[opt][1]; opt 101 drivers/clk/mvebu/armada-38x.c u32 opt = ((readl(sar) >> SAR_A380_CPU_DDR_L2_FREQ_OPT) & opt 106 drivers/clk/mvebu/armada-38x.c *mult = armada_38x_cpu_l2_ratios[opt][0]; opt 107 drivers/clk/mvebu/armada-38x.c *div = armada_38x_cpu_l2_ratios[opt][1]; opt 110 drivers/clk/mvebu/armada-38x.c *mult = armada_38x_cpu_ddr_ratios[opt][0]; opt 111 drivers/clk/mvebu/armada-38x.c *div = armada_38x_cpu_ddr_ratios[opt][1]; opt 138 drivers/clk/mvebu/armada-xp.c u32 opt = ((readl(sar + SARL) >> SARL_AXP_FAB_FREQ_OPT) & opt 144 drivers/clk/mvebu/armada-xp.c opt |= (((readl(sar + SARH) >> SARH_AXP_FAB_FREQ_OPT) & opt 149 drivers/clk/mvebu/armada-xp.c *mult = axp_nbclk_ratios[opt][0]; opt 150 drivers/clk/mvebu/armada-xp.c *div = axp_nbclk_ratios[opt][1]; opt 153 drivers/clk/mvebu/armada-xp.c *mult = axp_hclk_ratios[opt][0]; opt 154 drivers/clk/mvebu/armada-xp.c *div = axp_hclk_ratios[opt][1]; opt 157 drivers/clk/mvebu/armada-xp.c *mult = axp_dramclk_ratios[opt][0]; opt 158 drivers/clk/mvebu/armada-xp.c *div = axp_dramclk_ratios[opt][1]; opt 89 drivers/clk/mvebu/dove.c u32 opt = (readl(sar) >> SAR_DOVE_TCLK_FREQ) & opt 91 drivers/clk/mvebu/dove.c return dove_tclk_freqs[opt]; opt 108 drivers/clk/mvebu/dove.c u32 opt = (readl(sar) >> SAR_DOVE_CPU_FREQ) & opt 110 drivers/clk/mvebu/dove.c return dove_cpu_freqs[opt]; opt 131 drivers/clk/mvebu/dove.c u32 opt = (readl(sar) >> SAR_DOVE_L2_RATIO) & opt 133 drivers/clk/mvebu/dove.c *mult = dove_cpu_l2_ratios[opt][0]; opt 134 drivers/clk/mvebu/dove.c *div = dove_cpu_l2_ratios[opt][1]; opt 139 drivers/clk/mvebu/dove.c u32 opt = (readl(sar) >> SAR_DOVE_DDR_RATIO) & opt 141 drivers/clk/mvebu/dove.c *mult = dove_cpu_ddr_ratios[opt][0]; opt 142 drivers/clk/mvebu/dove.c *div = dove_cpu_ddr_ratios[opt][1]; opt 88 drivers/clk/mvebu/kirkwood.c u32 opt = (readl(sar) >> SAR_KIRKWOOD_TCLK_FREQ) & opt 90 drivers/clk/mvebu/kirkwood.c return (opt) ? 166666667 : 200000000; opt 110 drivers/clk/mvebu/kirkwood.c u32 opt = SAR_KIRKWOOD_CPU_FREQ(readl(sar)); opt 111 drivers/clk/mvebu/kirkwood.c return kirkwood_cpu_freqs[opt]; opt 132 drivers/clk/mvebu/kirkwood.c u32 opt = SAR_KIRKWOOD_L2_RATIO(readl(sar)); opt 133 drivers/clk/mvebu/kirkwood.c *mult = kirkwood_cpu_l2_ratios[opt][0]; opt 134 drivers/clk/mvebu/kirkwood.c *div = kirkwood_cpu_l2_ratios[opt][1]; opt 139 drivers/clk/mvebu/kirkwood.c u32 opt = (readl(sar) >> SAR_KIRKWOOD_DDR_RATIO) & opt 141 drivers/clk/mvebu/kirkwood.c *mult = kirkwood_cpu_ddr_ratios[opt][0]; opt 142 drivers/clk/mvebu/kirkwood.c *div = kirkwood_cpu_ddr_ratios[opt][1]; opt 157 drivers/clk/mvebu/kirkwood.c u32 opt = (readl(sar) >> SAR_MV88F6180_CLK) & SAR_MV88F6180_CLK_MASK; opt 158 drivers/clk/mvebu/kirkwood.c return mv88f6180_cpu_freqs[opt]; opt 179 drivers/clk/mvebu/kirkwood.c u32 opt = (readl(sar) >> SAR_MV88F6180_CLK) & opt 181 drivers/clk/mvebu/kirkwood.c *mult = mv88f6180_cpu_ddr_ratios[opt][0]; opt 182 drivers/clk/mvebu/kirkwood.c *div = mv88f6180_cpu_ddr_ratios[opt][1]; opt 120 drivers/clk/mvebu/mv98dx3236.c u32 opt = ((readl(sar) >> SAR1_MV98DX3236_CPU_DDR_MPLL_FREQ_OPT) & opt 126 drivers/clk/mvebu/mv98dx3236.c *mult = mv98dx4251_cpu_ddr_ratios[opt][0]; opt 127 drivers/clk/mvebu/mv98dx3236.c *div = mv98dx4251_cpu_ddr_ratios[opt][1]; opt 129 drivers/clk/mvebu/mv98dx3236.c *mult = mv98dx3236_cpu_ddr_ratios[opt][0]; opt 130 drivers/clk/mvebu/mv98dx3236.c *div = mv98dx3236_cpu_ddr_ratios[opt][1]; opt 135 drivers/clk/mvebu/mv98dx3236.c *mult = mv98dx4251_cpu_mpll_ratios[opt][0]; opt 136 drivers/clk/mvebu/mv98dx3236.c *div = mv98dx4251_cpu_mpll_ratios[opt][1]; opt 138 drivers/clk/mvebu/mv98dx3236.c *mult = mv98dx3236_cpu_mpll_ratios[opt][0]; opt 139 drivers/clk/mvebu/mv98dx3236.c *div = mv98dx3236_cpu_mpll_ratios[opt][1]; opt 30 drivers/clk/mvebu/orion.c u32 opt = (readl(sar) >> SAR_MV88F5181_TCLK_FREQ) & opt 32 drivers/clk/mvebu/orion.c if (opt == 0) opt 34 drivers/clk/mvebu/orion.c else if (opt == 1) opt 36 drivers/clk/mvebu/orion.c else if (opt == 2) opt 47 drivers/clk/mvebu/orion.c u32 opt = (readl(sar) >> SAR_MV88F5181_CPU_FREQ) & opt 49 drivers/clk/mvebu/orion.c if (opt == 0) opt 51 drivers/clk/mvebu/orion.c else if (opt == 1 || opt == 2) opt 53 drivers/clk/mvebu/orion.c else if (opt == 3) opt 62 drivers/clk/mvebu/orion.c u32 opt = (readl(sar) >> SAR_MV88F5181_CPU_FREQ) & opt 64 drivers/clk/mvebu/orion.c if (opt == 0 || opt == 1) { opt 67 drivers/clk/mvebu/orion.c } else if (opt == 2 || opt == 3) { opt 100 drivers/clk/mvebu/orion.c u32 opt = (readl(sar) >> SAR_MV88F5182_TCLK_FREQ) & opt 102 drivers/clk/mvebu/orion.c if (opt == 1) opt 104 drivers/clk/mvebu/orion.c else if (opt == 2) opt 115 drivers/clk/mvebu/orion.c u32 opt = (readl(sar) >> SAR_MV88F5182_CPU_FREQ) & opt 117 drivers/clk/mvebu/orion.c if (opt == 0) opt 119 drivers/clk/mvebu/orion.c else if (opt == 1 || opt == 2) opt 121 drivers/clk/mvebu/orion.c else if (opt == 3) opt 130 drivers/clk/mvebu/orion.c u32 opt = (readl(sar) >> SAR_MV88F5182_CPU_FREQ) & opt 132 drivers/clk/mvebu/orion.c if (opt == 0 || opt == 1) { opt 135 drivers/clk/mvebu/orion.c } else if (opt == 2 || opt == 3) { opt 174 drivers/clk/mvebu/orion.c u32 opt = (readl(sar) >> SAR_MV88F5281_CPU_FREQ) & opt 176 drivers/clk/mvebu/orion.c if (opt == 1 || opt == 2) opt 178 drivers/clk/mvebu/orion.c else if (opt == 3) opt 187 drivers/clk/mvebu/orion.c u32 opt = (readl(sar) >> SAR_MV88F5281_CPU_FREQ) & opt 189 drivers/clk/mvebu/orion.c if (opt == 1) { opt 192 drivers/clk/mvebu/orion.c } else if (opt == 2 || opt == 3) { opt 225 drivers/clk/mvebu/orion.c u32 opt = (readl(sar) >> SAR_MV88F6183_TCLK_FREQ) & opt 227 drivers/clk/mvebu/orion.c if (opt == 0) opt 229 drivers/clk/mvebu/orion.c else if (opt == 1) opt 240 drivers/clk/mvebu/orion.c u32 opt = (readl(sar) >> SAR_MV88F6183_CPU_FREQ) & opt 242 drivers/clk/mvebu/orion.c if (opt == 9) opt 244 drivers/clk/mvebu/orion.c else if (opt == 17) opt 253 drivers/clk/mvebu/orion.c u32 opt = (readl(sar) >> SAR_MV88F6183_CPU_FREQ) & opt 255 drivers/clk/mvebu/orion.c if (opt == 9 || opt == 17) { opt 102 drivers/crypto/chelsio/chtls/chtls_cm.c static void assign_rxopt(struct sock *sk, unsigned int opt) opt 113 drivers/crypto/chelsio/chtls/chtls_cm.c tp->rx_opt.mss_clamp = cdev->mtus[TCPOPT_MSS_G(opt)] - 40; opt 115 drivers/crypto/chelsio/chtls/chtls_cm.c tp->rx_opt.tstamp_ok = TCPOPT_TSTAMP_G(opt); opt 116 drivers/crypto/chelsio/chtls/chtls_cm.c tp->rx_opt.snd_wscale = TCPOPT_SACK_G(opt); opt 117 drivers/crypto/chelsio/chtls/chtls_cm.c tp->rx_opt.wscale_ok = TCPOPT_WSCALE_OK_G(opt); opt 118 drivers/crypto/chelsio/chtls/chtls_cm.c SND_WSCALE(tp) = TCPOPT_SND_WSCALE_G(opt); opt 126 drivers/crypto/chelsio/chtls/chtls_cm.c csk->mtu_idx = TCPOPT_MSS_G(opt); opt 1305 drivers/crypto/chelsio/chtls/chtls_cm.c static void make_established(struct sock *sk, u32 snd_isn, unsigned int opt) opt 1314 drivers/crypto/chelsio/chtls/chtls_cm.c assign_rxopt(sk, opt); opt 149 drivers/dma/ti/edma.c u32 opt; opt 804 drivers/dma/ti/edma.c edesc->pset[j].param.opt, opt 1030 drivers/dma/ti/edma.c param->opt = EDMA_TCC(EDMA_CHAN_SLOT(echan->ch_num)); opt 1033 drivers/dma/ti/edma.c param->opt |= SYNCDIM; opt 1134 drivers/dma/ti/edma.c edesc->pset[i].param.opt |= TCINTEN; opt 1142 drivers/dma/ti/edma.c edesc->pset[i].param.opt |= (TCINTEN | TCCMODE); opt 1223 drivers/dma/ti/edma.c edesc->pset[0].param.opt |= ITCCHEN; opt 1227 drivers/dma/ti/edma.c edesc->pset[0].param.opt |= TCINTEN; opt 1230 drivers/dma/ti/edma.c edesc->pset[0].param.opt |= TCCHEN; opt 1253 drivers/dma/ti/edma.c edesc->pset[1].param.opt |= ITCCHEN; opt 1256 drivers/dma/ti/edma.c edesc->pset[1].param.opt |= TCINTEN; opt 1392 drivers/dma/ti/edma.c edesc->pset[i].param.opt, opt 1407 drivers/dma/ti/edma.c edesc->pset[i].param.opt |= TCINTEN; opt 1411 drivers/dma/ti/edma.c edesc->pset[i].param.opt |= ITCINTEN; opt 398 drivers/edac/sb_edac.c #define PCI_DESCR(device_id, opt, domain) \ opt 400 drivers/edac/sb_edac.c .optional = opt, \ opt 288 drivers/firewire/init_ohci1394_dma.c static int __init setup_ohci1394_dma(char *opt) opt 290 drivers/firewire/init_ohci1394_dma.c if (!strcmp(opt, "early")) opt 206 drivers/firmware/efi/earlycon.c const char *opt) opt 219 drivers/firmware/efi/earlycon.c fb_wb = opt && !strcmp(opt, "ram"); opt 412 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c int mem_space, int opt, uint32_t addr0, opt 420 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c WAIT_REG_MEM_OPERATION(opt) | /* wait */ opt 818 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c int mem_space, int opt, uint32_t addr0, opt 826 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c WAIT_REG_MEM_OPERATION(opt) | /* wait */ opt 6 drivers/gpu/drm/nouveau/include/nvkm/core/option.h const char *nvkm_stropt(const char *optstr, const char *opt, int *len); opt 7 drivers/gpu/drm/nouveau/include/nvkm/core/option.h bool nvkm_boolopt(const char *optstr, const char *opt, bool value); opt 8 drivers/gpu/drm/nouveau/include/nvkm/core/option.h long nvkm_longopt(const char *optstr, const char *opt, long value); opt 28 drivers/gpu/drm/nouveau/nvkm/core/option.c nvkm_stropt(const char *optstr, const char *opt, int *arglen) opt 34 drivers/gpu/drm/nouveau/nvkm/core/option.c if (!strncasecmpz(optstr, opt, len)) { opt 54 drivers/gpu/drm/nouveau/nvkm/core/option.c nvkm_boolopt(const char *optstr, const char *opt, bool value) opt 58 drivers/gpu/drm/nouveau/nvkm/core/option.c optstr = nvkm_stropt(optstr, opt, &arglen); opt 77 drivers/gpu/drm/nouveau/nvkm/core/option.c nvkm_longopt(const char *optstr, const char *opt, long value) opt 83 drivers/gpu/drm/nouveau/nvkm/core/option.c optstr = nvkm_stropt(optstr, opt, &arglen); opt 128 drivers/hid/hid-wiimote.h __u32 opt; opt 296 drivers/hid/hid-wiimote.h __u32 opt) opt 298 drivers/hid/hid-wiimote.h return wdata->state.cmd == cmd && wdata->state.opt == opt; opt 330 drivers/hid/hid-wiimote.h __u32 opt) opt 334 drivers/hid/hid-wiimote.h wdata->state.opt = opt; opt 75 drivers/iio/common/ssp_sensors/ssp_spi.c static struct ssp_msg *ssp_create_msg(u8 cmd, u16 len, u16 opt, u32 data) opt 86 drivers/iio/common/ssp_sensors/ssp_spi.c h.options = cpu_to_le16(opt); opt 97 drivers/iio/common/ssp_sensors/ssp_spi.c msg->options = opt; opt 146 drivers/iio/light/opt3001.c static int opt3001_find_scale(const struct opt3001 *opt, int val, opt 169 drivers/iio/light/opt3001.c static void opt3001_to_iio_ret(struct opt3001 *opt, u8 exponent, opt 179 drivers/iio/light/opt3001.c static void opt3001_set_mode(struct opt3001 *opt, u16 *reg, u16 mode) opt 183 drivers/iio/light/opt3001.c opt->mode = mode; opt 223 drivers/iio/light/opt3001.c static int opt3001_get_lux(struct opt3001 *opt, int *val, int *val2) opt 232 drivers/iio/light/opt3001.c if (opt->use_irq) { opt 238 drivers/iio/light/opt3001.c ret = i2c_smbus_write_word_swapped(opt->client, opt 242 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to write register %02x\n", opt 248 drivers/iio/light/opt3001.c opt->ok_to_ignore_lock = true; opt 252 drivers/iio/light/opt3001.c opt->result_ready = false; opt 255 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); opt 257 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 263 drivers/iio/light/opt3001.c opt3001_set_mode(opt, ®, OPT3001_CONFIGURATION_M_SINGLE); opt 265 drivers/iio/light/opt3001.c ret = i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION, opt 268 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to write register %02x\n", opt 273 drivers/iio/light/opt3001.c if (opt->use_irq) { opt 275 drivers/iio/light/opt3001.c ret = wait_event_timeout(opt->result_ready_queue, opt 276 drivers/iio/light/opt3001.c opt->result_ready, opt 280 drivers/iio/light/opt3001.c timeout = (opt->int_time == OPT3001_INT_TIME_SHORT) ? opt 285 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, opt 288 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 299 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_RESULT); opt 301 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 305 drivers/iio/light/opt3001.c opt->result = ret; opt 306 drivers/iio/light/opt3001.c opt->result_ready = true; opt 310 drivers/iio/light/opt3001.c if (opt->use_irq) opt 312 drivers/iio/light/opt3001.c opt->ok_to_ignore_lock = false; opt 319 drivers/iio/light/opt3001.c if (opt->use_irq) { opt 327 drivers/iio/light/opt3001.c value = (opt->low_thresh_exp << 12) | opt->low_thresh_mantissa; opt 328 drivers/iio/light/opt3001.c ret = i2c_smbus_write_word_swapped(opt->client, opt 332 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to write register %02x\n", opt 338 drivers/iio/light/opt3001.c exponent = OPT3001_REG_EXPONENT(opt->result); opt 339 drivers/iio/light/opt3001.c mantissa = OPT3001_REG_MANTISSA(opt->result); opt 341 drivers/iio/light/opt3001.c opt3001_to_iio_ret(opt, exponent, mantissa, val, val2); opt 346 drivers/iio/light/opt3001.c static int opt3001_get_int_time(struct opt3001 *opt, int *val, int *val2) opt 349 drivers/iio/light/opt3001.c *val2 = opt->int_time; opt 354 drivers/iio/light/opt3001.c static int opt3001_set_int_time(struct opt3001 *opt, int time) opt 359 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); opt 361 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 371 drivers/iio/light/opt3001.c opt->int_time = OPT3001_INT_TIME_SHORT; opt 375 drivers/iio/light/opt3001.c opt->int_time = OPT3001_INT_TIME_LONG; opt 381 drivers/iio/light/opt3001.c return i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION, opt 389 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt 392 drivers/iio/light/opt3001.c if (opt->mode == OPT3001_CONFIGURATION_M_CONTINUOUS) opt 398 drivers/iio/light/opt3001.c mutex_lock(&opt->lock); opt 402 drivers/iio/light/opt3001.c ret = opt3001_get_lux(opt, val, val2); opt 405 drivers/iio/light/opt3001.c ret = opt3001_get_int_time(opt, val, val2); opt 411 drivers/iio/light/opt3001.c mutex_unlock(&opt->lock); opt 420 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt 423 drivers/iio/light/opt3001.c if (opt->mode == OPT3001_CONFIGURATION_M_CONTINUOUS) opt 435 drivers/iio/light/opt3001.c mutex_lock(&opt->lock); opt 436 drivers/iio/light/opt3001.c ret = opt3001_set_int_time(opt, val2); opt 437 drivers/iio/light/opt3001.c mutex_unlock(&opt->lock); opt 447 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt 450 drivers/iio/light/opt3001.c mutex_lock(&opt->lock); opt 454 drivers/iio/light/opt3001.c opt3001_to_iio_ret(opt, opt->high_thresh_exp, opt 455 drivers/iio/light/opt3001.c opt->high_thresh_mantissa, val, val2); opt 458 drivers/iio/light/opt3001.c opt3001_to_iio_ret(opt, opt->low_thresh_exp, opt 459 drivers/iio/light/opt3001.c opt->low_thresh_mantissa, val, val2); opt 465 drivers/iio/light/opt3001.c mutex_unlock(&opt->lock); opt 475 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt 487 drivers/iio/light/opt3001.c mutex_lock(&opt->lock); opt 489 drivers/iio/light/opt3001.c ret = opt3001_find_scale(opt, val, val2, &exponent); opt 491 drivers/iio/light/opt3001.c dev_err(opt->dev, "can't find scale for %d.%06u\n", val, val2); opt 501 drivers/iio/light/opt3001.c opt->high_thresh_mantissa = mantissa; opt 502 drivers/iio/light/opt3001.c opt->high_thresh_exp = exponent; opt 506 drivers/iio/light/opt3001.c opt->low_thresh_mantissa = mantissa; opt 507 drivers/iio/light/opt3001.c opt->low_thresh_exp = exponent; opt 514 drivers/iio/light/opt3001.c ret = i2c_smbus_write_word_swapped(opt->client, reg, value); opt 516 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to write register %02x\n", reg); opt 521 drivers/iio/light/opt3001.c mutex_unlock(&opt->lock); opt 530 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt 532 drivers/iio/light/opt3001.c return opt->mode == OPT3001_CONFIGURATION_M_CONTINUOUS; opt 539 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt 544 drivers/iio/light/opt3001.c if (state && opt->mode == OPT3001_CONFIGURATION_M_CONTINUOUS) opt 547 drivers/iio/light/opt3001.c if (!state && opt->mode == OPT3001_CONFIGURATION_M_SHUTDOWN) opt 550 drivers/iio/light/opt3001.c mutex_lock(&opt->lock); opt 555 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); opt 557 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 563 drivers/iio/light/opt3001.c opt3001_set_mode(opt, ®, mode); opt 565 drivers/iio/light/opt3001.c ret = i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION, opt 568 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to write register %02x\n", opt 574 drivers/iio/light/opt3001.c mutex_unlock(&opt->lock); opt 589 drivers/iio/light/opt3001.c static int opt3001_read_id(struct opt3001 *opt) opt 595 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_MANUFACTURER_ID); opt 597 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 605 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_DEVICE_ID); opt 607 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 614 drivers/iio/light/opt3001.c dev_info(opt->dev, "Found %c%c OPT%04x\n", manufacturer[0], opt 620 drivers/iio/light/opt3001.c static int opt3001_configure(struct opt3001 *opt) opt 625 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); opt 627 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 640 drivers/iio/light/opt3001.c opt->int_time = OPT3001_INT_TIME_LONG; opt 642 drivers/iio/light/opt3001.c opt->int_time = OPT3001_INT_TIME_SHORT; opt 645 drivers/iio/light/opt3001.c opt3001_set_mode(opt, ®, OPT3001_CONFIGURATION_M_SHUTDOWN); opt 653 drivers/iio/light/opt3001.c ret = i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION, opt 656 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to write register %02x\n", opt 661 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_LOW_LIMIT); opt 663 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 668 drivers/iio/light/opt3001.c opt->low_thresh_mantissa = OPT3001_REG_MANTISSA(ret); opt 669 drivers/iio/light/opt3001.c opt->low_thresh_exp = OPT3001_REG_EXPONENT(ret); opt 671 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_HIGH_LIMIT); opt 673 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 678 drivers/iio/light/opt3001.c opt->high_thresh_mantissa = OPT3001_REG_MANTISSA(ret); opt 679 drivers/iio/light/opt3001.c opt->high_thresh_exp = OPT3001_REG_EXPONENT(ret); opt 687 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt 691 drivers/iio/light/opt3001.c if (!opt->ok_to_ignore_lock) opt 692 drivers/iio/light/opt3001.c mutex_lock(&opt->lock); opt 694 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); opt 696 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 716 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_RESULT); opt 718 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 722 drivers/iio/light/opt3001.c opt->result = ret; opt 723 drivers/iio/light/opt3001.c opt->result_ready = true; opt 728 drivers/iio/light/opt3001.c if (!opt->ok_to_ignore_lock) opt 729 drivers/iio/light/opt3001.c mutex_unlock(&opt->lock); opt 732 drivers/iio/light/opt3001.c wake_up(&opt->result_ready_queue); opt 743 drivers/iio/light/opt3001.c struct opt3001 *opt; opt 747 drivers/iio/light/opt3001.c iio = devm_iio_device_alloc(dev, sizeof(*opt)); opt 751 drivers/iio/light/opt3001.c opt = iio_priv(iio); opt 752 drivers/iio/light/opt3001.c opt->client = client; opt 753 drivers/iio/light/opt3001.c opt->dev = dev; opt 755 drivers/iio/light/opt3001.c mutex_init(&opt->lock); opt 756 drivers/iio/light/opt3001.c init_waitqueue_head(&opt->result_ready_queue); opt 759 drivers/iio/light/opt3001.c ret = opt3001_read_id(opt); opt 763 drivers/iio/light/opt3001.c ret = opt3001_configure(opt); opt 789 drivers/iio/light/opt3001.c opt->use_irq = true; opt 791 drivers/iio/light/opt3001.c dev_dbg(opt->dev, "enabling interrupt-less operation\n"); opt 800 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt 804 drivers/iio/light/opt3001.c if (opt->use_irq) opt 807 drivers/iio/light/opt3001.c ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); opt 809 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to read register %02x\n", opt 815 drivers/iio/light/opt3001.c opt3001_set_mode(opt, ®, OPT3001_CONFIGURATION_M_SHUTDOWN); opt 817 drivers/iio/light/opt3001.c ret = i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION, opt 820 drivers/iio/light/opt3001.c dev_err(opt->dev, "failed to write register %02x\n", opt 226 drivers/infiniband/hw/cxgb3/iwch_cm.c static void set_emss(struct iwch_ep *ep, u16 opt) opt 228 drivers/infiniband/hw/cxgb3/iwch_cm.c pr_debug("%s ep %p opt %u\n", __func__, ep, opt); opt 229 drivers/infiniband/hw/cxgb3/iwch_cm.c ep->emss = T3C_DATA(ep->com.tdev)->mtus[G_TCPOPT_MSS(opt)] - 40; opt 230 drivers/infiniband/hw/cxgb3/iwch_cm.c if (G_TCPOPT_TSTAMP(opt)) opt 248 drivers/infiniband/hw/cxgb4/cm.c static void set_emss(struct c4iw_ep *ep, u16 opt) opt 250 drivers/infiniband/hw/cxgb4/cm.c ep->emss = ep->com.dev->rdev.lldi.mtus[TCPOPT_MSS_G(opt)] - opt 255 drivers/infiniband/hw/cxgb4/cm.c if (TCPOPT_TSTAMP_G(opt)) opt 261 drivers/infiniband/hw/cxgb4/cm.c TCPOPT_MSS_G(opt), ep->mss, ep->emss); opt 262 drivers/infiniband/hw/cxgb4/cm.c pr_debug("mss_idx %u mss %u emss=%u\n", TCPOPT_MSS_G(opt), ep->mss, opt 3744 drivers/infiniband/hw/mlx5/qp.c static inline bool is_valid_mask(int mask, int req, int opt) opt 3749 drivers/infiniband/hw/mlx5/qp.c if (mask & ~(req | opt)) opt 3762 drivers/infiniband/hw/mlx5/qp.c int opt = 0; opt 3765 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); opt 3768 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); opt 3770 drivers/infiniband/hw/mlx5/qp.c opt = IB_QP_PKEY_INDEX | IB_QP_PORT; opt 3771 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); opt 3774 drivers/infiniband/hw/mlx5/qp.c opt = IB_QP_PKEY_INDEX | IB_QP_AV; opt 3775 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); opt 3779 drivers/infiniband/hw/mlx5/qp.c opt = IB_QP_MIN_RNR_TIMER; opt 3780 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); opt 3782 drivers/infiniband/hw/mlx5/qp.c opt = IB_QP_MIN_RNR_TIMER; opt 3783 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); opt 3785 drivers/infiniband/hw/mlx5/qp.c return is_valid_mask(attr_mask, req, opt); opt 326 drivers/infiniband/sw/rxe/rxe_net.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 672 drivers/iommu/arm-smmu-v3.c u32 opt; opt 704 drivers/iommu/arm-smmu-v3.c smmu->options |= arm_smmu_options[i].opt; opt 708 drivers/iommu/arm-smmu-v3.c } while (arm_smmu_options[++i].opt); opt 407 drivers/isdn/mISDN/socket.c int err = 0, opt = 0; opt 417 drivers/isdn/mISDN/socket.c if (get_user(opt, (int __user *)optval)) { opt 422 drivers/isdn/mISDN/socket.c if (opt) opt 439 drivers/isdn/mISDN/socket.c int len, opt; opt 450 drivers/isdn/mISDN/socket.c opt = 1; opt 452 drivers/isdn/mISDN/socket.c opt = 0; opt 454 drivers/isdn/mISDN/socket.c if (put_user(opt, optval)) opt 784 drivers/isdn/mISDN/tei.c unsigned long opt = 0; opt 793 drivers/isdn/mISDN/tei.c test_and_set_bit(OPTION_L2_FIXEDTEI, &opt); opt 796 drivers/isdn/mISDN/tei.c test_and_set_bit(OPTION_L2_PMX, &opt); opt 801 drivers/isdn/mISDN/tei.c l2 = create_l2(mgr->up, ISDN_P_LAPD_NT, opt, tei, sapi); opt 986 drivers/isdn/mISDN/tei.c unsigned long opt = 0; opt 999 drivers/isdn/mISDN/tei.c test_and_set_bit(OPTION_L2_FIXEDTEI, &opt); opt 1001 drivers/isdn/mISDN/tei.c test_and_set_bit(OPTION_L2_PTP, &opt); opt 1027 drivers/isdn/mISDN/tei.c test_and_set_bit(OPTION_L2_PMX, &opt); opt 1045 drivers/isdn/mISDN/tei.c l2 = create_l2(crq->ch, crq->protocol, opt, opt 1064 drivers/isdn/mISDN/tei.c if (test_bit(OPTION_L2_PMX, &opt)) opt 1072 drivers/isdn/mISDN/tei.c if (test_bit(OPTION_L2_PMX, &opt)) opt 1578 drivers/media/dvb-frontends/drx39xyj/drx_driver.h enum drx_no_carrier_option opt; /* Mute or noise at no carrier detection (A) */ opt 493 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c enum venc_start_opt opt, opt 502 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c mtk_vcodec_debug(inst, "opt %d ->", opt); opt 506 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c switch (opt) { opt 574 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c mtk_vcodec_err(inst, "venc_start_opt %d not supported", opt); opt 582 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c mtk_vcodec_debug(inst, "opt %d <-", opt); opt 358 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c enum venc_start_opt opt, opt 371 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c switch (opt) { opt 381 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c mtk_vcodec_err(inst, "opt not support:%d", opt); opt 32 drivers/media/platform/mtk-vcodec/venc_drv_base.h int (*encode)(void *handle, enum venc_start_opt opt, opt 59 drivers/media/platform/mtk-vcodec/venc_drv_if.c enum venc_start_opt opt, struct venc_frm_buf *frm_buf, opt 73 drivers/media/platform/mtk-vcodec/venc_drv_if.c ret = ctx->enc_if->encode(ctx->drv_handle, opt, frm_buf, opt 152 drivers/media/platform/mtk-vcodec/venc_drv_if.h enum venc_start_opt opt, opt 898 drivers/media/usb/hdpvr/hdpvr-video.c struct hdpvr_options *opt = &dev->options; opt 934 drivers/media/usb/hdpvr/hdpvr-video.c opt->audio_codec = ctrl->val; opt 935 drivers/media/usb/hdpvr/hdpvr-video.c return hdpvr_set_audio(dev, opt->audio_input + 1, opt 936 drivers/media/usb/hdpvr/hdpvr-video.c opt->audio_codec); opt 959 drivers/media/usb/hdpvr/hdpvr-video.c opt->bitrate_mode = HDPVR_CONSTANT; opt 961 drivers/media/usb/hdpvr/hdpvr-video.c opt->bitrate_mode = HDPVR_VARIABLE_AVERAGE; opt 963 drivers/media/usb/hdpvr/hdpvr-video.c opt->bitrate_mode); opt 970 drivers/media/usb/hdpvr/hdpvr-video.c opt->bitrate = bitrate; opt 971 drivers/media/usb/hdpvr/hdpvr-video.c opt->peak_bitrate = peak_bitrate; opt 1058 drivers/misc/kgdbts.c static int kgdbts_option_setup(char *opt) opt 1060 drivers/misc/kgdbts.c if (strlen(opt) >= MAX_CONFIG_LEN) { opt 1064 drivers/misc/kgdbts.c strcpy(config, opt); opt 442 drivers/net/bonding/bond_options.c const struct bond_option *opt; opt 446 drivers/net/bonding/bond_options.c opt = bond_opt_get(option); opt 447 drivers/net/bonding/bond_options.c if (opt && !strcmp(opt->name, name)) opt 448 drivers/net/bonding/bond_options.c return opt; opt 457 drivers/net/bonding/bond_options.c const struct bond_option *opt; opt 460 drivers/net/bonding/bond_options.c opt = bond_opt_get(option); opt 461 drivers/net/bonding/bond_options.c if (WARN_ON(!opt)) opt 463 drivers/net/bonding/bond_options.c for (i = 0; opt->values && opt->values[i].string; i++) opt 464 drivers/net/bonding/bond_options.c if (opt->values[i].value == val) opt 465 drivers/net/bonding/bond_options.c return &opt->values[i]; opt 471 drivers/net/bonding/bond_options.c static const struct bond_opt_value *bond_opt_get_flags(const struct bond_option *opt, opt 476 drivers/net/bonding/bond_options.c for (i = 0; opt->values && opt->values[i].string; i++) opt 477 drivers/net/bonding/bond_options.c if (opt->values[i].flags & flagmask) opt 478 drivers/net/bonding/bond_options.c return &opt->values[i]; opt 486 drivers/net/bonding/bond_options.c static bool bond_opt_check_range(const struct bond_option *opt, u64 val) opt 490 drivers/net/bonding/bond_options.c minval = bond_opt_get_flags(opt, BOND_VALFLAG_MIN); opt 491 drivers/net/bonding/bond_options.c maxval = bond_opt_get_flags(opt, BOND_VALFLAG_MAX); opt 508 drivers/net/bonding/bond_options.c const struct bond_opt_value *bond_opt_parse(const struct bond_option *opt, opt 518 drivers/net/bonding/bond_options.c if (opt->flags & BOND_OPTFLAG_RAWVAL) opt 521 drivers/net/bonding/bond_options.c tbl = opt->values; opt 567 drivers/net/bonding/bond_options.c if (checkval && bond_opt_check_range(opt, val->value)) opt 575 drivers/net/bonding/bond_options.c const struct bond_option *opt) opt 579 drivers/net/bonding/bond_options.c if (test_bit(params->mode, &opt->unsuppmodes)) opt 581 drivers/net/bonding/bond_options.c if ((opt->flags & BOND_OPTFLAG_NOSLAVES) && bond_has_slaves(bond)) opt 583 drivers/net/bonding/bond_options.c if ((opt->flags & BOND_OPTFLAG_IFDOWN) && (bond->dev->flags & IFF_UP)) opt 590 drivers/net/bonding/bond_options.c const struct bond_option *opt) opt 597 drivers/net/bonding/bond_options.c if (test_bit(params->mode, &opt->unsuppmodes)) opt 599 drivers/net/bonding/bond_options.c opt->name, modeval->string, modeval->value); opt 603 drivers/net/bonding/bond_options.c const struct bond_option *opt, opt 618 drivers/net/bonding/bond_options.c opt->name, val->string); opt 621 drivers/net/bonding/bond_options.c opt->name, val->value); opt 624 drivers/net/bonding/bond_options.c minval = bond_opt_get_flags(opt, BOND_VALFLAG_MIN); opt 625 drivers/net/bonding/bond_options.c maxval = bond_opt_get_flags(opt, BOND_VALFLAG_MAX); opt 629 drivers/net/bonding/bond_options.c opt->name, minval ? minval->value : 0, maxval->value); opt 632 drivers/net/bonding/bond_options.c bond_opt_dep_print(bond, opt); opt 636 drivers/net/bonding/bond_options.c opt->name); opt 640 drivers/net/bonding/bond_options.c opt->name); opt 661 drivers/net/bonding/bond_options.c const struct bond_option *opt; opt 666 drivers/net/bonding/bond_options.c opt = bond_opt_get(option); opt 667 drivers/net/bonding/bond_options.c if (WARN_ON(!val) || WARN_ON(!opt)) opt 669 drivers/net/bonding/bond_options.c ret = bond_opt_check_deps(bond, opt); opt 672 drivers/net/bonding/bond_options.c retval = bond_opt_parse(opt, val); opt 677 drivers/net/bonding/bond_options.c ret = opt->set(bond, retval); opt 680 drivers/net/bonding/bond_options.c bond_opt_error_interpret(bond, opt, ret, val); opt 146 drivers/net/bonding/bond_sysfs.c const struct bond_option *opt; opt 150 drivers/net/bonding/bond_sysfs.c opt = bond_opt_get_by_name(attr->attr.name); opt 151 drivers/net/bonding/bond_sysfs.c if (WARN_ON(!opt)) opt 156 drivers/net/bonding/bond_sysfs.c ret = bond_opt_tryset_rtnl(bond, opt->id, buffer_clone); opt 140 drivers/net/can/pch_can.c u32 opt; opt 222 drivers/net/can/pch_can.c u32 reg_val = ioread32(&priv->regs->opt); opt 231 drivers/net/can/pch_can.c iowrite32(reg_val, &priv->regs->opt); opt 106 drivers/net/ethernet/atheros/atl1e/atl1e_param.c static int atl1e_validate_option(int *value, struct atl1e_option *opt, opt 110 drivers/net/ethernet/atheros/atl1e/atl1e_param.c *value = opt->def; opt 114 drivers/net/ethernet/atheros/atl1e/atl1e_param.c switch (opt->type) { opt 119 drivers/net/ethernet/atheros/atl1e/atl1e_param.c "%s Enabled\n", opt->name); opt 123 drivers/net/ethernet/atheros/atl1e/atl1e_param.c "%s Disabled\n", opt->name); opt 128 drivers/net/ethernet/atheros/atl1e/atl1e_param.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { opt 130 drivers/net/ethernet/atheros/atl1e/atl1e_param.c opt->name, *value); opt 138 drivers/net/ethernet/atheros/atl1e/atl1e_param.c for (i = 0; i < opt->arg.l.nr; i++) { opt 139 drivers/net/ethernet/atheros/atl1e/atl1e_param.c ent = &opt->arg.l.p[i]; opt 154 drivers/net/ethernet/atheros/atl1e/atl1e_param.c opt->name, *value, opt->err); opt 155 drivers/net/ethernet/atheros/atl1e/atl1e_param.c *value = opt->def; opt 180 drivers/net/ethernet/atheros/atl1e/atl1e_param.c struct atl1e_option opt = { opt 192 drivers/net/ethernet/atheros/atl1e/atl1e_param.c atl1e_validate_option(&val, &opt, adapter); opt 195 drivers/net/ethernet/atheros/atl1e/atl1e_param.c adapter->tx_ring.count = (u16)opt.def; opt 199 drivers/net/ethernet/atheros/atl1e/atl1e_param.c struct atl1e_option opt = { opt 211 drivers/net/ethernet/atheros/atl1e/atl1e_param.c atl1e_validate_option(&val, &opt, adapter); opt 214 drivers/net/ethernet/atheros/atl1e/atl1e_param.c adapter->rx_ring.page_size = (u32)opt.def * 1024; opt 219 drivers/net/ethernet/atheros/atl1e/atl1e_param.c struct atl1e_option opt = { opt 231 drivers/net/ethernet/atheros/atl1e/atl1e_param.c atl1e_validate_option(&val, &opt, adapter); opt 234 drivers/net/ethernet/atheros/atl1e/atl1e_param.c adapter->hw.imt = (u16)(opt.def); opt 238 drivers/net/ethernet/atheros/atl1e/atl1e_param.c struct atl1e_option opt = { opt 250 drivers/net/ethernet/atheros/atl1e/atl1e_param.c atl1e_validate_option(&val, &opt, adapter); opt 253 drivers/net/ethernet/atheros/atl1e/atl1e_param.c adapter->hw.media_type = (u16)(opt.def); opt 129 drivers/net/ethernet/atheros/atlx/atl1.c static int atl1_validate_option(int *value, struct atl1_option *opt, opt 133 drivers/net/ethernet/atheros/atlx/atl1.c *value = opt->def; opt 137 drivers/net/ethernet/atheros/atlx/atl1.c switch (opt->type) { opt 141 drivers/net/ethernet/atheros/atlx/atl1.c dev_info(&pdev->dev, "%s enabled\n", opt->name); opt 144 drivers/net/ethernet/atheros/atlx/atl1.c dev_info(&pdev->dev, "%s disabled\n", opt->name); opt 149 drivers/net/ethernet/atheros/atlx/atl1.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { opt 150 drivers/net/ethernet/atheros/atlx/atl1.c dev_info(&pdev->dev, "%s set to %i\n", opt->name, opt 159 drivers/net/ethernet/atheros/atlx/atl1.c for (i = 0; i < opt->arg.l.nr; i++) { opt 160 drivers/net/ethernet/atheros/atlx/atl1.c ent = &opt->arg.l.p[i]; opt 176 drivers/net/ethernet/atheros/atlx/atl1.c opt->name, *value, opt->err); opt 177 drivers/net/ethernet/atheros/atlx/atl1.c *value = opt->def; opt 199 drivers/net/ethernet/atheros/atlx/atl1.c struct atl1_option opt = { opt 211 drivers/net/ethernet/atheros/atlx/atl1.c atl1_validate_option(&val, &opt, pdev); opt 214 drivers/net/ethernet/atheros/atlx/atl1.c adapter->imt = (u16) (opt.def); opt 2899 drivers/net/ethernet/atheros/atlx/atl2.c static int atl2_validate_option(int *value, struct atl2_option *opt) opt 2905 drivers/net/ethernet/atheros/atlx/atl2.c *value = opt->def; opt 2909 drivers/net/ethernet/atheros/atlx/atl2.c switch (opt->type) { opt 2913 drivers/net/ethernet/atheros/atlx/atl2.c printk(KERN_INFO "%s Enabled\n", opt->name); opt 2916 drivers/net/ethernet/atheros/atlx/atl2.c printk(KERN_INFO "%s Disabled\n", opt->name); opt 2921 drivers/net/ethernet/atheros/atlx/atl2.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { opt 2922 drivers/net/ethernet/atheros/atlx/atl2.c printk(KERN_INFO "%s set to %i\n", opt->name, *value); opt 2927 drivers/net/ethernet/atheros/atlx/atl2.c for (i = 0; i < opt->arg.l.nr; i++) { opt 2928 drivers/net/ethernet/atheros/atlx/atl2.c ent = &opt->arg.l.p[i]; opt 2941 drivers/net/ethernet/atheros/atlx/atl2.c opt->name, *value, opt->err); opt 2942 drivers/net/ethernet/atheros/atlx/atl2.c *value = opt->def; opt 2958 drivers/net/ethernet/atheros/atlx/atl2.c struct atl2_option opt; opt 2970 drivers/net/ethernet/atheros/atlx/atl2.c opt.type = range_option; opt 2971 drivers/net/ethernet/atheros/atlx/atl2.c opt.name = "Bytes of Transmit Memory"; opt 2972 drivers/net/ethernet/atheros/atlx/atl2.c opt.err = "using default of " __MODULE_STRING(ATL2_DEFAULT_TX_MEMSIZE); opt 2973 drivers/net/ethernet/atheros/atlx/atl2.c opt.def = ATL2_DEFAULT_TX_MEMSIZE; opt 2974 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.min = ATL2_MIN_TX_MEMSIZE; opt 2975 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.max = ATL2_MAX_TX_MEMSIZE; opt 2980 drivers/net/ethernet/atheros/atlx/atl2.c atl2_validate_option(&val, &opt); opt 2984 drivers/net/ethernet/atheros/atlx/atl2.c adapter->txd_ring_size = ((u32)opt.def) * 1024; opt 2992 drivers/net/ethernet/atheros/atlx/atl2.c opt.type = range_option; opt 2993 drivers/net/ethernet/atheros/atlx/atl2.c opt.name = "Number of receive memory block"; opt 2994 drivers/net/ethernet/atheros/atlx/atl2.c opt.err = "using default of " __MODULE_STRING(ATL2_DEFAULT_RXD_COUNT); opt 2995 drivers/net/ethernet/atheros/atlx/atl2.c opt.def = ATL2_DEFAULT_RXD_COUNT; opt 2996 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.min = ATL2_MIN_RXD_COUNT; opt 2997 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.max = ATL2_MAX_RXD_COUNT; opt 3002 drivers/net/ethernet/atheros/atlx/atl2.c atl2_validate_option(&val, &opt); opt 3008 drivers/net/ethernet/atheros/atlx/atl2.c adapter->rxd_ring_size = (u32)opt.def; opt 3017 drivers/net/ethernet/atheros/atlx/atl2.c opt.type = range_option; opt 3018 drivers/net/ethernet/atheros/atlx/atl2.c opt.name = "Interrupt Moderate Timer"; opt 3019 drivers/net/ethernet/atheros/atlx/atl2.c opt.err = "using default of " __MODULE_STRING(INT_MOD_DEFAULT_CNT); opt 3020 drivers/net/ethernet/atheros/atlx/atl2.c opt.def = INT_MOD_DEFAULT_CNT; opt 3021 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.min = INT_MOD_MIN_CNT; opt 3022 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.max = INT_MOD_MAX_CNT; opt 3027 drivers/net/ethernet/atheros/atlx/atl2.c atl2_validate_option(&val, &opt); opt 3031 drivers/net/ethernet/atheros/atlx/atl2.c adapter->imt = (u16)(opt.def); opt 3034 drivers/net/ethernet/atheros/atlx/atl2.c opt.type = range_option; opt 3035 drivers/net/ethernet/atheros/atlx/atl2.c opt.name = "SPI Flash Vendor"; opt 3036 drivers/net/ethernet/atheros/atlx/atl2.c opt.err = "using default of " __MODULE_STRING(FLASH_VENDOR_DEFAULT); opt 3037 drivers/net/ethernet/atheros/atlx/atl2.c opt.def = FLASH_VENDOR_DEFAULT; opt 3038 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.min = FLASH_VENDOR_MIN; opt 3039 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.max = FLASH_VENDOR_MAX; opt 3044 drivers/net/ethernet/atheros/atlx/atl2.c atl2_validate_option(&val, &opt); opt 3048 drivers/net/ethernet/atheros/atlx/atl2.c adapter->hw.flash_vendor = (u8)(opt.def); opt 3051 drivers/net/ethernet/atheros/atlx/atl2.c opt.type = range_option; opt 3052 drivers/net/ethernet/atheros/atlx/atl2.c opt.name = "Speed/Duplex Selection"; opt 3053 drivers/net/ethernet/atheros/atlx/atl2.c opt.err = "using default of " __MODULE_STRING(MEDIA_TYPE_AUTO_SENSOR); opt 3054 drivers/net/ethernet/atheros/atlx/atl2.c opt.def = MEDIA_TYPE_AUTO_SENSOR; opt 3055 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.min = MEDIA_TYPE_AUTO_SENSOR; opt 3056 drivers/net/ethernet/atheros/atlx/atl2.c opt.arg.r.max = MEDIA_TYPE_10M_HALF; opt 3061 drivers/net/ethernet/atheros/atlx/atl2.c atl2_validate_option(&val, &opt); opt 3065 drivers/net/ethernet/atheros/atlx/atl2.c adapter->hw.MediaType = (u16)(opt.def); opt 100 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c cbd.opt[3] = cpu_to_le32(si_map); opt 102 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c cbd.opt[0] = cpu_to_le32(BIT(31)); opt 127 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c cbd.opt[3] = cpu_to_le32(0); /* SI */ opt 447 drivers/net/ethernet/freescale/enetc/enetc_hw.h __le32 opt[4]; opt 184 drivers/net/ethernet/intel/e1000/e1000_param.c const struct e1000_option *opt, opt 188 drivers/net/ethernet/intel/e1000/e1000_param.c *value = opt->def; opt 192 drivers/net/ethernet/intel/e1000/e1000_param.c switch (opt->type) { opt 196 drivers/net/ethernet/intel/e1000/e1000_param.c e_dev_info("%s Enabled\n", opt->name); opt 199 drivers/net/ethernet/intel/e1000/e1000_param.c e_dev_info("%s Disabled\n", opt->name); opt 204 drivers/net/ethernet/intel/e1000/e1000_param.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { opt 205 drivers/net/ethernet/intel/e1000/e1000_param.c e_dev_info("%s set to %i\n", opt->name, *value); opt 213 drivers/net/ethernet/intel/e1000/e1000_param.c for (i = 0; i < opt->arg.l.nr; i++) { opt 214 drivers/net/ethernet/intel/e1000/e1000_param.c ent = &opt->arg.l.p[i]; opt 228 drivers/net/ethernet/intel/e1000/e1000_param.c opt->name, *value, opt->err); opt 229 drivers/net/ethernet/intel/e1000/e1000_param.c *value = opt->def; opt 247 drivers/net/ethernet/intel/e1000/e1000_param.c struct e1000_option opt; opt 260 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 274 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&tx_ring->count, &opt, adapter); opt 278 drivers/net/ethernet/intel/e1000/e1000_param.c tx_ring->count = opt.def; opt 288 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 303 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&rx_ring->count, &opt, adapter); opt 307 drivers/net/ethernet/intel/e1000/e1000_param.c rx_ring->count = opt.def; opt 313 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 322 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&rx_csum, &opt, adapter); opt 325 drivers/net/ethernet/intel/e1000/e1000_param.c adapter->rx_csum = opt.def; opt 338 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 349 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&fc, &opt, adapter); opt 352 drivers/net/ethernet/intel/e1000/e1000_param.c adapter->hw.fc = adapter->hw.original_fc = opt.def; opt 356 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 367 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&adapter->tx_int_delay, &opt, opt 370 drivers/net/ethernet/intel/e1000/e1000_param.c adapter->tx_int_delay = opt.def; opt 374 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 385 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&adapter->tx_abs_int_delay, &opt, opt 388 drivers/net/ethernet/intel/e1000/e1000_param.c adapter->tx_abs_int_delay = opt.def; opt 392 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 403 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&adapter->rx_int_delay, &opt, opt 406 drivers/net/ethernet/intel/e1000/e1000_param.c adapter->rx_int_delay = opt.def; opt 410 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 421 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&adapter->rx_abs_int_delay, &opt, opt 424 drivers/net/ethernet/intel/e1000/e1000_param.c adapter->rx_abs_int_delay = opt.def; opt 428 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 441 drivers/net/ethernet/intel/e1000/e1000_param.c e_dev_info("%s turned off\n", opt.name); opt 445 drivers/net/ethernet/intel/e1000/e1000_param.c opt.name); opt 451 drivers/net/ethernet/intel/e1000/e1000_param.c "mode\n", opt.name); opt 457 drivers/net/ethernet/intel/e1000/e1000_param.c "(2000-8000) ints mode\n", opt.name); opt 461 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&adapter->itr, &opt, opt 472 drivers/net/ethernet/intel/e1000/e1000_param.c adapter->itr_setting = opt.def; opt 477 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 486 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&spd, &opt, adapter); opt 489 drivers/net/ethernet/intel/e1000/e1000_param.c adapter->smart_power_down = opt.def; opt 539 drivers/net/ethernet/intel/e1000/e1000_param.c struct e1000_option opt; opt 550 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 561 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&speed, &opt, adapter); opt 563 drivers/net/ethernet/intel/e1000/e1000_param.c speed = opt.def; opt 572 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 583 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&dplx, &opt, adapter); opt 585 drivers/net/ethernet/intel/e1000/e1000_param.c dplx = opt.def; opt 628 drivers/net/ethernet/intel/e1000/e1000_param.c opt = (struct e1000_option) { opt 639 drivers/net/ethernet/intel/e1000/e1000_param.c e1000_validate_option(&an, &opt, adapter); opt 641 drivers/net/ethernet/intel/e1000/e1000_param.c an = opt.def; opt 164 drivers/net/ethernet/intel/e1000e/param.c const struct e1000_option *opt, opt 168 drivers/net/ethernet/intel/e1000e/param.c *value = opt->def; opt 172 drivers/net/ethernet/intel/e1000e/param.c switch (opt->type) { opt 177 drivers/net/ethernet/intel/e1000e/param.c opt->name); opt 181 drivers/net/ethernet/intel/e1000e/param.c opt->name); opt 186 drivers/net/ethernet/intel/e1000e/param.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { opt 188 drivers/net/ethernet/intel/e1000e/param.c opt->name, *value); opt 196 drivers/net/ethernet/intel/e1000e/param.c for (i = 0; i < opt->arg.l.nr; i++) { opt 197 drivers/net/ethernet/intel/e1000e/param.c ent = &opt->arg.l.p[i]; opt 212 drivers/net/ethernet/intel/e1000e/param.c opt->name, *value, opt->err); opt 213 drivers/net/ethernet/intel/e1000e/param.c *value = opt->def; opt 240 drivers/net/ethernet/intel/e1000e/param.c static const struct e1000_option opt = { opt 252 drivers/net/ethernet/intel/e1000e/param.c e1000_validate_option(&adapter->tx_int_delay, &opt, opt 255 drivers/net/ethernet/intel/e1000e/param.c adapter->tx_int_delay = opt.def; opt 260 drivers/net/ethernet/intel/e1000e/param.c static const struct e1000_option opt = { opt 272 drivers/net/ethernet/intel/e1000e/param.c e1000_validate_option(&adapter->tx_abs_int_delay, &opt, opt 275 drivers/net/ethernet/intel/e1000e/param.c adapter->tx_abs_int_delay = opt.def; opt 280 drivers/net/ethernet/intel/e1000e/param.c static struct e1000_option opt = { opt 291 drivers/net/ethernet/intel/e1000e/param.c opt.def = BURST_RDTR; opt 295 drivers/net/ethernet/intel/e1000e/param.c e1000_validate_option(&adapter->rx_int_delay, &opt, opt 298 drivers/net/ethernet/intel/e1000e/param.c adapter->rx_int_delay = opt.def; opt 303 drivers/net/ethernet/intel/e1000e/param.c static struct e1000_option opt = { opt 314 drivers/net/ethernet/intel/e1000e/param.c opt.def = BURST_RADV; opt 318 drivers/net/ethernet/intel/e1000e/param.c e1000_validate_option(&adapter->rx_abs_int_delay, &opt, opt 321 drivers/net/ethernet/intel/e1000e/param.c adapter->rx_abs_int_delay = opt.def; opt 326 drivers/net/ethernet/intel/e1000e/param.c static const struct e1000_option opt = { opt 345 drivers/net/ethernet/intel/e1000e/param.c e1000_validate_option(&adapter->itr, &opt, adapter)) opt 346 drivers/net/ethernet/intel/e1000e/param.c adapter->itr = opt.def; opt 351 drivers/net/ethernet/intel/e1000e/param.c adapter->itr = opt.def; opt 358 drivers/net/ethernet/intel/e1000e/param.c "%s set to default %d\n", opt.name, opt 366 drivers/net/ethernet/intel/e1000e/param.c opt.name); opt 370 drivers/net/ethernet/intel/e1000e/param.c "%s set to dynamic mode\n", opt.name); opt 376 drivers/net/ethernet/intel/e1000e/param.c opt.name); opt 377 drivers/net/ethernet/intel/e1000e/param.c adapter->itr_setting = opt.def; opt 382 drivers/net/ethernet/intel/e1000e/param.c opt.name); opt 388 drivers/net/ethernet/intel/e1000e/param.c opt.name); opt 403 drivers/net/ethernet/intel/e1000e/param.c static struct e1000_option opt = { opt 416 drivers/net/ethernet/intel/e1000e/param.c opt.err = kstrdup("defaulting to 2 (MSI-X)", opt 418 drivers/net/ethernet/intel/e1000e/param.c opt.def = E1000E_INT_MODE_MSIX; opt 419 drivers/net/ethernet/intel/e1000e/param.c opt.arg.r.max = E1000E_INT_MODE_MSIX; opt 421 drivers/net/ethernet/intel/e1000e/param.c opt.err = kstrdup("defaulting to 1 (MSI)", GFP_KERNEL); opt 422 drivers/net/ethernet/intel/e1000e/param.c opt.def = E1000E_INT_MODE_MSI; opt 423 drivers/net/ethernet/intel/e1000e/param.c opt.arg.r.max = E1000E_INT_MODE_MSI; opt 426 drivers/net/ethernet/intel/e1000e/param.c if (!opt.err) { opt 436 drivers/net/ethernet/intel/e1000e/param.c e1000_validate_option(&int_mode, &opt, adapter); opt 439 drivers/net/ethernet/intel/e1000e/param.c adapter->int_mode = opt.def; opt 443 drivers/net/ethernet/intel/e1000e/param.c kfree(opt.err); opt 448 drivers/net/ethernet/intel/e1000e/param.c static const struct e1000_option opt = { opt 458 drivers/net/ethernet/intel/e1000e/param.c e1000_validate_option(&spd, &opt, adapter); opt 465 drivers/net/ethernet/intel/e1000e/param.c static const struct e1000_option opt = { opt 475 drivers/net/ethernet/intel/e1000e/param.c e1000_validate_option(&crc_stripping, &opt, adapter); opt 487 drivers/net/ethernet/intel/e1000e/param.c static const struct e1000_option opt = { opt 493 drivers/net/ethernet/intel/e1000e/param.c bool enabled = opt.def; opt 498 drivers/net/ethernet/intel/e1000e/param.c e1000_validate_option(&kmrn_lock_loss, &opt, adapter); opt 508 drivers/net/ethernet/intel/e1000e/param.c static const struct e1000_option opt = { opt 519 drivers/net/ethernet/intel/e1000e/param.c e1000_validate_option(&write_protect_nvm, &opt, opt 524 drivers/net/ethernet/intel/e1000e/param.c if (opt.def) opt 178 drivers/net/ethernet/intel/ixgb/ixgb_param.c ixgb_validate_option(unsigned int *value, const struct ixgb_option *opt) opt 181 drivers/net/ethernet/intel/ixgb/ixgb_param.c *value = opt->def; opt 185 drivers/net/ethernet/intel/ixgb/ixgb_param.c switch (opt->type) { opt 189 drivers/net/ethernet/intel/ixgb/ixgb_param.c pr_info("%s Enabled\n", opt->name); opt 192 drivers/net/ethernet/intel/ixgb/ixgb_param.c pr_info("%s Disabled\n", opt->name); opt 197 drivers/net/ethernet/intel/ixgb/ixgb_param.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { opt 198 drivers/net/ethernet/intel/ixgb/ixgb_param.c pr_info("%s set to %i\n", opt->name, *value); opt 206 drivers/net/ethernet/intel/ixgb/ixgb_param.c for (i = 0; i < opt->arg.l.nr; i++) { opt 207 drivers/net/ethernet/intel/ixgb/ixgb_param.c ent = &opt->arg.l.p[i]; opt 220 drivers/net/ethernet/intel/ixgb/ixgb_param.c pr_info("Invalid %s specified (%i) %s\n", opt->name, *value, opt->err); opt 221 drivers/net/ethernet/intel/ixgb/ixgb_param.c *value = opt->def; opt 245 drivers/net/ethernet/intel/ixgb/ixgb_param.c static const struct ixgb_option opt = { opt 257 drivers/net/ethernet/intel/ixgb/ixgb_param.c ixgb_validate_option(&tx_ring->count, &opt); opt 259 drivers/net/ethernet/intel/ixgb/ixgb_param.c tx_ring->count = opt.def; opt 264 drivers/net/ethernet/intel/ixgb/ixgb_param.c static const struct ixgb_option opt = { opt 276 drivers/net/ethernet/intel/ixgb/ixgb_param.c ixgb_validate_option(&rx_ring->count, &opt); opt 278 drivers/net/ethernet/intel/ixgb/ixgb_param.c rx_ring->count = opt.def; opt 283 drivers/net/ethernet/intel/ixgb/ixgb_param.c static const struct ixgb_option opt = { opt 292 drivers/net/ethernet/intel/ixgb/ixgb_param.c ixgb_validate_option(&rx_csum, &opt); opt 295 drivers/net/ethernet/intel/ixgb/ixgb_param.c adapter->rx_csum = opt.def; opt 308 drivers/net/ethernet/intel/ixgb/ixgb_param.c static const struct ixgb_option opt = { opt 319 drivers/net/ethernet/intel/ixgb/ixgb_param.c ixgb_validate_option(&fc, &opt); opt 322 drivers/net/ethernet/intel/ixgb/ixgb_param.c adapter->hw.fc.type = opt.def; opt 326 drivers/net/ethernet/intel/ixgb/ixgb_param.c static const struct ixgb_option opt = { opt 337 drivers/net/ethernet/intel/ixgb/ixgb_param.c ixgb_validate_option(&adapter->hw.fc.high_water, &opt); opt 339 drivers/net/ethernet/intel/ixgb/ixgb_param.c adapter->hw.fc.high_water = opt.def; opt 345 drivers/net/ethernet/intel/ixgb/ixgb_param.c static const struct ixgb_option opt = { opt 356 drivers/net/ethernet/intel/ixgb/ixgb_param.c ixgb_validate_option(&adapter->hw.fc.low_water, &opt); opt 358 drivers/net/ethernet/intel/ixgb/ixgb_param.c adapter->hw.fc.low_water = opt.def; opt 364 drivers/net/ethernet/intel/ixgb/ixgb_param.c static const struct ixgb_option opt = { opt 375 drivers/net/ethernet/intel/ixgb/ixgb_param.c ixgb_validate_option(&pause_time, &opt); opt 378 drivers/net/ethernet/intel/ixgb/ixgb_param.c adapter->hw.fc.pause_time = opt.def; opt 394 drivers/net/ethernet/intel/ixgb/ixgb_param.c static const struct ixgb_option opt = { opt 405 drivers/net/ethernet/intel/ixgb/ixgb_param.c ixgb_validate_option(&adapter->rx_int_delay, &opt); opt 407 drivers/net/ethernet/intel/ixgb/ixgb_param.c adapter->rx_int_delay = opt.def; opt 411 drivers/net/ethernet/intel/ixgb/ixgb_param.c static const struct ixgb_option opt = { opt 422 drivers/net/ethernet/intel/ixgb/ixgb_param.c ixgb_validate_option(&adapter->tx_int_delay, &opt); opt 424 drivers/net/ethernet/intel/ixgb/ixgb_param.c adapter->tx_int_delay = opt.def; opt 429 drivers/net/ethernet/intel/ixgb/ixgb_param.c static const struct ixgb_option opt = { opt 438 drivers/net/ethernet/intel/ixgb/ixgb_param.c ixgb_validate_option(&ide, &opt); opt 441 drivers/net/ethernet/intel/ixgb/ixgb_param.c adapter->tx_int_delay_enable = opt.def; opt 25 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c void *hdr, *opt; opt 34 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c opt = MLX5_ADDR_OF(create_geneve_tlv_option_in, in, geneve_tlv_opt); opt 39 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c MLX5_SET(geneve_tlv_option, opt, option_class, be16_to_cpu(class)); opt 40 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c MLX5_SET(geneve_tlv_option, opt, option_type, type); opt 41 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c MLX5_SET(geneve_tlv_option, opt, option_data_length, len); opt 63 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt) opt 73 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c if (geneve->opt_class == opt->opt_class && opt 74 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c geneve->opt_type == opt->type) { opt 84 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c be16_to_cpu(opt->opt_class), opt 85 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c opt->type, opt 86 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c opt->length); opt 94 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c opt->opt_class, opt 95 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c opt->type, opt 96 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c opt->length); opt 100 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c be16_to_cpu(opt->opt_class), opt 101 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c opt->type, opt->length, res); opt 104 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c geneve->opt_class = opt->opt_class; opt 105 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c geneve->opt_type = opt->type; opt 17 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.h int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt); opt 27 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.h mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt) { return 0; } opt 242 drivers/net/ethernet/netronome/nfp/abm/main.h struct tc_root_qopt_offload *opt); opt 244 drivers/net/ethernet/netronome/nfp/abm/main.h struct tc_red_qopt_offload *opt); opt 246 drivers/net/ethernet/netronome/nfp/abm/main.h struct tc_mq_qopt_offload *opt); opt 248 drivers/net/ethernet/netronome/nfp/abm/main.h struct tc_gred_qopt_offload *opt); opt 250 drivers/net/ethernet/netronome/nfp/abm/main.h struct flow_block_offload *opt); opt 517 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct tc_gred_qopt_offload *opt) opt 523 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (opt->set.grio_on || opt->set.wred_on) { opt 525 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->parent, opt->handle); opt 528 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (opt->set.dp_def != alink->def_band) { opt 530 drivers/net/ethernet/netronome/nfp/abm/qdisc.c alink->def_band, opt->parent, opt->handle); opt 533 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (opt->set.dp_cnt != abm->num_bands) { opt 535 drivers/net/ethernet/netronome/nfp/abm/qdisc.c abm->num_bands, opt->parent, opt->handle); opt 540 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct tc_gred_vq_qopt_offload_params *band = &opt->set.tab[i]; opt 546 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->parent, opt->handle, i); opt 551 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->parent, opt->handle, i); opt 556 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->parent, opt->handle, i); opt 561 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->parent, opt->handle, i); opt 566 drivers/net/ethernet/netronome/nfp/abm/qdisc.c band->min, S32_MAX, opt->parent, opt->handle, opt 577 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct tc_gred_qopt_offload *opt) opt 583 drivers/net/ethernet/netronome/nfp/abm/qdisc.c ret = nfp_abm_qdisc_replace(netdev, alink, NFP_QDISC_GRED, opt->parent, opt 584 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->handle, 0, &qdisc); opt 588 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->params_ok = nfp_abm_gred_check_params(alink, opt); opt 590 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.num_bands = opt->set.dp_cnt; opt 592 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[i].ecn = opt->set.tab[i].is_ecn; opt 593 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[i].threshold = opt->set.tab[i].min; opt 604 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct tc_gred_qopt_offload *opt) opt 606 drivers/net/ethernet/netronome/nfp/abm/qdisc.c switch (opt->command) { opt 608 drivers/net/ethernet/netronome/nfp/abm/qdisc.c return nfp_abm_gred_replace(netdev, alink, opt); opt 610 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_qdisc_destroy(netdev, alink, opt->handle); opt 613 drivers/net/ethernet/netronome/nfp/abm/qdisc.c return nfp_abm_gred_stats(alink, opt->handle, &opt->stats); opt 620 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_red_xstats(struct nfp_abm_link *alink, struct tc_red_qopt_offload *opt) opt 626 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc = nfp_abm_qdisc_find(alink, opt->handle); opt 632 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->xstats); opt 662 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct tc_red_qopt_offload *opt) opt 667 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (!opt->set.is_ecn && !nfp_abm_has_drop(abm)) { opt 669 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->parent, opt->handle); opt 672 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (opt->set.is_ecn && !nfp_abm_has_mark(abm)) { opt 674 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->parent, opt->handle); opt 677 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (opt->set.is_harddrop) { opt 679 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->parent, opt->handle); opt 682 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (opt->set.min != opt->set.max) { opt 684 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->parent, opt->handle); opt 687 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (opt->set.min > NFP_ABM_LVL_INFINITY) { opt 689 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->set.min, NFP_ABM_LVL_INFINITY, opt->parent, opt 690 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->handle); opt 699 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct tc_red_qopt_offload *opt) opt 704 drivers/net/ethernet/netronome/nfp/abm/qdisc.c ret = nfp_abm_qdisc_replace(netdev, alink, NFP_QDISC_RED, opt->parent, opt 705 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->handle, 1, &qdisc); opt 710 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (opt->set.limit) { opt 722 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->params_ok = nfp_abm_red_check_params(alink, opt); opt 725 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[0].ecn = opt->set.is_ecn; opt 726 drivers/net/ethernet/netronome/nfp/abm/qdisc.c qdisc->red.band[0].threshold = opt->set.min; opt 736 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct tc_red_qopt_offload *opt) opt 738 drivers/net/ethernet/netronome/nfp/abm/qdisc.c switch (opt->command) { opt 740 drivers/net/ethernet/netronome/nfp/abm/qdisc.c return nfp_abm_red_replace(netdev, alink, opt); opt 742 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_qdisc_destroy(netdev, alink, opt->handle); opt 745 drivers/net/ethernet/netronome/nfp/abm/qdisc.c return nfp_abm_red_stats(alink, opt->handle, &opt->stats); opt 747 drivers/net/ethernet/netronome/nfp/abm/qdisc.c return nfp_abm_red_xstats(alink, opt); opt 749 drivers/net/ethernet/netronome/nfp/abm/qdisc.c return nfp_abm_qdisc_graft(alink, opt->handle, opt 750 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->child_handle, 0); opt 758 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct tc_mq_qopt_offload *opt) opt 764 drivers/net/ethernet/netronome/nfp/abm/qdisc.c TC_H_ROOT, opt->handle, alink->total_queues, opt 817 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct tc_mq_qopt_offload *opt) opt 819 drivers/net/ethernet/netronome/nfp/abm/qdisc.c switch (opt->command) { opt 821 drivers/net/ethernet/netronome/nfp/abm/qdisc.c return nfp_abm_mq_create(netdev, alink, opt); opt 823 drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_qdisc_destroy(netdev, alink, opt->handle); opt 826 drivers/net/ethernet/netronome/nfp/abm/qdisc.c return nfp_abm_mq_stats(alink, opt->handle, &opt->stats); opt 828 drivers/net/ethernet/netronome/nfp/abm/qdisc.c return nfp_abm_qdisc_graft(alink, opt->handle, opt 829 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->graft_params.child_handle, opt 830 drivers/net/ethernet/netronome/nfp/abm/qdisc.c opt->graft_params.queue); opt 837 drivers/net/ethernet/netronome/nfp/abm/qdisc.c struct tc_root_qopt_offload *opt) opt 839 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (opt->ingress) opt 843 drivers/net/ethernet/netronome/nfp/abm/qdisc.c alink->root_qdisc = nfp_abm_qdisc_find(alink, opt->handle); opt 344 drivers/net/ethernet/netronome/nfp/flower/action.c struct geneve_opt *opt = (struct geneve_opt *)src; opt 353 drivers/net/ethernet/netronome/nfp/flower/action.c opt->length * 4; opt 359 drivers/net/ethernet/netronome/nfp/flower/action.c opt_len -= sizeof(struct geneve_opt) + opt->length * 4; opt 360 drivers/net/ethernet/netronome/nfp/flower/action.c src += sizeof(struct geneve_opt) + opt->length * 4; opt 372 drivers/net/ethernet/netronome/nfp/flower/action.c struct geneve_opt *opt = (struct geneve_opt *)src; opt 377 drivers/net/ethernet/netronome/nfp/flower/action.c act_size = sizeof(struct nfp_fl_push_geneve) + opt->length * 4; opt 385 drivers/net/ethernet/netronome/nfp/flower/action.c push->class = opt->opt_class; opt 386 drivers/net/ethernet/netronome/nfp/flower/action.c push->type = opt->type; opt 387 drivers/net/ethernet/netronome/nfp/flower/action.c push->length = opt->length; opt 388 drivers/net/ethernet/netronome/nfp/flower/action.c memcpy(&push->opt_data, opt->opt_data, opt->length * 4); opt 390 drivers/net/ethernet/netronome/nfp/flower/action.c src += sizeof(struct geneve_opt) + opt->length * 4; opt 216 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c const struct pch_gbe_option *opt, opt 220 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c *value = opt->def; opt 224 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c switch (opt->type) { opt 228 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c netdev_dbg(adapter->netdev, "%s Enabled\n", opt->name); opt 231 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c netdev_dbg(adapter->netdev, "%s Disabled\n", opt->name); opt 236 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { opt 238 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c opt->name, *value); opt 246 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c for (i = 0; i < opt->arg.l.nr; i++) { opt 247 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c ent = &opt->arg.l.p[i]; opt 262 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c opt->name, *value, opt->err); opt 263 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c *value = opt->def; opt 277 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c static const struct pch_gbe_option opt = { opt 286 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c pch_gbe_validate_option(&speed, &opt, adapter); opt 289 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c static const struct pch_gbe_option opt = { opt 298 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c pch_gbe_validate_option(&dplx, &opt, adapter); opt 302 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c static const struct pch_gbe_option opt = { opt 313 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c hw->phy.autoneg_advertised = opt.def; opt 317 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c pch_gbe_validate_option(&tmp, &opt, adapter); opt 439 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c static const struct pch_gbe_option opt = { opt 450 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c pch_gbe_validate_option(&tx_ring->count, &opt, adapter); opt 455 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c static const struct pch_gbe_option opt = { opt 466 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c pch_gbe_validate_option(&rx_ring->count, &opt, adapter); opt 471 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c static const struct pch_gbe_option opt = { opt 478 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c pch_gbe_validate_option(&val, &opt, adapter); opt 483 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c static const struct pch_gbe_option opt = { opt 490 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c pch_gbe_validate_option(&val, &opt, adapter); opt 495 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c static const struct pch_gbe_option opt = { opt 505 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c pch_gbe_validate_option(&tmp, &opt, adapter); opt 1459 drivers/net/ethernet/realtek/r8169_main.c u32 opt; opt 1493 drivers/net/ethernet/realtek/r8169_main.c if (wolopts & cfg[i].opt) opt 2277 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c char *opt; opt 2281 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c while ((opt = strsep(&str, ",")) != NULL) { opt 2282 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c if (!strncmp(opt, "eee_timer:", 10)) { opt 2283 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c if (kstrtoint(opt + 10, 0, &eee_timer)) opt 4905 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c char *opt; opt 4909 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c while ((opt = strsep(&str, ",")) != NULL) { opt 4910 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (!strncmp(opt, "debug:", 6)) { opt 4911 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (kstrtoint(opt + 6, 0, &debug)) opt 4913 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c } else if (!strncmp(opt, "phyaddr:", 8)) { opt 4914 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (kstrtoint(opt + 8, 0, &phyaddr)) opt 4916 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c } else if (!strncmp(opt, "buf_sz:", 7)) { opt 4917 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (kstrtoint(opt + 7, 0, &buf_sz)) opt 4919 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c } else if (!strncmp(opt, "tc:", 3)) { opt 4920 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (kstrtoint(opt + 3, 0, &tc)) opt 4922 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c } else if (!strncmp(opt, "watchdog:", 9)) { opt 4923 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (kstrtoint(opt + 9, 0, &watchdog)) opt 4925 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c } else if (!strncmp(opt, "flow_ctrl:", 10)) { opt 4926 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (kstrtoint(opt + 10, 0, &flow_ctrl)) opt 4928 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c } else if (!strncmp(opt, "pause:", 6)) { opt 4929 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (kstrtoint(opt + 6, 0, &pause)) opt 4931 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c } else if (!strncmp(opt, "eee_timer:", 10)) { opt 4932 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (kstrtoint(opt + 10, 0, &eee_timer)) opt 4934 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c } else if (!strncmp(opt, "chain_mode:", 11)) { opt 4935 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c if (kstrtoint(opt + 11, 0, &chain_mode)) opt 414 drivers/net/ethernet/via/via-velocity.c static void velocity_set_int_opt(int *opt, int val, int min, int max, int def, opt 418 drivers/net/ethernet/via/via-velocity.c *opt = def; opt 422 drivers/net/ethernet/via/via-velocity.c *opt = def; opt 426 drivers/net/ethernet/via/via-velocity.c *opt = val; opt 443 drivers/net/ethernet/via/via-velocity.c static void velocity_set_bool_opt(u32 *opt, int val, int def, u32 flag, opt 446 drivers/net/ethernet/via/via-velocity.c (*opt) &= (~flag); opt 448 drivers/net/ethernet/via/via-velocity.c *opt |= (def ? flag : 0); opt 452 drivers/net/ethernet/via/via-velocity.c *opt |= (def ? flag : 0); opt 456 drivers/net/ethernet/via/via-velocity.c *opt |= (val ? flag : 0); opt 1462 drivers/net/ethernet/via/via-velocity.c struct velocity_opt *opt = &vptr->options; opt 1463 drivers/net/ethernet/via/via-velocity.c const unsigned int rx_ring_size = opt->numrx * sizeof(struct rx_desc); opt 1464 drivers/net/ethernet/via/via-velocity.c const unsigned int tx_ring_size = opt->numtx * sizeof(struct tx_desc); opt 514 drivers/net/ethernet/xilinx/ll_temac_main.c u32 opt; opt 521 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_JUMBO, opt 526 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_JUMBO, opt 532 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_VLAN, opt 537 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_VLAN, opt 543 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_FCS_STRIP, opt 549 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_FCS_INSERT, opt 555 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_LENTYPE_ERR, opt 561 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_FLOW_CONTROL, opt 567 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_FLOW_CONTROL, opt 573 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_PROMISC, opt 579 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_TXEN, opt 585 drivers/net/ethernet/xilinx/ll_temac_main.c .opt = XTE_OPTION_RXEN, opt 603 drivers/net/ethernet/xilinx/ll_temac_main.c while (tp->opt) { opt 605 drivers/net/ethernet/xilinx/ll_temac_main.c if (options & tp->opt) { opt 476 drivers/net/ethernet/xilinx/xilinx_axienet.h u32 opt; opt 70 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_JUMBO, opt 74 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_JUMBO, opt 78 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_VLAN, opt 82 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_VLAN, opt 86 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_FCS_STRIP, opt 90 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_FCS_INSERT, opt 94 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_LENTYPE_ERR, opt 98 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_FLOW_CONTROL, opt 102 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_FLOW_CONTROL, opt 106 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_PROMISC, opt 110 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_TXEN, opt 114 drivers/net/ethernet/xilinx/xilinx_axienet_main.c .opt = XAE_OPTION_RXEN, opt 429 drivers/net/ethernet/xilinx/xilinx_axienet_main.c while (tp->opt) { opt 431 drivers/net/ethernet/xilinx/xilinx_axienet_main.c if (options & tp->opt) opt 1225 drivers/net/ieee802154/at86rf230.c switch (cca->opt) { opt 560 drivers/net/ieee802154/atusb.c switch (cca->opt) { opt 2224 drivers/net/ieee802154/ca8210.c if (cca_mode == 3 && cca->opt == NL802154_CCA_OPT_ENERGY_CARRIER_OR) { opt 2974 drivers/net/ieee802154/ca8210.c ca8210_hw->phy->cca.opt = NL802154_CCA_OPT_ENERGY_CARRIER_AND; opt 656 drivers/net/ieee802154/mcr20a.c switch (cca->opt) { opt 865 drivers/net/ieee802154/mrf24j40.c switch (cca->opt) { opt 56 drivers/net/netconsole.c static int __init option_setup(char *opt) opt 58 drivers/net/netconsole.c strlcpy(config, opt, MAX_PARAM_LENGTH); opt 55 drivers/net/ppp/pptp.c struct pptp_opt *opt; opt 60 drivers/net/ppp/pptp.c opt = &sock->proto.pptp; opt 61 drivers/net/ppp/pptp.c if (opt->dst_addr.sin_addr.s_addr != s_addr) opt 74 drivers/net/ppp/pptp.c struct pptp_opt *opt; opt 83 drivers/net/ppp/pptp.c opt = &sock->proto.pptp; opt 84 drivers/net/ppp/pptp.c if (opt->dst_addr.call_id == call_id && opt 85 drivers/net/ppp/pptp.c opt->dst_addr.sin_addr.s_addr == d_addr) opt 136 drivers/net/ppp/pptp.c struct pptp_opt *opt = &po->proto.pptp; opt 155 drivers/net/ppp/pptp.c opt->dst_addr.sin_addr.s_addr, opt 156 drivers/net/ppp/pptp.c opt->src_addr.sin_addr.s_addr, opt 182 drivers/net/ppp/pptp.c if ((opt->ppp_flags & SC_COMP_PROT) && data[0] == 0 && !islcp) opt 186 drivers/net/ppp/pptp.c if ((opt->ppp_flags & SC_COMP_AC) == 0 || islcp) { opt 194 drivers/net/ppp/pptp.c seq_recv = opt->seq_recv; opt 196 drivers/net/ppp/pptp.c if (opt->ack_sent == seq_recv) opt 205 drivers/net/ppp/pptp.c hdr->call_id = htons(opt->dst_addr.call_id); opt 207 drivers/net/ppp/pptp.c hdr->seq = htonl(++opt->seq_sent); opt 208 drivers/net/ppp/pptp.c if (opt->ack_sent != seq_recv) { opt 212 drivers/net/ppp/pptp.c opt->ack_sent = seq_recv; opt 221 drivers/net/ppp/pptp.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 258 drivers/net/ppp/pptp.c struct pptp_opt *opt = &po->proto.pptp; opt 285 drivers/net/ppp/pptp.c if (ack > opt->ack_recv) opt 286 drivers/net/ppp/pptp.c opt->ack_recv = ack; opt 288 drivers/net/ppp/pptp.c if (WRAPPED(ack, opt->ack_recv)) opt 289 drivers/net/ppp/pptp.c opt->ack_recv = ack; opt 306 drivers/net/ppp/pptp.c if (seq < opt->seq_recv + 1 || WRAPPED(opt->seq_recv, seq)) { opt 312 drivers/net/ppp/pptp.c opt->seq_recv = seq; opt 408 drivers/net/ppp/pptp.c struct pptp_opt *opt = &po->proto.pptp; opt 435 drivers/net/ppp/pptp.c if (!opt->src_addr.sin_addr.s_addr || !sp->sa_addr.pptp.sin_addr.s_addr) { opt 444 drivers/net/ppp/pptp.c opt->dst_addr.sin_addr.s_addr, opt 445 drivers/net/ppp/pptp.c opt->src_addr.sin_addr.s_addr, opt 466 drivers/net/ppp/pptp.c opt->dst_addr = sp->sa_addr.pptp; opt 538 drivers/net/ppp/pptp.c struct pptp_opt *opt; opt 557 drivers/net/ppp/pptp.c opt = &po->proto.pptp; opt 559 drivers/net/ppp/pptp.c opt->seq_sent = 0; opt->seq_recv = 0xffffffff; opt 560 drivers/net/ppp/pptp.c opt->ack_recv = 0; opt->ack_sent = 0xffffffff; opt 572 drivers/net/ppp/pptp.c struct pptp_opt *opt = &po->proto.pptp; opt 580 drivers/net/ppp/pptp.c val = opt->ppp_flags; opt 588 drivers/net/ppp/pptp.c opt->ppp_flags = val & ~SC_RCV_BITS; opt 576 drivers/net/usb/asix_common.c u8 opt; opt 579 drivers/net/usb/asix_common.c 0, 0, 1, &opt, 0) < 0) { opt 586 drivers/net/usb/asix_common.c if (opt & AX_MONITOR_LINK) opt 588 drivers/net/usb/asix_common.c if (opt & AX_MONITOR_MAGIC) opt 595 drivers/net/usb/asix_common.c u8 opt = 0; opt 601 drivers/net/usb/asix_common.c opt |= AX_MONITOR_LINK; opt 603 drivers/net/usb/asix_common.c opt |= AX_MONITOR_MAGIC; opt 606 drivers/net/usb/asix_common.c opt, 0, 0, NULL, 0) < 0) opt 534 drivers/net/usb/ax88179_178a.c u8 opt; opt 537 drivers/net/usb/ax88179_178a.c 1, 1, &opt) < 0) { opt 545 drivers/net/usb/ax88179_178a.c if (opt & AX_MONITOR_MODE_RWLC) opt 547 drivers/net/usb/ax88179_178a.c if (opt & AX_MONITOR_MODE_RWMP) opt 555 drivers/net/usb/ax88179_178a.c u8 opt = 0; opt 561 drivers/net/usb/ax88179_178a.c opt |= AX_MONITOR_MODE_RWLC; opt 563 drivers/net/usb/ax88179_178a.c opt |= AX_MONITOR_MODE_RWMP; opt 566 drivers/net/usb/ax88179_178a.c 1, 1, &opt) < 0) opt 402 drivers/net/usb/sr9800.c u8 opt; opt 404 drivers/net/usb/sr9800.c if (sr_read_cmd(dev, SR_CMD_READ_MONITOR_MODE, 0, 0, 1, &opt) < 0) { opt 411 drivers/net/usb/sr9800.c if (opt & SR_MONITOR_LINK) opt 413 drivers/net/usb/sr9800.c if (opt & SR_MONITOR_MAGIC) opt 421 drivers/net/usb/sr9800.c u8 opt = 0; opt 427 drivers/net/usb/sr9800.c opt |= SR_MONITOR_LINK; opt 429 drivers/net/usb/sr9800.c opt |= SR_MONITOR_MAGIC; opt 432 drivers/net/usb/sr9800.c opt, 0, 0, NULL) < 0) opt 1926 drivers/net/vxlan.c for (i = 0; i < ns_olen-1; i += (ns->opt[i+1]<<3)) { opt 1927 drivers/net/vxlan.c if (!ns->opt[i + 1]) { opt 1931 drivers/net/vxlan.c if (ns->opt[i] == ND_OPT_SOURCE_LL_ADDR) { opt 1932 drivers/net/vxlan.c daddr = ns->opt + i + sizeof(struct nd_opt_hdr); opt 1968 drivers/net/vxlan.c ether_addr_copy(&na->opt[2], n->ha); opt 1969 drivers/net/vxlan.c na->opt[0] = ND_OPT_TARGET_LL_ADDR; opt 1970 drivers/net/vxlan.c na->opt[1] = na_olen >> 3; opt 376 drivers/net/wan/hdlc_ppp.c const u8 *opt; opt 385 drivers/net/wan/hdlc_ppp.c for (opt = data; len; len -= opt[1], opt += opt[1]) { opt 386 drivers/net/wan/hdlc_ppp.c if (len < 2 || len < opt[1]) { opt 393 drivers/net/wan/hdlc_ppp.c switch (opt[0]) { opt 398 drivers/net/wan/hdlc_ppp.c if (!memcmp(opt, valid_accm, opt 409 drivers/net/wan/hdlc_ppp.c if (opt[1] != 6 || (!opt[2] && !opt[3] && opt 410 drivers/net/wan/hdlc_ppp.c !opt[4] && !opt[5])) opt 415 drivers/net/wan/hdlc_ppp.c memcpy(out + rej_len, opt, opt[1]); opt 416 drivers/net/wan/hdlc_ppp.c rej_len += opt[1]; opt 1551 drivers/net/wireless/ath/ath10k/wmi-tlv.c ath10k_wmi_tlv_op_gen_pdev_suspend(struct ath10k *ar, u32 opt) opt 1565 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->opt = __cpu_to_le32(opt); opt 1861 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 opt; opt 116 drivers/net/wireless/intel/iwlwifi/fw/api/alive.h u8 opt; opt 1255 drivers/nvme/host/tcp.c int ret, opt, rcv_pdu_size, n; opt 1278 drivers/nvme/host/tcp.c opt = 1; opt 1280 drivers/nvme/host/tcp.c (char *)&opt, sizeof(opt)); opt 1288 drivers/nvme/host/tcp.c opt = 1; opt 1290 drivers/nvme/host/tcp.c TCP_NODELAY, (char *)&opt, sizeof(opt)); opt 1312 drivers/nvme/host/tcp.c opt = nctrl->opts->tos; opt 1314 drivers/nvme/host/tcp.c (char *)&opt, sizeof(opt)); opt 1573 drivers/nvme/target/tcp.c int opt, ret; opt 1618 drivers/nvme/target/tcp.c opt = 1; opt 1620 drivers/nvme/target/tcp.c TCP_NODELAY, (char *)&opt, sizeof(opt)); opt 1627 drivers/nvme/target/tcp.c (char *)&opt, sizeof(opt)); opt 32 drivers/pci/hotplug/ibmphp_core.c #define get_hpc_options(sl, opt) ibmphp_hpc_readslot(sl, READ_HPCOPTIONS, opt) opt 389 drivers/pinctrl/pinctrl-palmas.c const struct palmas_pin_info *opt[4]; opt 515 drivers/pinctrl/pinctrl-palmas.c .opt = { \ opt 701 drivers/pinctrl/pinctrl-palmas.c if (!g->opt[function]) { opt 708 drivers/pinctrl/pinctrl-palmas.c for (i = 0; i < ARRAY_SIZE(g->opt); i++) { opt 709 drivers/pinctrl/pinctrl-palmas.c if (!g->opt[i]) opt 711 drivers/pinctrl/pinctrl-palmas.c if (g->opt[i]->mux_opt == function) opt 714 drivers/pinctrl/pinctrl-palmas.c if (WARN_ON(i == ARRAY_SIZE(g->opt))) { opt 755 drivers/pinctrl/pinctrl-palmas.c const struct palmas_pin_info *opt; opt 775 drivers/pinctrl/pinctrl-palmas.c opt = g->opt[pci->pins_current_opt[group_nr]]; opt 776 drivers/pinctrl/pinctrl-palmas.c if (!opt) { opt 786 drivers/pinctrl/pinctrl-palmas.c if (!opt->pud_info) { opt 792 drivers/pinctrl/pinctrl-palmas.c base = opt->pud_info->pullup_dn_reg_base; opt 793 drivers/pinctrl/pinctrl-palmas.c add = opt->pud_info->pullup_dn_reg_add; opt 801 drivers/pinctrl/pinctrl-palmas.c rval = val & opt->pud_info->pullup_dn_mask; opt 803 drivers/pinctrl/pinctrl-palmas.c if ((opt->pud_info->normal_val >= 0) && opt 804 drivers/pinctrl/pinctrl-palmas.c (opt->pud_info->normal_val == rval) && opt 807 drivers/pinctrl/pinctrl-palmas.c else if ((opt->pud_info->pull_up_val >= 0) && opt 808 drivers/pinctrl/pinctrl-palmas.c (opt->pud_info->pull_up_val == rval) && opt 811 drivers/pinctrl/pinctrl-palmas.c else if ((opt->pud_info->pull_dn_val >= 0) && opt 812 drivers/pinctrl/pinctrl-palmas.c (opt->pud_info->pull_dn_val == rval) && opt 818 drivers/pinctrl/pinctrl-palmas.c if (!opt->od_info) { opt 824 drivers/pinctrl/pinctrl-palmas.c base = opt->od_info->od_reg_base; opt 825 drivers/pinctrl/pinctrl-palmas.c add = opt->od_info->od_reg_add; opt 832 drivers/pinctrl/pinctrl-palmas.c rval = val & opt->od_info->od_mask; opt 834 drivers/pinctrl/pinctrl-palmas.c if ((opt->od_info->od_disable >= 0) && opt 835 drivers/pinctrl/pinctrl-palmas.c (opt->od_info->od_disable == rval)) opt 837 drivers/pinctrl/pinctrl-palmas.c else if ((opt->od_info->od_enable >= 0) && opt 838 drivers/pinctrl/pinctrl-palmas.c (opt->od_info->od_enable == rval)) opt 865 drivers/pinctrl/pinctrl-palmas.c const struct palmas_pin_info *opt; opt 884 drivers/pinctrl/pinctrl-palmas.c opt = g->opt[pci->pins_current_opt[group_nr]]; opt 885 drivers/pinctrl/pinctrl-palmas.c if (!opt) { opt 899 drivers/pinctrl/pinctrl-palmas.c if (!opt->pud_info) { opt 905 drivers/pinctrl/pinctrl-palmas.c base = opt->pud_info->pullup_dn_reg_base; opt 906 drivers/pinctrl/pinctrl-palmas.c add = opt->pud_info->pullup_dn_reg_add; opt 907 drivers/pinctrl/pinctrl-palmas.c mask = opt->pud_info->pullup_dn_mask; opt 910 drivers/pinctrl/pinctrl-palmas.c rval = opt->pud_info->normal_val; opt 912 drivers/pinctrl/pinctrl-palmas.c rval = opt->pud_info->pull_up_val; opt 914 drivers/pinctrl/pinctrl-palmas.c rval = opt->pud_info->pull_dn_val; opt 925 drivers/pinctrl/pinctrl-palmas.c if (!opt->od_info) { opt 931 drivers/pinctrl/pinctrl-palmas.c base = opt->od_info->od_reg_base; opt 932 drivers/pinctrl/pinctrl-palmas.c add = opt->od_info->od_reg_add; opt 933 drivers/pinctrl/pinctrl-palmas.c mask = opt->od_info->od_mask; opt 935 drivers/pinctrl/pinctrl-palmas.c rval = opt->od_info->od_disable; opt 937 drivers/pinctrl/pinctrl-palmas.c rval = opt->od_info->od_enable; opt 776 drivers/power/supply/bq27xxx_battery.c #define BQ27XXX_DATA(ref, key, opt) { \ opt 777 drivers/power/supply/bq27xxx_battery.c .opts = (opt), \ opt 109 drivers/s390/block/dasd_devmap.c static int __init dasd_call_setup(char *opt) opt 115 drivers/s390/block/dasd_devmap.c tmp = strsep(&opt, ","); opt 829 drivers/scsi/cxgbi/libcxgbi.c unsigned int opt) opt 3333 drivers/scsi/qla2xxx/qla_def.h u8 opt; opt 1283 drivers/scsi/qla2xxx/qla_init.c int qla24xx_post_gpdb_work(struct scsi_qla_host *vha, fc_port_t *fcport, u8 opt) opt 1292 drivers/scsi/qla2xxx/qla_init.c e->u.fcport.opt = opt; opt 1297 drivers/scsi/qla2xxx/qla_init.c int qla24xx_async_gpdb(struct scsi_qla_host *vha, fc_port_t *fcport, u8 opt) opt 1346 drivers/scsi/qla2xxx/qla_init.c mb[10] = opt; opt 1355 drivers/scsi/qla2xxx/qla_init.c sp->name, fcport->port_name, sp->handle, opt); opt 1369 drivers/scsi/qla2xxx/qla_init.c qla24xx_post_gpdb_work(vha, fcport, opt); opt 1875 drivers/scsi/qla2xxx/qla_mbx.c qla2x00_get_port_database(scsi_qla_host_t *vha, fc_port_t *fcport, uint8_t opt) opt 1898 drivers/scsi/qla2xxx/qla_mbx.c if (opt != 0 && !IS_FWI2_CAPABLE(ha)) opt 1909 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[10] = opt; opt 1914 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[10] = opt; opt 1917 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[1] = fcport->loop_id << 8 | opt; opt 2131 drivers/scsi/qla2xxx/qla_mbx.c uint8_t opt) opt 2145 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[10] = opt; opt 2148 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[1] = loop_id << 8 | opt; opt 2360 drivers/scsi/qla2xxx/qla_mbx.c uint8_t area, uint8_t al_pa, uint16_t *mb, uint8_t opt) opt 2390 drivers/scsi/qla2xxx/qla_mbx.c if (opt & BIT_0) opt 2392 drivers/scsi/qla2xxx/qla_mbx.c if (opt & BIT_1) opt 2496 drivers/scsi/qla2xxx/qla_mbx.c uint8_t area, uint8_t al_pa, uint16_t *mb, uint8_t opt) opt 2510 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[10] = opt; opt 2513 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[1] = (loop_id << 8) | opt; opt 2577 drivers/scsi/qla2xxx/qla_mbx.c uint16_t *mb_ret, uint8_t opt) opt 2590 drivers/scsi/qla2xxx/qla_mbx.c fcport->d_id.b.al_pa, mb_ret, opt); opt 2597 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[2] = opt; opt 4864 drivers/scsi/qla2xxx/qla_mbx.c uint16_t dev, uint16_t off, uint16_t len, uint16_t opt) opt 4878 drivers/scsi/qla2xxx/qla_mbx.c opt |= BIT_0; opt 4888 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[10] = opt; opt 4895 drivers/scsi/qla2xxx/qla_mbx.c if (opt & BIT_0) opt 4915 drivers/scsi/qla2xxx/qla_mbx.c uint16_t dev, uint16_t off, uint16_t len, uint16_t opt) opt 4929 drivers/scsi/qla2xxx/qla_mbx.c opt |= BIT_0; opt 4931 drivers/scsi/qla2xxx/qla_mbx.c if (opt & BIT_0) opt 4942 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[10] = opt; opt 6307 drivers/scsi/qla2xxx/qla_mbx.c int qla24xx_gpdb_wait(struct scsi_qla_host *vha, fc_port_t *fcport, u8 opt) opt 6333 drivers/scsi/qla2xxx/qla_mbx.c mc.mb[10] = cpu_to_le16((uint16_t)opt); opt 5266 drivers/scsi/qla2xxx/qla_os.c e->u.fcport.opt); opt 98 drivers/spi/atmel-quadspi.c #define QSPI_ICR_OPT(opt) (((opt) << 16) & QSPI_ICR_OPT_MASK) opt 407 drivers/staging/comedi/drivers/dt2801.c static const struct comedi_lrange *dac_range_lkup(int opt) opt 409 drivers/staging/comedi/drivers/dt2801.c if (opt < 0 || opt >= 5) opt 411 drivers/staging/comedi/drivers/dt2801.c return dac_range_table[opt]; opt 414 drivers/staging/comedi/drivers/dt2801.c static const struct comedi_lrange *ai_range_lkup(int type, int opt) opt 418 drivers/staging/comedi/drivers/dt2801.c return (opt) ? opt 422 drivers/staging/comedi/drivers/dt2801.c return (opt) ? &range_unipolar10 : &range_bipolar10; opt 341 drivers/staging/comedi/drivers/pcl726.c unsigned int opt = it->options[2 + i]; opt 343 drivers/staging/comedi/drivers/pcl726.c if (opt < board->ao_num_ranges && i < board->ao_nchan) opt 344 drivers/staging/comedi/drivers/pcl726.c devpriv->rangelist[i] = board->ao_ranges[opt]; opt 935 drivers/staging/sm750fb/sm750.c char *opt; opt 955 drivers/staging/sm750fb/sm750.c while ((opt = strsep(&src, ":")) != NULL && *opt != 0) { opt 956 drivers/staging/sm750fb/sm750.c dev_info(&sm750_dev->pdev->dev, "opt=%s\n", opt); opt 959 drivers/staging/sm750fb/sm750.c if (!strncmp(opt, "swap", strlen("swap"))) { opt 961 drivers/staging/sm750fb/sm750.c } else if (!strncmp(opt, "nocrt", strlen("nocrt"))) { opt 963 drivers/staging/sm750fb/sm750.c } else if (!strncmp(opt, "36bit", strlen("36bit"))) { opt 965 drivers/staging/sm750fb/sm750.c } else if (!strncmp(opt, "18bit", strlen("18bit"))) { opt 967 drivers/staging/sm750fb/sm750.c } else if (!strncmp(opt, "24bit", strlen("24bit"))) { opt 969 drivers/staging/sm750fb/sm750.c } else if (!strncmp(opt, "nohwc0", strlen("nohwc0"))) { opt 971 drivers/staging/sm750fb/sm750.c } else if (!strncmp(opt, "nohwc1", strlen("nohwc1"))) { opt 973 drivers/staging/sm750fb/sm750.c } else if (!strncmp(opt, "nohwc", strlen("nohwc"))) { opt 977 drivers/staging/sm750fb/sm750.c g_fbmode[0] = opt; opt 981 drivers/staging/sm750fb/sm750.c g_fbmode[1] = opt; opt 1170 drivers/staging/sm750fb/sm750.c char *opt, *tmp; opt 1195 drivers/staging/sm750fb/sm750.c while ((opt = strsep(&options, ":")) != NULL) { opt 1197 drivers/staging/sm750fb/sm750.c if (!strncmp(opt, "noaccel", strlen("noaccel"))) { opt 1199 drivers/staging/sm750fb/sm750.c } else if (!strncmp(opt, "nomtrr", strlen("nomtrr"))) { opt 1201 drivers/staging/sm750fb/sm750.c } else if (!strncmp(opt, "dual", strlen("dual"))) { opt 1204 drivers/staging/sm750fb/sm750.c strcat(tmp, opt); opt 1205 drivers/staging/sm750fb/sm750.c tmp += strlen(opt); opt 759 drivers/target/iscsi/cxgbit/cxgbit_cm.c static void cxgbit_set_emss(struct cxgbit_sock *csk, u16 opt) opt 761 drivers/target/iscsi/cxgbit/cxgbit_cm.c csk->emss = csk->com.cdev->lldi.mtus[TCPOPT_MSS_G(opt)] - opt 766 drivers/target/iscsi/cxgbit/cxgbit_cm.c if (TCPOPT_TSTAMP_G(opt)) opt 772 drivers/target/iscsi/cxgbit/cxgbit_cm.c TCPOPT_MSS_G(opt), csk->mss, csk->emss); opt 773 drivers/target/iscsi/cxgbit/cxgbit_cm.c pr_debug("%s mss_idx %u mss %u emss=%u\n", __func__, TCPOPT_MSS_G(opt), opt 858 drivers/target/iscsi/iscsi_target_login.c int backlog = ISCSIT_TCP_BACKLOG, ret, opt = 0, len; opt 901 drivers/target/iscsi/iscsi_target_login.c opt = 1; opt 904 drivers/target/iscsi/iscsi_target_login.c (char *)&opt, sizeof(opt)); opt 914 drivers/target/iscsi/iscsi_target_login.c (char *)&opt, sizeof(opt)); opt 922 drivers/target/iscsi/iscsi_target_login.c (char *)&opt, sizeof(opt)); opt 484 drivers/target/target_core_spc.c int have_tp = 0, opt, min; opt 528 drivers/target/target_core_spc.c if (dev->transport->get_io_opt && (opt = dev->transport->get_io_opt(dev))) opt 529 drivers/target/target_core_spc.c put_unaligned_be32(opt / dev->dev_attrib.block_size, &buf[12]); opt 452 drivers/tty/goldfish.c const char *opt) opt 689 drivers/tty/hvc/hvc_xen.c const char *opt) opt 187 drivers/tty/serial/8250/8250_early.c static int __init early_au_setup(struct earlycon_device *dev, const char *opt) opt 91 drivers/tty/serial/8250/8250_ingenic.c const char *opt) opt 100 drivers/tty/serial/8250/8250_ingenic.c if (opt) { opt 103 drivers/tty/serial/8250/8250_ingenic.c uart_parse_options(opt, &baud, &parity, &bits, &flow); opt 2462 drivers/tty/serial/amba-pl011.c const char *opt) opt 2486 drivers/tty/serial/amba-pl011.c const char *opt) opt 558 drivers/tty/serial/arc_uart.c const char *opt) opt 782 drivers/tty/serial/bcm63xx_uart.c const char *opt) opt 46 drivers/tty/serial/earlycon-arm-semihost.c __init early_smh_setup(struct earlycon_device *device, const char *opt) opt 26 drivers/tty/serial/earlycon-riscv-sbi.c const char *opt) opt 2318 drivers/tty/serial/fsl_lpuart.c const char *opt) opt 2328 drivers/tty/serial/fsl_lpuart.c const char *opt) opt 2339 drivers/tty/serial/fsl_lpuart.c const char *opt) opt 2134 drivers/tty/serial/imx.c imx_console_early_setup(struct earlycon_device *dev, const char *opt) opt 307 drivers/tty/serial/kgdboc.c static int kgdboc_option_setup(char *opt) opt 309 drivers/tty/serial/kgdboc.c if (!opt) { opt 314 drivers/tty/serial/kgdboc.c if (strlen(opt) >= MAX_CONFIG_LEN) { opt 318 drivers/tty/serial/kgdboc.c strcpy(config, opt); opt 327 drivers/tty/serial/kgdboc.c static int __init kgdboc_early_init(char *opt) opt 334 drivers/tty/serial/kgdboc.c kgdboc_option_setup(opt); opt 698 drivers/tty/serial/lantiq.c const char *opt) opt 558 drivers/tty/serial/meson_uart.c meson_serial_early_console_setup(struct earlycon_device *device, const char *opt) opt 477 drivers/tty/serial/milbeaut_usio.c const char *opt) opt 503 drivers/tty/serial/mps2-uart.c const char *opt) opt 1692 drivers/tty/serial/msm_serial.c msm_serial_early_console_setup(struct earlycon_device *device, const char *opt) opt 1713 drivers/tty/serial/msm_serial.c const char *opt) opt 629 drivers/tty/serial/mvebu-uart.c const char *opt) opt 598 drivers/tty/serial/owl-uart.c owl_uart_early_console_setup(struct earlycon_device *device, const char *opt) opt 47 drivers/tty/serial/pic32_uart.h struct pic32_console_opt opt; opt 71 drivers/tty/serial/pic32_uart.h #define pic32_get_opt(sport) (&sport->opt) opt 1111 drivers/tty/serial/qcom_geni_serial.c const char *opt) opt 685 drivers/tty/serial/rda-uart.c rda_uart_early_console_setup(struct earlycon_device *device, const char *opt) opt 2534 drivers/tty/serial/samsung.c const char *opt) opt 2549 drivers/tty/serial/samsung.c const char *opt) opt 2552 drivers/tty/serial/samsung.c return samsung_early_console_setup(device, opt); opt 2563 drivers/tty/serial/samsung.c const char *opt) opt 2566 drivers/tty/serial/samsung.c return samsung_early_console_setup(device, opt); opt 2581 drivers/tty/serial/samsung.c const char *opt) opt 2584 drivers/tty/serial/samsung.c return samsung_early_console_setup(device, opt); opt 3452 drivers/tty/serial/sh-sci.c const char *opt) opt 3457 drivers/tty/serial/sh-sci.c const char *opt) opt 3462 drivers/tty/serial/sh-sci.c const char *opt) opt 3468 drivers/tty/serial/sh-sci.c const char *opt) opt 3473 drivers/tty/serial/sh-sci.c const char *opt) opt 3478 drivers/tty/serial/sh-sci.c const char *opt) opt 1051 drivers/tty/serial/sprd_serial.c const char *opt) opt 1146 drivers/tty/serial/xilinx_uartps.c const char *opt) opt 362 drivers/tty/tty_ioctl.c static int set_termios(struct tty_struct *tty, void __user *arg, int opt) opt 375 drivers/tty/tty_ioctl.c if (opt & TERMIOS_TERMIO) { opt 380 drivers/tty/tty_ioctl.c } else if (opt & TERMIOS_OLD) { opt 403 drivers/tty/tty_ioctl.c if ((opt & TERMIOS_FLUSH) && ld->ops->flush_buffer) opt 408 drivers/tty/tty_ioctl.c if (opt & TERMIOS_WAIT) { opt 459 drivers/tty/tty_ioctl.c static int set_termiox(struct tty_struct *tty, void __user *arg, int opt) opt 471 drivers/tty/tty_ioctl.c if ((opt & TERMIOS_FLUSH) && ld->ops->flush_buffer) opt 475 drivers/tty/tty_ioctl.c if (opt & TERMIOS_WAIT) { opt 1522 drivers/usb/gadget/function/f_fs.c int opt; opt 1526 drivers/usb/gadget/function/f_fs.c opt = fs_parse(fc, &ffs_fs_fs_parameters, param, &result); opt 1527 drivers/usb/gadget/function/f_fs.c if (opt < 0) opt 1528 drivers/usb/gadget/function/f_fs.c return opt; opt 1530 drivers/usb/gadget/function/f_fs.c switch (opt) { opt 762 drivers/video/fbdev/acornfb.c static void acornfb_parse_mon(char *opt) opt 764 drivers/video/fbdev/acornfb.c char *p = opt; opt 805 drivers/video/fbdev/acornfb.c printk(KERN_ERR "Acornfb: bad monitor settings: %s\n", opt); opt 809 drivers/video/fbdev/acornfb.c static void acornfb_parse_montype(char *opt) opt 813 drivers/video/fbdev/acornfb.c if (strncmp(opt, "tv", 2) == 0) { opt 814 drivers/video/fbdev/acornfb.c opt += 2; opt 816 drivers/video/fbdev/acornfb.c } else if (strncmp(opt, "multi", 5) == 0) { opt 817 drivers/video/fbdev/acornfb.c opt += 5; opt 819 drivers/video/fbdev/acornfb.c } else if (strncmp(opt, "hires", 5) == 0) { opt 820 drivers/video/fbdev/acornfb.c opt += 5; opt 822 drivers/video/fbdev/acornfb.c } else if (strncmp(opt, "vga", 3) == 0) { opt 823 drivers/video/fbdev/acornfb.c opt += 3; opt 825 drivers/video/fbdev/acornfb.c } else if (strncmp(opt, "svga", 4) == 0) { opt 826 drivers/video/fbdev/acornfb.c opt += 4; opt 828 drivers/video/fbdev/acornfb.c } else if (strncmp(opt, "auto", 4) == 0) { opt 829 drivers/video/fbdev/acornfb.c opt += 4; opt 831 drivers/video/fbdev/acornfb.c } else if (isdigit(*opt)) opt 832 drivers/video/fbdev/acornfb.c current_par.montype = simple_strtoul(opt, &opt, 0); opt 837 drivers/video/fbdev/acornfb.c opt); opt 840 drivers/video/fbdev/acornfb.c if (opt && *opt) { opt 841 drivers/video/fbdev/acornfb.c if (strcmp(opt, ",dpms") == 0) opt 846 drivers/video/fbdev/acornfb.c opt); opt 850 drivers/video/fbdev/acornfb.c static void acornfb_parse_dram(char *opt) opt 854 drivers/video/fbdev/acornfb.c size = simple_strtoul(opt, &opt, 0); opt 856 drivers/video/fbdev/acornfb.c if (opt) { opt 857 drivers/video/fbdev/acornfb.c switch (*opt) { opt 875 drivers/video/fbdev/acornfb.c void (*parse)(char *opt); opt 886 drivers/video/fbdev/acornfb.c char *opt; opt 893 drivers/video/fbdev/acornfb.c while ((opt = strsep(&options, ",")) != NULL) { opt 894 drivers/video/fbdev/acornfb.c if (!*opt) opt 902 drivers/video/fbdev/acornfb.c if (strncmp(opt, optp->name, optlen) == 0 && opt 903 drivers/video/fbdev/acornfb.c opt[optlen] == ':') { opt 904 drivers/video/fbdev/acornfb.c optp->parse(opt + optlen + 1); opt 911 drivers/video/fbdev/acornfb.c opt); opt 37 drivers/video/fbdev/core/fb_cmdline.c char *opt, *options = NULL; opt 50 drivers/video/fbdev/core/fb_cmdline.c opt = video_options[i]; opt 51 drivers/video/fbdev/core/fb_cmdline.c if (!strncmp(name, opt, name_len) && opt 52 drivers/video/fbdev/core/fb_cmdline.c opt[name_len] == ':') opt 53 drivers/video/fbdev/core/fb_cmdline.c options = opt + name_len + 1; opt 1490 drivers/video/fbdev/cyber2000fb.c char *opt; opt 1495 drivers/video/fbdev/cyber2000fb.c while ((opt = strsep(&options, ",")) != NULL) { opt 1496 drivers/video/fbdev/cyber2000fb.c if (!*opt) opt 1499 drivers/video/fbdev/cyber2000fb.c if (strncmp(opt, "font:", 5) == 0) { opt 1502 drivers/video/fbdev/cyber2000fb.c strlcpy(default_font_storage, opt + 5, opt 1508 drivers/video/fbdev/cyber2000fb.c printk(KERN_ERR "CyberPro20x0: unknown parameter: %s\n", opt); opt 1846 drivers/video/fbdev/fsl-diu-fb.c char *opt; opt 1852 drivers/video/fbdev/fsl-diu-fb.c while ((opt = strsep(&options, ",")) != NULL) { opt 1853 drivers/video/fbdev/fsl-diu-fb.c if (!*opt) opt 1855 drivers/video/fbdev/fsl-diu-fb.c if (!strncmp(opt, "monitor=", 8)) { opt 1856 drivers/video/fbdev/fsl-diu-fb.c monitor_port = fsl_diu_name_to_port(opt + 8); opt 1857 drivers/video/fbdev/fsl-diu-fb.c } else if (!strncmp(opt, "bpp=", 4)) { opt 1858 drivers/video/fbdev/fsl-diu-fb.c if (!kstrtoul(opt + 4, 10, &val)) opt 1861 drivers/video/fbdev/fsl-diu-fb.c fb_mode = opt; opt 485 drivers/video/fbdev/geode/gxfb_core.c char *opt; opt 490 drivers/video/fbdev/geode/gxfb_core.c while ((opt = strsep(&options, ",")) != NULL) { opt 491 drivers/video/fbdev/geode/gxfb_core.c if (!*opt) opt 494 drivers/video/fbdev/geode/gxfb_core.c mode_option = opt; opt 615 drivers/video/fbdev/geode/lxfb_core.c char *opt; opt 620 drivers/video/fbdev/geode/lxfb_core.c while ((opt = strsep(&options, ",")) != NULL) { opt 621 drivers/video/fbdev/geode/lxfb_core.c if (!*opt) opt 624 drivers/video/fbdev/geode/lxfb_core.c if (!strcmp(opt, "noclear")) opt 626 drivers/video/fbdev/geode/lxfb_core.c else if (!strcmp(opt, "nopanel")) opt 628 drivers/video/fbdev/geode/lxfb_core.c else if (!strcmp(opt, "nocrt")) opt 631 drivers/video/fbdev/geode/lxfb_core.c mode_option = opt; opt 642 drivers/video/fbdev/hyperv_fb.c char *opt = NULL, *p; opt 645 drivers/video/fbdev/hyperv_fb.c if (fb_get_options(KBUILD_MODNAME, &opt) || !opt || !*opt) opt 648 drivers/video/fbdev/hyperv_fb.c p = strsep(&opt, "x"); opt 650 drivers/video/fbdev/hyperv_fb.c !opt || !*opt || kstrtouint(opt, 0, &y)) { opt 1261 drivers/video/fbdev/i740fb.c char *opt; opt 1266 drivers/video/fbdev/i740fb.c while ((opt = strsep(&options, ",")) != NULL) { opt 1267 drivers/video/fbdev/i740fb.c if (!*opt) opt 1269 drivers/video/fbdev/i740fb.c else if (!strncmp(opt, "mtrr:", 5)) opt 1270 drivers/video/fbdev/i740fb.c mtrr = simple_strtoul(opt + 5, NULL, 0); opt 1272 drivers/video/fbdev/i740fb.c mode_option = opt; opt 828 drivers/video/fbdev/imxfb.c char *opt, *options = NULL; opt 836 drivers/video/fbdev/imxfb.c while ((opt = strsep(&options, ",")) != NULL) { opt 837 drivers/video/fbdev/imxfb.c if (!*opt) opt 840 drivers/video/fbdev/imxfb.c fb_mode = opt; opt 269 drivers/video/fbdev/intelfb/intelfbdrv.c #define OPT_EQUAL(opt, name) (!strncmp(opt, name, strlen(name))) opt 270 drivers/video/fbdev/intelfb/intelfbdrv.c #define OPT_INTVAL(opt, name) simple_strtoul(opt + strlen(name) + 1, NULL, 0) opt 271 drivers/video/fbdev/intelfb/intelfbdrv.c #define OPT_STRVAL(opt, name) (opt + strlen(name)) opt 399 drivers/video/fbdev/matrox/g450_pll.c u_int32_t opt; opt 401 drivers/video/fbdev/matrox/g450_pll.c pci_read_config_dword(minfo->pcidev, PCI_OPTION_REG, &opt); opt 402 drivers/video/fbdev/matrox/g450_pll.c if (!(opt & 0x20)) { opt 403 drivers/video/fbdev/matrox/g450_pll.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, opt | 0x20); opt 754 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->hw.MXoptionReg |= 0x00207E00 & minfo->values.reg.opt; opt 776 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->hw.MXoptionReg |= 0x001F8000 & minfo->values.reg.opt; opt 804 drivers/video/fbdev/matrox/matroxfb_DAC1064.c minfo->hw.MXoptionReg |= minfo->values.reg.opt & 0x03400040; opt 942 drivers/video/fbdev/matrox/matroxfb_DAC1064.c hw->MXoptionReg |= minfo->values.reg.opt & 0x1C00; opt 962 drivers/video/fbdev/matrox/matroxfb_DAC1064.c hw->MXoptionReg |= minfo->values.reg.opt & 0x1C00; opt 479 drivers/video/fbdev/matrox/matroxfb_base.h u_int32_t opt; opt 597 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->values.reg.opt = (bd->pins[54] & 7) << 10; opt 610 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->values.reg.opt = 0x00000C00; opt 625 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->values.reg.opt = ((bd->pins[53] << 15) & 0x00400000) | opt 641 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->values.reg.opt = 0x10000400; opt 662 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->values.reg.opt = get_unaligned_le32(bd->pins + 48); opt 695 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->values.reg.opt = 0x404A1160; opt 766 drivers/video/fbdev/matrox/matroxfb_misc.c u32 opt; opt 772 drivers/video/fbdev/matrox/matroxfb_misc.c pci_read_config_dword(pdev, PCI_OPTION_REG, &opt); opt 773 drivers/video/fbdev/matrox/matroxfb_misc.c pci_write_config_dword(pdev, PCI_OPTION_REG, opt | PCI_OPTION_ENABLE_ROM); opt 779 drivers/video/fbdev/matrox/matroxfb_misc.c pci_write_config_dword(pdev, PCI_OPTION_REG, opt); opt 803 drivers/video/fbdev/matrox/matroxfb_misc.c (minfo->values.reg.opt & 0x1C00) >> 10); opt 1659 drivers/video/fbdev/mx3fb.c char *opt, *options = NULL; opt 1667 drivers/video/fbdev/mx3fb.c while ((opt = strsep(&options, ",")) != NULL) { opt 1668 drivers/video/fbdev/mx3fb.c if (!*opt) opt 1670 drivers/video/fbdev/mx3fb.c if (!strncmp(opt, "bpp=", 4)) opt 1671 drivers/video/fbdev/mx3fb.c default_bpp = simple_strtoul(opt + 4, NULL, 0); opt 1673 drivers/video/fbdev/mx3fb.c fb_mode = opt; opt 1522 drivers/video/fbdev/s3fb.c char *opt; opt 1527 drivers/video/fbdev/s3fb.c while ((opt = strsep(&options, ",")) != NULL) { opt 1529 drivers/video/fbdev/s3fb.c if (!*opt) opt 1531 drivers/video/fbdev/s3fb.c else if (!strncmp(opt, "mtrr:", 5)) opt 1532 drivers/video/fbdev/s3fb.c mtrr = simple_strtoul(opt + 5, NULL, 0); opt 1533 drivers/video/fbdev/s3fb.c else if (!strncmp(opt, "fasttext:", 9)) opt 1534 drivers/video/fbdev/s3fb.c fasttext = simple_strtoul(opt + 9, NULL, 0); opt 1536 drivers/video/fbdev/s3fb.c mode_option = opt; opt 1780 drivers/video/fbdev/tridentfb.c char *opt; opt 1783 drivers/video/fbdev/tridentfb.c while ((opt = strsep(&options, ",")) != NULL) { opt 1784 drivers/video/fbdev/tridentfb.c if (!*opt) opt 1786 drivers/video/fbdev/tridentfb.c if (!strncmp(opt, "noaccel", 7)) opt 1788 drivers/video/fbdev/tridentfb.c else if (!strncmp(opt, "fp", 2)) opt 1790 drivers/video/fbdev/tridentfb.c else if (!strncmp(opt, "crt", 3)) opt 1792 drivers/video/fbdev/tridentfb.c else if (!strncmp(opt, "bpp=", 4)) opt 1793 drivers/video/fbdev/tridentfb.c bpp = simple_strtoul(opt + 4, NULL, 0); opt 1794 drivers/video/fbdev/tridentfb.c else if (!strncmp(opt, "center", 6)) opt 1796 drivers/video/fbdev/tridentfb.c else if (!strncmp(opt, "stretch", 7)) opt 1798 drivers/video/fbdev/tridentfb.c else if (!strncmp(opt, "memsize=", 8)) opt 1799 drivers/video/fbdev/tridentfb.c memsize = simple_strtoul(opt + 8, NULL, 0); opt 1800 drivers/video/fbdev/tridentfb.c else if (!strncmp(opt, "memdiff=", 8)) opt 1801 drivers/video/fbdev/tridentfb.c memdiff = simple_strtoul(opt + 8, NULL, 0); opt 1802 drivers/video/fbdev/tridentfb.c else if (!strncmp(opt, "nativex=", 8)) opt 1803 drivers/video/fbdev/tridentfb.c nativex = simple_strtoul(opt + 8, NULL, 0); opt 1805 drivers/video/fbdev/tridentfb.c mode_option = opt; opt 123 fs/affs/affs.h #define affs_clear_opt(o, opt) (o &= ~AFFS_MOUNT_##opt) opt 124 fs/affs/affs.h #define affs_set_opt(o, opt) (o |= AFFS_MOUNT_##opt) opt 125 fs/affs/affs.h #define affs_test_opt(o, opt) ((o) & AFFS_MOUNT_##opt) opt 324 fs/afs/super.c int opt; opt 326 fs/afs/super.c opt = fs_parse(fc, &afs_fs_parameters, param, &result); opt 327 fs/afs/super.c if (opt < 0) opt 328 fs/afs/super.c return opt; opt 330 fs/afs/super.c switch (opt) { opt 1193 fs/btrfs/ctree.h #define btrfs_clear_opt(o, opt) ((o) &= ~BTRFS_MOUNT_##opt) opt 1194 fs/btrfs/ctree.h #define btrfs_set_opt(o, opt) ((o) |= BTRFS_MOUNT_##opt) opt 1195 fs/btrfs/ctree.h #define btrfs_raw_test_opt(o, opt) ((o) & BTRFS_MOUNT_##opt) opt 1196 fs/btrfs/ctree.h #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ opt 1197 fs/btrfs/ctree.h BTRFS_MOUNT_##opt) opt 1199 fs/btrfs/ctree.h #define btrfs_set_and_info(fs_info, opt, fmt, args...) \ opt 1201 fs/btrfs/ctree.h if (!btrfs_test_opt(fs_info, opt)) \ opt 1203 fs/btrfs/ctree.h btrfs_set_opt(fs_info->mount_opt, opt); \ opt 1206 fs/btrfs/ctree.h #define btrfs_clear_and_info(fs_info, opt, fmt, args...) \ opt 1208 fs/btrfs/ctree.h if (btrfs_test_opt(fs_info, opt)) \ opt 1210 fs/btrfs/ctree.h btrfs_clear_opt(fs_info->mount_opt, opt); \ opt 1225 fs/btrfs/ctree.h #define btrfs_test_pending(info, opt) \ opt 1226 fs/btrfs/ctree.h test_bit(BTRFS_PENDING_##opt, &(info)->pending_changes) opt 1227 fs/btrfs/ctree.h #define btrfs_set_pending(info, opt) \ opt 1228 fs/btrfs/ctree.h set_bit(BTRFS_PENDING_##opt, &(info)->pending_changes) opt 1229 fs/btrfs/ctree.h #define btrfs_clear_pending(info, opt) \ opt 1230 fs/btrfs/ctree.h clear_bit(BTRFS_PENDING_##opt, &(info)->pending_changes) opt 1238 fs/btrfs/ctree.h #define btrfs_set_pending_and_info(info, opt, fmt, args...) \ opt 1240 fs/btrfs/ctree.h if (!btrfs_raw_test_opt((info)->mount_opt, opt)) { \ opt 1242 fs/btrfs/ctree.h btrfs_set_pending((info), SET_##opt); \ opt 1243 fs/btrfs/ctree.h btrfs_clear_pending((info), CLEAR_##opt); \ opt 1247 fs/btrfs/ctree.h #define btrfs_clear_pending_and_info(info, opt, fmt, args...) \ opt 1249 fs/btrfs/ctree.h if (btrfs_raw_test_opt((info)->mount_opt, opt)) { \ opt 1251 fs/btrfs/ctree.h btrfs_set_pending((info), CLEAR_##opt); \ opt 1252 fs/btrfs/ctree.h btrfs_clear_pending((info), SET_##opt); \ opt 3201 fs/btrfs/ctree.h #define btrfs_set_fs_incompat(__fs_info, opt) \ opt 3202 fs/btrfs/ctree.h __btrfs_set_fs_incompat((__fs_info), BTRFS_FEATURE_INCOMPAT_##opt, \ opt 3203 fs/btrfs/ctree.h #opt) opt 3227 fs/btrfs/ctree.h #define btrfs_clear_fs_incompat(__fs_info, opt) \ opt 3228 fs/btrfs/ctree.h __btrfs_clear_fs_incompat((__fs_info), BTRFS_FEATURE_INCOMPAT_##opt, \ opt 3229 fs/btrfs/ctree.h #opt) opt 3253 fs/btrfs/ctree.h #define btrfs_fs_incompat(fs_info, opt) \ opt 3254 fs/btrfs/ctree.h __btrfs_fs_incompat((fs_info), BTRFS_FEATURE_INCOMPAT_##opt) opt 3263 fs/btrfs/ctree.h #define btrfs_set_fs_compat_ro(__fs_info, opt) \ opt 3264 fs/btrfs/ctree.h __btrfs_set_fs_compat_ro((__fs_info), BTRFS_FEATURE_COMPAT_RO_##opt, \ opt 3265 fs/btrfs/ctree.h #opt) opt 3289 fs/btrfs/ctree.h #define btrfs_clear_fs_compat_ro(__fs_info, opt) \ opt 3290 fs/btrfs/ctree.h __btrfs_clear_fs_compat_ro((__fs_info), BTRFS_FEATURE_COMPAT_RO_##opt, \ opt 3291 fs/btrfs/ctree.h #opt) opt 3315 fs/btrfs/ctree.h #define btrfs_fs_compat_ro(fs_info, opt) \ opt 3316 fs/btrfs/ctree.h __btrfs_fs_compat_ro((fs_info), BTRFS_FEATURE_COMPAT_RO_##opt) opt 492 fs/ceph/caps.c struct ceph_mount_options *opt = mdsc->fsc->mount_options; opt 495 fs/ceph/caps.c opt->caps_wanted_delay_min * HZ); opt 497 fs/ceph/caps.c opt->caps_wanted_delay_max * HZ); opt 177 fs/ceph/debugfs.c struct ceph_options *opt = fsc->client->options; opt 186 fs/ceph/debugfs.c seq_printf(s, "name \"%s\"\n", opt->name ? opt->name : ""); opt 1080 fs/ceph/mds_client.c struct ceph_options *opt = mdsc->fsc->client->options; opt 1087 fs/ceph/mds_client.c {"entity_id", opt->name ? : ""}, opt 2035 fs/ceph/mds_client.c struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; opt 2043 fs/ceph/mds_client.c num_entries = min(num_entries, opt->max_readdir); opt 2058 fs/ceph/mds_client.c num_entries = min(num_entries, opt->max_readdir); opt 2063 fs/ceph/mds_client.c req->r_args.readdir.max_bytes = cpu_to_le32(opt->max_readdir_bytes); opt 684 fs/ceph/super.c struct ceph_options *opt) opt 697 fs/ceph/super.c fsc->client = ceph_create_client(opt, fsc); opt 702 fs/ceph/super.c opt = NULL; /* fsc->client now owns this */ opt 753 fs/ceph/super.c if (opt) opt 754 fs/ceph/super.c ceph_destroy_options(opt); opt 1050 fs/ceph/super.c struct ceph_options *opt = new->client->options; opt 1055 fs/ceph/super.c if (compare_mount_options(fsopt, opt, other)) { opt 1059 fs/ceph/super.c if ((opt->flags & CEPH_OPT_FSID) && opt 1060 fs/ceph/super.c ceph_fsid_compare(&opt->fsid, &other->client->fsid)) { opt 1103 fs/ceph/super.c struct ceph_options *opt = NULL; opt 1110 fs/ceph/super.c err = parse_mount_options(&fsopt, &opt, flags, data, dev_name); opt 1117 fs/ceph/super.c fsc = create_fs_client(fsopt, opt); opt 51 fs/ceph/super.h #define ceph_set_mount_opt(fsc, opt) \ opt 52 fs/ceph/super.h (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt; opt 53 fs/ceph/super.h #define ceph_test_mount_opt(fsc, opt) \ opt 54 fs/ceph/super.h (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) opt 396 fs/ext2/ext2.h #define clear_opt(o, opt) o &= ~EXT2_MOUNT_##opt opt 397 fs/ext2/ext2.h #define set_opt(o, opt) o |= EXT2_MOUNT_##opt opt 398 fs/ext2/ext2.h #define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & \ opt 399 fs/ext2/ext2.h EXT2_MOUNT_##opt) opt 1173 fs/ext4/ext4.h #define clear_opt(sb, opt) EXT4_SB(sb)->s_mount_opt &= \ opt 1174 fs/ext4/ext4.h ~EXT4_MOUNT_##opt opt 1175 fs/ext4/ext4.h #define set_opt(sb, opt) EXT4_SB(sb)->s_mount_opt |= \ opt 1176 fs/ext4/ext4.h EXT4_MOUNT_##opt opt 1177 fs/ext4/ext4.h #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \ opt 1178 fs/ext4/ext4.h EXT4_MOUNT_##opt) opt 1180 fs/ext4/ext4.h #define clear_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 &= \ opt 1181 fs/ext4/ext4.h ~EXT4_MOUNT2_##opt opt 1182 fs/ext4/ext4.h #define set_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 |= \ opt 1183 fs/ext4/ext4.h EXT4_MOUNT2_##opt opt 1184 fs/ext4/ext4.h #define test_opt2(sb, opt) (EXT4_SB(sb)->s_mount_opt2 & \ opt 1185 fs/ext4/ext4.h EXT4_MOUNT2_##opt) opt 1802 fs/ext4/super.c static int handle_mount_opt(struct super_block *sb, char *opt, int token, opt 1825 fs/ext4/super.c ext4_msg(sb, KERN_WARNING, deprecated_msg, opt, "3.5"); opt 1830 fs/ext4/super.c ext4_msg(sb, KERN_WARNING, "Ignoring removed %s option", opt); opt 1852 fs/ext4/super.c "or missing value", opt); opt 1858 fs/ext4/super.c "Mount option \"%s\" incompatible with ext2", opt); opt 1863 fs/ext4/super.c "Mount option \"%s\" incompatible with ext3", opt); opt 1888 fs/ext4/super.c ext4_msg(sb, KERN_ERR, "%s option not supported", opt); opt 2055 fs/ext4/super.c "buggy handling of option %s", opt); opt 106 fs/f2fs/f2fs.h #define clear_opt(sbi, option) (F2FS_OPTION(sbi).opt &= ~F2FS_MOUNT_##option) opt 107 fs/f2fs/f2fs.h #define set_opt(sbi, option) (F2FS_OPTION(sbi).opt |= F2FS_MOUNT_##option) opt 108 fs/f2fs/f2fs.h #define test_opt(sbi, option) (F2FS_OPTION(sbi).opt & F2FS_MOUNT_##option) opt 121 fs/f2fs/f2fs.h unsigned int opt; opt 235 fs/fat/dir.c wchar_t *uni_buf, unsigned short opt, int lower) opt 239 fs/fat/dir.c if (opt & VFAT_SFN_DISPLAY_LOWER) opt 241 fs/fat/dir.c else if (opt & VFAT_SFN_DISPLAY_WIN95) opt 243 fs/fat/dir.c else if (opt & VFAT_SFN_DISPLAY_WINNT) { opt 191 fs/fs_parser.c if (e->opt == p->opt && opt 237 fs/fs_parser.c return p->opt; opt 422 fs/fs_parser.c if (param->opt == e->opt && opt 438 fs/fs_parser.c if (e->opt == param->opt) opt 474 fs/fuse/inode.c int opt; opt 476 fs/fuse/inode.c opt = fs_parse(fc, &fuse_fs_parameters, param, &result); opt 477 fs/fuse/inode.c if (opt < 0) opt 478 fs/fuse/inode.c return opt; opt 480 fs/fuse/inode.c switch (opt) { opt 1152 fs/hugetlbfs/inode.c int opt; opt 1154 fs/hugetlbfs/inode.c opt = fs_parse(fc, &hugetlb_fs_parameters, param, &result); opt 1155 fs/hugetlbfs/inode.c if (opt < 0) opt 1156 fs/hugetlbfs/inode.c return opt; opt 1158 fs/hugetlbfs/inode.c switch (opt) { opt 629 fs/isofs/inode.c struct iso9660_options opt; opt 643 fs/isofs/inode.c if (!parse_options((char *)data, &opt)) opt 661 fs/isofs/inode.c opt.blocksize = sb_min_blocksize(s, opt.blocksize); opt 664 fs/isofs/inode.c sbi->s_session = opt.session; opt 665 fs/isofs/inode.c sbi->s_sbsector = opt.sbsector; opt 667 fs/isofs/inode.c vol_desc_start = (opt.sbsector != -1) ? opt 668 fs/isofs/inode.c opt.sbsector : isofs_get_last_session(s,opt.session); opt 702 fs/isofs/inode.c if (opt.joliet) { opt 727 fs/isofs/inode.c opt.rock = 0; opt 755 fs/isofs/inode.c if (joliet_level && (!pri || !opt.rock)) { opt 786 fs/isofs/inode.c if (orig_zonesize < opt.blocksize) opt 870 fs/isofs/inode.c if (joliet_level && opt.utf8 == 0) { opt 871 fs/isofs/inode.c char *p = opt.iocharset ? opt.iocharset : CONFIG_NLS_DEFAULT; opt 875 fs/isofs/inode.c if (opt.iocharset) opt 883 fs/isofs/inode.c sbi->s_mapping = opt.map; opt 884 fs/isofs/inode.c sbi->s_rock = (opt.rock ? 2 : 0); opt 886 fs/isofs/inode.c sbi->s_cruft = opt.cruft; opt 887 fs/isofs/inode.c sbi->s_hide = opt.hide; opt 888 fs/isofs/inode.c sbi->s_showassoc = opt.showassoc; opt 889 fs/isofs/inode.c sbi->s_uid = opt.uid; opt 890 fs/isofs/inode.c sbi->s_gid = opt.gid; opt 891 fs/isofs/inode.c sbi->s_uid_set = opt.uid_set; opt 892 fs/isofs/inode.c sbi->s_gid_set = opt.gid_set; opt 893 fs/isofs/inode.c sbi->s_utf8 = opt.utf8; opt 894 fs/isofs/inode.c sbi->s_nocompress = opt.nocompress; opt 895 fs/isofs/inode.c sbi->s_overriderockperm = opt.overriderockperm; opt 901 fs/isofs/inode.c if (opt.fmode != ISOFS_INVALID_MODE) opt 902 fs/isofs/inode.c sbi->s_fmode = opt.fmode & 0777; opt 905 fs/isofs/inode.c if (opt.dmode != ISOFS_INVALID_MODE) opt 906 fs/isofs/inode.c sbi->s_dmode = opt.dmode & 0777; opt 954 fs/isofs/inode.c if (opt.check == 'u') { opt 957 fs/isofs/inode.c opt.check = 'r'; opt 959 fs/isofs/inode.c opt.check = 's'; opt 974 fs/isofs/inode.c if (opt.check == 'r') opt 976 fs/isofs/inode.c sbi->s_check = opt.check; opt 988 fs/isofs/inode.c kfree(opt.iocharset); opt 1017 fs/isofs/inode.c orig_zonesize, opt.blocksize); opt 1027 fs/isofs/inode.c kfree(opt.iocharset); opt 197 fs/jffs2/super.c int opt; opt 199 fs/jffs2/super.c opt = fs_parse(fc, &jffs2_fs_parameters, param, &result); opt 200 fs/jffs2/super.c if (opt < 0) opt 201 fs/jffs2/super.c return opt; opt 203 fs/jffs2/super.c switch (opt) { opt 211 fs/jffs2/super.c opt = result.uint_32 * 1024; opt 212 fs/jffs2/super.c if (opt > c->mtd->size) opt 215 fs/jffs2/super.c c->mount_opts.rp_size = opt; opt 215 fs/nilfs2/the_nilfs.h #define nilfs_clear_opt(nilfs, opt) \ opt 216 fs/nilfs2/the_nilfs.h ((nilfs)->ns_mount_opt &= ~NILFS_MOUNT_##opt) opt 217 fs/nilfs2/the_nilfs.h #define nilfs_set_opt(nilfs, opt) \ opt 218 fs/nilfs2/the_nilfs.h ((nilfs)->ns_mount_opt |= NILFS_MOUNT_##opt) opt 219 fs/nilfs2/the_nilfs.h #define nilfs_test_opt(nilfs, opt) ((nilfs)->ns_mount_opt & NILFS_MOUNT_##opt) opt 220 fs/nilfs2/the_nilfs.h #define nilfs_write_opt(nilfs, mask, opt) \ opt 223 fs/nilfs2/the_nilfs.h NILFS_MOUNT_##opt)) \ opt 1128 fs/ntfs/layout.h } __attribute__ ((__packed__)) opt; opt 1152 fs/ntfs/layout.h } __attribute__ ((__packed__)) opt; opt 87 fs/ntfs/super.c static bool parse_options(ntfs_volume *vol, char *opt) opt 173 fs/ntfs/super.c if (!opt || !*opt) opt 175 fs/ntfs/super.c ntfs_debug("Entering with mount options string: %s", opt); opt 176 fs/ntfs/super.c while ((p = strsep(&opt, ","))) { opt 452 fs/ntfs/super.c static int ntfs_remount(struct super_block *sb, int *flags, char *opt) opt 456 fs/ntfs/super.c ntfs_debug("Entering with remount options string: %s", opt); opt 550 fs/ntfs/super.c if (!parse_options(vol, opt)) opt 2697 fs/ntfs/super.c static int ntfs_fill_super(struct super_block *sb, void *opt, const int silent) opt 2748 fs/ntfs/super.c if (!parse_options(vol, (char*)opt)) opt 473 fs/overlayfs/super.c static int ovl_parse_opt(char *opt, struct ovl_config *config) opt 483 fs/overlayfs/super.c while ((p = ovl_next_opt(&opt)) != NULL) { opt 59 fs/proc/root.c int opt; opt 61 fs/proc/root.c opt = fs_parse(fc, &proc_fs_parameters, param, &result); opt 62 fs/proc/root.c if (opt < 0) opt 63 fs/proc/root.c return opt; opt 65 fs/proc/root.c switch (opt) { opt 81 fs/proc/root.c ctx->mask |= 1 << opt; opt 69 fs/qnx6/qnx6.h #define clear_opt(o, opt) (o &= ~(QNX6_MOUNT_##opt)) opt 70 fs/qnx6/qnx6.h #define set_opt(o, opt) (o |= (QNX6_MOUNT_##opt)) opt 71 fs/qnx6/qnx6.h #define test_opt(sb, opt) (QNX6_SB(sb)->s_mount_opt & \ opt 72 fs/qnx6/qnx6.h QNX6_MOUNT_##opt) opt 198 fs/ramfs/inode.c int opt; opt 200 fs/ramfs/inode.c opt = fs_parse(fc, &ramfs_fs_parameters, param, &result); opt 201 fs/ramfs/inode.c if (opt < 0) { opt 208 fs/ramfs/inode.c if (opt == -ENOPARAM) opt 209 fs/ramfs/inode.c opt = 0; opt 210 fs/ramfs/inode.c return opt; opt 213 fs/ramfs/inode.c switch (opt) { opt 990 fs/reiserfs/super.c const opt_desc_t *opt; opt 1017 fs/reiserfs/super.c for (opt = opts; opt->option_name; opt++) { opt 1018 fs/reiserfs/super.c if (!strncmp(p, opt->option_name, strlen(opt->option_name))) { opt 1020 fs/reiserfs/super.c if (opt->clrmask == opt 1026 fs/reiserfs/super.c *bit_flags &= ~opt->clrmask; opt 1027 fs/reiserfs/super.c if (opt->setmask == opt 1033 fs/reiserfs/super.c *bit_flags |= opt->setmask; opt 1038 fs/reiserfs/super.c if (!opt->option_name) { opt 1044 fs/reiserfs/super.c p += strlen(opt->option_name); opt 1047 fs/reiserfs/super.c if (!opt->arg_required) { opt 1051 fs/reiserfs/super.c opt->option_name); opt 1057 fs/reiserfs/super.c if (opt->arg_required) { opt 1060 fs/reiserfs/super.c "argument\n", opt->option_name); opt 1067 fs/reiserfs/super.c opt->option_name); opt 1077 fs/reiserfs/super.c if (opt->arg_required opt 1078 fs/reiserfs/super.c && !(opt->arg_required & (1 << REISERFS_OPT_ALLOWEMPTY)) opt 1083 fs/reiserfs/super.c opt->option_name); opt 1087 fs/reiserfs/super.c if (!opt->values) { opt 1090 fs/reiserfs/super.c return opt->arg_required & ~(1 << REISERFS_OPT_ALLOWEMPTY); opt 1094 fs/reiserfs/super.c for (arg = opt->values; arg->value; arg++) { opt 1100 fs/reiserfs/super.c return opt->arg_required; opt 1106 fs/reiserfs/super.c opt->option_name); opt 2392 fs/reiserfs/super.c int opt = type == USRQUOTA ? REISERFS_USRQUOTA : REISERFS_GRPQUOTA; opt 2395 fs/reiserfs/super.c if (!(REISERFS_SB(sb)->s_mount_opt & (1 << opt))) { opt 73 fs/ufs/ufs.h #define ufs_clear_opt(o,opt) o &= ~UFS_MOUNT_##opt opt 74 fs/ufs/ufs.h #define ufs_set_opt(o,opt) o |= UFS_MOUNT_##opt opt 75 fs/ufs/ufs.h #define ufs_test_opt(o,opt) ((o) & UFS_MOUNT_##opt) opt 3350 fs/unicode/mkutf8data.c int opt; opt 3354 fs/unicode/mkutf8data.c while ((opt = getopt(argc, argv, "a:c:d:f:hn:o:p:t:v")) != -1) { opt 3355 fs/unicode/mkutf8data.c switch (opt) { opt 1089 include/linux/blkdev.h extern void blk_limits_io_opt(struct queue_limits *limits, unsigned int opt); opt 1090 include/linux/blkdev.h extern void blk_queue_io_opt(struct request_queue *q, unsigned int opt); opt 42 include/linux/ceph/libceph.h #define ceph_set_opt(client, opt) \ opt 43 include/linux/ceph/libceph.h (client)->options->flags |= CEPH_OPT_##opt; opt 44 include/linux/ceph/libceph.h #define ceph_test_opt(client, opt) \ opt 45 include/linux/ceph/libceph.h (!!((client)->options->flags & CEPH_OPT_##opt)) opt 289 include/linux/ceph/libceph.h extern void ceph_destroy_options(struct ceph_options *opt); opt 292 include/linux/ceph/libceph.h struct ceph_client *ceph_create_client(struct ceph_options *opt, void *private); opt 49 include/linux/fs_parser.h u8 opt; /* Option number (returned by fs_parse()) */ opt 59 include/linux/fs_parser.h u8 opt; /* Option number (as fs_parameter_spec::opt) */ opt 121 include/linux/fs_parser.h .opt = OPT, \ opt 199 include/linux/ipv6.h struct ipv6_txoptions *opt; opt 297 include/linux/ipv6.h struct ipv6_txoptions __rcu *opt; opt 471 include/linux/mISDNif.h u_long opt; opt 13 include/linux/mroute.h static inline int ip_mroute_opt(int opt) opt 15 include/linux/mroute.h return opt >= MRT_BASE && opt <= MRT_MAX; opt 47 include/linux/mroute.h static inline int ip_mroute_opt(int opt) opt 14 include/linux/mroute6.h static inline int ip6_mroute_opt(int opt) opt 16 include/linux/mroute6.h return (opt >= MRT6_BASE) && (opt <= MRT6_MAX); opt 19 include/linux/mroute6.h static inline int ip6_mroute_opt(int opt) opt 328 include/linux/netfilter.h int nf_setsockopt(struct sock *sk, u_int8_t pf, int optval, char __user *opt, opt 330 include/linux/netfilter.h int nf_getsockopt(struct sock *sk, u_int8_t pf, int optval, char __user *opt, opt 334 include/linux/netfilter.h char __user *opt, unsigned int len); opt 336 include/linux/netfilter.h char __user *opt, int *len); opt 159 include/linux/netfilter/ipset/ip_set.h enum ipset_adt adt, struct ip_set_adt_opt *opt); opt 331 include/linux/netfilter/ipset/ip_set.h struct ip_set_adt_opt *opt); opt 334 include/linux/netfilter/ipset/ip_set.h struct ip_set_adt_opt *opt); opt 337 include/linux/netfilter/ipset/ip_set.h struct ip_set_adt_opt *opt); opt 473 include/linux/netfilter/ipset/ip_set.h #define ip_set_adt_opt_timeout(opt, set) \ opt 474 include/linux/netfilter/ipset/ip_set.h ((opt)->ext.timeout != IPSET_NO_TIMEOUT ? (opt)->ext.timeout : (set)->timeout) opt 692 include/linux/netfilter/ipset/ip_set.h #define IP_SET_INIT_KEXT(skb, opt, set) \ opt 694 include/linux/netfilter/ipset/ip_set.h .timeout = ip_set_adt_opt_timeout(opt, set) } opt 60 include/linux/netpoll.h int netpoll_parse_options(struct netpoll *np, char *opt); opt 267 include/net/addrconf.h u8 *opt, int len, bool sllao); opt 11 include/net/bond_options.h #define BOND_OPT_VALID(opt) ((opt) < BOND_OPT_LAST) opt 108 include/net/bond_options.h const struct bond_opt_value *bond_opt_parse(const struct bond_option *opt, opt 147 include/net/cfg802154.h enum nl802154_cca_opts opt; opt 157 include/net/cfg802154.h return a->opt == b->opt; opt 282 include/net/cipso_ipv4.h unsigned char *opt = *option; opt 284 include/net/cipso_ipv4.h u8 opt_len = opt[1]; opt 293 include/net/cipso_ipv4.h if (get_unaligned_be32(&opt[2]) == 0) { opt 303 include/net/cipso_ipv4.h tag_len = opt[opt_iter + 1]; opt 312 include/net/cipso_ipv4.h *option = opt + err_offset; opt 67 include/net/gen_stats.h seqcount_t *running, struct nlattr *opt); opt 73 include/net/gen_stats.h seqcount_t *running, struct nlattr *opt); opt 40 include/net/icmp.h const struct ip_options *opt); opt 43 include/net/icmp.h __icmp_send(skb_in, type, code, info, &IPCB(skb_in)->opt); opt 60 include/net/inet_sock.h struct ip_options opt; opt 64 include/net/inet_sock.h struct ip_options_rcu opt; opt 153 include/net/inet_sock.h struct ip_options *opt; opt 45 include/net/ip.h struct ip_options opt; /* Compiled IP options */ opt 74 include/net/ip.h struct ip_options_rcu *opt; opt 153 include/net/ip.h struct ip_options_rcu *opt); opt 697 include/net/ip.h void ip_options_build(struct sk_buff *skb, struct ip_options *opt, opt 705 include/net/ip.h return __ip_options_echo(net, dopt, skb, &IPCB(skb)->opt); opt 709 include/net/ip.h int __ip_options_compile(struct net *net, struct ip_options *opt, opt 711 include/net/ip.h int ip_options_compile(struct net *net, struct ip_options *opt, opt 717 include/net/ip.h void ip_options_undo(struct ip_options *opt); opt 180 include/net/ip6_route.h int rt6_route_rcv(struct net_device *dev, u8 *opt, int len, opt 72 include/net/ip6_tunnel.h int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 317 include/net/ipv6.h struct ipv6_txoptions *opt; opt 348 include/net/ipv6.h struct ipv6_txoptions *opt; opt 373 include/net/ipv6.h struct ipv6_txoptions *opt; opt 376 include/net/ipv6.h opt = rcu_dereference(np->opt); opt 377 include/net/ipv6.h if (opt) { opt 378 include/net/ipv6.h if (!refcount_inc_not_zero(&opt->refcnt)) opt 379 include/net/ipv6.h opt = NULL; opt 381 include/net/ipv6.h opt = rcu_pointer_handoff(opt); opt 384 include/net/ipv6.h return opt; opt 387 include/net/ipv6.h static inline void txopt_put(struct ipv6_txoptions *opt) opt 389 include/net/ipv6.h if (opt && refcount_dec_and_test(&opt->refcnt)) opt 390 include/net/ipv6.h kfree_rcu(opt, rcu); opt 432 include/net/ipv6.h struct ipv6_txoptions *opt); opt 434 include/net/ipv6.h struct ipv6_txoptions *opt, opt 438 include/net/ipv6.h struct ipv6_txoptions *opt); opt 441 include/net/ipv6.h const struct inet6_skb_parm *opt); opt 443 include/net/ipv6.h struct ipv6_txoptions *opt); opt 984 include/net/ipv6.h __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority); opt 1046 include/net/ipv6.h void ipv6_push_nfrag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, opt 1049 include/net/ipv6.h void ipv6_push_frag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, opt 1070 include/net/ipv6.h const struct ipv6_txoptions *opt, opt 83 include/net/ndisc.h __u8 opt[0]; opt 88 include/net/ndisc.h __u8 opt[0]; opt 101 include/net/ndisc.h __u8 opt[0]; opt 136 include/net/ndisc.h u8 *opt, int opt_len, opt 279 include/net/nfc/nci_core.h unsigned long opt), opt 280 include/net/nfc/nci_core.h unsigned long opt, __u32 timeout); opt 62 include/net/protocol.h struct inet6_skb_parm *opt, opt 1188 include/net/sctp/structs.h struct sctp_sock *opt); opt 553 include/net/tcp.h struct tcp_options_received *opt); opt 554 include/net/tcp.h bool cookie_ecn_ok(const struct tcp_options_received *opt, opt 2053 include/net/tcp.h const struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; opt 2056 include/net/tcp.h if (opt->optlen) { opt 2057 include/net/tcp.h int opt_size = sizeof(*dopt) + opt->optlen; opt 2060 include/net/tcp.h if (dopt && __ip_options_echo(net, &dopt->opt, skb, opt)) { opt 573 include/net/xfrm.h struct xfrm_policy *(*compile_policy)(struct sock *sk, int opt, u8 *data, int len, int *dir); opt 1409 include/net/xfrm.h int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 1427 include/net/xfrm.h int (*err_handler)(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 66 include/uapi/linux/netfilter/nfnetlink_osf.h struct nf_osf_opt opt[MAX_IPOPTLEN]; opt 606 kernel/bpf/inode.c int opt; opt 608 kernel/bpf/inode.c opt = fs_parse(fc, &bpf_fs_parameters, param, &result); opt 609 kernel/bpf/inode.c if (opt < 0) opt 614 kernel/bpf/inode.c return opt == -ENOPARAM ? 0 : opt; opt 616 kernel/bpf/inode.c switch (opt) { opt 912 kernel/cgroup/cgroup-v1.c int opt, i; opt 914 kernel/cgroup/cgroup-v1.c opt = fs_parse(fc, &cgroup1_fs_parameters, param, &result); opt 915 kernel/cgroup/cgroup-v1.c if (opt == -ENOPARAM) { opt 929 kernel/cgroup/cgroup-v1.c if (opt < 0) opt 930 kernel/cgroup/cgroup-v1.c return opt; opt 932 kernel/cgroup/cgroup-v1.c switch (opt) { opt 1837 kernel/cgroup/cgroup.c int opt; opt 1839 kernel/cgroup/cgroup.c opt = fs_parse(fc, &cgroup2_fs_parameters, param, &result); opt 1840 kernel/cgroup/cgroup.c if (opt < 0) opt 1841 kernel/cgroup/cgroup.c return opt; opt 1843 kernel/cgroup/cgroup.c switch (opt) { opt 1949 kernel/sys.c static int prctl_set_mm_map(int opt, const void __user *addr, unsigned long data_size) opt 1959 kernel/sys.c if (opt == PR_SET_MM_MAP_SIZE) opt 2084 kernel/sys.c static int prctl_set_mm(int opt, unsigned long addr, opt 2096 kernel/sys.c if (arg5 || (arg4 && (opt != PR_SET_MM_AUXV && opt 2097 kernel/sys.c opt != PR_SET_MM_MAP && opt 2098 kernel/sys.c opt != PR_SET_MM_MAP_SIZE))) opt 2102 kernel/sys.c if (opt == PR_SET_MM_MAP || opt == PR_SET_MM_MAP_SIZE) opt 2103 kernel/sys.c return prctl_set_mm_map(opt, (const void __user *)addr, arg4); opt 2109 kernel/sys.c if (opt == PR_SET_MM_EXE_FILE) opt 2112 kernel/sys.c if (opt == PR_SET_MM_AUXV) opt 2141 kernel/sys.c switch (opt) { opt 2183 kernel/sys.c switch (opt) { opt 7873 kernel/trace/trace.c if (topt->flags->val & topt->opt->bit) opt 7896 kernel/trace/trace.c if (!!(topt->flags->val & topt->opt->bit) != val) { opt 7899 kernel/trace/trace.c topt->opt, !val); opt 8050 kernel/trace/trace.c struct tracer_opt *opt) opt 8059 kernel/trace/trace.c topt->opt = opt; opt 8062 kernel/trace/trace.c topt->entry = trace_create_file(opt->name, 0644, t_options, topt, opt 440 kernel/trace/trace.h struct tracer_opt *opt; opt 203 lib/zstd/zstd_opt.h opt[last_pos + 1].price = ZSTD_MAX_PRICE; \ opt 206 lib/zstd/zstd_opt.h opt[pos].mlen = mlen_; \ opt 207 lib/zstd/zstd_opt.h opt[pos].off = offset_; \ opt 208 lib/zstd/zstd_opt.h opt[pos].litlen = litlen_; \ opt 209 lib/zstd/zstd_opt.h opt[pos].price = price_; \ opt 423 lib/zstd/zstd_opt.h ZSTD_optimal_t *opt = seqStorePtr->priceTable; opt 442 lib/zstd/zstd_opt.h memset(opt, 0, sizeof(ZSTD_optimal_t)); opt 464 lib/zstd/zstd_opt.h if (mlen > last_pos || price < opt[mlen].price) opt 494 lib/zstd/zstd_opt.h if (mlen > last_pos || price < opt[mlen].price) opt 509 lib/zstd/zstd_opt.h opt[0].rep[i] = rep[i]; opt 511 lib/zstd/zstd_opt.h opt[0].mlen = 1; opt 512 lib/zstd/zstd_opt.h opt[0].litlen = litlen; opt 518 lib/zstd/zstd_opt.h if (opt[cur - 1].mlen == 1) { opt 519 lib/zstd/zstd_opt.h litlen = opt[cur - 1].litlen + 1; opt 521 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getLiteralPrice(seqStorePtr, litlen, inr - litlen); opt 526 lib/zstd/zstd_opt.h price = opt[cur - 1].price + ZSTD_getLiteralPrice(seqStorePtr, litlen, inr - 1); opt 529 lib/zstd/zstd_opt.h if (cur > last_pos || price <= opt[cur].price) opt 538 lib/zstd/zstd_opt.h mlen = opt[cur].mlen; opt 539 lib/zstd/zstd_opt.h if (opt[cur].off > ZSTD_REP_MOVE_OPT) { opt 540 lib/zstd/zstd_opt.h opt[cur].rep[2] = opt[cur - mlen].rep[1]; opt 541 lib/zstd/zstd_opt.h opt[cur].rep[1] = opt[cur - mlen].rep[0]; opt 542 lib/zstd/zstd_opt.h opt[cur].rep[0] = opt[cur].off - ZSTD_REP_MOVE_OPT; opt 544 lib/zstd/zstd_opt.h opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; opt 545 lib/zstd/zstd_opt.h opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; opt 546 lib/zstd/zstd_opt.h opt[cur].rep[0] = opt 547 lib/zstd/zstd_opt.h ((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[cur].off]); opt 553 lib/zstd/zstd_opt.h for (i = (opt[cur].mlen != 1); i < last_i; i++) { /* check rep */ opt 554 lib/zstd/zstd_opt.h const S32 repCur = (i == ZSTD_REP_MOVE_OPT) ? (opt[cur].rep[0] - 1) : opt[cur].rep[i]; opt 566 lib/zstd/zstd_opt.h best_off = i - (opt[cur].mlen != 1); opt 571 lib/zstd/zstd_opt.h if (opt[cur].mlen == 1) { opt 572 lib/zstd/zstd_opt.h litlen = opt[cur].litlen; opt 574 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getPrice(seqStorePtr, litlen, inr - litlen, opt 580 lib/zstd/zstd_opt.h price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, best_off, mlen - MINMATCH, ultra); opt 583 lib/zstd/zstd_opt.h if (cur + mlen > last_pos || price <= opt[cur + mlen].price) opt 606 lib/zstd/zstd_opt.h if (opt[cur].mlen == 1) { opt 607 lib/zstd/zstd_opt.h litlen = opt[cur].litlen; opt 609 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getPrice(seqStorePtr, litlen, ip + cur - litlen, opt 615 lib/zstd/zstd_opt.h price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, matches[u].off - 1, mlen - MINMATCH, ultra); opt 618 lib/zstd/zstd_opt.h if (cur + mlen > last_pos || (price < opt[cur + mlen].price)) opt 626 lib/zstd/zstd_opt.h best_mlen = opt[last_pos].mlen; opt 627 lib/zstd/zstd_opt.h best_off = opt[last_pos].off; opt 632 lib/zstd/zstd_opt.h opt[0].mlen = 1; opt 635 lib/zstd/zstd_opt.h mlen = opt[cur].mlen; opt 636 lib/zstd/zstd_opt.h offset = opt[cur].off; opt 637 lib/zstd/zstd_opt.h opt[cur].mlen = best_mlen; opt 638 lib/zstd/zstd_opt.h opt[cur].off = best_off; opt 647 lib/zstd/zstd_opt.h u += opt[u].mlen; opt 651 lib/zstd/zstd_opt.h mlen = opt[cur].mlen; opt 657 lib/zstd/zstd_opt.h offset = opt[cur].off; opt 720 lib/zstd/zstd_opt.h ZSTD_optimal_t *opt = seqStorePtr->priceTable; opt 741 lib/zstd/zstd_opt.h memset(opt, 0, sizeof(ZSTD_optimal_t)); opt 743 lib/zstd/zstd_opt.h opt[0].litlen = (U32)(ip - anchor); opt 769 lib/zstd/zstd_opt.h litlen = opt[0].litlen; opt 772 lib/zstd/zstd_opt.h if (mlen > last_pos || price < opt[mlen].price) opt 790 lib/zstd/zstd_opt.h opt[0].rep[i] = rep[i]; opt 792 lib/zstd/zstd_opt.h opt[0].mlen = 1; opt 808 lib/zstd/zstd_opt.h litlen = opt[0].litlen; opt 811 lib/zstd/zstd_opt.h if (mlen > last_pos || price < opt[mlen].price) opt 826 lib/zstd/zstd_opt.h if (opt[cur - 1].mlen == 1) { opt 827 lib/zstd/zstd_opt.h litlen = opt[cur - 1].litlen + 1; opt 829 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getLiteralPrice(seqStorePtr, litlen, inr - litlen); opt 834 lib/zstd/zstd_opt.h price = opt[cur - 1].price + ZSTD_getLiteralPrice(seqStorePtr, litlen, inr - 1); opt 837 lib/zstd/zstd_opt.h if (cur > last_pos || price <= opt[cur].price) opt 846 lib/zstd/zstd_opt.h mlen = opt[cur].mlen; opt 847 lib/zstd/zstd_opt.h if (opt[cur].off > ZSTD_REP_MOVE_OPT) { opt 848 lib/zstd/zstd_opt.h opt[cur].rep[2] = opt[cur - mlen].rep[1]; opt 849 lib/zstd/zstd_opt.h opt[cur].rep[1] = opt[cur - mlen].rep[0]; opt 850 lib/zstd/zstd_opt.h opt[cur].rep[0] = opt[cur].off - ZSTD_REP_MOVE_OPT; opt 852 lib/zstd/zstd_opt.h opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; opt 853 lib/zstd/zstd_opt.h opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; opt 854 lib/zstd/zstd_opt.h opt[cur].rep[0] = opt 855 lib/zstd/zstd_opt.h ((opt[cur].off == ZSTD_REP_MOVE_OPT) && (mlen != 1)) ? (opt[cur - mlen].rep[0] - 1) : (opt[cur - mlen].rep[opt[cur].off]); opt 862 lib/zstd/zstd_opt.h const S32 repCur = (i == ZSTD_REP_MOVE_OPT) ? (opt[cur].rep[0] - 1) : opt[cur].rep[i]; opt 880 lib/zstd/zstd_opt.h best_off = i - (opt[cur].mlen != 1); opt 885 lib/zstd/zstd_opt.h if (opt[cur].mlen == 1) { opt 886 lib/zstd/zstd_opt.h litlen = opt[cur].litlen; opt 888 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getPrice(seqStorePtr, litlen, inr - litlen, opt 894 lib/zstd/zstd_opt.h price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, best_off, mlen - MINMATCH, ultra); opt 897 lib/zstd/zstd_opt.h if (cur + mlen > last_pos || price <= opt[cur + mlen].price) opt 920 lib/zstd/zstd_opt.h if (opt[cur].mlen == 1) { opt 921 lib/zstd/zstd_opt.h litlen = opt[cur].litlen; opt 923 lib/zstd/zstd_opt.h price = opt[cur - litlen].price + ZSTD_getPrice(seqStorePtr, litlen, ip + cur - litlen, opt 929 lib/zstd/zstd_opt.h price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, matches[u].off - 1, mlen - MINMATCH, ultra); opt 932 lib/zstd/zstd_opt.h if (cur + mlen > last_pos || (price < opt[cur + mlen].price)) opt 940 lib/zstd/zstd_opt.h best_mlen = opt[last_pos].mlen; opt 941 lib/zstd/zstd_opt.h best_off = opt[last_pos].off; opt 946 lib/zstd/zstd_opt.h opt[0].mlen = 1; opt 949 lib/zstd/zstd_opt.h mlen = opt[cur].mlen; opt 950 lib/zstd/zstd_opt.h offset = opt[cur].off; opt 951 lib/zstd/zstd_opt.h opt[cur].mlen = best_mlen; opt 952 lib/zstd/zstd_opt.h opt[cur].off = best_off; opt 961 lib/zstd/zstd_opt.h u += opt[u].mlen; opt 965 lib/zstd/zstd_opt.h mlen = opt[cur].mlen; opt 971 lib/zstd/zstd_opt.h offset = opt[cur].off; opt 3418 mm/shmem.c int opt; opt 3420 mm/shmem.c opt = fs_parse(fc, &shmem_fs_parameters, param, &result); opt 3421 mm/shmem.c if (opt < 0) opt 3422 mm/shmem.c return opt; opt 3424 mm/shmem.c switch (opt) { opt 537 net/ax25/af_ax25.c unsigned long opt; opt 546 net/ax25/af_ax25.c if (get_user(opt, (unsigned int __user *)optval)) opt 555 net/ax25/af_ax25.c if (opt < 1 || opt > 7) { opt 560 net/ax25/af_ax25.c if (opt < 1 || opt > 63) { opt 565 net/ax25/af_ax25.c ax25->window = opt; opt 569 net/ax25/af_ax25.c if (opt < 1 || opt > ULONG_MAX / HZ) { opt 573 net/ax25/af_ax25.c ax25->rtt = (opt * HZ) >> 1; opt 574 net/ax25/af_ax25.c ax25->t1 = opt * HZ; opt 578 net/ax25/af_ax25.c if (opt < 1 || opt > ULONG_MAX / HZ) { opt 582 net/ax25/af_ax25.c ax25->t2 = opt * HZ; opt 586 net/ax25/af_ax25.c if (opt < 1 || opt > 31) { opt 590 net/ax25/af_ax25.c ax25->n2 = opt; opt 594 net/ax25/af_ax25.c if (opt < 1 || opt > ULONG_MAX / HZ) { opt 598 net/ax25/af_ax25.c ax25->t3 = opt * HZ; opt 602 net/ax25/af_ax25.c if (opt > ULONG_MAX / (60 * HZ)) { opt 606 net/ax25/af_ax25.c ax25->idle = opt * 60 * HZ; opt 610 net/ax25/af_ax25.c if (opt > 2) { opt 614 net/ax25/af_ax25.c ax25->backoff = opt; opt 618 net/ax25/af_ax25.c ax25->modulus = opt ? AX25_EMODULUS : AX25_MODULUS; opt 622 net/ax25/af_ax25.c ax25->pidincl = opt ? 1 : 0; opt 626 net/ax25/af_ax25.c ax25->iamdigi = opt ? 1 : 0; opt 630 net/ax25/af_ax25.c if (opt < 16 || opt > 65535) { opt 634 net/ax25/af_ax25.c ax25->paclen = opt; opt 185 net/bluetooth/hci_core.c static int hci_reset_req(struct hci_request *req, unsigned long opt) opt 187 net/bluetooth/hci_core.c BT_DBG("%s %ld", req->hdev->name, opt); opt 244 net/bluetooth/hci_core.c static int hci_init1_req(struct hci_request *req, unsigned long opt) opt 248 net/bluetooth/hci_core.c BT_DBG("%s %ld", hdev->name, opt); opt 415 net/bluetooth/hci_core.c static int hci_init2_req(struct hci_request *req, unsigned long opt) opt 584 net/bluetooth/hci_core.c static int hci_init3_req(struct hci_request *req, unsigned long opt) opt 789 net/bluetooth/hci_core.c static int hci_init4_req(struct hci_request *req, unsigned long opt) opt 921 net/bluetooth/hci_core.c static int hci_init0_req(struct hci_request *req, unsigned long opt) opt 925 net/bluetooth/hci_core.c BT_DBG("%s %ld", hdev->name, opt); opt 958 net/bluetooth/hci_core.c static int hci_scan_req(struct hci_request *req, unsigned long opt) opt 960 net/bluetooth/hci_core.c __u8 scan = opt; opt 969 net/bluetooth/hci_core.c static int hci_auth_req(struct hci_request *req, unsigned long opt) opt 971 net/bluetooth/hci_core.c __u8 auth = opt; opt 980 net/bluetooth/hci_core.c static int hci_encrypt_req(struct hci_request *req, unsigned long opt) opt 982 net/bluetooth/hci_core.c __u8 encrypt = opt; opt 991 net/bluetooth/hci_core.c static int hci_linkpol_req(struct hci_request *req, unsigned long opt) opt 993 net/bluetooth/hci_core.c __le16 policy = cpu_to_le16(opt); opt 1244 net/bluetooth/hci_core.c static int hci_inq_req(struct hci_request *req, unsigned long opt) opt 1246 net/bluetooth/hci_core.c struct hci_inquiry_req *ir = (struct hci_inquiry_req *) opt; opt 193 net/bluetooth/hci_request.c unsigned long opt), opt 194 net/bluetooth/hci_request.c unsigned long opt, u32 timeout, u8 *hci_status) opt 205 net/bluetooth/hci_request.c err = func(&req, opt); opt 269 net/bluetooth/hci_request.c unsigned long opt), opt 270 net/bluetooth/hci_request.c unsigned long opt, u32 timeout, u8 *hci_status) opt 279 net/bluetooth/hci_request.c ret = __hci_req_sync(hdev, req, opt, timeout, hci_status); opt 2034 net/bluetooth/hci_request.c static int update_scan(struct hci_request *req, unsigned long opt) opt 2049 net/bluetooth/hci_request.c static int connectable_update(struct hci_request *req, unsigned long opt) opt 2159 net/bluetooth/hci_request.c static int discoverable_update(struct hci_request *req, unsigned long opt) opt 2296 net/bluetooth/hci_request.c static int update_bg_scan(struct hci_request *req, unsigned long opt) opt 2325 net/bluetooth/hci_request.c static int le_scan_disable(struct hci_request *req, unsigned long opt) opt 2331 net/bluetooth/hci_request.c static int bredr_inquiry(struct hci_request *req, unsigned long opt) opt 2333 net/bluetooth/hci_request.c u8 length = opt; opt 2417 net/bluetooth/hci_request.c static int le_scan_restart(struct hci_request *req, unsigned long opt) opt 2498 net/bluetooth/hci_request.c static int active_scan(struct hci_request *req, unsigned long opt) opt 2500 net/bluetooth/hci_request.c uint16_t interval = opt; opt 2545 net/bluetooth/hci_request.c static int interleaved_discov(struct hci_request *req, unsigned long opt) opt 2551 net/bluetooth/hci_request.c err = active_scan(req, opt); opt 2674 net/bluetooth/hci_request.c static int stop_discovery(struct hci_request *req, unsigned long opt) opt 2734 net/bluetooth/hci_request.c static int powered_update_hci(struct hci_request *req, unsigned long opt) opt 52 net/bluetooth/hci_request.h unsigned long opt), opt 53 net/bluetooth/hci_request.h unsigned long opt, u32 timeout, u8 *hci_status); opt 55 net/bluetooth/hci_request.h unsigned long opt), opt 56 net/bluetooth/hci_request.h unsigned long opt, u32 timeout, u8 *hci_status); opt 1821 net/bluetooth/hci_sock.c int err = 0, opt = 0; opt 1837 net/bluetooth/hci_sock.c if (get_user(opt, (int __user *)optval)) { opt 1842 net/bluetooth/hci_sock.c if (opt) opt 1849 net/bluetooth/hci_sock.c if (get_user(opt, (int __user *)optval)) { opt 1854 net/bluetooth/hci_sock.c if (opt) opt 1907 net/bluetooth/hci_sock.c int len, opt, err = 0; opt 1927 net/bluetooth/hci_sock.c opt = 1; opt 1929 net/bluetooth/hci_sock.c opt = 0; opt 1931 net/bluetooth/hci_sock.c if (put_user(opt, optval)) opt 1937 net/bluetooth/hci_sock.c opt = 1; opt 1939 net/bluetooth/hci_sock.c opt = 0; opt 1941 net/bluetooth/hci_sock.c if (put_user(opt, optval)) opt 2991 net/bluetooth/l2cap_core.c struct l2cap_conf_opt *opt = *ptr; opt 2994 net/bluetooth/l2cap_core.c len = L2CAP_CONF_OPT_SIZE + opt->len; opt 2997 net/bluetooth/l2cap_core.c *type = opt->type; opt 2998 net/bluetooth/l2cap_core.c *olen = opt->len; opt 3000 net/bluetooth/l2cap_core.c switch (opt->len) { opt 3002 net/bluetooth/l2cap_core.c *val = *((u8 *) opt->val); opt 3006 net/bluetooth/l2cap_core.c *val = get_unaligned_le16(opt->val); opt 3010 net/bluetooth/l2cap_core.c *val = get_unaligned_le32(opt->val); opt 3014 net/bluetooth/l2cap_core.c *val = (unsigned long) opt->val; opt 3018 net/bluetooth/l2cap_core.c BT_DBG("type 0x%2.2x len %u val 0x%lx", *type, opt->len, *val); opt 3024 net/bluetooth/l2cap_core.c struct l2cap_conf_opt *opt = *ptr; opt 3031 net/bluetooth/l2cap_core.c opt->type = type; opt 3032 net/bluetooth/l2cap_core.c opt->len = len; opt 3036 net/bluetooth/l2cap_core.c *((u8 *) opt->val) = val; opt 3040 net/bluetooth/l2cap_core.c put_unaligned_le16(val, opt->val); opt 3044 net/bluetooth/l2cap_core.c put_unaligned_le32(val, opt->val); opt 3048 net/bluetooth/l2cap_core.c memcpy(opt->val, (void *) val, len); opt 400 net/bluetooth/l2cap_sock.c u32 opt; opt 439 net/bluetooth/l2cap_sock.c opt = L2CAP_LM_AUTH; opt 442 net/bluetooth/l2cap_sock.c opt = L2CAP_LM_AUTH | L2CAP_LM_ENCRYPT; opt 445 net/bluetooth/l2cap_sock.c opt = L2CAP_LM_AUTH | L2CAP_LM_ENCRYPT | opt 449 net/bluetooth/l2cap_sock.c opt = L2CAP_LM_AUTH | L2CAP_LM_ENCRYPT | opt 453 net/bluetooth/l2cap_sock.c opt = 0; opt 458 net/bluetooth/l2cap_sock.c opt |= L2CAP_LM_MASTER; opt 461 net/bluetooth/l2cap_sock.c opt |= L2CAP_LM_RELIABLE; opt 463 net/bluetooth/l2cap_sock.c if (put_user(opt, (u32 __user *) optval)) opt 638 net/bluetooth/l2cap_sock.c u32 opt; opt 706 net/bluetooth/l2cap_sock.c if (get_user(opt, (u32 __user *) optval)) { opt 711 net/bluetooth/l2cap_sock.c if (opt & L2CAP_LM_FIPS) { opt 716 net/bluetooth/l2cap_sock.c if (opt & L2CAP_LM_AUTH) opt 718 net/bluetooth/l2cap_sock.c if (opt & L2CAP_LM_ENCRYPT) opt 720 net/bluetooth/l2cap_sock.c if (opt & L2CAP_LM_SECURE) opt 723 net/bluetooth/l2cap_sock.c if (opt & L2CAP_LM_MASTER) opt 728 net/bluetooth/l2cap_sock.c if (opt & L2CAP_LM_RELIABLE) opt 752 net/bluetooth/l2cap_sock.c u32 opt; opt 824 net/bluetooth/l2cap_sock.c if (get_user(opt, (u32 __user *) optval)) { opt 829 net/bluetooth/l2cap_sock.c if (opt) { opt 839 net/bluetooth/l2cap_sock.c if (get_user(opt, (u32 __user *) optval)) { opt 844 net/bluetooth/l2cap_sock.c if (opt > BT_FLUSHABLE_ON) { opt 849 net/bluetooth/l2cap_sock.c if (opt == BT_FLUSHABLE_OFF) { opt 859 net/bluetooth/l2cap_sock.c if (opt) opt 887 net/bluetooth/l2cap_sock.c if (get_user(opt, (u32 __user *) optval)) { opt 892 net/bluetooth/l2cap_sock.c if (opt > BT_CHANNEL_POLICY_AMP_PREFERRED) { opt 903 net/bluetooth/l2cap_sock.c chan->chan_policy = (u8) opt; opt 934 net/bluetooth/l2cap_sock.c if (get_user(opt, (u16 __user *) optval)) { opt 939 net/bluetooth/l2cap_sock.c chan->imtu = opt; opt 654 net/bluetooth/rfcomm/sock.c u32 opt; opt 662 net/bluetooth/rfcomm/sock.c if (get_user(opt, (u32 __user *) optval)) { opt 667 net/bluetooth/rfcomm/sock.c if (opt & RFCOMM_LM_FIPS) { opt 672 net/bluetooth/rfcomm/sock.c if (opt & RFCOMM_LM_AUTH) opt 674 net/bluetooth/rfcomm/sock.c if (opt & RFCOMM_LM_ENCRYPT) opt 676 net/bluetooth/rfcomm/sock.c if (opt & RFCOMM_LM_SECURE) opt 679 net/bluetooth/rfcomm/sock.c rfcomm_pi(sk)->role_switch = (opt & RFCOMM_LM_MASTER); opt 697 net/bluetooth/rfcomm/sock.c u32 opt; opt 738 net/bluetooth/rfcomm/sock.c if (get_user(opt, (u32 __user *) optval)) { opt 743 net/bluetooth/rfcomm/sock.c if (opt) opt 766 net/bluetooth/rfcomm/sock.c u32 opt; opt 779 net/bluetooth/rfcomm/sock.c opt = RFCOMM_LM_AUTH; opt 782 net/bluetooth/rfcomm/sock.c opt = RFCOMM_LM_AUTH | RFCOMM_LM_ENCRYPT; opt 785 net/bluetooth/rfcomm/sock.c opt = RFCOMM_LM_AUTH | RFCOMM_LM_ENCRYPT | opt 789 net/bluetooth/rfcomm/sock.c opt = RFCOMM_LM_AUTH | RFCOMM_LM_ENCRYPT | opt 793 net/bluetooth/rfcomm/sock.c opt = 0; opt 798 net/bluetooth/rfcomm/sock.c opt |= RFCOMM_LM_MASTER; opt 800 net/bluetooth/rfcomm/sock.c if (put_user(opt, (u32 __user *) optval)) opt 799 net/bluetooth/sco.c u32 opt; opt 813 net/bluetooth/sco.c if (get_user(opt, (u32 __user *) optval)) { opt 818 net/bluetooth/sco.c if (opt) opt 206 net/bridge/br.c int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on, opt 209 net/bridge/br.c switch (opt) { opt 222 net/bridge/br.c int br_boolopt_get(const struct net_bridge *br, enum br_boolopt_id opt) opt 224 net/bridge/br.c switch (opt) { opt 272 net/bridge/br.c void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on) opt 274 net/bridge/br.c bool cur = !!br_opt_get(br, opt); opt 277 net/bridge/br.c opt, cur, on); opt 283 net/bridge/br.c set_bit(opt, &br->options); opt 285 net/bridge/br.c clear_bit(opt, &br->options); opt 278 net/bridge/br_arp_nd_proxy.c for (i = 0; i < ns_olen - 1; i += (ns->opt[i + 1] << 3)) { opt 279 net/bridge/br_arp_nd_proxy.c if (!ns->opt[i + 1]) { opt 283 net/bridge/br_arp_nd_proxy.c if (ns->opt[i] == ND_OPT_SOURCE_LL_ADDR) { opt 284 net/bridge/br_arp_nd_proxy.c daddr = ns->opt + i + sizeof(struct nd_opt_hdr); opt 321 net/bridge/br_arp_nd_proxy.c ether_addr_copy(&na->opt[2], n->ha); opt 322 net/bridge/br_arp_nd_proxy.c na->opt[0] = ND_OPT_TARGET_LL_ADDR; opt 323 net/bridge/br_arp_nd_proxy.c na->opt[1] = na_olen >> 3; opt 499 net/bridge/br_private.h enum net_bridge_opts opt) opt 501 net/bridge/br_private.h return test_bit(opt, &br->options); opt 504 net/bridge/br_private.h int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on, opt 506 net/bridge/br_private.h int br_boolopt_get(const struct net_bridge *br, enum br_boolopt_id opt); opt 512 net/bridge/br_private.h void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on); opt 673 net/caif/caif_socket.c int lvl, int opt, char __user *ov, unsigned int ol) opt 682 net/caif/caif_socket.c switch (opt) { opt 306 net/ceph/ceph_common.c void ceph_destroy_options(struct ceph_options *opt) opt 308 net/ceph/ceph_common.c dout("destroy_options %p\n", opt); opt 309 net/ceph/ceph_common.c kfree(opt->name); opt 310 net/ceph/ceph_common.c if (opt->key) { opt 311 net/ceph/ceph_common.c ceph_crypto_key_destroy(opt->key); opt 312 net/ceph/ceph_common.c kfree(opt->key); opt 314 net/ceph/ceph_common.c kfree(opt->mon_addr); opt 315 net/ceph/ceph_common.c kfree(opt); opt 370 net/ceph/ceph_common.c struct ceph_options *opt; opt 375 net/ceph/ceph_common.c opt = kzalloc(sizeof(*opt), GFP_KERNEL); opt 376 net/ceph/ceph_common.c if (!opt) opt 378 net/ceph/ceph_common.c opt->mon_addr = kcalloc(CEPH_MAX_MON, sizeof(*opt->mon_addr), opt 380 net/ceph/ceph_common.c if (!opt->mon_addr) opt 383 net/ceph/ceph_common.c dout("parse_options %p options '%s' dev_name '%s'\n", opt, options, opt 387 net/ceph/ceph_common.c opt->flags = CEPH_OPT_DEFAULT; opt 388 net/ceph/ceph_common.c opt->osd_keepalive_timeout = CEPH_OSD_KEEPALIVE_DEFAULT; opt 389 net/ceph/ceph_common.c opt->mount_timeout = CEPH_MOUNT_TIMEOUT_DEFAULT; opt 390 net/ceph/ceph_common.c opt->osd_idle_ttl = CEPH_OSD_IDLE_TTL_DEFAULT; opt 391 net/ceph/ceph_common.c opt->osd_request_timeout = CEPH_OSD_REQUEST_TIMEOUT_DEFAULT; opt 395 net/ceph/ceph_common.c err = ceph_parse_ips(dev_name, dev_name_end, opt->mon_addr, opt 396 net/ceph/ceph_common.c CEPH_MAX_MON, &opt->num_mon); opt 433 net/ceph/ceph_common.c &opt->my_addr, opt 437 net/ceph/ceph_common.c opt->flags |= CEPH_OPT_MYIP; opt 441 net/ceph/ceph_common.c err = parse_fsid(argstr[0].from, &opt->fsid); opt 443 net/ceph/ceph_common.c opt->flags |= CEPH_OPT_FSID; opt 446 net/ceph/ceph_common.c kfree(opt->name); opt 447 net/ceph/ceph_common.c opt->name = kstrndup(argstr[0].from, opt 450 net/ceph/ceph_common.c if (!opt->name) { opt 456 net/ceph/ceph_common.c ceph_crypto_key_destroy(opt->key); opt 457 net/ceph/ceph_common.c kfree(opt->key); opt 459 net/ceph/ceph_common.c opt->key = kzalloc(sizeof(*opt->key), GFP_KERNEL); opt 460 net/ceph/ceph_common.c if (!opt->key) { opt 464 net/ceph/ceph_common.c err = ceph_crypto_key_unarmor(opt->key, argstr[0].from); opt 469 net/ceph/ceph_common.c ceph_crypto_key_destroy(opt->key); opt 470 net/ceph/ceph_common.c kfree(opt->key); opt 472 net/ceph/ceph_common.c opt->key = kzalloc(sizeof(*opt->key), GFP_KERNEL); opt 473 net/ceph/ceph_common.c if (!opt->key) { opt 477 net/ceph/ceph_common.c err = get_secret(opt->key, argstr[0].from); opt 493 net/ceph/ceph_common.c opt->osd_keepalive_timeout = opt 503 net/ceph/ceph_common.c opt->osd_idle_ttl = msecs_to_jiffies(intval * 1000); opt 512 net/ceph/ceph_common.c opt->mount_timeout = msecs_to_jiffies(intval * 1000); opt 521 net/ceph/ceph_common.c opt->osd_request_timeout = msecs_to_jiffies(intval * 1000); opt 525 net/ceph/ceph_common.c opt->flags &= ~CEPH_OPT_NOSHARE; opt 528 net/ceph/ceph_common.c opt->flags |= CEPH_OPT_NOSHARE; opt 532 net/ceph/ceph_common.c opt->flags &= ~CEPH_OPT_NOCRC; opt 535 net/ceph/ceph_common.c opt->flags |= CEPH_OPT_NOCRC; opt 539 net/ceph/ceph_common.c opt->flags &= ~CEPH_OPT_NOMSGAUTH; opt 542 net/ceph/ceph_common.c opt->flags |= CEPH_OPT_NOMSGAUTH; opt 545 net/ceph/ceph_common.c opt->flags &= ~CEPH_OPT_NOMSGSIGN; opt 548 net/ceph/ceph_common.c opt->flags |= CEPH_OPT_NOMSGSIGN; opt 552 net/ceph/ceph_common.c opt->flags |= CEPH_OPT_TCP_NODELAY; opt 555 net/ceph/ceph_common.c opt->flags &= ~CEPH_OPT_TCP_NODELAY; opt 559 net/ceph/ceph_common.c opt->flags |= CEPH_OPT_ABORT_ON_FULL; opt 568 net/ceph/ceph_common.c return opt; opt 571 net/ceph/ceph_common.c ceph_destroy_options(opt); opt 579 net/ceph/ceph_common.c struct ceph_options *opt = client->options; opt 582 net/ceph/ceph_common.c if (opt->name) { opt 584 net/ceph/ceph_common.c seq_escape(m, opt->name, ", \t\n\\"); opt 587 net/ceph/ceph_common.c if (opt->key) opt 590 net/ceph/ceph_common.c if (opt->flags & CEPH_OPT_FSID) opt 591 net/ceph/ceph_common.c seq_printf(m, "fsid=%pU,", &opt->fsid); opt 592 net/ceph/ceph_common.c if (opt->flags & CEPH_OPT_NOSHARE) opt 594 net/ceph/ceph_common.c if (opt->flags & CEPH_OPT_NOCRC) opt 596 net/ceph/ceph_common.c if (opt->flags & CEPH_OPT_NOMSGAUTH) opt 598 net/ceph/ceph_common.c if (opt->flags & CEPH_OPT_NOMSGSIGN) opt 600 net/ceph/ceph_common.c if ((opt->flags & CEPH_OPT_TCP_NODELAY) == 0) opt 602 net/ceph/ceph_common.c if (show_all && (opt->flags & CEPH_OPT_ABORT_ON_FULL)) opt 605 net/ceph/ceph_common.c if (opt->mount_timeout != CEPH_MOUNT_TIMEOUT_DEFAULT) opt 607 net/ceph/ceph_common.c jiffies_to_msecs(opt->mount_timeout) / 1000); opt 608 net/ceph/ceph_common.c if (opt->osd_idle_ttl != CEPH_OSD_IDLE_TTL_DEFAULT) opt 610 net/ceph/ceph_common.c jiffies_to_msecs(opt->osd_idle_ttl) / 1000); opt 611 net/ceph/ceph_common.c if (opt->osd_keepalive_timeout != CEPH_OSD_KEEPALIVE_DEFAULT) opt 613 net/ceph/ceph_common.c jiffies_to_msecs(opt->osd_keepalive_timeout) / 1000); opt 614 net/ceph/ceph_common.c if (opt->osd_request_timeout != CEPH_OSD_REQUEST_TIMEOUT_DEFAULT) opt 616 net/ceph/ceph_common.c jiffies_to_msecs(opt->osd_request_timeout) / 1000); opt 641 net/ceph/ceph_common.c struct ceph_client *ceph_create_client(struct ceph_options *opt, void *private) opt 656 net/ceph/ceph_common.c client->options = opt; opt 1018 net/ceph/mon_client.c struct ceph_options *opt = monc->client->options; opt 1019 net/ceph/mon_client.c struct ceph_entity_addr *mon_addr = opt->mon_addr; opt 1020 net/ceph/mon_client.c int num_mon = opt->num_mon; opt 129 net/core/gen_estimator.c struct nlattr *opt) opt 131 net/core/gen_estimator.c struct gnet_estimator *parm = nla_data(opt); opt 136 net/core/gen_estimator.c if (nla_len(opt) < sizeof(*parm)) opt 226 net/core/gen_estimator.c seqcount_t *running, struct nlattr *opt) opt 229 net/core/gen_estimator.c lock, running, opt); opt 502 net/core/netpoll.c int netpoll_parse_options(struct netpoll *np, char *opt) opt 504 net/core/netpoll.c char *cur=opt, *delim; opt 63 net/dccp/ccid.h u8 opt, u8 *val, u8 len); opt 69 net/dccp/ccid.h u8 opt, u8 *val, u8 len); opt 200 net/dccp/ccid.h u8 pkt, u8 opt, u8 *val, u8 len) opt 204 net/dccp/ccid.h return ccid->ccid_ops->ccid_hc_tx_parse_options(sk, pkt, opt, val, len); opt 212 net/dccp/ccid.h u8 pkt, u8 opt, u8 *val, u8 len) opt 216 net/dccp/ccid.h return ccid->ccid_ops->ccid_hc_rx_parse_options(sk, pkt, opt, val, len); opt 241 net/dccp/feat.c static const char *dccp_feat_oname(const u8 opt) opt 243 net/dccp/feat.c switch (opt) { opt 286 net/dccp/feat.c #define dccp_feat_print_opt(opt, feat, val, len, mandatory) do { \ opt 287 net/dccp/feat.c dccp_pr_debug("%s(%s, ", dccp_feat_oname(opt), dccp_feat_fname(feat));\ opt 299 net/dccp/feat.c #define dccp_feat_print_opt(opt, feat, val, len, mandatory) opt 634 net/dccp/feat.c u8 opt, type, len, *ptr, nn_in_nbo[DCCP_OPTVAL_MAXLEN]; opt 639 net/dccp/feat.c opt = dccp_feat_genopt(pos); opt 660 net/dccp/feat.c dccp_feat_print_opt(opt, pos->feat_num, ptr, len, 0); opt 662 net/dccp/feat.c if (dccp_insert_fn_opt(skb, opt, pos->feat_num, ptr, len, rpt)) opt 668 net/dccp/feat.c (opt == DCCPO_CONFIRM_R || opt == DCCPO_CONFIRM_L)) { opt 1097 net/dccp/feat.c static u8 dccp_feat_change_recv(struct list_head *fn, u8 is_mandatory, u8 opt, opt 1101 net/dccp/feat.c const bool local = (opt == DCCPO_CHANGE_R); opt 1108 net/dccp/feat.c dccp_feat_print_opt(opt, feat, val, len, is_mandatory); opt 1208 net/dccp/feat.c static u8 dccp_feat_confirm_recv(struct list_head *fn, u8 is_mandatory, u8 opt, opt 1212 net/dccp/feat.c const bool local = (opt == DCCPO_CONFIRM_R); opt 1215 net/dccp/feat.c dccp_feat_print_opt(opt, feat, val, len, is_mandatory); opt 1305 net/dccp/feat.c static u8 dccp_feat_handle_nn_established(struct sock *sk, u8 mandatory, u8 opt, opt 1309 net/dccp/feat.c const bool local = (opt == DCCPO_CONFIRM_R); opt 1314 net/dccp/feat.c dccp_feat_print_opt(opt, feat, val, len, mandatory); opt 1334 net/dccp/feat.c if (opt == DCCPO_CHANGE_L) { opt 1346 net/dccp/feat.c } else if (opt == DCCPO_CONFIRM_R) { opt 1368 net/dccp/feat.c DCCP_WARN("Received illegal option %u\n", opt); opt 1395 net/dccp/feat.c u8 mandatory, u8 opt, u8 feat, u8 *val, u8 len) opt 1408 net/dccp/feat.c switch (opt) { opt 1411 net/dccp/feat.c return dccp_feat_change_recv(fn, mandatory, opt, feat, opt 1415 net/dccp/feat.c return dccp_feat_confirm_recv(fn, mandatory, opt, feat, opt 1424 net/dccp/feat.c return dccp_feat_handle_nn_established(sk, mandatory, opt, feat, opt 112 net/dccp/feat.h u8 mand, u8 opt, u8 feat, u8 *val, u8 len); opt 62 net/dccp/ipv4.c if (inet_opt != NULL && inet_opt->opt.srr) { opt 65 net/dccp/ipv4.c nexthop = inet_opt->opt.faddr; opt 83 net/dccp/ipv4.c if (inet_opt == NULL || !inet_opt->opt.srr) opt 94 net/dccp/ipv4.c inet_csk(sk)->icsk_ext_hdr_len = inet_opt->opt.optlen; opt 67 net/dccp/ipv6.c static int dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 210 net/dccp/ipv6.c final_p = fl6_update_dst(&fl6, rcu_dereference(np->opt), &final); opt 223 net/dccp/ipv6.c struct ipv6_txoptions *opt; opt 230 net/dccp/ipv6.c opt = ireq->ipv6_opt; opt 231 net/dccp/ipv6.c if (!opt) opt 232 net/dccp/ipv6.c opt = rcu_dereference(np->opt); opt 233 net/dccp/ipv6.c err = ip6_xmit(sk, skb, &fl6, sk->sk_mark, opt, np->tclass, opt 406 net/dccp/ipv6.c struct ipv6_txoptions *opt; opt 432 net/dccp/ipv6.c newnp->opt = NULL; opt 504 net/dccp/ipv6.c newnp->opt = NULL; opt 514 net/dccp/ipv6.c opt = ireq->ipv6_opt; opt 515 net/dccp/ipv6.c if (!opt) opt 516 net/dccp/ipv6.c opt = rcu_dereference(np->opt); opt 517 net/dccp/ipv6.c if (opt) { opt 518 net/dccp/ipv6.c opt = ipv6_dup_options(newsk, opt); opt 519 net/dccp/ipv6.c RCU_INIT_POINTER(newnp->opt, opt); opt 522 net/dccp/ipv6.c if (opt) opt 523 net/dccp/ipv6.c inet_csk(newsk)->icsk_ext_hdr_len = opt->opt_nflen + opt 524 net/dccp/ipv6.c opt->opt_flen; opt 812 net/dccp/ipv6.c struct ipv6_txoptions *opt; opt 912 net/dccp/ipv6.c opt = rcu_dereference_protected(np->opt, lockdep_sock_is_held(sk)); opt 913 net/dccp/ipv6.c final_p = fl6_update_dst(&fl6, opt, &final); opt 933 net/dccp/ipv6.c if (opt) opt 934 net/dccp/ipv6.c icsk->icsk_ext_hdr_len = opt->opt_flen + opt->opt_nflen; opt 58 net/dccp/options.c unsigned char opt, len; opt 67 net/dccp/options.c opt = len = 0; opt 69 net/dccp/options.c opt = *opt_ptr++; opt 74 net/dccp/options.c if (opt > DCCPO_MAX_RESERVED) { opt 98 net/dccp/options.c if (dreq != NULL && (opt >= DCCPO_MIN_RX_CCID_SPECIFIC || opt 99 net/dccp/options.c opt == DCCPO_ACK_VECTOR_0 || opt == DCCPO_ACK_VECTOR_1)) opt 102 net/dccp/options.c switch (opt) { opt 124 net/dccp/options.c rc = dccp_feat_parse_options(sk, dreq, mandatory, opt, opt 215 net/dccp/options.c pkt_type, opt, value, len)) opt 230 net/dccp/options.c pkt_type, opt, value, len)) opt 235 net/dccp/options.c "implemented, ignoring", sk, opt, len); opt 239 net/dccp/options.c if (opt != DCCPO_MANDATORY) opt 255 net/dccp/options.c DCCP_WARN("DCCP(%p): Option %d (len=%d) error=%u\n", sk, opt, len, rc); opt 257 net/dccp/options.c DCCP_SKB_CB(skb)->dccpd_reset_data[0] = opt; opt 1020 net/decnet/af_decnet.c static void dn_user_copy(struct sk_buff *skb, struct optdata_dn *opt) opt 1026 net/decnet/af_decnet.c opt->opt_optl = cpu_to_le16(len); opt 1027 net/decnet/af_decnet.c opt->opt_status = 0; opt 1028 net/decnet/af_decnet.c memcpy(opt->opt_data, ptr, len); opt 1347 net/decnet/af_decnet.c struct optdata_dn opt; opt 1376 net/decnet/af_decnet.c if (le16_to_cpu(u.opt.opt_optl) > 16) opt 1379 net/decnet/af_decnet.c memcpy(&scp->conndata_out, &u.opt, optlen); opt 1390 net/decnet/af_decnet.c if (le16_to_cpu(u.opt.opt_optl) > 16) opt 1393 net/decnet/af_decnet.c memcpy(&scp->discdata_out, &u.opt, optlen); opt 99 net/dns_resolver/dns_key.c const char *data = prep->data, *end, *opt; opt 137 net/dns_resolver/dns_key.c opt = memchr(data, '#', datalen); opt 138 net/dns_resolver/dns_key.c if (!opt) { opt 145 net/dns_resolver/dns_key.c result_len = opt - data; opt 146 net/dns_resolver/dns_key.c opt++; opt 147 net/dns_resolver/dns_key.c kdebug("options: '%s'", opt); opt 153 net/dns_resolver/dns_key.c next_opt = memchr(opt, '#', end - opt) ?: end; opt 154 net/dns_resolver/dns_key.c opt_len = next_opt - opt; opt 161 net/dns_resolver/dns_key.c eq = memchr(opt, '=', opt_len); opt 163 net/dns_resolver/dns_key.c opt_nlen = eq - opt; opt 173 net/dns_resolver/dns_key.c opt_nlen, opt_nlen, opt, optval); opt 178 net/dns_resolver/dns_key.c memcmp(opt, DNS_ERRORNO_OPTION, opt_nlen) == 0) { opt 195 net/dns_resolver/dns_key.c opt_nlen, opt_nlen, opt); opt 197 net/dns_resolver/dns_key.c } while (opt = next_opt + 1, opt < end); opt 484 net/ieee802154/nl802154.c rdev->wpan_phy.cca.opt)) opt 1007 net/ieee802154/nl802154.c cca.opt = nla_get_u32(info->attrs[NL802154_ATTR_CCA_OPT]); opt 1008 net/ieee802154/nl802154.c if (cca.opt > NL802154_CCA_OPT_ATTR_MAX || opt 1009 net/ieee802154/nl802154.c !(rdev->wpan_phy.supported.cca_opts & BIT(cca.opt))) opt 33 net/ieee802154/trace.h (__entry->cca_opt) = cca->opt; \ opt 1200 net/ipv4/af_inet.c if (inet_opt && inet_opt->opt.srr) opt 1201 net/ipv4/af_inet.c daddr = inet_opt->opt.faddr; opt 1253 net/ipv4/af_inet.c if (inet_opt && inet_opt->opt.srr) opt 1254 net/ipv4/af_inet.c daddr = inet_opt->opt.faddr; opt 1557 net/ipv4/cipso_ipv4.c unsigned char *opt = *option; opt 1567 net/ipv4/cipso_ipv4.c opt_len = opt[1]; opt 1574 net/ipv4/cipso_ipv4.c doi_def = cipso_v4_doi_search(get_unaligned_be32(&opt[2])); opt 1581 net/ipv4/cipso_ipv4.c tag = opt + opt_iter; opt 1694 net/ipv4/cipso_ipv4.c *option = opt + err_offset; opt 1728 net/ipv4/cipso_ipv4.c struct ip_options *opt = (struct ip_options *)optbuf; opt 1739 net/ipv4/cipso_ipv4.c memset(opt, 0, sizeof(struct ip_options)); opt 1740 net/ipv4/cipso_ipv4.c opt->optlen = ip_hdr(skb)->ihl*4 - sizeof(struct iphdr); opt 1742 net/ipv4/cipso_ipv4.c res = __ip_options_compile(dev_net(skb->dev), opt, skb, NULL); opt 1749 net/ipv4/cipso_ipv4.c __icmp_send(skb, ICMP_DEST_UNREACH, ICMP_NET_ANO, 0, opt); opt 1751 net/ipv4/cipso_ipv4.c __icmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_ANO, 0, opt); opt 1844 net/ipv4/cipso_ipv4.c struct ip_options_rcu *old, *opt = NULL; opt 1875 net/ipv4/cipso_ipv4.c opt = kzalloc(sizeof(*opt) + opt_len, GFP_ATOMIC); opt 1876 net/ipv4/cipso_ipv4.c if (!opt) { opt 1880 net/ipv4/cipso_ipv4.c memcpy(opt->opt.__data, buf, buf_len); opt 1881 net/ipv4/cipso_ipv4.c opt->opt.optlen = opt_len; opt 1882 net/ipv4/cipso_ipv4.c opt->opt.cipso = sizeof(struct iphdr); opt 1893 net/ipv4/cipso_ipv4.c sk_conn->icsk_ext_hdr_len -= old->opt.optlen; opt 1894 net/ipv4/cipso_ipv4.c sk_conn->icsk_ext_hdr_len += opt->opt.optlen; opt 1897 net/ipv4/cipso_ipv4.c rcu_assign_pointer(sk_inet->inet_opt, opt); opt 1905 net/ipv4/cipso_ipv4.c kfree(opt); opt 1929 net/ipv4/cipso_ipv4.c struct ip_options_rcu *opt = NULL; opt 1952 net/ipv4/cipso_ipv4.c opt = kzalloc(sizeof(*opt) + opt_len, GFP_ATOMIC); opt 1953 net/ipv4/cipso_ipv4.c if (!opt) { opt 1957 net/ipv4/cipso_ipv4.c memcpy(opt->opt.__data, buf, buf_len); opt 1958 net/ipv4/cipso_ipv4.c opt->opt.optlen = opt_len; opt 1959 net/ipv4/cipso_ipv4.c opt->opt.cipso = sizeof(struct iphdr); opt 1964 net/ipv4/cipso_ipv4.c opt = xchg((__force struct ip_options_rcu **)&req_inet->ireq_opt, opt); opt 1965 net/ipv4/cipso_ipv4.c if (opt) opt 1966 net/ipv4/cipso_ipv4.c kfree_rcu(opt, rcu); opt 1972 net/ipv4/cipso_ipv4.c kfree(opt); opt 1988 net/ipv4/cipso_ipv4.c struct ip_options_rcu *opt = rcu_dereference_protected(*opt_ptr, 1); opt 1991 net/ipv4/cipso_ipv4.c if (!opt || opt->opt.cipso == 0) opt 1993 net/ipv4/cipso_ipv4.c if (opt->opt.srr || opt->opt.rr || opt->opt.ts || opt->opt.router_alert) { opt 2000 net/ipv4/cipso_ipv4.c cipso_off = opt->opt.cipso - sizeof(struct iphdr); opt 2001 net/ipv4/cipso_ipv4.c cipso_ptr = &opt->opt.__data[cipso_off]; opt 2004 net/ipv4/cipso_ipv4.c if (opt->opt.srr > opt->opt.cipso) opt 2005 net/ipv4/cipso_ipv4.c opt->opt.srr -= cipso_len; opt 2006 net/ipv4/cipso_ipv4.c if (opt->opt.rr > opt->opt.cipso) opt 2007 net/ipv4/cipso_ipv4.c opt->opt.rr -= cipso_len; opt 2008 net/ipv4/cipso_ipv4.c if (opt->opt.ts > opt->opt.cipso) opt 2009 net/ipv4/cipso_ipv4.c opt->opt.ts -= cipso_len; opt 2010 net/ipv4/cipso_ipv4.c if (opt->opt.router_alert > opt->opt.cipso) opt 2011 net/ipv4/cipso_ipv4.c opt->opt.router_alert -= cipso_len; opt 2012 net/ipv4/cipso_ipv4.c opt->opt.cipso = 0; opt 2015 net/ipv4/cipso_ipv4.c opt->opt.optlen - cipso_off - cipso_len); opt 2024 net/ipv4/cipso_ipv4.c while (iter < opt->opt.optlen) opt 2025 net/ipv4/cipso_ipv4.c if (opt->opt.__data[iter] != IPOPT_NOP) { opt 2026 net/ipv4/cipso_ipv4.c iter += opt->opt.__data[iter + 1]; opt 2030 net/ipv4/cipso_ipv4.c hdr_delta = opt->opt.optlen; opt 2031 net/ipv4/cipso_ipv4.c opt->opt.optlen = (optlen_new + 3) & ~3; opt 2032 net/ipv4/cipso_ipv4.c hdr_delta -= opt->opt.optlen; opt 2037 net/ipv4/cipso_ipv4.c hdr_delta = opt->opt.optlen; opt 2038 net/ipv4/cipso_ipv4.c kfree_rcu(opt, rcu); opt 2144 net/ipv4/cipso_ipv4.c struct ip_options_rcu *opt; opt 2148 net/ipv4/cipso_ipv4.c opt = rcu_dereference(inet_sk(sk)->inet_opt); opt 2149 net/ipv4/cipso_ipv4.c if (opt && opt->opt.cipso) opt 2150 net/ipv4/cipso_ipv4.c res = cipso_v4_getattr(opt->opt.__data + opt 2151 net/ipv4/cipso_ipv4.c opt->opt.cipso - opt 2174 net/ipv4/cipso_ipv4.c struct ip_options *opt = &IPCB(skb)->opt; opt 2192 net/ipv4/cipso_ipv4.c len_delta = opt_len - opt->optlen; opt 2210 net/ipv4/cipso_ipv4.c memset(iph + 1, IPOPT_NOP, opt->optlen); opt 2214 net/ipv4/cipso_ipv4.c if (opt->optlen > 0) opt 2215 net/ipv4/cipso_ipv4.c memset(opt, 0, sizeof(*opt)); opt 2216 net/ipv4/cipso_ipv4.c opt->optlen = opt_len; opt 2217 net/ipv4/cipso_ipv4.c opt->cipso = sizeof(struct iphdr); opt 2218 net/ipv4/cipso_ipv4.c opt->is_changed = 1; opt 2250 net/ipv4/cipso_ipv4.c struct ip_options *opt = &IPCB(skb)->opt; opt 2253 net/ipv4/cipso_ipv4.c if (opt->cipso == 0) opt 2266 net/ipv4/cipso_ipv4.c cipso_ptr = (unsigned char *)iph + opt->cipso; opt 2268 net/ipv4/cipso_ipv4.c opt->cipso = 0; opt 2269 net/ipv4/cipso_ipv4.c opt->is_changed = 1; opt 117 net/ipv4/datagram.c if (inet_opt && inet_opt->opt.srr) opt 118 net/ipv4/datagram.c daddr = inet_opt->opt.faddr; opt 411 net/ipv4/icmp.c if (ip_options_echo(net, &icmp_param->replyopts.opt.opt, skb)) opt 434 net/ipv4/icmp.c if (icmp_param->replyopts.opt.opt.optlen) { opt 435 net/ipv4/icmp.c ipc.opt = &icmp_param->replyopts.opt; opt 436 net/ipv4/icmp.c if (ipc.opt->opt.srr) opt 437 net/ipv4/icmp.c daddr = icmp_param->replyopts.opt.opt.faddr; opt 473 net/ipv4/icmp.c fl4->daddr = (param->replyopts.opt.opt.srr ? opt 474 net/ipv4/icmp.c param->replyopts.opt.opt.faddr : iph->saddr); opt 570 net/ipv4/icmp.c const struct ip_options *opt) opt 697 net/ipv4/icmp.c if (__ip_options_echo(net, &icmp_param.replyopts.opt.opt, skb_in, opt)) opt 715 net/ipv4/icmp.c ipc.opt = &icmp_param.replyopts.opt; opt 731 net/ipv4/icmp.c room -= sizeof(struct iphdr) + icmp_param.replyopts.opt.opt.optlen; opt 572 net/ipv4/inet_connection_sock.c struct ip_options_rcu *opt; opt 576 net/ipv4/inet_connection_sock.c opt = rcu_dereference(ireq->ireq_opt); opt 581 net/ipv4/inet_connection_sock.c (opt && opt->opt.srr) ? opt->opt.faddr : ireq->ir_rmt_addr, opt 588 net/ipv4/inet_connection_sock.c if (opt && opt->opt.is_strictroute && rt->rt_uses_gateway) opt 609 net/ipv4/inet_connection_sock.c struct ip_options_rcu *opt; opt 613 net/ipv4/inet_connection_sock.c opt = rcu_dereference(ireq->ireq_opt); opt 619 net/ipv4/inet_connection_sock.c (opt && opt->opt.srr) ? opt->opt.faddr : ireq->ir_rmt_addr, opt 626 net/ipv4/inet_connection_sock.c if (opt && opt->opt.is_strictroute && rt->rt_uses_gateway) opt 1088 net/ipv4/inet_connection_sock.c if (inet_opt && inet_opt->opt.srr) opt 1089 net/ipv4/inet_connection_sock.c daddr = inet_opt->opt.faddr; opt 67 net/ipv4/ip_forward.c struct ip_options *opt = &(IPCB(skb)->opt); opt 79 net/ipv4/ip_forward.c if (unlikely(opt->optlen)) opt 91 net/ipv4/ip_forward.c struct ip_options *opt = &(IPCB(skb)->opt); opt 107 net/ipv4/ip_forward.c if (IPCB(skb)->opt.router_alert && ip_call_ra_chain(skb)) opt 126 net/ipv4/ip_forward.c if (opt->is_strictroute && rt->rt_uses_gateway) opt 150 net/ipv4/ip_forward.c if (IPCB(skb)->flags & IPSKB_DOREDIRECT && !opt->srr && opt 259 net/ipv4/ip_input.c struct ip_options *opt; opt 275 net/ipv4/ip_input.c opt = &(IPCB(skb)->opt); opt 276 net/ipv4/ip_input.c opt->optlen = iph->ihl*4 - sizeof(struct iphdr); opt 278 net/ipv4/ip_input.c if (ip_options_compile(dev_net(dev), opt, skb)) { opt 283 net/ipv4/ip_input.c if (unlikely(opt->srr)) { opt 44 net/ipv4/ip_options.c void ip_options_build(struct sk_buff *skb, struct ip_options *opt, opt 49 net/ipv4/ip_options.c memcpy(&(IPCB(skb)->opt), opt, sizeof(struct ip_options)); opt 50 net/ipv4/ip_options.c memcpy(iph+sizeof(struct iphdr), opt->__data, opt->optlen); opt 51 net/ipv4/ip_options.c opt = &(IPCB(skb)->opt); opt 53 net/ipv4/ip_options.c if (opt->srr) opt 54 net/ipv4/ip_options.c memcpy(iph+opt->srr+iph[opt->srr+1]-4, &daddr, 4); opt 57 net/ipv4/ip_options.c if (opt->rr_needaddr) opt 58 net/ipv4/ip_options.c ip_rt_get_source(iph+opt->rr+iph[opt->rr+2]-5, skb, rt); opt 59 net/ipv4/ip_options.c if (opt->ts_needaddr) opt 60 net/ipv4/ip_options.c ip_rt_get_source(iph+opt->ts+iph[opt->ts+2]-9, skb, rt); opt 61 net/ipv4/ip_options.c if (opt->ts_needtime) { opt 65 net/ipv4/ip_options.c memcpy(iph+opt->ts+iph[opt->ts+2]-5, &midtime, 4); opt 69 net/ipv4/ip_options.c if (opt->rr) { opt 70 net/ipv4/ip_options.c memset(iph+opt->rr, IPOPT_NOP, iph[opt->rr+1]); opt 71 net/ipv4/ip_options.c opt->rr = 0; opt 72 net/ipv4/ip_options.c opt->rr_needaddr = 0; opt 74 net/ipv4/ip_options.c if (opt->ts) { opt 75 net/ipv4/ip_options.c memset(iph+opt->ts, IPOPT_NOP, iph[opt->ts+1]); opt 76 net/ipv4/ip_options.c opt->ts = 0; opt 77 net/ipv4/ip_options.c opt->ts_needaddr = opt->ts_needtime = 0; opt 211 net/ipv4/ip_options.c struct ip_options *opt = &(IPCB(skb)->opt); opt 212 net/ipv4/ip_options.c int l = opt->optlen; opt 232 net/ipv4/ip_options.c opt->ts = 0; opt 233 net/ipv4/ip_options.c opt->rr = 0; opt 234 net/ipv4/ip_options.c opt->rr_needaddr = 0; opt 235 net/ipv4/ip_options.c opt->ts_needaddr = 0; opt 236 net/ipv4/ip_options.c opt->ts_needtime = 0; opt 255 net/ipv4/ip_options.c struct ip_options *opt, struct sk_buff *skb, opt 269 net/ipv4/ip_options.c optptr = opt->__data; opt 272 net/ipv4/ip_options.c for (l = opt->optlen; l > 0; ) { opt 278 net/ipv4/ip_options.c opt->is_changed = 1; opt 308 net/ipv4/ip_options.c if (opt->srr) { opt 317 net/ipv4/ip_options.c memcpy(&opt->faddr, &optptr[3], 4); opt 321 net/ipv4/ip_options.c opt->is_strictroute = (optptr[0] == IPOPT_SSRR); opt 322 net/ipv4/ip_options.c opt->srr = optptr - iph; opt 325 net/ipv4/ip_options.c if (opt->rr) { opt 345 net/ipv4/ip_options.c opt->is_changed = 1; opt 348 net/ipv4/ip_options.c opt->rr_needaddr = 1; opt 350 net/ipv4/ip_options.c opt->rr = optptr - iph; opt 353 net/ipv4/ip_options.c if (opt->ts) { opt 375 net/ipv4/ip_options.c opt->ts_needtime = 1; opt 388 net/ipv4/ip_options.c opt->ts_needaddr = 1; opt 389 net/ipv4/ip_options.c opt->ts_needtime = 1; opt 405 net/ipv4/ip_options.c opt->ts_needtime = 1; opt 420 net/ipv4/ip_options.c opt->is_changed = 1; opt 430 net/ipv4/ip_options.c opt->is_changed = 1; opt 433 net/ipv4/ip_options.c opt->ts = optptr - iph; opt 441 net/ipv4/ip_options.c opt->router_alert = optptr - iph; opt 444 net/ipv4/ip_options.c if ((!skb && !ns_capable(net->user_ns, CAP_NET_RAW)) || opt->cipso) { opt 448 net/ipv4/ip_options.c opt->cipso = optptr - iph; opt 479 net/ipv4/ip_options.c struct ip_options *opt, struct sk_buff *skb) opt 484 net/ipv4/ip_options.c ret = __ip_options_compile(net, opt, skb, &info); opt 495 net/ipv4/ip_options.c void ip_options_undo(struct ip_options *opt) opt 497 net/ipv4/ip_options.c if (opt->srr) { opt 498 net/ipv4/ip_options.c unsigned char *optptr = opt->__data+opt->srr-sizeof(struct iphdr); opt 500 net/ipv4/ip_options.c memcpy(optptr+3, &opt->faddr, 4); opt 502 net/ipv4/ip_options.c if (opt->rr_needaddr) { opt 503 net/ipv4/ip_options.c unsigned char *optptr = opt->__data+opt->rr-sizeof(struct iphdr); opt 507 net/ipv4/ip_options.c if (opt->ts) { opt 508 net/ipv4/ip_options.c unsigned char *optptr = opt->__data+opt->ts-sizeof(struct iphdr); opt 509 net/ipv4/ip_options.c if (opt->ts_needtime) { opt 515 net/ipv4/ip_options.c if (opt->ts_needaddr) { opt 529 net/ipv4/ip_options.c struct ip_options_rcu *opt, int optlen) opt 532 net/ipv4/ip_options.c opt->opt.__data[optlen++] = IPOPT_END; opt 533 net/ipv4/ip_options.c opt->opt.optlen = optlen; opt 534 net/ipv4/ip_options.c if (optlen && ip_options_compile(net, &opt->opt, NULL)) { opt 535 net/ipv4/ip_options.c kfree(opt); opt 539 net/ipv4/ip_options.c *optp = opt; opt 546 net/ipv4/ip_options.c struct ip_options_rcu *opt = ip_options_get_alloc(optlen); opt 548 net/ipv4/ip_options.c if (!opt) opt 550 net/ipv4/ip_options.c if (optlen && copy_from_user(opt->opt.__data, data, optlen)) { opt 551 net/ipv4/ip_options.c kfree(opt); opt 554 net/ipv4/ip_options.c return ip_options_get_finish(net, optp, opt, optlen); opt 560 net/ipv4/ip_options.c struct ip_options_rcu *opt = ip_options_get_alloc(optlen); opt 562 net/ipv4/ip_options.c if (!opt) opt 565 net/ipv4/ip_options.c memcpy(opt->opt.__data, data, optlen); opt 566 net/ipv4/ip_options.c return ip_options_get_finish(net, optp, opt, optlen); opt 571 net/ipv4/ip_options.c struct ip_options *opt = &(IPCB(skb)->opt); opt 576 net/ipv4/ip_options.c if (opt->rr_needaddr) { opt 577 net/ipv4/ip_options.c optptr = (unsigned char *)raw + opt->rr; opt 579 net/ipv4/ip_options.c opt->is_changed = 1; opt 581 net/ipv4/ip_options.c if (opt->srr_is_hit) { opt 584 net/ipv4/ip_options.c optptr = raw + opt->srr; opt 592 net/ipv4/ip_options.c if (memcmp(&opt->nexthop, &optptr[srrptr-1], 4) == 0) opt 596 net/ipv4/ip_options.c opt->is_changed = 1; opt 597 net/ipv4/ip_options.c ip_hdr(skb)->daddr = opt->nexthop; opt 604 net/ipv4/ip_options.c if (opt->ts_needaddr) { opt 605 net/ipv4/ip_options.c optptr = raw + opt->ts; opt 607 net/ipv4/ip_options.c opt->is_changed = 1; opt 610 net/ipv4/ip_options.c if (opt->is_changed) { opt 611 net/ipv4/ip_options.c opt->is_changed = 0; opt 618 net/ipv4/ip_options.c struct ip_options *opt = &(IPCB(skb)->opt); opt 622 net/ipv4/ip_options.c unsigned char *optptr = skb_network_header(skb) + opt->srr; opt 634 net/ipv4/ip_options.c if (!opt->is_strictroute) opt 644 net/ipv4/ip_options.c icmp_send(skb, ICMP_PARAMETERPROB, 0, htonl((opt->srr+2)<<24)); opt 663 net/ipv4/ip_options.c opt->is_changed = 1; opt 666 net/ipv4/ip_options.c opt->srr_is_hit = 1; opt 667 net/ipv4/ip_options.c opt->nexthop = nexthop; opt 668 net/ipv4/ip_options.c opt->is_changed = 1; opt 145 net/ipv4/ip_output.c __be32 saddr, __be32 daddr, struct ip_options_rcu *opt) opt 153 net/ipv4/ip_output.c skb_push(skb, sizeof(struct iphdr) + (opt ? opt->opt.optlen : 0)); opt 160 net/ipv4/ip_output.c iph->daddr = (opt && opt->opt.srr ? opt->opt.faddr : daddr); opt 171 net/ipv4/ip_output.c if (opt && opt->opt.optlen) { opt 172 net/ipv4/ip_output.c iph->ihl += opt->opt.optlen>>2; opt 173 net/ipv4/ip_output.c ip_options_build(skb, &opt->opt, daddr, rt, 0); opt 481 net/ipv4/ip_output.c if (inet_opt && inet_opt->opt.srr) opt 482 net/ipv4/ip_output.c daddr = inet_opt->opt.faddr; opt 502 net/ipv4/ip_output.c if (inet_opt && inet_opt->opt.is_strictroute && rt->rt_uses_gateway) opt 506 net/ipv4/ip_output.c skb_push(skb, sizeof(struct iphdr) + (inet_opt ? inet_opt->opt.optlen : 0)); opt 520 net/ipv4/ip_output.c if (inet_opt && inet_opt->opt.optlen) { opt 521 net/ipv4/ip_output.c iph->ihl += inet_opt->opt.optlen >> 2; opt 522 net/ipv4/ip_output.c ip_options_build(skb, &inet_opt->opt, inet->inet_daddr, rt, 0); opt 967 net/ipv4/ip_output.c struct ip_options *opt = cork->opt; opt 993 net/ipv4/ip_output.c fragheaderlen = sizeof(struct iphdr) + (opt ? opt->optlen : 0); opt 999 net/ipv4/ip_output.c mtu - (opt ? opt->optlen : 0)); opt 1238 net/ipv4/ip_output.c struct ip_options_rcu *opt; opt 1248 net/ipv4/ip_output.c opt = ipc->opt; opt 1249 net/ipv4/ip_output.c if (opt) { opt 1250 net/ipv4/ip_output.c if (!cork->opt) { opt 1251 net/ipv4/ip_output.c cork->opt = kmalloc(sizeof(struct ip_options) + 40, opt 1253 net/ipv4/ip_output.c if (unlikely(!cork->opt)) opt 1256 net/ipv4/ip_output.c memcpy(cork->opt, &opt->opt, sizeof(struct ip_options) + opt->opt.optlen); opt 1328 net/ipv4/ip_output.c struct ip_options *opt = NULL; opt 1348 net/ipv4/ip_output.c opt = cork->opt; opt 1356 net/ipv4/ip_output.c fragheaderlen = sizeof(struct iphdr) + (opt ? opt->optlen : 0); opt 1362 net/ipv4/ip_output.c mtu - (opt ? opt->optlen : 0)); opt 1455 net/ipv4/ip_output.c kfree(cork->opt); opt 1456 net/ipv4/ip_output.c cork->opt = NULL; opt 1474 net/ipv4/ip_output.c struct ip_options *opt = NULL; opt 1515 net/ipv4/ip_output.c opt = cork->opt; opt 1534 net/ipv4/ip_output.c if (opt) { opt 1535 net/ipv4/ip_output.c iph->ihl += opt->optlen>>2; opt 1536 net/ipv4/ip_output.c ip_options_build(skb, opt, cork->addr, rt, 0); opt 1623 net/ipv4/ip_output.c cork->opt = NULL; opt 1671 net/ipv4/ip_output.c if (__ip_options_echo(net, &replyopts.opt.opt, skb, sopt)) opt 1678 net/ipv4/ip_output.c if (replyopts.opt.opt.optlen) { opt 1679 net/ipv4/ip_output.c ipc.opt = &replyopts.opt; opt 1681 net/ipv4/ip_output.c if (replyopts.opt.opt.srr) opt 1682 net/ipv4/ip_output.c daddr = replyopts.opt.opt.faddr; opt 78 net/ipv4/ip_sockglue.c if (IPCB(skb)->opt.optlen == 0) opt 81 net/ipv4/ip_sockglue.c put_cmsg(msg, SOL_IP, IP_RECVOPTS, IPCB(skb)->opt.optlen, opt 90 net/ipv4/ip_sockglue.c struct ip_options *opt = (struct ip_options *)optbuf; opt 92 net/ipv4/ip_sockglue.c if (IPCB(skb)->opt.optlen == 0) opt 95 net/ipv4/ip_sockglue.c if (ip_options_echo(net, opt, skb)) { opt 99 net/ipv4/ip_sockglue.c ip_options_undo(opt); opt 101 net/ipv4/ip_sockglue.c put_cmsg(msg, SOL_IP, IP_RETOPTS, opt->optlen, opt->__data); opt 283 net/ipv4/ip_sockglue.c err = ip_options_get(net, &ipc->opt, CMSG_DATA(cmsg), opt 650 net/ipv4/ip_sockglue.c struct ip_options_rcu *old, *opt = NULL; opt 654 net/ipv4/ip_sockglue.c err = ip_options_get_from_user(sock_net(sk), &opt, opt 669 net/ipv4/ip_sockglue.c icsk->icsk_ext_hdr_len -= old->opt.optlen; opt 670 net/ipv4/ip_sockglue.c if (opt) opt 671 net/ipv4/ip_sockglue.c icsk->icsk_ext_hdr_len += opt->opt.optlen; opt 677 net/ipv4/ip_sockglue.c rcu_assign_pointer(inet->inet_opt, opt); opt 1336 net/ipv4/ip_sockglue.c struct ip_options *opt = (struct ip_options *)optbuf; opt 1341 net/ipv4/ip_sockglue.c opt->optlen = 0; opt 1343 net/ipv4/ip_sockglue.c memcpy(optbuf, &inet_opt->opt, opt 1345 net/ipv4/ip_sockglue.c inet_opt->opt.optlen); opt 1348 net/ipv4/ip_sockglue.c if (opt->optlen == 0) opt 1351 net/ipv4/ip_sockglue.c ip_options_undo(opt); opt 1353 net/ipv4/ip_sockglue.c len = min_t(unsigned int, len, opt->optlen); opt 1356 net/ipv4/ip_sockglue.c if (copy_to_user(optval, opt->__data, len)) opt 562 net/ipv4/ip_tunnel.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 658 net/ipv4/ip_tunnel.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 1055 net/ipv4/ipconfig.c u8 *opt = ext++; opt 1056 net/ipv4/ipconfig.c if (*opt == 0) /* Padding */ opt 1061 net/ipv4/ipconfig.c switch (*opt) { opt 1063 net/ipv4/ipconfig.c if (opt[1]) opt 1064 net/ipv4/ipconfig.c mt = opt[2]; opt 1067 net/ipv4/ipconfig.c if (opt[1] >= 4) opt 1068 net/ipv4/ipconfig.c memcpy(&server_id, opt + 2, 4); opt 1118 net/ipv4/ipconfig.c u8 *opt = ext++; opt 1119 net/ipv4/ipconfig.c if (*opt == 0) /* Padding */ opt 1123 net/ipv4/ipconfig.c ic_do_bootp_ext(opt); opt 1796 net/ipv4/ipmr.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 1803 net/ipv4/ipmr.c struct ip_options *opt = &(IPCB(skb)->opt); opt 1808 net/ipv4/ipmr.c if (unlikely(opt->optlen)) opt 2129 net/ipv4/ipmr.c if (IPCB(skb)->opt.router_alert) { opt 740 net/ipv4/ping.c kfree(ipc.opt); opt 743 net/ipv4/ping.c if (ipc.opt) opt 746 net/ipv4/ping.c if (!ipc.opt) { opt 753 net/ipv4/ping.c sizeof(*inet_opt) + inet_opt->opt.optlen); opt 754 net/ipv4/ping.c ipc.opt = &opt_copy.opt; opt 762 net/ipv4/ping.c if (ipc.opt && ipc.opt->opt.srr) { opt 767 net/ipv4/ping.c faddr = ipc.opt->opt.faddr; opt 772 net/ipv4/ping.c (ipc.opt && ipc.opt->opt.is_strictroute)) { opt 834 net/ipv4/ping.c kfree(ipc.opt); opt 565 net/ipv4/raw.c kfree(ipc.opt); opt 568 net/ipv4/raw.c if (ipc.opt) opt 575 net/ipv4/raw.c if (!ipc.opt) { opt 582 net/ipv4/raw.c sizeof(*inet_opt) + inet_opt->opt.optlen); opt 583 net/ipv4/raw.c ipc.opt = &opt_copy.opt; opt 588 net/ipv4/raw.c if (ipc.opt) { opt 595 net/ipv4/raw.c if (ipc.opt->opt.srr) { opt 598 net/ipv4/raw.c daddr = ipc.opt->opt.faddr; opt 680 net/ipv4/raw.c kfree(ipc.opt); opt 566 net/ipv4/route.c if (inet_opt && inet_opt->opt.srr) opt 567 net/ipv4/route.c daddr = inet_opt->opt.faddr; opt 1197 net/ipv4/route.c struct ip_options opt; opt 1207 net/ipv4/route.c memset(&opt, 0, sizeof(opt)); opt 1211 net/ipv4/route.c opt.optlen = ip_hdr(skb)->ihl * 4 - sizeof(struct iphdr); opt 1214 net/ipv4/route.c res = __ip_options_compile(dev_net(skb->dev), &opt, skb, NULL); opt 1220 net/ipv4/route.c __icmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0, &opt); opt 285 net/ipv4/syncookies.c struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; opt 378 net/ipv4/syncookies.c opt->srr ? opt->faddr : ireq->ir_rmt_addr, opt 2705 net/ipv4/tcp.c struct tcp_repair_window opt; opt 2710 net/ipv4/tcp.c if (len != sizeof(opt)) opt 2713 net/ipv4/tcp.c if (copy_from_user(&opt, optbuf, sizeof(opt))) opt 2716 net/ipv4/tcp.c if (opt.max_window < opt.snd_wnd) opt 2719 net/ipv4/tcp.c if (after(opt.snd_wl1, tp->rcv_nxt + opt.rcv_wnd)) opt 2722 net/ipv4/tcp.c if (after(opt.rcv_wup, tp->rcv_nxt)) opt 2725 net/ipv4/tcp.c tp->snd_wl1 = opt.snd_wl1; opt 2726 net/ipv4/tcp.c tp->snd_wnd = opt.snd_wnd; opt 2727 net/ipv4/tcp.c tp->max_window = opt.max_window; opt 2729 net/ipv4/tcp.c tp->rcv_wnd = opt.rcv_wnd; opt 2730 net/ipv4/tcp.c tp->rcv_wup = opt.rcv_wup; opt 2739 net/ipv4/tcp.c struct tcp_repair_opt opt; opt 2741 net/ipv4/tcp.c while (len >= sizeof(opt)) { opt 2742 net/ipv4/tcp.c if (copy_from_user(&opt, optbuf, sizeof(opt))) opt 2746 net/ipv4/tcp.c len -= sizeof(opt); opt 2748 net/ipv4/tcp.c switch (opt.opt_code) { opt 2750 net/ipv4/tcp.c tp->rx_opt.mss_clamp = opt.opt_val; opt 2755 net/ipv4/tcp.c u16 snd_wscale = opt.opt_val & 0xFFFF; opt 2756 net/ipv4/tcp.c u16 rcv_wscale = opt.opt_val >> 16; opt 2767 net/ipv4/tcp.c if (opt.opt_val != 0) opt 2773 net/ipv4/tcp.c if (opt.opt_val != 0) opt 3573 net/ipv4/tcp.c struct tcp_repair_window opt; opt 3578 net/ipv4/tcp.c if (len != sizeof(opt)) opt 3584 net/ipv4/tcp.c opt.snd_wl1 = tp->snd_wl1; opt 3585 net/ipv4/tcp.c opt.snd_wnd = tp->snd_wnd; opt 3586 net/ipv4/tcp.c opt.max_window = tp->max_window; opt 3587 net/ipv4/tcp.c opt.rcv_wnd = tp->rcv_wnd; opt 3588 net/ipv4/tcp.c opt.rcv_wup = tp->rcv_wup; opt 3590 net/ipv4/tcp.c if (copy_to_user(optval, &opt, len)) opt 5793 net/ipv4/tcp_input.c struct tcp_options_received opt; opt 5796 net/ipv4/tcp_input.c tcp_clear_options(&opt); opt 5797 net/ipv4/tcp_input.c opt.user_mss = opt.mss_clamp = 0; opt 5798 net/ipv4/tcp_input.c tcp_parse_options(sock_net(sk), synack, &opt, 0, NULL); opt 5799 net/ipv4/tcp_input.c mss = opt.mss_clamp; opt 221 net/ipv4/tcp_ipv4.c if (inet_opt && inet_opt->opt.srr) { opt 224 net/ipv4/tcp_ipv4.c nexthop = inet_opt->opt.faddr; opt 246 net/ipv4/tcp_ipv4.c if (!inet_opt || !inet_opt->opt.srr) opt 266 net/ipv4/tcp_ipv4.c inet_csk(sk)->icsk_ext_hdr_len = inet_opt->opt.optlen; opt 657 net/ipv4/tcp_ipv4.c __be32 opt[(TCPOLEN_MD5SIG_ALIGNED >> 2)]; opt 738 net/ipv4/tcp_ipv4.c rep.opt[0] = htonl((TCPOPT_NOP << 24) | opt 746 net/ipv4/tcp_ipv4.c tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[1], opt 782 net/ipv4/tcp_ipv4.c skb, &TCP_SKB_CB(skb)->header.h4.opt, opt 811 net/ipv4/tcp_ipv4.c __be32 opt[(TCPOLEN_TSTAMP_ALIGNED >> 2) opt 828 net/ipv4/tcp_ipv4.c rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | opt 831 net/ipv4/tcp_ipv4.c rep.opt[1] = htonl(tsval); opt 832 net/ipv4/tcp_ipv4.c rep.opt[2] = htonl(tsecr); opt 849 net/ipv4/tcp_ipv4.c rep.opt[offset++] = htonl((TCPOPT_NOP << 24) | opt 856 net/ipv4/tcp_ipv4.c tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[offset], opt 878 net/ipv4/tcp_ipv4.c skb, &TCP_SKB_CB(skb)->header.h4.opt, opt 1452 net/ipv4/tcp_ipv4.c inet_csk(newsk)->icsk_ext_hdr_len = inet_opt->opt.optlen; opt 1051 net/ipv4/udp.c kfree(ipc.opt); opt 1054 net/ipv4/udp.c if (ipc.opt) opt 1058 net/ipv4/udp.c if (!ipc.opt) { opt 1065 net/ipv4/udp.c sizeof(*inet_opt) + inet_opt->opt.optlen); opt 1066 net/ipv4/udp.c ipc.opt = &opt_copy.opt; opt 1090 net/ipv4/udp.c if (ipc.opt && ipc.opt->opt.srr) { opt 1095 net/ipv4/udp.c faddr = ipc.opt->opt.faddr; opt 1101 net/ipv4/udp.c (ipc.opt && ipc.opt->opt.is_strictroute)) { opt 1219 net/ipv4/udp.c kfree(ipc.opt); opt 188 net/ipv4/udp_tunnel.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 2658 net/ipv6/addrconf.c void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len, bool sllao) opt 2668 net/ipv6/addrconf.c pinfo = (struct prefix_info *) opt; opt 478 net/ipv6/af_inet6.c struct ipv6_txoptions *opt; opt 493 net/ipv6/af_inet6.c opt = xchg((__force struct ipv6_txoptions **)&np->opt, NULL); opt 494 net/ipv6/af_inet6.c if (opt) { opt 495 net/ipv6/af_inet6.c atomic_sub(opt->tot_len, &sk->sk_omem_alloc); opt 496 net/ipv6/af_inet6.c txopt_put(opt); opt 764 net/ipv6/af_inet6.c final_p = fl6_update_dst(&fl6, rcu_dereference(np->opt), opt 783 net/ipv6/af_inet6.c const struct inet6_skb_parm *opt) opt 788 net/ipv6/af_inet6.c if (((opt->flags & IP6SKB_HOPBYHOP) && opt 792 net/ipv6/af_inet6.c (opt->srcrt && (np->rxopt.bits.srcrt || opt 794 net/ipv6/af_inet6.c ((opt->dst1 || opt->dst0) && opt 107 net/ipv6/ah6.c u8 *opt = (u8 *)opthdr; opt 117 net/ipv6/ah6.c switch (opt[off]) { opt 125 net/ipv6/ah6.c optlen = opt[off+1]+2; opt 128 net/ipv6/ah6.c if (opt[off] & 0x20) opt 129 net/ipv6/ah6.c memset(&opt[off+2], 0, opt[off+1]); opt 151 net/ipv6/ah6.c u8 *opt = (u8 *)destopt; opt 161 net/ipv6/ah6.c switch (opt[off]) { opt 169 net/ipv6/ah6.c optlen = opt[off+1]+2; opt 177 net/ipv6/ah6.c if (opt[off] == IPV6_TLV_HAO) { opt 181 net/ipv6/ah6.c hao = (struct ipv6_destopt_hao *)&opt[off]; opt 645 net/ipv6/ah6.c static int ah6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 812 net/ipv6/calipso.c static int calipso_tlv_len(struct ipv6_opt_hdr *opt, unsigned int offset) opt 814 net/ipv6/calipso.c unsigned char *tlv = (unsigned char *)opt; opt 815 net/ipv6/calipso.c unsigned int opt_len = ipv6_optlen(opt), tlv_len; opt 817 net/ipv6/calipso.c if (offset < sizeof(*opt) || offset >= opt_len) opt 855 net/ipv6/calipso.c unsigned char *opt = (unsigned char *)hop; opt 865 net/ipv6/calipso.c switch (opt[offset]) { opt 1081 net/ipv6/calipso.c unsigned char *opt; opt 1088 net/ipv6/calipso.c opt = (unsigned char *)hop; opt 1097 net/ipv6/calipso.c switch (opt[offset]) { opt 1102 net/ipv6/calipso.c ret_val = calipso_opt_getattr(&opt[offset], opt 69 net/ipv6/datagram.c struct ipv6_txoptions *opt; opt 84 net/ipv6/datagram.c opt = flowlabel ? flowlabel->opt : rcu_dereference(np->opt); opt 85 net/ipv6/datagram.c final_p = fl6_update_dst(&fl6, opt, &final); opt 602 net/ipv6/datagram.c struct inet6_skb_parm *opt = IP6CB(skb); opt 622 net/ipv6/datagram.c if (np->rxopt.bits.hopopts && (opt->flags & IP6SKB_HOPBYHOP)) { opt 627 net/ipv6/datagram.c if (opt->lastopt && opt 641 net/ipv6/datagram.c while (off <= opt->lastopt) { opt 676 net/ipv6/datagram.c src_info.ipi6_ifindex = opt->iif; opt 684 net/ipv6/datagram.c if (np->rxopt.bits.ohopopts && (opt->flags & IP6SKB_HOPBYHOP)) { opt 688 net/ipv6/datagram.c if (np->rxopt.bits.odstopts && opt->dst0) { opt 689 net/ipv6/datagram.c u8 *ptr = nh + opt->dst0; opt 692 net/ipv6/datagram.c if (np->rxopt.bits.osrcrt && opt->srcrt) { opt 693 net/ipv6/datagram.c struct ipv6_rt_hdr *rthdr = (struct ipv6_rt_hdr *)(nh + opt->srcrt); opt 696 net/ipv6/datagram.c if (np->rxopt.bits.odstopts && opt->dst1) { opt 697 net/ipv6/datagram.c u8 *ptr = nh + opt->dst1; opt 717 net/ipv6/datagram.c opt->iif); opt 722 net/ipv6/datagram.c if (np->rxopt.bits.recvfragsize && opt->frag_max_size) { opt 723 net/ipv6/datagram.c int val = opt->frag_max_size; opt 745 net/ipv6/datagram.c struct ipv6_txoptions *opt = ipc6->opt; opt 843 net/ipv6/datagram.c if (opt->hopopt || cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { opt 858 net/ipv6/datagram.c opt->opt_nflen += len; opt 859 net/ipv6/datagram.c opt->hopopt = hdr; opt 878 net/ipv6/datagram.c if (opt->dst1opt) { opt 882 net/ipv6/datagram.c opt->opt_flen += len; opt 883 net/ipv6/datagram.c opt->dst1opt = hdr; opt 904 net/ipv6/datagram.c opt->opt_flen += len; opt 905 net/ipv6/datagram.c opt->dst1opt = hdr; opt 907 net/ipv6/datagram.c opt->opt_nflen += len; opt 908 net/ipv6/datagram.c opt->dst0opt = hdr; opt 949 net/ipv6/datagram.c opt->opt_nflen += len; opt 950 net/ipv6/datagram.c opt->srcrt = rthdr; opt 952 net/ipv6/datagram.c if (cmsg->cmsg_type == IPV6_2292RTHDR && opt->dst1opt) { opt 953 net/ipv6/datagram.c int dsthdrlen = ((opt->dst1opt->hdrlen+1)<<3); opt 955 net/ipv6/datagram.c opt->opt_nflen += dsthdrlen; opt 956 net/ipv6/datagram.c opt->dst0opt = opt->dst1opt; opt 957 net/ipv6/datagram.c opt->dst1opt = NULL; opt 958 net/ipv6/datagram.c opt->opt_flen -= dsthdrlen; opt 688 net/ipv6/esp6.c static int esp6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 211 net/ipv6/exthdrs.c struct inet6_skb_parm *opt = IP6CB(skb); opt 215 net/ipv6/exthdrs.c if (opt->dsthao) { opt 219 net/ipv6/exthdrs.c opt->dsthao = opt->dst1; opt 220 net/ipv6/exthdrs.c opt->dst1 = 0; opt 280 net/ipv6/exthdrs.c struct inet6_skb_parm *opt = IP6CB(skb); opt 302 net/ipv6/exthdrs.c opt->lastopt = opt->dst1 = skb_network_header_len(skb); opt 304 net/ipv6/exthdrs.c dstbuf = opt->dst1; opt 310 net/ipv6/exthdrs.c opt = IP6CB(skb); opt 312 net/ipv6/exthdrs.c opt->nhoff = dstbuf; opt 314 net/ipv6/exthdrs.c opt->nhoff = opt->dst1; opt 354 net/ipv6/exthdrs.c struct inet6_skb_parm *opt = IP6CB(skb); opt 406 net/ipv6/exthdrs.c opt->srcrt = skb_network_header_len(skb); opt 407 net/ipv6/exthdrs.c opt->lastopt = opt->srcrt; opt 409 net/ipv6/exthdrs.c opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb); opt 479 net/ipv6/exthdrs.c struct inet6_skb_parm *opt = IP6CB(skb); opt 533 net/ipv6/exthdrs.c opt->lastopt = opt->srcrt = skb_network_header_len(skb); opt 535 net/ipv6/exthdrs.c opt->dst0 = opt->dst1; opt 536 net/ipv6/exthdrs.c opt->dst1 = 0; opt 537 net/ipv6/exthdrs.c opt->nhoff = (&hdr->nexthdr) - skb_network_header(skb); opt 823 net/ipv6/exthdrs.c struct inet6_skb_parm *opt = IP6CB(skb); opt 845 net/ipv6/exthdrs.c opt->flags |= IP6SKB_HOPBYHOP; opt 849 net/ipv6/exthdrs.c opt = IP6CB(skb); opt 850 net/ipv6/exthdrs.c opt->nhoff = sizeof(struct ipv6hdr); opt 867 net/ipv6/exthdrs.c struct ipv6_rt_hdr *opt, opt 873 net/ipv6/exthdrs.c ihdr = (struct rt0_hdr *) opt; opt 892 net/ipv6/exthdrs.c struct ipv6_rt_hdr *opt, opt 898 net/ipv6/exthdrs.c sr_ihdr = (struct ipv6_sr_hdr *)opt; opt 941 net/ipv6/exthdrs.c struct ipv6_rt_hdr *opt, opt 944 net/ipv6/exthdrs.c switch (opt->type) { opt 948 net/ipv6/exthdrs.c ipv6_push_rthdr0(skb, proto, opt, addr_p, saddr); opt 951 net/ipv6/exthdrs.c ipv6_push_rthdr4(skb, proto, opt, addr_p, saddr); opt 958 net/ipv6/exthdrs.c static void ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt) opt 960 net/ipv6/exthdrs.c struct ipv6_opt_hdr *h = skb_push(skb, ipv6_optlen(opt)); opt 962 net/ipv6/exthdrs.c memcpy(h, opt, ipv6_optlen(opt)); opt 967 net/ipv6/exthdrs.c void ipv6_push_nfrag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, opt 971 net/ipv6/exthdrs.c if (opt->srcrt) { opt 972 net/ipv6/exthdrs.c ipv6_push_rthdr(skb, proto, opt->srcrt, daddr, saddr); opt 977 net/ipv6/exthdrs.c if (opt->dst0opt) opt 978 net/ipv6/exthdrs.c ipv6_push_exthdr(skb, proto, NEXTHDR_DEST, opt->dst0opt); opt 980 net/ipv6/exthdrs.c if (opt->hopopt) opt 981 net/ipv6/exthdrs.c ipv6_push_exthdr(skb, proto, NEXTHDR_HOP, opt->hopopt); opt 984 net/ipv6/exthdrs.c void ipv6_push_frag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto) opt 986 net/ipv6/exthdrs.c if (opt->dst1opt) opt 987 net/ipv6/exthdrs.c ipv6_push_exthdr(skb, proto, NEXTHDR_DEST, opt->dst1opt); opt 992 net/ipv6/exthdrs.c ipv6_dup_options(struct sock *sk, struct ipv6_txoptions *opt) opt 996 net/ipv6/exthdrs.c opt2 = sock_kmalloc(sk, opt->tot_len, GFP_ATOMIC); opt 998 net/ipv6/exthdrs.c long dif = (char *)opt2 - (char *)opt; opt 999 net/ipv6/exthdrs.c memcpy(opt2, opt, opt->tot_len); opt 1053 net/ipv6/exthdrs.c ipv6_renew_options(struct sock *sk, struct ipv6_txoptions *opt, opt 1060 net/ipv6/exthdrs.c if (opt) { opt 1061 net/ipv6/exthdrs.c if (newtype != IPV6_HOPOPTS && opt->hopopt) opt 1062 net/ipv6/exthdrs.c tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); opt 1063 net/ipv6/exthdrs.c if (newtype != IPV6_RTHDRDSTOPTS && opt->dst0opt) opt 1064 net/ipv6/exthdrs.c tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst0opt)); opt 1065 net/ipv6/exthdrs.c if (newtype != IPV6_RTHDR && opt->srcrt) opt 1066 net/ipv6/exthdrs.c tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); opt 1067 net/ipv6/exthdrs.c if (newtype != IPV6_DSTOPTS && opt->dst1opt) opt 1068 net/ipv6/exthdrs.c tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst1opt)); opt 1088 net/ipv6/exthdrs.c (opt ? opt->hopopt : NULL), opt 1091 net/ipv6/exthdrs.c (opt ? opt->dst0opt : NULL), opt 1095 net/ipv6/exthdrs.c (opt ? (struct ipv6_opt_hdr *)opt->srcrt : NULL), opt 1098 net/ipv6/exthdrs.c (opt ? opt->dst1opt : NULL), opt 1110 net/ipv6/exthdrs.c struct ipv6_txoptions *opt) opt 1116 net/ipv6/exthdrs.c if (opt && opt->dst0opt && !opt->srcrt) { opt 1117 net/ipv6/exthdrs.c if (opt_space != opt) { opt 1118 net/ipv6/exthdrs.c memcpy(opt_space, opt, sizeof(*opt_space)); opt 1119 net/ipv6/exthdrs.c opt = opt_space; opt 1121 net/ipv6/exthdrs.c opt->opt_nflen -= ipv6_optlen(opt->dst0opt); opt 1122 net/ipv6/exthdrs.c opt->dst0opt = NULL; opt 1125 net/ipv6/exthdrs.c return opt; opt 1141 net/ipv6/exthdrs.c const struct ipv6_txoptions *opt, opt 1144 net/ipv6/exthdrs.c if (!opt || !opt->srcrt) opt 1149 net/ipv6/exthdrs.c switch (opt->srcrt->type) { opt 1153 net/ipv6/exthdrs.c fl6->daddr = *((struct rt0_hdr *)opt->srcrt)->addr; opt 1157 net/ipv6/exthdrs.c struct ipv6_sr_hdr *srh = (struct ipv6_sr_hdr *)opt->srcrt; opt 75 net/ipv6/fou6.c struct inet6_skb_parm *opt, opt 82 net/ipv6/fou6.c if (!ipprot->err_handler(skb, opt, type, code, offset, info)) opt 89 net/ipv6/fou6.c static int gue6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 112 net/ipv6/fou6.c ret = gue6_err_proto_handler(IPPROTO_IPIP, skb, opt, opt 116 net/ipv6/fou6.c ret = gue6_err_proto_handler(IPPROTO_IPV6, skb, opt, opt 150 net/ipv6/fou6.c opt, type, code, offset, info); opt 83 net/ipv6/icmp.c static int icmpv6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 312 net/ipv6/icmp.c struct inet6_skb_parm *opt = IP6CB(skb); opt 317 net/ipv6/icmp.c if (opt->dsthao) { opt 318 net/ipv6/icmp.c off = ipv6_find_tlv(skb, opt->dsthao, IPV6_TLV_HAO); opt 41 net/ipv6/inet6_connection_sock.c final_p = fl6_update_dst(fl6, rcu_dereference(np->opt), &final); opt 101 net/ipv6/inet6_connection_sock.c final_p = fl6_update_dst(fl6, rcu_dereference(np->opt), &final); opt 135 net/ipv6/inet6_connection_sock.c res = ip6_xmit(sk, skb, &fl6, sk->sk_mark, rcu_dereference(np->opt), opt 110 net/ipv6/ip6_flowlabel.c kfree(fl->opt); opt 120 net/ipv6/ip6_flowlabel.c if (fl_shared_exclusive(fl) || fl->opt) opt 136 net/ipv6/ip6_flowlabel.c if (fl->opt && fl->share == IPV6_FL_S_EXCL) { opt 137 net/ipv6/ip6_flowlabel.c struct ipv6_txoptions *opt = fl->opt; opt 138 net/ipv6/ip6_flowlabel.c fl->opt = NULL; opt 139 net/ipv6/ip6_flowlabel.c kfree(opt); opt 316 net/ipv6/ip6_flowlabel.c struct ipv6_txoptions *fl_opt = fl->opt; opt 397 net/ipv6/ip6_flowlabel.c fl->opt = kmalloc(sizeof(*fl->opt) + olen, GFP_KERNEL); opt 398 net/ipv6/ip6_flowlabel.c if (!fl->opt) opt 401 net/ipv6/ip6_flowlabel.c memset(fl->opt, 0, sizeof(*fl->opt)); opt 402 net/ipv6/ip6_flowlabel.c fl->opt->tot_len = sizeof(*fl->opt) + olen; opt 404 net/ipv6/ip6_flowlabel.c if (copy_from_user(fl->opt+1, optval+CMSG_ALIGN(sizeof(*freq)), olen)) opt 408 net/ipv6/ip6_flowlabel.c msg.msg_control = (void *)(fl->opt+1); opt 411 net/ipv6/ip6_flowlabel.c ipc6.opt = fl->opt; opt 416 net/ipv6/ip6_flowlabel.c if (fl->opt->opt_flen) opt 418 net/ipv6/ip6_flowlabel.c if (fl->opt->opt_nflen == 0) { opt 419 net/ipv6/ip6_flowlabel.c kfree(fl->opt); opt 420 net/ipv6/ip6_flowlabel.c fl->opt = NULL; opt 452 net/ipv6/ip6_flowlabel.c if (fl_shared_exclusive(fl) || fl->opt) opt 458 net/ipv6/ip6_flowlabel.c kfree(fl->opt); opt 826 net/ipv6/ip6_flowlabel.c fl->opt ? fl->opt->opt_nflen : 0); opt 421 net/ipv6/ip6_gre.c static int ip6gre_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 778 net/ipv6/ip6_gre.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 1005 net/ipv6/ip6_gre.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 507 net/ipv6/ip6_input.c struct inet6_skb_parm *opt = IP6CB(skb); opt 510 net/ipv6/ip6_input.c if (unlikely(opt->flags & IP6SKB_ROUTERALERT)) { opt 519 net/ipv6/ip6_input.c if (opt->ra == htons(IPV6_OPT_ROUTERALERT_MLD)) { opt 196 net/ipv6/ip6_output.c __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority) opt 210 net/ipv6/ip6_output.c if (opt) opt 211 net/ipv6/ip6_output.c head_room += opt->opt_nflen + opt->opt_flen; opt 227 net/ipv6/ip6_output.c if (opt) { opt 228 net/ipv6/ip6_output.c seg_len += opt->opt_nflen + opt->opt_flen; opt 230 net/ipv6/ip6_output.c if (opt->opt_flen) opt 231 net/ipv6/ip6_output.c ipv6_push_frag_opts(skb, opt, &proto); opt 233 net/ipv6/ip6_output.c if (opt->opt_nflen) opt 234 net/ipv6/ip6_output.c ipv6_push_nfrag_opts(skb, opt, &proto, &first_hop, opt 425 net/ipv6/ip6_output.c struct inet6_skb_parm *opt = IP6CB(skb); opt 461 net/ipv6/ip6_output.c if (unlikely(opt->flags & IP6SKB_ROUTERALERT)) { opt 462 net/ipv6/ip6_output.c if (ip6_call_ra_chain(skb, ntohs(opt->ra))) opt 502 net/ipv6/ip6_output.c opt->srcrt == 0 && !skb_sec_path(skb)) { opt 1241 net/ipv6/ip6_output.c struct ipv6_txoptions *opt = ipc6->opt; opt 1246 net/ipv6/ip6_output.c if (opt) { opt 1247 net/ipv6/ip6_output.c if (WARN_ON(v6_cork->opt)) opt 1250 net/ipv6/ip6_output.c v6_cork->opt = kzalloc(sizeof(*opt), sk->sk_allocation); opt 1251 net/ipv6/ip6_output.c if (unlikely(!v6_cork->opt)) opt 1254 net/ipv6/ip6_output.c v6_cork->opt->tot_len = sizeof(*opt); opt 1255 net/ipv6/ip6_output.c v6_cork->opt->opt_flen = opt->opt_flen; opt 1256 net/ipv6/ip6_output.c v6_cork->opt->opt_nflen = opt->opt_nflen; opt 1258 net/ipv6/ip6_output.c v6_cork->opt->dst0opt = ip6_opt_dup(opt->dst0opt, opt 1260 net/ipv6/ip6_output.c if (opt->dst0opt && !v6_cork->opt->dst0opt) opt 1263 net/ipv6/ip6_output.c v6_cork->opt->dst1opt = ip6_opt_dup(opt->dst1opt, opt 1265 net/ipv6/ip6_output.c if (opt->dst1opt && !v6_cork->opt->dst1opt) opt 1268 net/ipv6/ip6_output.c v6_cork->opt->hopopt = ip6_opt_dup(opt->hopopt, opt 1270 net/ipv6/ip6_output.c if (opt->hopopt && !v6_cork->opt->hopopt) opt 1273 net/ipv6/ip6_output.c v6_cork->opt->srcrt = ip6_rthdr_dup(opt->srcrt, opt 1275 net/ipv6/ip6_output.c if (opt->srcrt && !v6_cork->opt->srcrt) opt 1334 net/ipv6/ip6_output.c struct ipv6_txoptions *opt = v6_cork->opt; opt 1342 net/ipv6/ip6_output.c exthdrlen = opt ? opt->opt_flen : 0; opt 1357 net/ipv6/ip6_output.c (opt ? opt->opt_nflen : 0); opt 1362 net/ipv6/ip6_output.c (opt ? opt->opt_flen + opt->opt_nflen : 0) + opt 1679 net/ipv6/ip6_output.c exthdrlen = (ipc6->opt ? ipc6->opt->opt_flen : 0); opt 1696 net/ipv6/ip6_output.c if (v6_cork->opt) { opt 1697 net/ipv6/ip6_output.c kfree(v6_cork->opt->dst0opt); opt 1698 net/ipv6/ip6_output.c kfree(v6_cork->opt->dst1opt); opt 1699 net/ipv6/ip6_output.c kfree(v6_cork->opt->hopopt); opt 1700 net/ipv6/ip6_output.c kfree(v6_cork->opt->srcrt); opt 1701 net/ipv6/ip6_output.c kfree(v6_cork->opt); opt 1702 net/ipv6/ip6_output.c v6_cork->opt = NULL; opt 1724 net/ipv6/ip6_output.c struct ipv6_txoptions *opt = v6_cork->opt; opt 1753 net/ipv6/ip6_output.c if (opt && opt->opt_flen) opt 1754 net/ipv6/ip6_output.c ipv6_push_frag_opts(skb, opt, &proto); opt 1755 net/ipv6/ip6_output.c if (opt && opt->opt_nflen) opt 1756 net/ipv6/ip6_output.c ipv6_push_nfrag_opts(skb, opt, &proto, &final_dst, &fl6->saddr); opt 1853 net/ipv6/ip6_output.c int exthdrlen = (ipc6->opt ? ipc6->opt->opt_flen : 0); opt 1863 net/ipv6/ip6_output.c cork->base.opt = NULL; opt 1865 net/ipv6/ip6_output.c v6_cork.opt = NULL; opt 469 net/ipv6/ip6_tunnel.c ip6_tnl_err(struct sk_buff *skb, __u8 ipproto, struct inet6_skb_parm *opt, opt 561 net/ipv6/ip6_tunnel.c ip4ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 573 net/ipv6/ip6_tunnel.c err = ip6_tnl_err(skb, IPPROTO_IPIP, opt, &rel_type, &rel_code, opt 654 net/ipv6/ip6_tunnel.c ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 662 net/ipv6/ip6_tunnel.c err = ip6_tnl_err(skb, IPPROTO_IPV6, opt, &rel_type, &rel_code, opt 940 net/ipv6/ip6_tunnel.c static void init_tel_txopt(struct ipv6_tel_txoption *opt, __u8 encap_limit) opt 942 net/ipv6/ip6_tunnel.c memset(opt, 0, sizeof(struct ipv6_tel_txoption)); opt 944 net/ipv6/ip6_tunnel.c opt->dst_opt[2] = IPV6_TLV_TNL_ENCAP_LIMIT; opt 945 net/ipv6/ip6_tunnel.c opt->dst_opt[3] = 1; opt 946 net/ipv6/ip6_tunnel.c opt->dst_opt[4] = encap_limit; opt 947 net/ipv6/ip6_tunnel.c opt->dst_opt[5] = IPV6_TLV_PADN; opt 948 net/ipv6/ip6_tunnel.c opt->dst_opt[6] = 1; opt 950 net/ipv6/ip6_tunnel.c opt->ops.dst1opt = (struct ipv6_opt_hdr *) opt->dst_opt; opt 951 net/ipv6/ip6_tunnel.c opt->ops.opt_nflen = 8; opt 1040 net/ipv6/ip6_tunnel.c struct ipv6_tel_txoption opt; opt 1205 net/ipv6/ip6_tunnel.c init_tel_txopt(&opt, encap_limit); opt 1206 net/ipv6/ip6_tunnel.c ipv6_push_frag_opts(skb, &opt.ops, &proto); opt 1242 net/ipv6/ip6_tunnel.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 589 net/ipv6/ip6_vti.c static int vti6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 44 net/ipv6/ipcomp6.c static int ipcomp6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 101 net/ipv6/ipv6_sockglue.c struct ipv6_txoptions *opt) opt 104 net/ipv6/ipv6_sockglue.c if (opt && opt 108 net/ipv6/ipv6_sockglue.c icsk->icsk_ext_hdr_len = opt->opt_flen + opt->opt_nflen; opt 112 net/ipv6/ipv6_sockglue.c opt = xchg((__force struct ipv6_txoptions **)&inet6_sk(sk)->opt, opt 113 net/ipv6/ipv6_sockglue.c opt); opt 116 net/ipv6/ipv6_sockglue.c return opt; opt 173 net/ipv6/ipv6_sockglue.c struct ipv6_txoptions *opt; opt 240 net/ipv6/ipv6_sockglue.c opt = xchg((__force struct ipv6_txoptions **)&np->opt, opt 242 net/ipv6/ipv6_sockglue.c if (opt) { opt 243 net/ipv6/ipv6_sockglue.c atomic_sub(opt->tot_len, &sk->sk_omem_alloc); opt 244 net/ipv6/ipv6_sockglue.c txopt_put(opt); opt 404 net/ipv6/ipv6_sockglue.c struct ipv6_txoptions *opt; opt 434 net/ipv6/ipv6_sockglue.c opt = rcu_dereference_protected(np->opt, opt 436 net/ipv6/ipv6_sockglue.c opt = ipv6_renew_options(sk, opt, optname, new); opt 438 net/ipv6/ipv6_sockglue.c if (IS_ERR(opt)) { opt 439 net/ipv6/ipv6_sockglue.c retv = PTR_ERR(opt); opt 445 net/ipv6/ipv6_sockglue.c if (optname == IPV6_RTHDR && opt && opt->srcrt) { opt 446 net/ipv6/ipv6_sockglue.c struct ipv6_rt_hdr *rthdr = opt->srcrt; opt 459 net/ipv6/ipv6_sockglue.c opt->srcrt; opt 471 net/ipv6/ipv6_sockglue.c opt = ipv6_update_options(sk, opt); opt 473 net/ipv6/ipv6_sockglue.c if (opt) { opt 474 net/ipv6/ipv6_sockglue.c atomic_sub(opt->tot_len, &sk->sk_omem_alloc); opt 475 net/ipv6/ipv6_sockglue.c txopt_put(opt); opt 504 net/ipv6/ipv6_sockglue.c struct ipv6_txoptions *opt = NULL; opt 523 net/ipv6/ipv6_sockglue.c opt = sock_kmalloc(sk, sizeof(*opt) + optlen, GFP_KERNEL); opt 525 net/ipv6/ipv6_sockglue.c if (!opt) opt 528 net/ipv6/ipv6_sockglue.c memset(opt, 0, sizeof(*opt)); opt 529 net/ipv6/ipv6_sockglue.c refcount_set(&opt->refcnt, 1); opt 530 net/ipv6/ipv6_sockglue.c opt->tot_len = sizeof(*opt) + optlen; opt 532 net/ipv6/ipv6_sockglue.c if (copy_from_user(opt+1, optval, optlen)) opt 536 net/ipv6/ipv6_sockglue.c msg.msg_control = (void *)(opt+1); opt 537 net/ipv6/ipv6_sockglue.c ipc6.opt = opt; opt 544 net/ipv6/ipv6_sockglue.c opt = ipv6_update_options(sk, opt); opt 546 net/ipv6/ipv6_sockglue.c if (opt) { opt 547 net/ipv6/ipv6_sockglue.c atomic_sub(opt->tot_len, &sk->sk_omem_alloc); opt 548 net/ipv6/ipv6_sockglue.c txopt_put(opt); opt 994 net/ipv6/ipv6_sockglue.c static int ipv6_getsockopt_sticky(struct sock *sk, struct ipv6_txoptions *opt, opt 999 net/ipv6/ipv6_sockglue.c if (!opt) opt 1004 net/ipv6/ipv6_sockglue.c hdr = opt->hopopt; opt 1007 net/ipv6/ipv6_sockglue.c hdr = opt->dst0opt; opt 1010 net/ipv6/ipv6_sockglue.c hdr = (struct ipv6_opt_hdr *)opt->srcrt; opt 1013 net/ipv6/ipv6_sockglue.c hdr = opt->dst1opt; opt 1171 net/ipv6/ipv6_sockglue.c struct ipv6_txoptions *opt; opt 1174 net/ipv6/ipv6_sockglue.c opt = rcu_dereference_protected(np->opt, opt 1176 net/ipv6/ipv6_sockglue.c len = ipv6_getsockopt_sticky(sk, opt, optname, optval, len); opt 200 net/ipv6/mip6.c struct inet6_skb_parm *opt = (struct inet6_skb_parm *)skb->cb; opt 212 net/ipv6/mip6.c if (likely(opt->dsthao)) { opt 213 net/ipv6/mip6.c offset = ipv6_find_tlv(skb, opt->dsthao, IPV6_TLV_HAO); opt 223 net/ipv6/mip6.c opt->iif)) opt 147 net/ipv6/ndisc.c u8 *opt = skb_put(skb, space); opt 149 net/ipv6/ndisc.c opt[0] = type; opt 150 net/ipv6/ndisc.c opt[1] = space>>3; opt 152 net/ipv6/ndisc.c memset(opt + 2, 0, pad); opt 153 net/ipv6/ndisc.c opt += pad; opt 156 net/ipv6/ndisc.c memcpy(opt+2, data, data_len); opt 158 net/ipv6/ndisc.c opt += data_len; opt 161 net/ipv6/ndisc.c memset(opt, 0, space); opt 195 net/ipv6/ndisc.c struct nd_opt_hdr *opt) opt 197 net/ipv6/ndisc.c return opt->nd_opt_type == ND_OPT_RDNSS || opt 198 net/ipv6/ndisc.c opt->nd_opt_type == ND_OPT_DNSSL || opt 199 net/ipv6/ndisc.c opt->nd_opt_type == ND_OPT_CAPTIVE_PORTAL || opt 200 net/ipv6/ndisc.c ndisc_ops_is_useropt(dev, opt->nd_opt_type); opt 216 net/ipv6/ndisc.c u8 *opt, int opt_len, opt 219 net/ipv6/ndisc.c struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)opt; opt 640 net/ipv6/ndisc.c u8 *opt = skb_put(skb, 8); opt 642 net/ipv6/ndisc.c opt[0] = ND_OPT_NONCE; opt 643 net/ipv6/ndisc.c opt[1] = 8 >> 3; opt 644 net/ipv6/ndisc.c memcpy(opt + 2, &nonce, 6); opt 774 net/ipv6/ndisc.c offsetof(struct nd_msg, opt)); opt 804 net/ipv6/ndisc.c if (!ndisc_parse_options(dev, msg->opt, ndoptlen, &ndopts)) { opt 958 net/ipv6/ndisc.c offsetof(struct nd_msg, opt)); opt 989 net/ipv6/ndisc.c if (!ndisc_parse_options(dev, msg->opt, ndoptlen, &ndopts)) { opt 1096 net/ipv6/ndisc.c if (!ndisc_parse_options(skb->dev, rs_msg->opt, ndoptlen, &ndopts)) { opt 1121 net/ipv6/ndisc.c static void ndisc_ra_useropt(struct sk_buff *ra, struct nd_opt_hdr *opt) opt 1130 net/ipv6/ndisc.c + (opt->nd_opt_len << 3)); opt 1149 net/ipv6/ndisc.c ndmsg->nduseropt_opts_len = opt->nd_opt_len << 3; opt 1151 net/ipv6/ndisc.c memcpy(ndmsg + 1, opt, opt->nd_opt_len << 3); opt 1181 net/ipv6/ndisc.c __u8 *opt = (__u8 *)(ra_msg + 1); opt 1216 net/ipv6/ndisc.c if (!ndisc_parse_options(skb->dev, opt, optlen, &ndopts)) { opt 1526 net/ipv6/ndisc.c offsetof(struct rd_msg, opt)); opt 1544 net/ipv6/ndisc.c if (!ndisc_parse_options(skb->dev, msg->opt, ndoptlen, &ndopts)) opt 1565 net/ipv6/ndisc.c u8 *opt = skb_put(skb, rd_len); opt 1567 net/ipv6/ndisc.c memset(opt, 0, 8); opt 1568 net/ipv6/ndisc.c *(opt++) = ND_OPT_REDIRECT_HDR; opt 1569 net/ipv6/ndisc.c *(opt++) = (rd_len >> 3); opt 1570 net/ipv6/ndisc.c opt += 6; opt 1572 net/ipv6/ndisc.c skb_copy_bits(orig_skb, skb_network_offset(orig_skb), opt, opt 323 net/ipv6/raw.c struct inet6_skb_parm *opt, opt 775 net/ipv6/raw.c struct ipv6_txoptions *opt = NULL; opt 868 net/ipv6/raw.c opt = &opt_space; opt 869 net/ipv6/raw.c memset(opt, 0, sizeof(struct ipv6_txoptions)); opt 870 net/ipv6/raw.c opt->tot_len = sizeof(struct ipv6_txoptions); opt 871 net/ipv6/raw.c ipc6.opt = opt; opt 883 net/ipv6/raw.c if (!(opt->opt_nflen|opt->opt_flen)) opt 884 net/ipv6/raw.c opt = NULL; opt 886 net/ipv6/raw.c if (!opt) { opt 887 net/ipv6/raw.c opt = txopt_get(np); opt 888 net/ipv6/raw.c opt_to_free = opt; opt 891 net/ipv6/raw.c opt = fl6_merge_options(&opt_space, flowlabel, opt); opt 892 net/ipv6/raw.c opt = ipv6_fixup_options(&opt_space, opt); opt 912 net/ipv6/raw.c final_p = fl6_update_dst(&fl6, opt, &final); opt 947 net/ipv6/raw.c ipc6.opt = opt; opt 935 net/ipv6/route.c int rt6_route_rcv(struct net_device *dev, u8 *opt, int len, opt 939 net/ipv6/route.c struct route_info *rinfo = (struct route_info *) opt; opt 4023 net/ipv6/route.c if (!ndisc_parse_options(skb->dev, msg->opt, optlen, &ndopts)) { opt 229 net/ipv6/syncookies.c final_p = fl6_update_dst(&fl6, rcu_dereference(np->opt), &final); opt 153 net/ipv6/tcp_ipv6.c struct ipv6_txoptions *opt; opt 273 net/ipv6/tcp_ipv6.c opt = rcu_dereference_protected(np->opt, lockdep_sock_is_held(sk)); opt 274 net/ipv6/tcp_ipv6.c final_p = fl6_update_dst(&fl6, opt, &final); opt 297 net/ipv6/tcp_ipv6.c if (opt) opt 298 net/ipv6/tcp_ipv6.c icsk->icsk_ext_hdr_len = opt->opt_flen + opt 299 net/ipv6/tcp_ipv6.c opt->opt_nflen; opt 360 net/ipv6/tcp_ipv6.c static int tcp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 492 net/ipv6/tcp_ipv6.c struct ipv6_txoptions *opt; opt 513 net/ipv6/tcp_ipv6.c opt = ireq->ipv6_opt; opt 514 net/ipv6/tcp_ipv6.c if (!opt) opt 515 net/ipv6/tcp_ipv6.c opt = rcu_dereference(np->opt); opt 516 net/ipv6/tcp_ipv6.c err = ip6_xmit(sk, skb, fl6, sk->sk_mark, opt, np->tclass, opt 1123 net/ipv6/tcp_ipv6.c struct ipv6_txoptions *opt; opt 1163 net/ipv6/tcp_ipv6.c newnp->opt = NULL; opt 1236 net/ipv6/tcp_ipv6.c newnp->opt = NULL; opt 1249 net/ipv6/tcp_ipv6.c opt = ireq->ipv6_opt; opt 1250 net/ipv6/tcp_ipv6.c if (!opt) opt 1251 net/ipv6/tcp_ipv6.c opt = rcu_dereference(np->opt); opt 1252 net/ipv6/tcp_ipv6.c if (opt) { opt 1253 net/ipv6/tcp_ipv6.c opt = ipv6_dup_options(newsk, opt); opt 1254 net/ipv6/tcp_ipv6.c RCU_INIT_POINTER(newnp->opt, opt); opt 1257 net/ipv6/tcp_ipv6.c if (opt) opt 1258 net/ipv6/tcp_ipv6.c inet_csk(newsk)->icsk_ext_hdr_len = opt->opt_nflen + opt 1259 net/ipv6/tcp_ipv6.c opt->opt_flen; opt 125 net/ipv6/tunnel6.c static int tunnel6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 131 net/ipv6/tunnel6.c if (!handler->err_handler(skb, opt, type, code, offset, info)) opt 137 net/ipv6/tunnel6.c static int tunnel46_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 143 net/ipv6/tunnel6.c if (!handler->err_handler(skb, opt, type, code, offset, info)) opt 410 net/ipv6/udp.c struct inet6_skb_parm *opt, opt 416 net/ipv6/udp.c int (*handler)(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 424 net/ipv6/udp.c if (handler && !handler(skb, opt, type, code, offset, info)) opt 453 net/ipv6/udp.c struct inet6_skb_parm *opt, opt 481 net/ipv6/udp.c sk = ERR_PTR(__udp6_lib_err_encap_no_sk(skb, opt, type, code, opt 491 net/ipv6/udp.c int __udp6_lib_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 514 net/ipv6/udp.c opt, type, code, info); opt 594 net/ipv6/udp.c struct inet6_skb_parm *opt, u8 type, opt 597 net/ipv6/udp.c return __udp6_lib_err(skb, opt, type, code, offset, info, &udp_table); opt 1222 net/ipv6/udp.c struct ipv6_txoptions *opt = NULL; opt 1366 net/ipv6/udp.c opt = &opt_space; opt 1367 net/ipv6/udp.c memset(opt, 0, sizeof(struct ipv6_txoptions)); opt 1368 net/ipv6/udp.c opt->tot_len = sizeof(*opt); opt 1369 net/ipv6/udp.c ipc6.opt = opt; opt 1384 net/ipv6/udp.c if (!(opt->opt_nflen|opt->opt_flen)) opt 1385 net/ipv6/udp.c opt = NULL; opt 1388 net/ipv6/udp.c if (!opt) { opt 1389 net/ipv6/udp.c opt = txopt_get(np); opt 1390 net/ipv6/udp.c opt_to_free = opt; opt 1393 net/ipv6/udp.c opt = fl6_merge_options(&opt_space, flowlabel, opt); opt 1394 net/ipv6/udp.c opt = ipv6_fixup_options(&opt_space, opt); opt 1395 net/ipv6/udp.c ipc6.opt = opt; opt 1429 net/ipv6/udp.c final_p = fl6_update_dst(&fl6, opt, &final); opt 21 net/ipv6/udplite.c struct inet6_skb_parm *opt, opt 24 net/ipv6/udplite.c return __udp6_lib_err(skb, opt, type, code, offset, info, opt 78 net/ipv6/xfrm6_protocol.c static int xfrm6_esp_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 84 net/ipv6/xfrm6_protocol.c if (!handler->err_handler(skb, opt, type, code, offset, info)) opt 107 net/ipv6/xfrm6_protocol.c static int xfrm6_ah_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 113 net/ipv6/xfrm6_protocol.c if (!handler->err_handler(skb, opt, type, code, offset, info)) opt 136 net/ipv6/xfrm6_protocol.c static int xfrm6_ipcomp_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 142 net/ipv6/xfrm6_protocol.c if (!handler->err_handler(skb, opt, type, code, offset, info)) opt 232 net/ipv6/xfrm6_tunnel.c static int xfrm6_tunnel_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 3240 net/key/af_key.c static struct xfrm_policy *pfkey_compile_policy(struct sock *sk, int opt, opt 3250 net/key/af_key.c if (opt != IP_IPSEC_POLICY) { opt 3257 net/key/af_key.c if (opt != IPV6_IPSEC_POLICY) { opt 1083 net/l2tp/l2tp_core.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 479 net/l2tp/l2tp_ip.c if (inet_opt && inet_opt->opt.srr) opt 480 net/l2tp/l2tp_ip.c daddr = inet_opt->opt.faddr; opt 511 net/l2tp/l2tp_ip6.c struct ipv6_txoptions *opt = NULL; opt 582 net/l2tp/l2tp_ip6.c opt = &opt_space; opt 583 net/l2tp/l2tp_ip6.c memset(opt, 0, sizeof(struct ipv6_txoptions)); opt 584 net/l2tp/l2tp_ip6.c opt->tot_len = sizeof(struct ipv6_txoptions); opt 585 net/l2tp/l2tp_ip6.c ipc6.opt = opt; opt 597 net/l2tp/l2tp_ip6.c if (!(opt->opt_nflen|opt->opt_flen)) opt 598 net/l2tp/l2tp_ip6.c opt = NULL; opt 601 net/l2tp/l2tp_ip6.c if (!opt) { opt 602 net/l2tp/l2tp_ip6.c opt = txopt_get(np); opt 603 net/l2tp/l2tp_ip6.c opt_to_free = opt; opt 606 net/l2tp/l2tp_ip6.c opt = fl6_merge_options(&opt_space, flowlabel, opt); opt 607 net/l2tp/l2tp_ip6.c opt = ipv6_fixup_options(&opt_space, opt); opt 608 net/l2tp/l2tp_ip6.c ipc6.opt = opt; opt 618 net/l2tp/l2tp_ip6.c final_p = fl6_update_dst(&fl6, opt, &final); opt 1057 net/llc/af_llc.c unsigned int opt; opt 1063 net/llc/af_llc.c rc = get_user(opt, (int __user *)optval); opt 1069 net/llc/af_llc.c if (opt > LLC_OPT_MAX_RETRY) opt 1071 net/llc/af_llc.c llc->n2 = opt; opt 1074 net/llc/af_llc.c if (opt > LLC_OPT_MAX_SIZE) opt 1076 net/llc/af_llc.c llc->n1 = opt; opt 1079 net/llc/af_llc.c if (opt > LLC_OPT_MAX_ACK_TMR_EXP) opt 1081 net/llc/af_llc.c llc->ack_timer.expire = opt * HZ; opt 1084 net/llc/af_llc.c if (opt > LLC_OPT_MAX_P_TMR_EXP) opt 1086 net/llc/af_llc.c llc->pf_cycle_timer.expire = opt * HZ; opt 1089 net/llc/af_llc.c if (opt > LLC_OPT_MAX_REJ_TMR_EXP) opt 1091 net/llc/af_llc.c llc->rej_sent_timer.expire = opt * HZ; opt 1094 net/llc/af_llc.c if (opt > LLC_OPT_MAX_BUSY_TMR_EXP) opt 1096 net/llc/af_llc.c llc->busy_state_timer.expire = opt * HZ; opt 1099 net/llc/af_llc.c if (opt > LLC_OPT_MAX_WIN) opt 1101 net/llc/af_llc.c llc->k = opt; opt 1104 net/llc/af_llc.c if (opt > LLC_OPT_MAX_WIN) opt 1106 net/llc/af_llc.c llc->rw = opt; opt 1109 net/llc/af_llc.c if (opt) opt 27 net/mac802154/trace.h (__entry->cca_opt) = cca->opt; \ opt 112 net/netfilter/ipset/ip_set_bitmap_ip.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 117 net/netfilter/ipset/ip_set_bitmap_ip.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 120 net/netfilter/ipset/ip_set_bitmap_ip.c ip = ntohl(ip4addr(skb, opt->flags & IPSET_DIM_ONE_SRC)); opt 126 net/netfilter/ipset/ip_set_bitmap_ip.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 210 net/netfilter/ipset/ip_set_bitmap_ipmac.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 215 net/netfilter/ipset/ip_set_bitmap_ipmac.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 218 net/netfilter/ipset/ip_set_bitmap_ipmac.c ip = ntohl(ip4addr(skb, opt->flags & IPSET_DIM_ONE_SRC)); opt 229 net/netfilter/ipset/ip_set_bitmap_ipmac.c if (opt->flags & IPSET_DIM_TWO_SRC) opt 237 net/netfilter/ipset/ip_set_bitmap_ipmac.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 102 net/netfilter/ipset/ip_set_bitmap_port.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 107 net/netfilter/ipset/ip_set_bitmap_port.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 111 net/netfilter/ipset/ip_set_bitmap_port.c if (!ip_set_get_ip_port(skb, opt->family, opt 112 net/netfilter/ipset/ip_set_bitmap_port.c opt->flags & IPSET_DIM_ONE_SRC, &__port)) opt 122 net/netfilter/ipset/ip_set_bitmap_port.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 576 net/netfilter/ipset/ip_set_core.c const struct xt_action_param *par, struct ip_set_adt_opt *opt) opt 584 net/netfilter/ipset/ip_set_core.c if (opt->dim < set->type->dimension || opt 585 net/netfilter/ipset/ip_set_core.c !(opt->family == set->family || set->family == NFPROTO_UNSPEC)) opt 589 net/netfilter/ipset/ip_set_core.c ret = set->variant->kadt(set, skb, par, IPSET_TEST, opt); opt 596 net/netfilter/ipset/ip_set_core.c set->variant->kadt(set, skb, par, IPSET_ADD, opt); opt 601 net/netfilter/ipset/ip_set_core.c if ((opt->cmdflags & IPSET_FLAG_RETURN_NOMATCH) && opt 614 net/netfilter/ipset/ip_set_core.c const struct xt_action_param *par, struct ip_set_adt_opt *opt) opt 622 net/netfilter/ipset/ip_set_core.c if (opt->dim < set->type->dimension || opt 623 net/netfilter/ipset/ip_set_core.c !(opt->family == set->family || set->family == NFPROTO_UNSPEC)) opt 627 net/netfilter/ipset/ip_set_core.c ret = set->variant->kadt(set, skb, par, IPSET_ADD, opt); opt 636 net/netfilter/ipset/ip_set_core.c const struct xt_action_param *par, struct ip_set_adt_opt *opt) opt 644 net/netfilter/ipset/ip_set_core.c if (opt->dim < set->type->dimension || opt 645 net/netfilter/ipset/ip_set_core.c !(opt->family == set->family || set->family == NFPROTO_UNSPEC)) opt 649 net/netfilter/ipset/ip_set_core.c ret = set->variant->kadt(set, skb, par, IPSET_DEL, opt); opt 1424 net/netfilter/ipset/ip_set_hash_gen.h enum ipset_adt adt, struct ip_set_adt_opt *opt); opt 79 net/netfilter/ipset/ip_set_hash_ip.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 84 net/netfilter/ipset/ip_set_hash_ip.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 87 net/netfilter/ipset/ip_set_hash_ip.c ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &ip); opt 93 net/netfilter/ipset/ip_set_hash_ip.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 216 net/netfilter/ipset/ip_set_hash_ip.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 221 net/netfilter/ipset/ip_set_hash_ip.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 223 net/netfilter/ipset/ip_set_hash_ip.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); opt 228 net/netfilter/ipset/ip_set_hash_ip.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 86 net/netfilter/ipset/ip_set_hash_ipmac.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 90 net/netfilter/ipset/ip_set_hash_ipmac.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 96 net/netfilter/ipset/ip_set_hash_ipmac.c if (opt->flags & IPSET_DIM_TWO_SRC) opt 104 net/netfilter/ipset/ip_set_hash_ipmac.c ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); opt 106 net/netfilter/ipset/ip_set_hash_ipmac.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 199 net/netfilter/ipset/ip_set_hash_ipmac.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 206 net/netfilter/ipset/ip_set_hash_ipmac.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 212 net/netfilter/ipset/ip_set_hash_ipmac.c if (opt->flags & IPSET_DIM_TWO_SRC) opt 220 net/netfilter/ipset/ip_set_hash_ipmac.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); opt 222 net/netfilter/ipset/ip_set_hash_ipmac.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 81 net/netfilter/ipset/ip_set_hash_ipmark.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 86 net/netfilter/ipset/ip_set_hash_ipmark.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 91 net/netfilter/ipset/ip_set_hash_ipmark.c ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); opt 92 net/netfilter/ipset/ip_set_hash_ipmark.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 207 net/netfilter/ipset/ip_set_hash_ipmark.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 212 net/netfilter/ipset/ip_set_hash_ipmark.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 217 net/netfilter/ipset/ip_set_hash_ipmark.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); opt 218 net/netfilter/ipset/ip_set_hash_ipmark.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 89 net/netfilter/ipset/ip_set_hash_ipport.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 93 net/netfilter/ipset/ip_set_hash_ipport.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 95 net/netfilter/ipset/ip_set_hash_ipport.c if (!ip_set_get_ip4_port(skb, opt->flags & IPSET_DIM_TWO_SRC, opt 99 net/netfilter/ipset/ip_set_hash_ipport.c ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); opt 100 net/netfilter/ipset/ip_set_hash_ipport.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 247 net/netfilter/ipset/ip_set_hash_ipport.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 251 net/netfilter/ipset/ip_set_hash_ipport.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 253 net/netfilter/ipset/ip_set_hash_ipport.c if (!ip_set_get_ip6_port(skb, opt->flags & IPSET_DIM_TWO_SRC, opt 257 net/netfilter/ipset/ip_set_hash_ipport.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); opt 258 net/netfilter/ipset/ip_set_hash_ipport.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 91 net/netfilter/ipset/ip_set_hash_ipportip.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 95 net/netfilter/ipset/ip_set_hash_ipportip.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 97 net/netfilter/ipset/ip_set_hash_ipportip.c if (!ip_set_get_ip4_port(skb, opt->flags & IPSET_DIM_TWO_SRC, opt 101 net/netfilter/ipset/ip_set_hash_ipportip.c ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); opt 102 net/netfilter/ipset/ip_set_hash_ipportip.c ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2); opt 103 net/netfilter/ipset/ip_set_hash_ipportip.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 257 net/netfilter/ipset/ip_set_hash_ipportip.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 261 net/netfilter/ipset/ip_set_hash_ipportip.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 263 net/netfilter/ipset/ip_set_hash_ipportip.c if (!ip_set_get_ip6_port(skb, opt->flags & IPSET_DIM_TWO_SRC, opt 267 net/netfilter/ipset/ip_set_hash_ipportip.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); opt 268 net/netfilter/ipset/ip_set_hash_ipportip.c ip6addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2.in6); opt 269 net/netfilter/ipset/ip_set_hash_ipportip.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 135 net/netfilter/ipset/ip_set_hash_ipportnet.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 142 net/netfilter/ipset/ip_set_hash_ipportnet.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 147 net/netfilter/ipset/ip_set_hash_ipportnet.c if (!ip_set_get_ip4_port(skb, opt->flags & IPSET_DIM_TWO_SRC, opt 151 net/netfilter/ipset/ip_set_hash_ipportnet.c ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); opt 152 net/netfilter/ipset/ip_set_hash_ipportnet.c ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2); opt 155 net/netfilter/ipset/ip_set_hash_ipportnet.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 386 net/netfilter/ipset/ip_set_hash_ipportnet.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 393 net/netfilter/ipset/ip_set_hash_ipportnet.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 398 net/netfilter/ipset/ip_set_hash_ipportnet.c if (!ip_set_get_ip6_port(skb, opt->flags & IPSET_DIM_TWO_SRC, opt 402 net/netfilter/ipset/ip_set_hash_ipportnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); opt 403 net/netfilter/ipset/ip_set_hash_ipportnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2.in6); opt 406 net/netfilter/ipset/ip_set_hash_ipportnet.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 74 net/netfilter/ipset/ip_set_hash_mac.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 78 net/netfilter/ipset/ip_set_hash_mac.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 84 net/netfilter/ipset/ip_set_hash_mac.c if (opt->flags & IPSET_DIM_ONE_SRC) opt 91 net/netfilter/ipset/ip_set_hash_mac.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 114 net/netfilter/ipset/ip_set_hash_net.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 121 net/netfilter/ipset/ip_set_hash_net.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 128 net/netfilter/ipset/ip_set_hash_net.c ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); opt 131 net/netfilter/ipset/ip_set_hash_net.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 282 net/netfilter/ipset/ip_set_hash_net.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 289 net/netfilter/ipset/ip_set_hash_net.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 296 net/netfilter/ipset/ip_set_hash_net.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); opt 299 net/netfilter/ipset/ip_set_hash_net.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 153 net/netfilter/ipset/ip_set_hash_netiface.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 161 net/netfilter/ipset/ip_set_hash_netiface.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 166 net/netfilter/ipset/ip_set_hash_netiface.c ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); opt 170 net/netfilter/ipset/ip_set_hash_netiface.c #define SRCDIR (opt->flags & IPSET_DIM_TWO_SRC) opt 172 net/netfilter/ipset/ip_set_hash_netiface.c if (opt->cmdflags & IPSET_FLAG_PHYSDEV) { opt 188 net/netfilter/ipset/ip_set_hash_netiface.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 363 net/netfilter/ipset/ip_set_hash_netiface.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 371 net/netfilter/ipset/ip_set_hash_netiface.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 376 net/netfilter/ipset/ip_set_hash_netiface.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); opt 379 net/netfilter/ipset/ip_set_hash_netiface.c if (opt->cmdflags & IPSET_FLAG_PHYSDEV) { opt 396 net/netfilter/ipset/ip_set_hash_netiface.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 141 net/netfilter/ipset/ip_set_hash_netnet.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 146 net/netfilter/ipset/ip_set_hash_netnet.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 153 net/netfilter/ipset/ip_set_hash_netnet.c ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0]); opt 154 net/netfilter/ipset/ip_set_hash_netnet.c ip4addrptr(skb, opt->flags & IPSET_DIM_TWO_SRC, &e.ip[1]); opt 158 net/netfilter/ipset/ip_set_hash_netnet.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 375 net/netfilter/ipset/ip_set_hash_netnet.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 380 net/netfilter/ipset/ip_set_hash_netnet.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 387 net/netfilter/ipset/ip_set_hash_netnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0].in6); opt 388 net/netfilter/ipset/ip_set_hash_netnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_TWO_SRC, &e.ip[1].in6); opt 392 net/netfilter/ipset/ip_set_hash_netnet.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 130 net/netfilter/ipset/ip_set_hash_netport.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 137 net/netfilter/ipset/ip_set_hash_netport.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 142 net/netfilter/ipset/ip_set_hash_netport.c if (!ip_set_get_ip4_port(skb, opt->flags & IPSET_DIM_TWO_SRC, opt 146 net/netfilter/ipset/ip_set_hash_netport.c ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); opt 149 net/netfilter/ipset/ip_set_hash_netport.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 346 net/netfilter/ipset/ip_set_hash_netport.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 353 net/netfilter/ipset/ip_set_hash_netport.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 358 net/netfilter/ipset/ip_set_hash_netport.c if (!ip_set_get_ip6_port(skb, opt->flags & IPSET_DIM_TWO_SRC, opt 362 net/netfilter/ipset/ip_set_hash_netport.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip.in6); opt 365 net/netfilter/ipset/ip_set_hash_netport.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 151 net/netfilter/ipset/ip_set_hash_netportnet.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 156 net/netfilter/ipset/ip_set_hash_netportnet.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 163 net/netfilter/ipset/ip_set_hash_netportnet.c if (!ip_set_get_ip4_port(skb, opt->flags & IPSET_DIM_TWO_SRC, opt 167 net/netfilter/ipset/ip_set_hash_netportnet.c ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0]); opt 168 net/netfilter/ipset/ip_set_hash_netportnet.c ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip[1]); opt 172 net/netfilter/ipset/ip_set_hash_netportnet.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 430 net/netfilter/ipset/ip_set_hash_netportnet.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 435 net/netfilter/ipset/ip_set_hash_netportnet.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 442 net/netfilter/ipset/ip_set_hash_netportnet.c if (!ip_set_get_ip6_port(skb, opt->flags & IPSET_DIM_TWO_SRC, opt 446 net/netfilter/ipset/ip_set_hash_netportnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0].in6); opt 447 net/netfilter/ipset/ip_set_hash_netportnet.c ip6addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip[1].in6); opt 451 net/netfilter/ipset/ip_set_hash_netportnet.c return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); opt 51 net/netfilter/ipset/ip_set_list_set.c struct ip_set_adt_opt *opt, const struct ip_set_ext *ext) opt 54 net/netfilter/ipset/ip_set_list_set.c struct ip_set_ext *mext = &opt->ext; opt 56 net/netfilter/ipset/ip_set_list_set.c u32 flags = opt->cmdflags; opt 60 net/netfilter/ipset/ip_set_list_set.c opt->cmdflags &= ~IPSET_FLAG_MATCH_COUNTERS; opt 61 net/netfilter/ipset/ip_set_list_set.c if (opt->cmdflags & IPSET_FLAG_SKIP_SUBCOUNTER_UPDATE) opt 62 net/netfilter/ipset/ip_set_list_set.c opt->cmdflags |= IPSET_FLAG_SKIP_COUNTER_UPDATE; opt 64 net/netfilter/ipset/ip_set_list_set.c ret = ip_set_test(e->id, skb, par, opt); opt 76 net/netfilter/ipset/ip_set_list_set.c struct ip_set_adt_opt *opt, const struct ip_set_ext *ext) opt 86 net/netfilter/ipset/ip_set_list_set.c ret = ip_set_add(e->id, skb, par, opt); opt 96 net/netfilter/ipset/ip_set_list_set.c struct ip_set_adt_opt *opt, const struct ip_set_ext *ext) opt 106 net/netfilter/ipset/ip_set_list_set.c ret = ip_set_del(e->id, skb, par, opt); opt 116 net/netfilter/ipset/ip_set_list_set.c enum ipset_adt adt, struct ip_set_adt_opt *opt) opt 118 net/netfilter/ipset/ip_set_list_set.c struct ip_set_ext ext = IP_SET_INIT_KEXT(skb, opt, set); opt 124 net/netfilter/ipset/ip_set_list_set.c ret = list_set_ktest(set, skb, par, opt, &ext); opt 127 net/netfilter/ipset/ip_set_list_set.c ret = list_set_kadd(set, skb, par, opt, &ext); opt 130 net/netfilter/ipset/ip_set_list_set.c ret = list_set_kdel(set, skb, par, opt, &ext); opt 607 net/netfilter/ipvs/ip_vs_sync.c struct ip_vs_sync_conn_options *opt = opt 609 net/netfilter/ipvs/ip_vs_sync.c memcpy(opt, &cp->in_seq, sizeof(*opt)); opt 850 net/netfilter/ipvs/ip_vs_sync.c struct ip_vs_sync_conn_options *opt) opt 927 net/netfilter/ipvs/ip_vs_sync.c if (opt) { opt 928 net/netfilter/ipvs/ip_vs_sync.c cp->in_seq = opt->in_seq; opt 929 net/netfilter/ipvs/ip_vs_sync.c cp->out_seq = opt->out_seq; opt 967 net/netfilter/ipvs/ip_vs_sync.c struct ip_vs_sync_conn_options *opt; opt 985 net/netfilter/ipvs/ip_vs_sync.c opt = (struct ip_vs_sync_conn_options *)&s[1]; opt 992 net/netfilter/ipvs/ip_vs_sync.c opt = NULL; opt 1024 net/netfilter/ipvs/ip_vs_sync.c 0, 0, opt); opt 1033 net/netfilter/ipvs/ip_vs_sync.c struct ip_vs_sync_conn_options *opt) opt 1047 net/netfilter/ipvs/ip_vs_sync.c ntoh_seq(&topt->in_seq, &opt->in_seq); opt 1048 net/netfilter/ipvs/ip_vs_sync.c ntoh_seq(&topt->out_seq, &opt->out_seq); opt 1075 net/netfilter/ipvs/ip_vs_sync.c struct ip_vs_sync_conn_options opt; opt 1120 net/netfilter/ipvs/ip_vs_sync.c if (ip_vs_proc_seqopt(p, plen, &opt_flags, &opt)) opt 1184 net/netfilter/ipvs/ip_vs_sync.c (opt_flags & IPVS_OPT_F_SEQ_DATA ? &opt : NULL) opt 1191 net/netfilter/ipvs/ip_vs_sync.c (opt_flags & IPVS_OPT_F_SEQ_DATA ? &opt : NULL) opt 1245 net/netfilter/ipvs/ip_vs_xmit.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 1393 net/netfilter/ipvs/ip_vs_xmit.c memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); opt 518 net/netfilter/nf_conntrack_h323_asn1.c unsigned int ext, bmp, i, opt, len = 0, bmp2, bmp2_len; opt 541 net/netfilter/nf_conntrack_h323_asn1.c for (i = opt = 0, son = f->fields; i < f->lb; i++, son++) { opt 549 net/netfilter/nf_conntrack_h323_asn1.c if (!((0x80000000U >> (opt++)) & bmp)) /* Not exist */ opt 599 net/netfilter/nf_conntrack_h323_asn1.c for (opt = 0; opt < bmp2_len; opt++, i++, son++) { opt 617 net/netfilter/nf_conntrack_h323_asn1.c if (!((0x80000000 >> opt) & bmp2)) /* Not present */ opt 94 net/netfilter/nf_sockopt.c char __user *opt, int *len, int get) opt 104 net/netfilter/nf_sockopt.c ret = ops->get(sk, val, opt, len); opt 106 net/netfilter/nf_sockopt.c ret = ops->set(sk, val, opt, *len); opt 112 net/netfilter/nf_sockopt.c int nf_setsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, opt 115 net/netfilter/nf_sockopt.c return nf_sockopt(sk, pf, val, opt, &len, 0); opt 119 net/netfilter/nf_sockopt.c int nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, opt 122 net/netfilter/nf_sockopt.c return nf_sockopt(sk, pf, val, opt, len, 1); opt 128 net/netfilter/nf_sockopt.c char __user *opt, int *len, int get) opt 139 net/netfilter/nf_sockopt.c ret = ops->compat_get(sk, val, opt, len); opt 141 net/netfilter/nf_sockopt.c ret = ops->get(sk, val, opt, len); opt 144 net/netfilter/nf_sockopt.c ret = ops->compat_set(sk, val, opt, *len); opt 146 net/netfilter/nf_sockopt.c ret = ops->set(sk, val, opt, *len); opt 154 net/netfilter/nf_sockopt.c int val, char __user *opt, unsigned int len) opt 156 net/netfilter/nf_sockopt.c return compat_nf_sockopt(sk, pf, val, opt, &len, 0); opt 161 net/netfilter/nf_sockopt.c int val, char __user *opt, int *len) opt 163 net/netfilter/nf_sockopt.c return compat_nf_sockopt(sk, pf, val, opt, len, 1); opt 88 net/netfilter/nfnetlink_osf.c foptsize += f->opt[optnum].length; opt 98 net/netfilter/nfnetlink_osf.c if (f->opt[optnum].kind == *ctx->optp) { opt 99 net/netfilter/nfnetlink_osf.c __u32 len = f->opt[optnum].length; opt 27 net/netfilter/nft_exthdr.c static unsigned int optlen(const u8 *opt, unsigned int offset) opt 30 net/netfilter/nft_exthdr.c if (opt[offset] <= TCPOPT_NOP || opt[offset + 1] == 0) opt 33 net/netfilter/nft_exthdr.c return opt[offset + 1]; opt 74 net/netfilter/nft_exthdr.c struct ip_options *opt = (struct ip_options *)optbuf; opt 90 net/netfilter/nft_exthdr.c memset(opt, 0, sizeof(struct ip_options)); opt 94 net/netfilter/nft_exthdr.c if (skb_copy_bits(skb, start, opt->__data, optlen)) opt 96 net/netfilter/nft_exthdr.c opt->optlen = optlen; opt 98 net/netfilter/nft_exthdr.c if (__ip_options_compile(net, opt, NULL, &info)) opt 104 net/netfilter/nft_exthdr.c if (!opt->srr) opt 106 net/netfilter/nft_exthdr.c found = target == IPOPT_SSRR ? opt->is_strictroute : opt 107 net/netfilter/nft_exthdr.c !opt->is_strictroute; opt 109 net/netfilter/nft_exthdr.c *offset = opt->srr + start; opt 112 net/netfilter/nft_exthdr.c if (!opt->rr) opt 114 net/netfilter/nft_exthdr.c *offset = opt->rr + start; opt 118 net/netfilter/nft_exthdr.c if (!opt->router_alert) opt 120 net/netfilter/nft_exthdr.c *offset = opt->router_alert + start; opt 188 net/netfilter/nft_exthdr.c u8 *opt; opt 194 net/netfilter/nft_exthdr.c opt = (u8 *)tcph; opt 196 net/netfilter/nft_exthdr.c optl = optlen(opt, i); opt 198 net/netfilter/nft_exthdr.c if (priv->type != opt[i]) opt 209 net/netfilter/nft_exthdr.c memcpy(dest, opt + offset, priv->len); opt 230 net/netfilter/nft_exthdr.c u8 *opt; opt 237 net/netfilter/nft_exthdr.c opt = (u8 *)tcph; opt 245 net/netfilter/nft_exthdr.c optl = optlen(opt, i); opt 247 net/netfilter/nft_exthdr.c if (priv->type != opt[i]) opt 267 net/netfilter/nft_exthdr.c old.v16 = get_unaligned((u16 *)(opt + offset)); opt 281 net/netfilter/nft_exthdr.c put_unaligned(new.v16, (u16*)(opt + offset)); opt 287 net/netfilter/nft_exthdr.c old.v32 = get_unaligned((u32 *)(opt + offset)); opt 292 net/netfilter/nft_exthdr.c put_unaligned(new.v32, (u32*)(opt + offset)); opt 59 net/netfilter/nft_flow_offload.c const struct ip_options *opt; opt 61 net/netfilter/nft_flow_offload.c opt = &(IPCB(skb)->opt); opt 63 net/netfilter/nft_flow_offload.c if (unlikely(opt->optlen)) opt 113 net/netfilter/xt_RATEEST.c struct nlattr opt; opt 149 net/netfilter/xt_RATEEST.c cfg.opt.nla_len = nla_attr_size(sizeof(cfg.est)); opt 150 net/netfilter/xt_RATEEST.c cfg.opt.nla_type = TCA_STATS_RATE_EST; opt 155 net/netfilter/xt_RATEEST.c &est->lock, NULL, &cfg.opt); opt 34 net/netfilter/xt_TCPMSS.c optlen(const u_int8_t *opt, unsigned int offset) opt 37 net/netfilter/xt_TCPMSS.c if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0) opt 40 net/netfilter/xt_TCPMSS.c return opt[offset+1]; opt 83 net/netfilter/xt_TCPMSS.c u8 *opt; opt 116 net/netfilter/xt_TCPMSS.c opt = (u_int8_t *)tcph; opt 117 net/netfilter/xt_TCPMSS.c for (i = sizeof(struct tcphdr); i <= tcp_hdrlen - TCPOLEN_MSS; i += optlen(opt, i)) { opt 118 net/netfilter/xt_TCPMSS.c if (opt[i] == TCPOPT_MSS && opt[i+1] == TCPOLEN_MSS) { opt 121 net/netfilter/xt_TCPMSS.c oldmss = (opt[i+2] << 8) | opt[i+3]; opt 130 net/netfilter/xt_TCPMSS.c opt[i+2] = (newmss & 0xff00) >> 8; opt 131 net/netfilter/xt_TCPMSS.c opt[i+3] = newmss & 0x00ff; opt 176 net/netfilter/xt_TCPMSS.c opt = (u_int8_t *)tcph + sizeof(struct tcphdr); opt 177 net/netfilter/xt_TCPMSS.c memmove(opt + TCPOLEN_MSS, opt, len - sizeof(struct tcphdr)); opt 181 net/netfilter/xt_TCPMSS.c opt[0] = TCPOPT_MSS; opt 182 net/netfilter/xt_TCPMSS.c opt[1] = TCPOLEN_MSS; opt 183 net/netfilter/xt_TCPMSS.c opt[2] = (newmss & 0xff00) >> 8; opt 184 net/netfilter/xt_TCPMSS.c opt[3] = newmss & 0x00ff; opt 186 net/netfilter/xt_TCPMSS.c inet_proto_csum_replace4(&tcph->check, skb, 0, *((__be32 *)opt), false); opt 19 net/netfilter/xt_TCPOPTSTRIP.c static inline unsigned int optlen(const u_int8_t *opt, unsigned int offset) opt 22 net/netfilter/xt_TCPOPTSTRIP.c if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0) opt 25 net/netfilter/xt_TCPOPTSTRIP.c return opt[offset+1]; opt 37 net/netfilter/xt_TCPOPTSTRIP.c u_int8_t *opt; opt 57 net/netfilter/xt_TCPOPTSTRIP.c opt = (u8 *)tcph; opt 64 net/netfilter/xt_TCPOPTSTRIP.c optl = optlen(opt, i); opt 69 net/netfilter/xt_TCPOPTSTRIP.c if (!tcpoptstrip_test_bit(info->strip_bmap, opt[i])) opt 73 net/netfilter/xt_TCPOPTSTRIP.c o = opt[i+j]; opt 82 net/netfilter/xt_TCPOPTSTRIP.c memset(opt + i, TCPOPT_NOP, optl); opt 31 net/netfilter/xt_set.c struct ip_set_adt_opt *opt, int inv) opt 33 net/netfilter/xt_set.c if (ip_set_test(index, skb, par, opt)) opt 58 net/netfilter/xt_set.c ADT_OPT(opt, xt_family(par), info->match_set.u.compat.dim, opt 62 net/netfilter/xt_set.c return match_set(info->match_set.index, skb, par, &opt, opt 122 net/netfilter/xt_set.c ADT_OPT(opt, xt_family(par), info->match_set.dim, opt 126 net/netfilter/xt_set.c if (opt.flags & IPSET_RETURN_NOMATCH) opt 127 net/netfilter/xt_set.c opt.cmdflags |= IPSET_FLAG_RETURN_NOMATCH; opt 129 net/netfilter/xt_set.c return match_set(info->match_set.index, skb, par, &opt, opt 170 net/netfilter/xt_set.c ADT_OPT(opt, xt_family(par), info->match_set.dim, opt 177 net/netfilter/xt_set.c opt.cmdflags |= IPSET_FLAG_MATCH_COUNTERS; opt 179 net/netfilter/xt_set.c return match_set(info->match_set.index, skb, par, &opt, opt 193 net/netfilter/xt_set.c ADT_OPT(opt, xt_family(par), info->match_set.dim, opt 200 net/netfilter/xt_set.c opt.cmdflags |= IPSET_FLAG_MATCH_COUNTERS; opt 202 net/netfilter/xt_set.c return match_set(info->match_set.index, skb, par, &opt, opt 386 net/netfilter/xt_set.c #define MOPT(opt, member) ((opt).ext.skbinfo.member) opt 279 net/netrom/af_netrom.c unsigned long opt; opt 287 net/netrom/af_netrom.c if (get_user(opt, (unsigned int __user *)optval)) opt 292 net/netrom/af_netrom.c if (opt < 1 || opt > ULONG_MAX / HZ) opt 294 net/netrom/af_netrom.c nr->t1 = opt * HZ; opt 298 net/netrom/af_netrom.c if (opt < 1 || opt > ULONG_MAX / HZ) opt 300 net/netrom/af_netrom.c nr->t2 = opt * HZ; opt 304 net/netrom/af_netrom.c if (opt < 1 || opt > 31) opt 306 net/netrom/af_netrom.c nr->n2 = opt; opt 310 net/netrom/af_netrom.c if (opt < 1 || opt > ULONG_MAX / HZ) opt 312 net/netrom/af_netrom.c nr->t4 = opt * HZ; opt 316 net/netrom/af_netrom.c if (opt > ULONG_MAX / (60 * HZ)) opt 318 net/netrom/af_netrom.c nr->idle = opt * 60 * HZ; opt 225 net/nfc/llcp_sock.c u32 opt; opt 244 net/nfc/llcp_sock.c if (get_user(opt, (u32 __user *) optval)) { opt 249 net/nfc/llcp_sock.c if (opt > LLCP_MAX_RW) { opt 254 net/nfc/llcp_sock.c llcp_sock->rw = (u8) opt; opt 266 net/nfc/llcp_sock.c if (get_user(opt, (u32 __user *) optval)) { opt 271 net/nfc/llcp_sock.c if (opt > LLCP_MAX_MIUX) { opt 276 net/nfc/llcp_sock.c llcp_sock->miux = cpu_to_be16((u16) opt); opt 98 net/nfc/nci/core.c void (*req)(struct nci_dev *ndev, unsigned long opt), opt 99 net/nfc/nci/core.c unsigned long opt, __u32 timeout) opt 107 net/nfc/nci/core.c req(ndev, opt); opt 142 net/nfc/nci/core.c unsigned long opt), opt 143 net/nfc/nci/core.c unsigned long opt, __u32 timeout) opt 152 net/nfc/nci/core.c rc = __nci_request(ndev, req, opt, timeout); opt 158 net/nfc/nci/core.c static void nci_reset_req(struct nci_dev *ndev, unsigned long opt) opt 166 net/nfc/nci/core.c static void nci_init_req(struct nci_dev *ndev, unsigned long opt) opt 171 net/nfc/nci/core.c static void nci_init_complete_req(struct nci_dev *ndev, unsigned long opt) opt 213 net/nfc/nci/core.c static void nci_set_config_req(struct nci_dev *ndev, unsigned long opt) opt 215 net/nfc/nci/core.c struct nci_set_config_param *param = (struct nci_set_config_param *)opt; opt 233 net/nfc/nci/core.c static void nci_rf_discover_req(struct nci_dev *ndev, unsigned long opt) opt 236 net/nfc/nci/core.c (struct nci_rf_discover_param *)opt; opt 299 net/nfc/nci/core.c static void nci_rf_discover_select_req(struct nci_dev *ndev, unsigned long opt) opt 302 net/nfc/nci/core.c (struct nci_rf_discover_select_param *)opt; opt 326 net/nfc/nci/core.c static void nci_rf_deactivate_req(struct nci_dev *ndev, unsigned long opt) opt 330 net/nfc/nci/core.c cmd.type = opt; opt 342 net/nfc/nci/core.c static void nci_generic_req(struct nci_dev *ndev, unsigned long opt) opt 345 net/nfc/nci/core.c (struct nci_cmd_param *)opt; opt 395 net/nfc/nci/core.c static void nci_send_data_req(struct nci_dev *ndev, unsigned long opt) opt 397 net/nfc/nci/core.c struct nci_loopback_data *data = (struct nci_loopback_data *)opt; opt 629 net/nfc/nci/core.c static void nci_nfcee_discover_req(struct nci_dev *ndev, unsigned long opt) opt 632 net/nfc/nci/core.c __u8 action = opt; opt 646 net/nfc/nci/core.c static void nci_nfcee_mode_set_req(struct nci_dev *ndev, unsigned long opt) opt 649 net/nfc/nci/core.c (struct nci_nfcee_mode_set_cmd *)opt; opt 668 net/nfc/nci/core.c static void nci_core_conn_create_req(struct nci_dev *ndev, unsigned long opt) opt 671 net/nfc/nci/core.c (struct core_conn_create_data *)opt; opt 715 net/nfc/nci/core.c static void nci_core_conn_close_req(struct nci_dev *ndev, unsigned long opt) opt 717 net/nfc/nci/core.c __u8 conn_id = opt; opt 200 net/nfc/nci/hci.c static void nci_hci_send_data_req(struct nci_dev *ndev, unsigned long opt) opt 202 net/nfc/nci/hci.c struct nci_data *data = (struct nci_data *)opt; opt 440 net/openvswitch/flow.c (struct nd_opt_hdr *)(nd->opt + offset); opt 455 net/openvswitch/flow.c &nd->opt[offset+sizeof(*nd_opt)]); opt 461 net/openvswitch/flow.c &nd->opt[offset+sizeof(*nd_opt)]); opt 350 net/rose/af_rose.c int opt; opt 358 net/rose/af_rose.c if (get_user(opt, (int __user *)optval)) opt 363 net/rose/af_rose.c rose->defer = opt ? 1 : 0; opt 367 net/rose/af_rose.c if (opt < 1) opt 369 net/rose/af_rose.c rose->t1 = opt * HZ; opt 373 net/rose/af_rose.c if (opt < 1) opt 375 net/rose/af_rose.c rose->t2 = opt * HZ; opt 379 net/rose/af_rose.c if (opt < 1) opt 381 net/rose/af_rose.c rose->t3 = opt * HZ; opt 385 net/rose/af_rose.c if (opt < 1) opt 387 net/rose/af_rose.c rose->hb = opt * HZ; opt 391 net/rose/af_rose.c if (opt < 0) opt 393 net/rose/af_rose.c rose->idle = opt * 60 * HZ; opt 397 net/rose/af_rose.c rose->qbitincl = opt ? 1 : 0; opt 110 net/rxrpc/local_object.c int ret, opt; opt 160 net/rxrpc/local_object.c opt = 1; opt 162 net/rxrpc/local_object.c (char *) &opt, sizeof(opt)); opt 174 net/rxrpc/local_object.c opt = 1; opt 176 net/rxrpc/local_object.c (char *) &opt, sizeof(opt)); opt 183 net/rxrpc/local_object.c opt = IP_PMTUDISC_DO; opt 185 net/rxrpc/local_object.c (char *) &opt, sizeof(opt)); opt 192 net/rxrpc/local_object.c opt = 1; opt 194 net/rxrpc/local_object.c (char *)&opt, sizeof(opt)); opt 324 net/rxrpc/output.c int ret, opt; opt 476 net/rxrpc/output.c opt = IP_PMTUDISC_DONT; opt 479 net/rxrpc/output.c (char *)&opt, sizeof(opt)); opt 484 net/rxrpc/output.c opt = IP_PMTUDISC_DO; opt 487 net/rxrpc/output.c (char *)&opt, sizeof(opt)); opt 139 net/sched/act_bpf.c struct tc_act_bpf opt = { opt 148 net/sched/act_bpf.c opt.action = prog->tcf_action; opt 149 net/sched/act_bpf.c if (nla_put(skb, TCA_ACT_BPF_PARMS, sizeof(opt), &opt)) opt 174 net/sched/act_connmark.c struct tc_connmark opt = { opt 182 net/sched/act_connmark.c opt.action = ci->tcf_action; opt 183 net/sched/act_connmark.c opt.zone = ci->zone; opt 184 net/sched/act_connmark.c if (nla_put(skb, TCA_CONNMARK_PARMS, sizeof(opt), &opt)) opt 638 net/sched/act_csum.c struct tc_csum opt = { opt 648 net/sched/act_csum.c opt.action = p->tcf_action; opt 649 net/sched/act_csum.c opt.update_flags = params->update_flags; opt 651 net/sched/act_csum.c if (nla_put(skb, TCA_CSUM_PARMS, sizeof(opt), &opt)) opt 836 net/sched/act_ct.c struct tc_ct opt = { opt 846 net/sched/act_ct.c opt.action = c->tcf_action; opt 882 net/sched/act_ct.c if (nla_put(skb, TCA_CT_PARMS, sizeof(opt), &opt)) opt 286 net/sched/act_ctinfo.c struct tc_ctinfo opt = { opt 303 net/sched/act_ctinfo.c opt.action = ci->tcf_action; opt 304 net/sched/act_ctinfo.c if (nla_put(skb, TCA_CTINFO_ACT, sizeof(opt), &opt)) opt 197 net/sched/act_gact.c struct tc_gact opt = { opt 205 net/sched/act_gact.c opt.action = gact->tcf_action; opt 206 net/sched/act_gact.c if (nla_put(skb, TCA_GACT_PARMS, sizeof(opt), &opt)) opt 624 net/sched/act_ife.c struct tc_ife opt = { opt 632 net/sched/act_ife.c opt.action = ife->tcf_action; opt 635 net/sched/act_ife.c opt.flags = p->flags; opt 637 net/sched/act_ife.c if (nla_put(skb, TCA_IFE_PARMS, sizeof(opt), &opt)) opt 333 net/sched/act_mirred.c struct tc_mirred opt = { opt 342 net/sched/act_mirred.c opt.action = m->tcf_action; opt 343 net/sched/act_mirred.c opt.eaction = m->tcfm_eaction; opt 346 net/sched/act_mirred.c opt.ifindex = dev->ifindex; opt 348 net/sched/act_mirred.c if (nla_put(skb, TCA_MIRRED_PARMS, sizeof(opt), &opt)) opt 303 net/sched/act_mpls.c struct tc_mpls opt = { opt 311 net/sched/act_mpls.c opt.action = m->tcf_action; opt 313 net/sched/act_mpls.c opt.m_action = p->tcfm_action; opt 315 net/sched/act_mpls.c if (nla_put(skb, TCA_MPLS_PARMS, sizeof(opt), &opt)) opt 267 net/sched/act_nat.c struct tc_nat opt = { opt 275 net/sched/act_nat.c opt.old_addr = p->old_addr; opt 276 net/sched/act_nat.c opt.new_addr = p->new_addr; opt 277 net/sched/act_nat.c opt.mask = p->mask; opt 278 net/sched/act_nat.c opt.flags = p->flags; opt 279 net/sched/act_nat.c opt.action = p->tcf_action; opt 281 net/sched/act_nat.c if (nla_put(skb, TCA_NAT_PARMS, sizeof(opt), &opt)) opt 416 net/sched/act_pedit.c struct tc_pedit *opt; opt 420 net/sched/act_pedit.c s = struct_size(opt, keys, p->tcfp_nkeys); opt 423 net/sched/act_pedit.c opt = kzalloc(s, GFP_ATOMIC); opt 424 net/sched/act_pedit.c if (unlikely(!opt)) opt 428 net/sched/act_pedit.c memcpy(opt->keys, p->tcfp_keys, opt 430 net/sched/act_pedit.c opt->index = p->tcf_index; opt 431 net/sched/act_pedit.c opt->nkeys = p->tcfp_nkeys; opt 432 net/sched/act_pedit.c opt->flags = p->tcfp_flags; opt 433 net/sched/act_pedit.c opt->action = p->tcf_action; opt 434 net/sched/act_pedit.c opt->refcnt = refcount_read(&p->tcf_refcnt) - ref; opt 435 net/sched/act_pedit.c opt->bindcnt = atomic_read(&p->tcf_bindcnt) - bind; opt 443 net/sched/act_pedit.c if (nla_put(skb, TCA_PEDIT_PARMS_EX, s, opt)) opt 446 net/sched/act_pedit.c if (nla_put(skb, TCA_PEDIT_PARMS, s, opt)) opt 455 net/sched/act_pedit.c kfree(opt); opt 461 net/sched/act_pedit.c kfree(opt); opt 310 net/sched/act_police.c struct tc_police opt = { opt 318 net/sched/act_police.c opt.action = police->tcf_action; opt 321 net/sched/act_police.c opt.mtu = p->tcfp_mtu; opt 322 net/sched/act_police.c opt.burst = PSCHED_NS2TICKS(p->tcfp_burst); opt 324 net/sched/act_police.c psched_ratecfg_getrate(&opt.rate, &p->rate); opt 332 net/sched/act_police.c psched_ratecfg_getrate(&opt.peakrate, &p->peak); opt 339 net/sched/act_police.c if (nla_put(skb, TCA_POLICE_TBF, sizeof(opt), &opt)) opt 204 net/sched/act_sample.c struct tc_sample opt = { opt 212 net/sched/act_sample.c opt.action = s->tcf_action; opt 213 net/sched/act_sample.c if (nla_put(skb, TCA_SAMPLE_PARMS, sizeof(opt), &opt)) opt 175 net/sched/act_simple.c struct tc_defact opt = { opt 183 net/sched/act_simple.c opt.action = d->tcf_action; opt 184 net/sched/act_simple.c if (nla_put(skb, TCA_DEF_PARMS, sizeof(opt), &opt) || opt 234 net/sched/act_skbedit.c struct tc_skbedit opt = { opt 245 net/sched/act_skbedit.c opt.action = d->tcf_action; opt 247 net/sched/act_skbedit.c if (nla_put(skb, TCA_SKBEDIT_PARMS, sizeof(opt), &opt)) opt 220 net/sched/act_skbmod.c struct tc_skbmod opt = { opt 228 net/sched/act_skbmod.c opt.action = d->tcf_action; opt 231 net/sched/act_skbmod.c opt.flags = p->flags; opt 232 net/sched/act_skbmod.c if (nla_put(skb, TCA_SKBMOD_PARMS, sizeof(opt), &opt)) opt 101 net/sched/act_tunnel_key.c struct geneve_opt *opt = dst; opt 105 net/sched/act_tunnel_key.c opt->opt_class = opt 107 net/sched/act_tunnel_key.c opt->type = nla_get_u8(tb[TCA_TUNNEL_KEY_ENC_OPT_GENEVE_TYPE]); opt 108 net/sched/act_tunnel_key.c opt->length = data_len / 4; /* length is in units of 4 bytes */ opt 109 net/sched/act_tunnel_key.c opt->r1 = 0; opt 110 net/sched/act_tunnel_key.c opt->r2 = 0; opt 111 net/sched/act_tunnel_key.c opt->r3 = 0; opt 113 net/sched/act_tunnel_key.c memcpy(opt + 1, data, data_len); opt 437 net/sched/act_tunnel_key.c struct geneve_opt *opt = (struct geneve_opt *)src; opt 440 net/sched/act_tunnel_key.c opt->opt_class) || opt 442 net/sched/act_tunnel_key.c opt->type) || opt 444 net/sched/act_tunnel_key.c opt->length * 4, opt + 1)) { opt 449 net/sched/act_tunnel_key.c len -= sizeof(struct geneve_opt) + opt->length * 4; opt 450 net/sched/act_tunnel_key.c src += sizeof(struct geneve_opt) + opt->length * 4; opt 518 net/sched/act_tunnel_key.c struct tc_tunnel_key opt = { opt 528 net/sched/act_tunnel_key.c opt.action = t->tcf_action; opt 529 net/sched/act_tunnel_key.c opt.t_action = params->tcft_action; opt 531 net/sched/act_tunnel_key.c if (nla_put(skb, TCA_TUNNEL_KEY_PARMS, sizeof(opt), &opt)) opt 258 net/sched/act_vlan.c struct tc_vlan opt = { opt 266 net/sched/act_vlan.c opt.action = v->tcf_action; opt 268 net/sched/act_vlan.c opt.v_action = p->tcfv_action; opt 269 net/sched/act_vlan.c if (nla_put(skb, TCA_VLAN_PARMS, sizeof(opt), &opt)) opt 395 net/sched/cls_flow.c struct nlattr *opt = tca[TCA_OPTIONS]; opt 404 net/sched/cls_flow.c if (opt == NULL) opt 407 net/sched/cls_flow.c err = nla_parse_nested_deprecated(tb, TCA_FLOW_MAX, opt, flow_policy, opt 861 net/sched/cls_flower.c struct geneve_opt *opt; opt 867 net/sched/cls_flower.c opt = (struct geneve_opt *)&key->enc_opts.data[key->enc_opts.len]; opt 868 net/sched/cls_flower.c memset(opt, 0xff, option_len); opt 869 net/sched/cls_flower.c opt->length = data_len / 4; opt 870 net/sched/cls_flower.c opt->r1 = 0; opt 871 net/sched/cls_flower.c opt->r2 = 0; opt 872 net/sched/cls_flower.c opt->r3 = 0; opt 923 net/sched/cls_flower.c opt->length = data_len / 4; opt 924 net/sched/cls_flower.c memcpy(opt->opt_data, nla_data(data), data_len); opt 929 net/sched/cls_flower.c opt->opt_class = nla_get_be16(class); opt 934 net/sched/cls_flower.c opt->type = nla_get_u8(type); opt 2123 net/sched/cls_flower.c struct geneve_opt *opt; opt 2132 net/sched/cls_flower.c opt = (struct geneve_opt *)&enc_opts->data[opt_off]; opt 2135 net/sched/cls_flower.c opt->opt_class)) opt 2138 net/sched/cls_flower.c opt->type)) opt 2141 net/sched/cls_flower.c opt->length * 4, opt->opt_data)) opt 2144 net/sched/cls_flower.c opt_off += sizeof(struct geneve_opt) + opt->length * 4; opt 245 net/sched/cls_fw.c struct nlattr *opt = tca[TCA_OPTIONS]; opt 249 net/sched/cls_fw.c if (!opt) opt 252 net/sched/cls_fw.c err = nla_parse_nested_deprecated(tb, TCA_FW_MAX, opt, fw_policy, opt 474 net/sched/cls_route.c struct nlattr *opt = tca[TCA_OPTIONS]; opt 480 net/sched/cls_route.c if (opt == NULL) opt 483 net/sched/cls_route.c err = nla_parse_nested_deprecated(tb, TCA_ROUTE4_MAX, opt, opt 484 net/sched/cls_rsvp.h struct nlattr *opt = tca[TCA_OPTIONS]; opt 491 net/sched/cls_rsvp.h if (opt == NULL) opt 494 net/sched/cls_rsvp.h err = nla_parse_nested_deprecated(tb, TCA_RSVP_MAX, opt, rsvp_policy, opt 528 net/sched/cls_tcindex.c struct nlattr *opt = tca[TCA_OPTIONS]; opt 536 net/sched/cls_tcindex.c tp, handle, tca, arg, opt, p, r, arg ? *arg : NULL); opt 538 net/sched/cls_tcindex.c if (!opt) opt 541 net/sched/cls_tcindex.c err = nla_parse_nested_deprecated(tb, TCA_TCINDEX_MAX, opt, opt 852 net/sched/cls_u32.c struct nlattr *opt = tca[TCA_OPTIONS]; opt 861 net/sched/cls_u32.c if (!opt) { opt 870 net/sched/cls_u32.c err = nla_parse_nested_deprecated(tb, TCA_U32_MAX, opt, u32_policy, opt 53 net/sched/em_ipset.c struct ip_set_adt_opt opt; opt 80 net/sched/em_ipset.c opt.family = state.pf; opt 81 net/sched/em_ipset.c opt.dim = set->dim; opt 82 net/sched/em_ipset.c opt.flags = set->flags; opt 83 net/sched/em_ipset.c opt.cmdflags = 0; opt 84 net/sched/em_ipset.c opt.ext.timeout = ~0u; opt 100 net/sched/em_ipset.c ret = ip_set_test(set->index, skb, &acpar, &opt); opt 468 net/sched/sch_api.c static struct qdisc_size_table *qdisc_get_stab(struct nlattr *opt, opt 478 net/sched/sch_api.c err = nla_parse_nested_deprecated(tb, TCA_STAB_MAX, opt, stab_policy, opt 202 net/sched/sch_atm.c struct nlattr *opt = tca[TCA_OPTIONS]; opt 209 net/sched/sch_atm.c "flow %p,opt %p)\n", sch, p, classid, parent, flow, opt); opt 224 net/sched/sch_atm.c if (opt == NULL) opt 227 net/sched/sch_atm.c error = nla_parse_nested_deprecated(tb, TCA_ATM_MAX, opt, atm_policy, opt 252 net/sched/sch_atm.c opt->nla_type, nla_len(opt), hdr_len); opt 541 net/sched/sch_atm.c static int atm_tc_init(struct Qdisc *sch, struct nlattr *opt, opt 547 net/sched/sch_atm.c pr_debug("atm_tc_init(sch %p,[qdisc %p],opt %p)\n", sch, p, opt); opt 2525 net/sched/sch_cake.c static int cake_change(struct Qdisc *sch, struct nlattr *opt, opt 2532 net/sched/sch_cake.c if (!opt) opt 2535 net/sched/sch_cake.c err = nla_parse_nested_deprecated(tb, TCA_CAKE_MAX, opt, cake_policy, opt 2659 net/sched/sch_cake.c static int cake_init(struct Qdisc *sch, struct nlattr *opt, opt 2681 net/sched/sch_cake.c if (opt) { opt 2682 net/sched/sch_cake.c int err = cake_change(sch, opt, extack); opt 1131 net/sched/sch_cbq.c struct nlattr *opt, opt 1136 net/sched/sch_cbq.c if (!opt) { opt 1141 net/sched/sch_cbq.c err = nla_parse_nested_deprecated(tb, TCA_CBQ_MAX, opt, opt 1157 net/sched/sch_cbq.c static int cbq_init(struct Qdisc *sch, struct nlattr *opt, opt 1169 net/sched/sch_cbq.c err = cbq_opt_parse(tb, opt, extack); opt 1248 net/sched/sch_cbq.c struct tc_cbq_lssopt opt; opt 1250 net/sched/sch_cbq.c opt.flags = 0; opt 1252 net/sched/sch_cbq.c opt.flags |= TCF_CBQ_LSS_BOUNDED; opt 1254 net/sched/sch_cbq.c opt.flags |= TCF_CBQ_LSS_ISOLATED; opt 1255 net/sched/sch_cbq.c opt.ewma_log = cl->ewma_log; opt 1256 net/sched/sch_cbq.c opt.level = cl->level; opt 1257 net/sched/sch_cbq.c opt.avpkt = cl->avpkt; opt 1258 net/sched/sch_cbq.c opt.maxidle = cl->maxidle; opt 1259 net/sched/sch_cbq.c opt.minidle = (u32)(-cl->minidle); opt 1260 net/sched/sch_cbq.c opt.offtime = cl->offtime; opt 1261 net/sched/sch_cbq.c opt.change = ~0; opt 1262 net/sched/sch_cbq.c if (nla_put(skb, TCA_CBQ_LSSOPT, sizeof(opt), &opt)) opt 1274 net/sched/sch_cbq.c struct tc_cbq_wrropt opt; opt 1276 net/sched/sch_cbq.c memset(&opt, 0, sizeof(opt)); opt 1277 net/sched/sch_cbq.c opt.flags = 0; opt 1278 net/sched/sch_cbq.c opt.allot = cl->allot; opt 1279 net/sched/sch_cbq.c opt.priority = cl->priority + 1; opt 1280 net/sched/sch_cbq.c opt.cpriority = cl->cpriority + 1; opt 1281 net/sched/sch_cbq.c opt.weight = cl->weight; opt 1282 net/sched/sch_cbq.c if (nla_put(skb, TCA_CBQ_WRROPT, sizeof(opt), &opt)) opt 1294 net/sched/sch_cbq.c struct tc_cbq_fopt opt; opt 1297 net/sched/sch_cbq.c opt.split = cl->split ? cl->split->common.classid : 0; opt 1298 net/sched/sch_cbq.c opt.defmap = cl->defmap; opt 1299 net/sched/sch_cbq.c opt.defchange = ~0; opt 1300 net/sched/sch_cbq.c if (nla_put(skb, TCA_CBQ_FOPT, sizeof(opt), &opt)) opt 1483 net/sched/sch_cbq.c struct nlattr *opt = tca[TCA_OPTIONS]; opt 1488 net/sched/sch_cbq.c err = cbq_opt_parse(tb, opt, extack); opt 276 net/sched/sch_cbs.c const struct tc_cbs_qopt *opt, opt 291 net/sched/sch_cbs.c cbs.hicredit = opt->hicredit; opt 292 net/sched/sch_cbs.c cbs.locredit = opt->locredit; opt 293 net/sched/sch_cbs.c cbs.idleslope = opt->idleslope; opt 294 net/sched/sch_cbs.c cbs.sendslope = opt->sendslope; opt 360 net/sched/sch_cbs.c static int cbs_change(struct Qdisc *sch, struct nlattr *opt, opt 369 net/sched/sch_cbs.c err = nla_parse_nested_deprecated(tb, TCA_CBS_MAX, opt, cbs_policy, opt 400 net/sched/sch_cbs.c static int cbs_init(struct Qdisc *sch, struct nlattr *opt, opt 406 net/sched/sch_cbs.c if (!opt) { opt 429 net/sched/sch_cbs.c return cbs_change(sch, opt, extack); opt 454 net/sched/sch_cbs.c struct tc_cbs_qopt opt = { }; opt 461 net/sched/sch_cbs.c opt.hicredit = q->hicredit; opt 462 net/sched/sch_cbs.c opt.locredit = q->locredit; opt 463 net/sched/sch_cbs.c opt.sendslope = div64_s64(q->sendslope, BYTES_PER_KBIT); opt 464 net/sched/sch_cbs.c opt.idleslope = div64_s64(q->idleslope, BYTES_PER_KBIT); opt 465 net/sched/sch_cbs.c opt.offload = q->offload; opt 467 net/sched/sch_cbs.c if (nla_put(skb, TCA_CBS_PARMS, sizeof(opt), &opt)) opt 344 net/sched/sch_choke.c static int choke_change(struct Qdisc *sch, struct nlattr *opt, opt 355 net/sched/sch_choke.c if (opt == NULL) opt 358 net/sched/sch_choke.c err = nla_parse_nested_deprecated(tb, TCA_CHOKE_MAX, opt, opt 433 net/sched/sch_choke.c static int choke_init(struct Qdisc *sch, struct nlattr *opt, opt 436 net/sched/sch_choke.c return choke_change(sch, opt, extack); opt 443 net/sched/sch_choke.c struct tc_red_qopt opt = { opt 457 net/sched/sch_choke.c if (nla_put(skb, TCA_CHOKE_PARMS, sizeof(opt), &opt) || opt 133 net/sched/sch_codel.c static int codel_change(struct Qdisc *sch, struct nlattr *opt, opt 141 net/sched/sch_codel.c if (!opt) opt 144 net/sched/sch_codel.c err = nla_parse_nested_deprecated(tb, TCA_CODEL_MAX, opt, opt 189 net/sched/sch_codel.c static int codel_init(struct Qdisc *sch, struct nlattr *opt, opt 201 net/sched/sch_codel.c if (opt) { opt 202 net/sched/sch_codel.c int err = codel_change(sch, opt, extack); opt 60 net/sched/sch_drr.c struct nlattr *opt = tca[TCA_OPTIONS]; opt 65 net/sched/sch_drr.c if (!opt) { opt 70 net/sched/sch_drr.c err = nla_parse_nested_deprecated(tb, TCA_DRR_MAX, opt, drr_policy, opt 417 net/sched/sch_drr.c static int drr_init_qdisc(struct Qdisc *sch, struct nlattr *opt, opt 121 net/sched/sch_dsmark.c struct nlattr *opt = tca[TCA_OPTIONS]; opt 133 net/sched/sch_dsmark.c if (!opt) opt 136 net/sched/sch_dsmark.c err = nla_parse_nested_deprecated(tb, TCA_DSMARK_MAX, opt, opt 339 net/sched/sch_dsmark.c static int dsmark_init(struct Qdisc *sch, struct nlattr *opt, opt 349 net/sched/sch_dsmark.c pr_debug("%s(sch %p,[qdisc %p],opt %p)\n", __func__, sch, p, opt); opt 351 net/sched/sch_dsmark.c if (!opt) opt 358 net/sched/sch_dsmark.c err = nla_parse_nested_deprecated(tb, TCA_DSMARK_MAX, opt, opt 346 net/sched/sch_etf.c static int etf_init(struct Qdisc *sch, struct nlattr *opt, opt 355 net/sched/sch_etf.c if (!opt) { opt 361 net/sched/sch_etf.c err = nla_parse_nested_deprecated(tb, TCA_ETF_MAX, opt, etf_policy, opt 469 net/sched/sch_etf.c struct tc_etf_qopt opt = { }; opt 476 net/sched/sch_etf.c opt.delta = q->delta; opt 477 net/sched/sch_etf.c opt.clockid = q->clockid; opt 479 net/sched/sch_etf.c opt.flags |= TC_ETF_OFFLOAD_ON; opt 482 net/sched/sch_etf.c opt.flags |= TC_ETF_DEADLINE_MODE_ON; opt 485 net/sched/sch_etf.c opt.flags |= TC_ETF_SKIP_SOCK_CHECK; opt 487 net/sched/sch_etf.c if (nla_put(skb, TCA_ETF_PARMS, sizeof(opt), &opt)) opt 54 net/sched/sch_fifo.c static int fifo_init(struct Qdisc *sch, struct nlattr *opt, opt 60 net/sched/sch_fifo.c if (opt == NULL) { opt 68 net/sched/sch_fifo.c struct tc_fifo_qopt *ctl = nla_data(opt); opt 70 net/sched/sch_fifo.c if (nla_len(opt) < sizeof(*ctl)) opt 90 net/sched/sch_fifo.c struct tc_fifo_qopt opt = { .limit = sch->limit }; opt 92 net/sched/sch_fifo.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) opt 753 net/sched/sch_fq.c static int fq_change(struct Qdisc *sch, struct nlattr *opt, opt 762 net/sched/sch_fq.c if (!opt) opt 765 net/sched/sch_fq.c err = nla_parse_nested_deprecated(tb, TCA_FQ_MAX, opt, fq_policy, opt 866 net/sched/sch_fq.c static int fq_init(struct Qdisc *sch, struct nlattr *opt, opt 893 net/sched/sch_fq.c if (opt) opt 894 net/sched/sch_fq.c err = fq_change(sch, opt, extack); opt 368 net/sched/sch_fq_codel.c static int fq_codel_change(struct Qdisc *sch, struct nlattr *opt, opt 375 net/sched/sch_fq_codel.c if (!opt) opt 378 net/sched/sch_fq_codel.c err = nla_parse_nested_deprecated(tb, TCA_FQ_CODEL_MAX, opt, opt 450 net/sched/sch_fq_codel.c static int fq_codel_init(struct Qdisc *sch, struct nlattr *opt, opt 469 net/sched/sch_fq_codel.c if (opt) { opt 470 net/sched/sch_fq_codel.c err = fq_codel_change(sch, opt, extack); opt 577 net/sched/sch_generic.c static int noqueue_init(struct Qdisc *qdisc, struct nlattr *opt, opt 713 net/sched/sch_generic.c struct tc_prio_qopt opt = { .bands = PFIFO_FAST_BANDS }; opt 715 net/sched/sch_generic.c memcpy(&opt.priomap, prio2band, TC_PRIO_MAX + 1); opt 716 net/sched/sch_generic.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) opt 724 net/sched/sch_generic.c static int pfifo_fast_init(struct Qdisc *qdisc, struct nlattr *opt, opt 314 net/sched/sch_gred.c struct tc_gred_qopt_offload opt = { opt 326 net/sched/sch_gred.c opt.set.grio_on = gred_rio_mode(table); opt 327 net/sched/sch_gred.c opt.set.wred_on = gred_wred_mode(table); opt 328 net/sched/sch_gred.c opt.set.dp_cnt = table->DPs; opt 329 net/sched/sch_gred.c opt.set.dp_def = table->def; opt 336 net/sched/sch_gred.c opt.set.tab[i].present = true; opt 337 net/sched/sch_gred.c opt.set.tab[i].limit = q->limit; opt 338 net/sched/sch_gred.c opt.set.tab[i].prio = q->prio; opt 339 net/sched/sch_gred.c opt.set.tab[i].min = q->parms.qth_min >> q->parms.Wlog; opt 340 net/sched/sch_gred.c opt.set.tab[i].max = q->parms.qth_max >> q->parms.Wlog; opt 341 net/sched/sch_gred.c opt.set.tab[i].is_ecn = gred_use_ecn(q); opt 342 net/sched/sch_gred.c opt.set.tab[i].is_harddrop = gred_use_harddrop(q); opt 343 net/sched/sch_gred.c opt.set.tab[i].probability = q->parms.max_P; opt 344 net/sched/sch_gred.c opt.set.tab[i].backlog = &q->backlog; opt 346 net/sched/sch_gred.c opt.set.qstats = &sch->qstats; opt 349 net/sched/sch_gred.c dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_GRED, &opt); opt 635 net/sched/sch_gred.c static int gred_change(struct Qdisc *sch, struct nlattr *opt, opt 646 net/sched/sch_gred.c if (opt == NULL) opt 649 net/sched/sch_gred.c err = nla_parse_nested_deprecated(tb, TCA_GRED_MAX, opt, gred_policy, opt 728 net/sched/sch_gred.c static int gred_init(struct Qdisc *sch, struct nlattr *opt, opt 734 net/sched/sch_gred.c if (!opt) opt 737 net/sched/sch_gred.c err = nla_parse_nested_deprecated(tb, TCA_GRED_MAX, opt, gred_policy, opt 797 net/sched/sch_gred.c struct tc_gred_qopt opt; opt 800 net/sched/sch_gred.c memset(&opt, 0, sizeof(opt)); opt 807 net/sched/sch_gred.c opt.DP = MAX_DPs + i; opt 811 net/sched/sch_gred.c opt.limit = q->limit; opt 812 net/sched/sch_gred.c opt.DP = q->DP; opt 813 net/sched/sch_gred.c opt.backlog = gred_backlog(table, q, sch); opt 814 net/sched/sch_gred.c opt.prio = q->prio; opt 815 net/sched/sch_gred.c opt.qth_min = q->parms.qth_min >> q->parms.Wlog; opt 816 net/sched/sch_gred.c opt.qth_max = q->parms.qth_max >> q->parms.Wlog; opt 817 net/sched/sch_gred.c opt.Wlog = q->parms.Wlog; opt 818 net/sched/sch_gred.c opt.Plog = q->parms.Plog; opt 819 net/sched/sch_gred.c opt.Scell_log = q->parms.Scell_log; opt 820 net/sched/sch_gred.c opt.other = q->stats.other; opt 821 net/sched/sch_gred.c opt.early = q->stats.prob_drop; opt 822 net/sched/sch_gred.c opt.forced = q->stats.forced_drop; opt 823 net/sched/sch_gred.c opt.pdrop = q->stats.pdrop; opt 824 net/sched/sch_gred.c opt.packets = q->packetsin; opt 825 net/sched/sch_gred.c opt.bytesin = q->bytesin; opt 832 net/sched/sch_gred.c opt.qave = qavg >> q->parms.Wlog; opt 835 net/sched/sch_gred.c if (nla_append(skb, sizeof(opt), &opt) < 0) opt 920 net/sched/sch_hfsc.c struct nlattr *opt = tca[TCA_OPTIONS]; opt 926 net/sched/sch_hfsc.c if (opt == NULL) opt 929 net/sched/sch_hfsc.c err = nla_parse_nested_deprecated(tb, TCA_HFSC_MAX, opt, hfsc_policy, opt 1385 net/sched/sch_hfsc.c hfsc_init_qdisc(struct Qdisc *sch, struct nlattr *opt, opt 1394 net/sched/sch_hfsc.c if (!opt || nla_len(opt) < sizeof(*qopt)) opt 1396 net/sched/sch_hfsc.c qopt = nla_data(opt); opt 1427 net/sched/sch_hfsc.c hfsc_change_qdisc(struct Qdisc *sch, struct nlattr *opt, opt 1433 net/sched/sch_hfsc.c if (opt == NULL || nla_len(opt) < sizeof(*qopt)) opt 1435 net/sched/sch_hfsc.c qopt = nla_data(opt); opt 508 net/sched/sch_hhf.c static int hhf_change(struct Qdisc *sch, struct nlattr *opt, opt 519 net/sched/sch_hhf.c if (!opt) opt 522 net/sched/sch_hhf.c err = nla_parse_nested_deprecated(tb, TCA_HHF_MAX, opt, hhf_policy, opt 577 net/sched/sch_hhf.c static int hhf_init(struct Qdisc *sch, struct nlattr *opt, opt 595 net/sched/sch_hhf.c if (opt) { opt 596 net/sched/sch_hhf.c int err = hhf_change(sch, opt, extack); opt 995 net/sched/sch_htb.c static int htb_init(struct Qdisc *sch, struct nlattr *opt, opt 1006 net/sched/sch_htb.c if (!opt) opt 1013 net/sched/sch_htb.c err = nla_parse_nested_deprecated(tb, TCA_HTB_MAX, opt, htb_policy, opt 1079 net/sched/sch_htb.c struct tc_htb_opt opt; opt 1093 net/sched/sch_htb.c memset(&opt, 0, sizeof(opt)); opt 1095 net/sched/sch_htb.c psched_ratecfg_getrate(&opt.rate, &cl->rate); opt 1096 net/sched/sch_htb.c opt.buffer = PSCHED_NS2TICKS(cl->buffer); opt 1097 net/sched/sch_htb.c psched_ratecfg_getrate(&opt.ceil, &cl->ceil); opt 1098 net/sched/sch_htb.c opt.cbuffer = PSCHED_NS2TICKS(cl->cbuffer); opt 1099 net/sched/sch_htb.c opt.quantum = cl->quantum; opt 1100 net/sched/sch_htb.c opt.prio = cl->prio; opt 1101 net/sched/sch_htb.c opt.level = cl->level; opt 1102 net/sched/sch_htb.c if (nla_put(skb, TCA_HTB_PARMS, sizeof(opt), &opt)) opt 1303 net/sched/sch_htb.c struct nlattr *opt = tca[TCA_OPTIONS]; opt 1311 net/sched/sch_htb.c if (!opt) opt 1314 net/sched/sch_htb.c err = nla_parse_nested_deprecated(tb, TCA_HTB_MAX, opt, htb_policy, opt 1343 net/sched/sch_htb.c struct gnet_estimator opt; opt 1346 net/sched/sch_htb.c .nla_len = nla_attr_size(sizeof(est.opt)), opt 1349 net/sched/sch_htb.c .opt = { opt 76 net/sched/sch_ingress.c static int ingress_init(struct Qdisc *sch, struct nlattr *opt, opt 208 net/sched/sch_ingress.c static int clsact_init(struct Qdisc *sch, struct nlattr *opt, opt 27 net/sched/sch_mq.c struct tc_mq_qopt_offload opt = { opt 35 net/sched/sch_mq.c return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_MQ, &opt); opt 40 net/sched/sch_mq.c struct tc_mq_qopt_offload opt = { opt 49 net/sched/sch_mq.c return qdisc_offload_dump_helper(sch, TC_SETUP_QDISC_MQ, &opt); opt 67 net/sched/sch_mq.c static int mq_init(struct Qdisc *sch, struct nlattr *opt, opt 133 net/sched/sch_mqprio.c static int mqprio_init(struct Qdisc *sch, struct nlattr *opt, opt 160 net/sched/sch_mqprio.c if (!opt || nla_len(opt) < sizeof(*qopt)) opt 163 net/sched/sch_mqprio.c qopt = nla_data(opt); opt 167 net/sched/sch_mqprio.c len = nla_len(opt) - NLA_ALIGN(sizeof(*qopt)); opt 169 net/sched/sch_mqprio.c err = parse_attr(tb, TCA_MQPRIO_MAX, opt, mqprio_policy, opt 344 net/sched/sch_mqprio.c struct tc_mqprio_qopt *opt, struct sk_buff *skb) opt 354 net/sched/sch_mqprio.c for (i = 0; i < opt->num_tc; i++) { opt 368 net/sched/sch_mqprio.c for (i = 0; i < opt->num_tc; i++) { opt 388 net/sched/sch_mqprio.c struct tc_mqprio_qopt opt = { 0 }; opt 428 net/sched/sch_mqprio.c opt.num_tc = netdev_get_num_tc(dev); opt 429 net/sched/sch_mqprio.c memcpy(opt.prio_tc_map, dev->prio_tc_map, sizeof(opt.prio_tc_map)); opt 430 net/sched/sch_mqprio.c opt.hw = priv->hw_offload; opt 433 net/sched/sch_mqprio.c opt.count[tc] = dev->tc_to_txq[tc].count; opt 434 net/sched/sch_mqprio.c opt.offset[tc] = dev->tc_to_txq[tc].offset; opt 437 net/sched/sch_mqprio.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) opt 450 net/sched/sch_mqprio.c (dump_rates(priv, &opt, skb) != 0)) opt 172 net/sched/sch_multiq.c static int multiq_tune(struct Qdisc *sch, struct nlattr *opt, opt 182 net/sched/sch_multiq.c if (nla_len(opt) < sizeof(*qopt)) opt 185 net/sched/sch_multiq.c qopt = nla_data(opt); opt 236 net/sched/sch_multiq.c static int multiq_init(struct Qdisc *sch, struct nlattr *opt, opt 244 net/sched/sch_multiq.c if (!opt) opt 259 net/sched/sch_multiq.c return multiq_tune(sch, opt, extack); opt 266 net/sched/sch_multiq.c struct tc_multiq_qopt opt; opt 268 net/sched/sch_multiq.c opt.bands = q->bands; opt 269 net/sched/sch_multiq.c opt.max_bands = q->max_bands; opt 271 net/sched/sch_multiq.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) opt 950 net/sched/sch_netem.c static int netem_change(struct Qdisc *sch, struct nlattr *opt, opt 960 net/sched/sch_netem.c if (opt == NULL) opt 963 net/sched/sch_netem.c qopt = nla_data(opt); opt 964 net/sched/sch_netem.c ret = parse_attr(tb, TCA_NETEM_MAX, opt, netem_policy, sizeof(*qopt)); opt 1052 net/sched/sch_netem.c static int netem_init(struct Qdisc *sch, struct nlattr *opt, opt 1060 net/sched/sch_netem.c if (!opt) opt 1064 net/sched/sch_netem.c ret = netem_change(sch, opt, extack); opt 199 net/sched/sch_pie.c static int pie_change(struct Qdisc *sch, struct nlattr *opt, opt 207 net/sched/sch_pie.c if (!opt) opt 210 net/sched/sch_pie.c err = nla_parse_nested_deprecated(tb, TCA_PIE_MAX, opt, pie_policy, opt 458 net/sched/sch_pie.c static int pie_init(struct Qdisc *sch, struct nlattr *opt, opt 470 net/sched/sch_pie.c if (opt) { opt 471 net/sched/sch_pie.c int err = pie_change(sch, opt, extack); opt 122 net/sched/sch_plug.c static int plug_init(struct Qdisc *sch, struct nlattr *opt, opt 132 net/sched/sch_plug.c if (opt == NULL) { opt 136 net/sched/sch_plug.c struct tc_plug_qopt *ctl = nla_data(opt); opt 138 net/sched/sch_plug.c if (nla_len(opt) < sizeof(*ctl)) opt 158 net/sched/sch_plug.c static int plug_change(struct Qdisc *sch, struct nlattr *opt, opt 164 net/sched/sch_plug.c if (opt == NULL) opt 167 net/sched/sch_plug.c msg = nla_data(opt); opt 168 net/sched/sch_plug.c if (nla_len(opt) < sizeof(*msg)) opt 145 net/sched/sch_prio.c struct tc_prio_qopt_offload opt = { opt 154 net/sched/sch_prio.c opt.command = TC_PRIO_REPLACE; opt 155 net/sched/sch_prio.c opt.replace_params.bands = qopt->bands; opt 156 net/sched/sch_prio.c memcpy(&opt.replace_params.priomap, qopt->priomap, opt 158 net/sched/sch_prio.c opt.replace_params.qstats = &sch->qstats; opt 160 net/sched/sch_prio.c opt.command = TC_PRIO_DESTROY; opt 163 net/sched/sch_prio.c return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_PRIO, &opt); opt 178 net/sched/sch_prio.c static int prio_tune(struct Qdisc *sch, struct nlattr *opt, opt 186 net/sched/sch_prio.c if (nla_len(opt) < sizeof(*qopt)) opt 188 net/sched/sch_prio.c qopt = nla_data(opt); opt 231 net/sched/sch_prio.c static int prio_init(struct Qdisc *sch, struct nlattr *opt, opt 237 net/sched/sch_prio.c if (!opt) opt 244 net/sched/sch_prio.c return prio_tune(sch, opt, extack); opt 268 net/sched/sch_prio.c struct tc_prio_qopt opt; opt 271 net/sched/sch_prio.c opt.bands = q->bands; opt 272 net/sched/sch_prio.c memcpy(&opt.priomap, q->prio2band, TC_PRIO_MAX + 1); opt 278 net/sched/sch_prio.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) opt 1410 net/sched/sch_qfq.c static int qfq_init_qdisc(struct Qdisc *sch, struct nlattr *opt, opt 152 net/sched/sch_red.c struct tc_red_qopt_offload opt = { opt 161 net/sched/sch_red.c opt.command = TC_RED_REPLACE; opt 162 net/sched/sch_red.c opt.set.min = q->parms.qth_min >> q->parms.Wlog; opt 163 net/sched/sch_red.c opt.set.max = q->parms.qth_max >> q->parms.Wlog; opt 164 net/sched/sch_red.c opt.set.probability = q->parms.max_P; opt 165 net/sched/sch_red.c opt.set.limit = q->limit; opt 166 net/sched/sch_red.c opt.set.is_ecn = red_use_ecn(q); opt 167 net/sched/sch_red.c opt.set.is_harddrop = red_use_harddrop(q); opt 168 net/sched/sch_red.c opt.set.qstats = &sch->qstats; opt 170 net/sched/sch_red.c opt.command = TC_RED_DESTROY; opt 173 net/sched/sch_red.c return dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_QDISC_RED, &opt); opt 191 net/sched/sch_red.c static int red_change(struct Qdisc *sch, struct nlattr *opt, opt 201 net/sched/sch_red.c if (opt == NULL) opt 204 net/sched/sch_red.c err = nla_parse_nested_deprecated(tb, TCA_RED_MAX, opt, red_policy, opt 273 net/sched/sch_red.c static int red_init(struct Qdisc *sch, struct nlattr *opt, opt 281 net/sched/sch_red.c return red_change(sch, opt, extack); opt 303 net/sched/sch_red.c struct tc_red_qopt opt = { opt 321 net/sched/sch_red.c if (nla_put(skb, TCA_RED_PARMS, sizeof(opt), &opt) || opt 488 net/sched/sch_sfb.c static int sfb_change(struct Qdisc *sch, struct nlattr *opt, opt 498 net/sched/sch_sfb.c if (opt) { opt 499 net/sched/sch_sfb.c err = nla_parse_nested_deprecated(tb, TCA_SFB_MAX, opt, opt 551 net/sched/sch_sfb.c static int sfb_init(struct Qdisc *sch, struct nlattr *opt, opt 562 net/sched/sch_sfb.c return sfb_change(sch, opt, extack); opt 569 net/sched/sch_sfb.c struct tc_sfb_qopt opt = { opt 585 net/sched/sch_sfb.c if (nla_put(skb, TCA_SFB_PARMS, sizeof(opt), &opt)) opt 623 net/sched/sch_sfq.c static int sfq_change(struct Qdisc *sch, struct nlattr *opt) opt 626 net/sched/sch_sfq.c struct tc_sfq_qopt *ctl = nla_data(opt); opt 633 net/sched/sch_sfq.c if (opt->nla_len < nla_attr_size(sizeof(*ctl))) opt 635 net/sched/sch_sfq.c if (opt->nla_len >= nla_attr_size(sizeof(*ctl_v1))) opt 636 net/sched/sch_sfq.c ctl_v1 = nla_data(opt); opt 731 net/sched/sch_sfq.c static int sfq_init(struct Qdisc *sch, struct nlattr *opt, opt 761 net/sched/sch_sfq.c if (opt) { opt 762 net/sched/sch_sfq.c int err = sfq_change(sch, opt); opt 792 net/sched/sch_sfq.c struct tc_sfq_qopt_v1 opt; opt 795 net/sched/sch_sfq.c memset(&opt, 0, sizeof(opt)); opt 796 net/sched/sch_sfq.c opt.v0.quantum = q->quantum; opt 797 net/sched/sch_sfq.c opt.v0.perturb_period = q->perturb_period / HZ; opt 798 net/sched/sch_sfq.c opt.v0.limit = q->limit; opt 799 net/sched/sch_sfq.c opt.v0.divisor = q->divisor; opt 800 net/sched/sch_sfq.c opt.v0.flows = q->maxflows; opt 801 net/sched/sch_sfq.c opt.depth = q->maxdepth; opt 802 net/sched/sch_sfq.c opt.headdrop = q->headdrop; opt 805 net/sched/sch_sfq.c opt.qth_min = p->qth_min >> p->Wlog; opt 806 net/sched/sch_sfq.c opt.qth_max = p->qth_max >> p->Wlog; opt 807 net/sched/sch_sfq.c opt.Wlog = p->Wlog; opt 808 net/sched/sch_sfq.c opt.Plog = p->Plog; opt 809 net/sched/sch_sfq.c opt.Scell_log = p->Scell_log; opt 810 net/sched/sch_sfq.c opt.max_P = p->max_P; opt 812 net/sched/sch_sfq.c memcpy(&opt.stats, &q->stats, sizeof(opt.stats)); opt 813 net/sched/sch_sfq.c opt.flags = q->flags; opt 815 net/sched/sch_sfq.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) opt 167 net/sched/sch_skbprio.c static int skbprio_change(struct Qdisc *sch, struct nlattr *opt, opt 170 net/sched/sch_skbprio.c struct tc_skbprio_qopt *ctl = nla_data(opt); opt 172 net/sched/sch_skbprio.c if (opt->nla_len != nla_attr_size(sizeof(*ctl))) opt 179 net/sched/sch_skbprio.c static int skbprio_init(struct Qdisc *sch, struct nlattr *opt, opt 193 net/sched/sch_skbprio.c if (!opt) opt 196 net/sched/sch_skbprio.c return skbprio_change(sch, opt, extack); opt 201 net/sched/sch_skbprio.c struct tc_skbprio_qopt opt; opt 203 net/sched/sch_skbprio.c opt.limit = sch->limit; opt 205 net/sched/sch_skbprio.c if (nla_put(skb, TCA_OPTIONS, sizeof(opt), &opt)) opt 1406 net/sched/sch_taprio.c static int taprio_change(struct Qdisc *sch, struct nlattr *opt, opt 1418 net/sched/sch_taprio.c err = nla_parse_nested_deprecated(tb, TCA_TAPRIO_ATTR_MAX, opt, opt 1607 net/sched/sch_taprio.c static int taprio_init(struct Qdisc *sch, struct nlattr *opt, opt 1648 net/sched/sch_taprio.c if (!opt) opt 1670 net/sched/sch_taprio.c return taprio_change(sch, opt, extack); opt 1782 net/sched/sch_taprio.c struct tc_mqprio_qopt opt = { 0 }; opt 1790 net/sched/sch_taprio.c opt.num_tc = netdev_get_num_tc(dev); opt 1791 net/sched/sch_taprio.c memcpy(opt.prio_tc_map, dev->prio_tc_map, sizeof(opt.prio_tc_map)); opt 1794 net/sched/sch_taprio.c opt.count[i] = dev->tc_to_txq[i].count; opt 1795 net/sched/sch_taprio.c opt.offset[i] = dev->tc_to_txq[i].offset; opt 1802 net/sched/sch_taprio.c if (nla_put(skb, TCA_TAPRIO_ATTR_PRIOMAP, sizeof(opt), &opt)) opt 292 net/sched/sch_tbf.c static int tbf_change(struct Qdisc *sch, struct nlattr *opt, opt 306 net/sched/sch_tbf.c err = nla_parse_nested_deprecated(tb, TCA_TBF_MAX, opt, tbf_policy, opt 416 net/sched/sch_tbf.c static int tbf_init(struct Qdisc *sch, struct nlattr *opt, opt 424 net/sched/sch_tbf.c if (!opt) opt 429 net/sched/sch_tbf.c return tbf_change(sch, opt, extack); opt 444 net/sched/sch_tbf.c struct tc_tbf_qopt opt; opt 451 net/sched/sch_tbf.c opt.limit = q->limit; opt 452 net/sched/sch_tbf.c psched_ratecfg_getrate(&opt.rate, &q->rate); opt 454 net/sched/sch_tbf.c psched_ratecfg_getrate(&opt.peakrate, &q->peak); opt 456 net/sched/sch_tbf.c memset(&opt.peakrate, 0, sizeof(opt.peakrate)); opt 457 net/sched/sch_tbf.c opt.mtu = PSCHED_NS2TICKS(q->mtu); opt 458 net/sched/sch_tbf.c opt.buffer = PSCHED_NS2TICKS(q->buffer); opt 459 net/sched/sch_tbf.c if (nla_put(skb, TCA_TBF_PARMS, sizeof(opt), &opt)) opt 166 net/sched/sch_teql.c static int teql_qdisc_init(struct Qdisc *sch, struct nlattr *opt, opt 306 net/sctp/bind_addr.c struct sctp_sock *opt) opt 315 net/sctp/bind_addr.c if (opt->pf->cmp_addr(&laddr->a, addr, opt)) { opt 417 net/sctp/bind_addr.c struct sctp_sock *opt) opt 437 net/sctp/bind_addr.c if (opt->pf->cmp_addr(&laddr->a, addr, opt)) opt 125 net/sctp/ipv6.c static int sctp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 217 net/sctp/ipv6.c res = ip6_xmit(sk, skb, fl6, sk->sk_mark, rcu_dereference(np->opt), opt 276 net/sctp/ipv6.c final_p = fl6_update_dst(fl6, rcu_dereference(np->opt), &final); opt 336 net/sctp/ipv6.c final_p = fl6_update_dst(fl6, rcu_dereference(np->opt), &final); opt 445 net/sctp/ipv6.c struct ipv6_txoptions *opt; opt 450 net/sctp/ipv6.c opt = rcu_dereference(np->opt); opt 451 net/sctp/ipv6.c if (opt) { opt 452 net/sctp/ipv6.c opt = ipv6_dup_options(newsk, opt); opt 453 net/sctp/ipv6.c if (!opt) opt 456 net/sctp/ipv6.c RCU_INIT_POINTER(newnp->opt, opt); opt 464 net/sctp/ipv6.c struct ipv6_txoptions *opt; opt 468 net/sctp/ipv6.c opt = rcu_dereference(np->opt); opt 469 net/sctp/ipv6.c if (opt) opt 470 net/sctp/ipv6.c len = opt->opt_flen + opt->opt_nflen; opt 890 net/sctp/ipv6.c struct sctp_sock *opt) opt 892 net/sctp/ipv6.c struct sock *sk = sctp_opt2sk(opt); opt 918 net/sctp/ipv6.c static int sctp_inet6_bind_verify(struct sctp_sock *opt, union sctp_addr *addr) opt 933 net/sctp/ipv6.c net = sock_net(&opt->inet.sk); opt 936 net/sctp/ipv6.c if (!dev || !(opt->inet.freebind || opt 946 net/sctp/ipv6.c af = opt->pf->af; opt 948 net/sctp/ipv6.c return af->available(addr, opt); opt 954 net/sctp/ipv6.c static int sctp_inet6_send_verify(struct sctp_sock *opt, union sctp_addr *addr) opt 969 net/sctp/ipv6.c dev = dev_get_by_index_rcu(sock_net(&opt->inet.sk), opt 975 net/sctp/ipv6.c af = opt->pf->af; opt 987 net/sctp/ipv6.c static int sctp_inet6_supported_addrs(const struct sctp_sock *opt, opt 991 net/sctp/ipv6.c if (!opt || !ipv6_only_sock(sctp_opt2sk(opt))) { opt 186 net/sctp/protocol.c inet_opt->opt.optlen, GFP_ATOMIC); opt 189 net/sctp/protocol.c inet_opt->opt.optlen); opt 207 net/sctp/protocol.c len = inet_opt->opt.optlen; opt 932 net/sctp/protocol.c struct sctp_sock *opt) opt 949 net/sctp/protocol.c static int sctp_inet_bind_verify(struct sctp_sock *opt, union sctp_addr *addr) opt 951 net/sctp/protocol.c return sctp_v4_available(addr, opt); opt 957 net/sctp/protocol.c static int sctp_inet_send_verify(struct sctp_sock *opt, union sctp_addr *addr) opt 965 net/sctp/protocol.c static int sctp_inet_supported_addrs(const struct sctp_sock *opt, opt 80 net/sctp/socket.c static struct sctp_af *sctp_sockaddr_af(struct sctp_sock *opt, opt 330 net/sctp/socket.c static struct sctp_af *sctp_sockaddr_af(struct sctp_sock *opt, opt 339 net/sctp/socket.c if (!opt->pf->af_supported(addr->sa.sa_family, opt)) opt 347 net/sctp/socket.c !opt->pf->af_supported(AF_INET, opt)) opt 291 net/sctp/transport.c union sctp_addr *saddr, struct sctp_sock *opt) opt 297 net/sctp/transport.c af->get_dst(transport, saddr, &transport->fl, sctp_opt2sk(opt)); opt 302 net/sctp/transport.c af->get_saddr(opt, transport, &transport->fl); opt 304 net/sctp/transport.c sctp_transport_pmtu(transport, sctp_opt2sk(opt)); opt 311 net/sctp/transport.c opt->pf->to_sk_saddr(&transport->saddr, asoc->base.sk); opt 3821 net/socket.c struct ip_options_rcu *opt; opt 3835 net/socket.c opt = rcu_dereference_protected(inet->inet_opt, opt 3837 net/socket.c if (opt) opt 3838 net/socket.c overhead += opt->opt.optlen; opt 3845 net/socket.c optv6 = rcu_dereference_protected(np->opt, opt 96 net/sunrpc/auth_gss/gss_rpc_xdr.c struct gssx_option *opt) opt 100 net/sunrpc/auth_gss/gss_rpc_xdr.c err = gssx_enc_buffer(xdr, &opt->option); opt 103 net/sunrpc/auth_gss/gss_rpc_xdr.c err = gssx_enc_buffer(xdr, &opt->value); opt 108 net/sunrpc/auth_gss/gss_rpc_xdr.c struct gssx_option *opt) opt 112 net/sunrpc/auth_gss/gss_rpc_xdr.c err = gssx_dec_buffer(xdr, &opt->option); opt 115 net/sunrpc/auth_gss/gss_rpc_xdr.c err = gssx_dec_buffer(xdr, &opt->value); opt 341 net/sunrpc/auth_gss/gss_rpc_xdr.c struct gssx_option opt; opt 361 net/sunrpc/auth_gss/gss_rpc_xdr.c opt.option.data = LUCID_OPTION; opt 362 net/sunrpc/auth_gss/gss_rpc_xdr.c opt.option.len = sizeof(LUCID_OPTION); opt 363 net/sunrpc/auth_gss/gss_rpc_xdr.c opt.value.data = LUCID_VALUE; opt 364 net/sunrpc/auth_gss/gss_rpc_xdr.c opt.value.len = sizeof(LUCID_VALUE); opt 365 net/sunrpc/auth_gss/gss_rpc_xdr.c err = gssx_enc_option(xdr, &opt); opt 368 net/sunrpc/auth_gss/gss_rpc_xdr.c opt.option.data = CREDS_OPTION; opt 369 net/sunrpc/auth_gss/gss_rpc_xdr.c opt.option.len = sizeof(CREDS_OPTION); opt 370 net/sunrpc/auth_gss/gss_rpc_xdr.c opt.value.data = CREDS_VALUE; opt 371 net/sunrpc/auth_gss/gss_rpc_xdr.c opt.value.len = sizeof(CREDS_VALUE); opt 372 net/sunrpc/auth_gss/gss_rpc_xdr.c err = gssx_enc_option(xdr, &opt); opt 1715 net/sunrpc/xprtsock.c int opt = 1; opt 1718 net/sunrpc/xprtsock.c (char *)&opt, sizeof(opt)); opt 2950 net/tipc/socket.c static int tipc_setsockopt(struct socket *sock, int lvl, int opt, opt 2964 net/tipc/socket.c switch (opt) { opt 2987 net/tipc/socket.c switch (opt) { opt 3039 net/tipc/socket.c static int tipc_getsockopt(struct socket *sock, int lvl, int opt, opt 3059 net/tipc/socket.c switch (opt) { opt 436 net/x25/af_x25.c int opt; opt 448 net/x25/af_x25.c if (get_user(opt, (int __user *)optval)) opt 451 net/x25/af_x25.c if (opt) opt 459 net/xfrm/xfrm_interface.c static int xfrmi6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, opt 2982 net/xfrm/xfrm_user.c static struct xfrm_policy *xfrm_compile_policy(struct sock *sk, int opt, opt 2993 net/xfrm/xfrm_user.c if (opt != IP_XFRM_POLICY) { opt 3000 net/xfrm/xfrm_user.c if (opt != IPV6_XFRM_POLICY) { opt 283 samples/bpf/cookie_uid_helper_example.c int opt; opt 289 samples/bpf/cookie_uid_helper_example.c while ((opt = getopt(argc, argv, "ts")) != -1) { opt 290 samples/bpf/cookie_uid_helper_example.c switch (opt) { opt 299 samples/bpf/cookie_uid_helper_example.c printf("unknown option %c\n", opt); opt 142 samples/bpf/fds_example.c int opt, mode = BPF_M_UNSPEC; opt 144 samples/bpf/fds_example.c while ((opt = getopt(argc, argv, "F:PGmk:v:po:")) != -1) { opt 145 samples/bpf/fds_example.c switch (opt) { opt 78 samples/bpf/ibumad_user.c int opt; opt 90 samples/bpf/ibumad_user.c while ((opt = getopt_long(argc, argv, "hd:rSw", opt 92 samples/bpf/ibumad_user.c switch (opt) { opt 138 samples/bpf/sampleip_user.c int *pmu_fd, opt, freq = DEFAULT_FREQ, secs = DEFAULT_SECS; opt 141 samples/bpf/sampleip_user.c while ((opt = getopt(argc, argv, "F:h")) != -1) { opt 142 samples/bpf/sampleip_user.c switch (opt) { opt 89 samples/bpf/syscall_tp_user.c int opt, num_progs = 1; opt 92 samples/bpf/syscall_tp_user.c while ((opt = getopt(argc, argv, "i:h")) != -1) { opt 93 samples/bpf/syscall_tp_user.c switch (opt) { opt 30 samples/bpf/tc_l2_redirect_user.c int opt; opt 32 samples/bpf/tc_l2_redirect_user.c while ((opt = getopt(argc, argv, "F:U:i:")) != -1) { opt 33 samples/bpf/tc_l2_redirect_user.c switch (opt) { opt 33 samples/bpf/test_cgrp2_array_pin.c int opt; opt 35 samples/bpf/test_cgrp2_array_pin.c while ((opt = getopt(argc, argv, "F:U:v:")) != -1) { opt 36 samples/bpf/test_cgrp2_array_pin.c switch (opt) { opt 133 samples/bpf/test_cgrp2_attach.c int opt, cg_fd, ret; opt 135 samples/bpf/test_cgrp2_attach.c while ((opt = getopt(argc, argv, "Dd")) != -1) { opt 136 samples/bpf/test_cgrp2_attach.c switch (opt) { opt 89 samples/bpf/xdp1_user.c int prog_fd, map_fd, opt; opt 95 samples/bpf/xdp1_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { opt 96 samples/bpf/xdp1_user.c switch (opt) { opt 92 samples/bpf/xdp_adjust_tail_user.c int i, prog_fd, map_fd, opt; opt 102 samples/bpf/xdp_adjust_tail_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { opt 104 samples/bpf/xdp_adjust_tail_user.c switch (opt) { opt 126 samples/bpf/xdp_adjust_tail_user.c opt_flags[opt] = 0; opt 82 samples/bpf/xdp_fwd_user.c int opt, i, idx, err; opt 86 samples/bpf/xdp_fwd_user.c while ((opt = getopt(argc, argv, ":dD")) != -1) { opt 87 samples/bpf/xdp_fwd_user.c switch (opt) { opt 653 samples/bpf/xdp_monitor_user.c int longindex = 0, opt; opt 664 samples/bpf/xdp_monitor_user.c while ((opt = getopt_long(argc, argv, "hDSs:", opt 666 samples/bpf/xdp_monitor_user.c switch (opt) { opt 687 samples/bpf/xdp_redirect_cpu_user.c int opt, err; opt 723 samples/bpf/xdp_redirect_cpu_user.c while ((opt = getopt_long(argc, argv, "hSd:s:p:q:c:xzF", opt 725 samples/bpf/xdp_redirect_cpu_user.c switch (opt) { opt 109 samples/bpf/xdp_redirect_map_user.c int ret, opt, key = 0; opt 113 samples/bpf/xdp_redirect_map_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { opt 114 samples/bpf/xdp_redirect_map_user.c switch (opt) { opt 105 samples/bpf/xdp_redirect_user.c int prog_fd, tx_port_map_fd, opt; opt 114 samples/bpf/xdp_redirect_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { opt 115 samples/bpf/xdp_redirect_user.c switch (opt) { opt 638 samples/bpf/xdp_router_ipv4_user.c int prog_fd, opt; opt 647 samples/bpf/xdp_router_ipv4_user.c while ((opt = getopt(ac, argv, optstr)) != -1) { opt 648 samples/bpf/xdp_router_ipv4_user.c switch (opt) { opt 466 samples/bpf/xdp_rxq_info_user.c int prog_fd, map_fd, opt, err; opt 507 samples/bpf/xdp_rxq_info_user.c while ((opt = getopt_long(argc, argv, "FhSrmzd:s:a:", opt 509 samples/bpf/xdp_rxq_info_user.c switch (opt) { opt 119 samples/bpf/xdp_sample_pkts_user.c int prog_fd, map_fd, opt; opt 125 samples/bpf/xdp_sample_pkts_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { opt 126 samples/bpf/xdp_sample_pkts_user.c switch (opt) { opt 169 samples/bpf/xdp_tx_iptunnel_user.c int opt, prog_fd; opt 179 samples/bpf/xdp_tx_iptunnel_user.c while ((opt = getopt(argc, argv, optstr)) != -1) { opt 183 samples/bpf/xdp_tx_iptunnel_user.c switch (opt) { opt 203 samples/bpf/xdp_tx_iptunnel_user.c if (opt == 's') opt 243 samples/bpf/xdp_tx_iptunnel_user.c opt_flags[opt] = 0; opt 169 scripts/dtc/dtc.c int opt; opt 180 scripts/dtc/dtc.c while ((opt = util_getopt_long()) != EOF) { opt 181 scripts/dtc/dtc.c switch (opt) { opt 285 scripts/insert-sys-cert.c int opt; opt 289 scripts/insert-sys-cert.c while ((opt = getopt(argc, argv, "b:c:s:")) != -1) { opt 290 scripts/insert-sys-cert.c switch (opt) { opt 489 scripts/kconfig/conf.c int opt; opt 495 scripts/kconfig/conf.c while ((opt = getopt_long(ac, av, "s", long_opts, NULL)) != -1) { opt 496 scripts/kconfig/conf.c if (opt == 's') { opt 500 scripts/kconfig/conf.c input_mode = (enum input_mode)opt; opt 501 scripts/kconfig/conf.c switch (opt) { opt 2566 scripts/mod/modpost.c int opt; opt 2572 scripts/mod/modpost.c while ((opt = getopt(argc, argv, "i:I:e:mnsT:o:awEd")) != -1) { opt 2573 scripts/mod/modpost.c switch (opt) { opt 449 scripts/pnmtologo.c int opt; opt 455 scripts/pnmtologo.c opt = getopt(argc, argv, "hn:o:t:"); opt 456 scripts/pnmtologo.c if (opt == -1) opt 459 scripts/pnmtologo.c switch (opt) { opt 231 scripts/sign-file.c int opt, n; opt 245 scripts/sign-file.c opt = getopt(argc, argv, "sdpk"); opt 246 scripts/sign-file.c switch (opt) { opt 256 scripts/sign-file.c } while (opt != -1); opt 243 scripts/unifdef.c int opt; opt 245 scripts/unifdef.c while ((opt = getopt(argc, argv, "i:D:U:I:o:bBcdeKklnsStV")) != -1) opt 246 scripts/unifdef.c switch (opt) { opt 253 scripts/unifdef.c opt = *optarg++; opt 254 scripts/unifdef.c if (opt == 'D') opt 256 scripts/unifdef.c else if (opt == 'U') opt 746 security/keys/trusted.c struct trusted_key_options *opt) opt 763 security/keys/trusted.c opt->hash = tpm2 ? HASH_ALGO_SHA256 : HASH_ALGO_SHA1; opt 774 security/keys/trusted.c opt->pcrinfo_len = strlen(args[0].from) / 2; opt 775 security/keys/trusted.c if (opt->pcrinfo_len > MAX_PCRINFO_SIZE) opt 777 security/keys/trusted.c res = hex2bin(opt->pcrinfo, args[0].from, opt 778 security/keys/trusted.c opt->pcrinfo_len); opt 786 security/keys/trusted.c opt->keytype = SEAL_keytype; opt 787 security/keys/trusted.c opt->keyhandle = handle; opt 792 security/keys/trusted.c res = hex2bin(opt->keyauth, args[0].from, opt 800 security/keys/trusted.c res = hex2bin(opt->blobauth, args[0].from, opt 815 security/keys/trusted.c opt->pcrlock = lock; opt 822 security/keys/trusted.c opt->hash = i; opt 834 security/keys/trusted.c digest_len = hash_digest_size[opt->hash]; opt 837 security/keys/trusted.c res = hex2bin(opt->policydigest, args[0].from, opt 841 security/keys/trusted.c opt->policydigest_len = digest_len; opt 849 security/keys/trusted.c opt->policyhandle = handle; opt 427 security/selinux/hooks.c int opt; opt 452 security/selinux/hooks.c return tokens[i].opt; opt 1046 security/selinux/hooks.c token = tokens[i].opt; opt 2841 security/selinux/hooks.c int opt, rc; opt 2843 security/selinux/hooks.c opt = fs_parse(fc, &selinux_fs_parameters, param, &result); opt 2844 security/selinux/hooks.c if (opt < 0) opt 2845 security/selinux/hooks.c return opt; opt 2847 security/selinux/hooks.c rc = selinux_add_opt(opt, param->string, &fc->security); opt 64 security/smack/smack_lsm.c int opt; opt 82 security/smack/smack_lsm.c return smk_mount_opts[i].opt; opt 707 security/smack/smack_lsm.c int opt, rc; opt 709 security/smack/smack_lsm.c opt = fs_parse(fc, &smack_fs_parameters, param, &result); opt 710 security/smack/smack_lsm.c if (opt < 0) opt 711 security/smack/smack_lsm.c return opt; opt 713 security/smack/smack_lsm.c rc = smack_add_opt(opt, param->string, &fc->security); opt 114 sound/core/seq/oss/seq_oss_device.h int snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt); opt 23 sound/core/seq/oss/seq_oss_rw.c static int insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt); opt 83 sound/core/seq/oss/seq_oss_rw.c snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt) opt 135 sound/core/seq/oss/seq_oss_rw.c if ((err = insert_queue(dp, &rec, opt)) < 0) opt 151 sound/core/seq/oss/seq_oss_rw.c insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt) opt 173 sound/core/seq/oss/seq_oss_rw.c rc = snd_seq_kernel_client_enqueue(dp->cseq, &event, opt, opt 371 sound/usb/mixer_scarlett.c struct scarlett_mixer_elem_enum_info *opt = elem->private_data; opt 372 sound/usb/mixer_scarlett.c unsigned int items = opt->len; opt 384 sound/usb/mixer_scarlett.c opt->offsets); opt 393 sound/usb/mixer_scarlett.c struct scarlett_mixer_elem_enum_info *opt = elem->private_data; opt 395 sound/usb/mixer_scarlett.c return snd_ctl_enum_info(uinfo, elem->channels, opt->len, opt 396 sound/usb/mixer_scarlett.c (const char * const *)opt->names); opt 403 sound/usb/mixer_scarlett.c struct scarlett_mixer_elem_enum_info *opt = elem->private_data; opt 410 sound/usb/mixer_scarlett.c val = clamp(val - opt->start, 0, opt->len-1); opt 421 sound/usb/mixer_scarlett.c struct scarlett_mixer_elem_enum_info *opt = elem->private_data; opt 429 sound/usb/mixer_scarlett.c val = val + opt->start; opt 531 sound/usb/mixer_scarlett.c const struct scarlett_mixer_elem_enum_info *opt, opt 553 sound/usb/mixer_scarlett.c elem->private_data = (void *)opt; opt 1045 sound/usb/mixer_us16x08.c const char *name, void *opt, opt 1066 sound/usb/mixer_us16x08.c elem->private_data = opt; opt 263 tools/bpf/bpf_jit_disasm.c unsigned int len, klen, opt, opcodes = 0; opt 271 tools/bpf/bpf_jit_disasm.c while ((opt = getopt(argc, argv, "of:O:")) != -1) { opt 272 tools/bpf/bpf_jit_disasm.c switch (opt) { opt 514 tools/bpf/bpftool/common.c const char **opt) opt 539 tools/bpf/bpftool/common.c *opt = "ctx4"; opt 361 tools/bpf/bpftool/main.c int opt, ret; opt 374 tools/bpf/bpftool/main.c while ((opt = getopt_long(argc, argv, "Vhpjfmnd", opt 376 tools/bpf/bpftool/main.c switch (opt) { opt 196 tools/bpf/bpftool/main.h const char **opt); opt 77 tools/firmware/ihex2fw.c int opt; opt 79 tools/firmware/ihex2fw.c while ((opt = getopt(argc, argv, "wsj")) != -1) { opt 80 tools/firmware/ihex2fw.c switch (opt) { opt 136 tools/hv/hv_fcopy_daemon.c int daemonize = 1, long_index = 0, opt; opt 152 tools/hv/hv_fcopy_daemon.c while ((opt = getopt_long(argc, argv, "hn", long_options, opt 154 tools/hv/hv_fcopy_daemon.c switch (opt) { opt 1374 tools/hv/hv_kvp_daemon.c int daemonize = 1, long_index = 0, opt; opt 1382 tools/hv/hv_kvp_daemon.c while ((opt = getopt_long(argc, argv, "hn", long_options, opt 1384 tools/hv/hv_kvp_daemon.c switch (opt) { opt 204 tools/hv/hv_vss_daemon.c int daemonize = 1, long_index = 0, opt; opt 214 tools/hv/hv_vss_daemon.c while ((opt = getopt_long(argc, argv, "hn", long_options, opt 216 tools/hv/hv_vss_daemon.c switch (opt) { opt 20 tools/lib/subcmd/parse-options.c static int opterror(const struct option *opt, const char *reason, int flags) opt 23 tools/lib/subcmd/parse-options.c fprintf(stderr, " Error: switch `%c' %s", opt->short_name, reason); opt 25 tools/lib/subcmd/parse-options.c fprintf(stderr, " Error: option `no-%s' %s", opt->long_name, reason); opt 27 tools/lib/subcmd/parse-options.c fprintf(stderr, " Error: option `%s' %s", opt->long_name, reason); opt 38 tools/lib/subcmd/parse-options.c static void optwarning(const struct option *opt, const char *reason, int flags) opt 41 tools/lib/subcmd/parse-options.c fprintf(stderr, " Warning: switch `%c' %s", opt->short_name, reason); opt 43 tools/lib/subcmd/parse-options.c fprintf(stderr, " Warning: option `no-%s' %s", opt->long_name, reason); opt 45 tools/lib/subcmd/parse-options.c fprintf(stderr, " Warning: option `%s' %s", opt->long_name, reason); opt 48 tools/lib/subcmd/parse-options.c static int get_arg(struct parse_opt_ctx_t *p, const struct option *opt, opt 53 tools/lib/subcmd/parse-options.c if (p->opt) { opt 54 tools/lib/subcmd/parse-options.c res = p->opt; opt 55 tools/lib/subcmd/parse-options.c p->opt = NULL; opt 56 tools/lib/subcmd/parse-options.c } else if ((opt->flags & PARSE_OPT_LASTARG_DEFAULT) && (p->argc == 1 || opt 58 tools/lib/subcmd/parse-options.c res = (const char *)opt->defval; opt 63 tools/lib/subcmd/parse-options.c return opterror(opt, "requires a value", flags); opt 70 tools/lib/subcmd/parse-options.c const struct option *opt, int flags) opt 76 tools/lib/subcmd/parse-options.c if (unset && p->opt) opt 77 tools/lib/subcmd/parse-options.c return opterror(opt, "takes no value", flags); opt 78 tools/lib/subcmd/parse-options.c if (unset && (opt->flags & PARSE_OPT_NONEG)) opt 79 tools/lib/subcmd/parse-options.c return opterror(opt, "isn't available", flags); opt 80 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_DISABLED) opt 81 tools/lib/subcmd/parse-options.c return opterror(opt, "is not usable", flags); opt 83 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_EXCLUSIVE) { opt 84 tools/lib/subcmd/parse-options.c if (p->excl_opt && p->excl_opt != opt) { opt 95 tools/lib/subcmd/parse-options.c opterror(opt, msg, flags); opt 98 tools/lib/subcmd/parse-options.c p->excl_opt = opt; opt 100 tools/lib/subcmd/parse-options.c if (!(flags & OPT_SHORT) && p->opt) { opt 101 tools/lib/subcmd/parse-options.c switch (opt->type) { opt 103 tools/lib/subcmd/parse-options.c if (!(opt->flags & PARSE_OPT_NOARG)) opt 111 tools/lib/subcmd/parse-options.c return opterror(opt, "takes no value", flags); opt 126 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_NOBUILD) { opt 131 tools/lib/subcmd/parse-options.c opt->flags & PARSE_OPT_CANSKIP ? opt 134 tools/lib/subcmd/parse-options.c opt->build_opt); opt 138 tools/lib/subcmd/parse-options.c strncpy(reason, opt->flags & PARSE_OPT_CANSKIP ? opt 143 tools/lib/subcmd/parse-options.c if (!(opt->flags & PARSE_OPT_CANSKIP)) opt 144 tools/lib/subcmd/parse-options.c return opterror(opt, reason, flags); opt 149 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_NOARG) opt 151 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_OPTARG && !p->opt) opt 154 tools/lib/subcmd/parse-options.c switch (opt->type) { opt 177 tools/lib/subcmd/parse-options.c err = get_arg(p, opt, flags, NULL); opt 181 tools/lib/subcmd/parse-options.c optwarning(opt, reason, flags); opt 185 tools/lib/subcmd/parse-options.c switch (opt->type) { opt 188 tools/lib/subcmd/parse-options.c *(int *)opt->value &= ~opt->defval; opt 190 tools/lib/subcmd/parse-options.c *(int *)opt->value |= opt->defval; opt 194 tools/lib/subcmd/parse-options.c *(bool *)opt->value = unset ? false : true; opt 195 tools/lib/subcmd/parse-options.c if (opt->set) opt 196 tools/lib/subcmd/parse-options.c *(bool *)opt->set = true; opt 200 tools/lib/subcmd/parse-options.c *(int *)opt->value = unset ? 0 : *(int *)opt->value + 1; opt 204 tools/lib/subcmd/parse-options.c *(unsigned int *)opt->value = unset ? 0 : opt->defval; opt 208 tools/lib/subcmd/parse-options.c *(void **)opt->value = unset ? NULL : (void *)opt->defval; opt 214 tools/lib/subcmd/parse-options.c *(const char **)opt->value = NULL; opt 215 tools/lib/subcmd/parse-options.c else if (opt->flags & PARSE_OPT_OPTARG && !p->opt) opt 216 tools/lib/subcmd/parse-options.c *(const char **)opt->value = (const char *)opt->defval; opt 218 tools/lib/subcmd/parse-options.c err = get_arg(p, opt, flags, (const char **)opt->value); opt 220 tools/lib/subcmd/parse-options.c if (opt->set) opt 221 tools/lib/subcmd/parse-options.c *(bool *)opt->set = true; opt 224 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_NOEMPTY) { opt 225 tools/lib/subcmd/parse-options.c const char *val = *(const char **)opt->value; opt 232 tools/lib/subcmd/parse-options.c *(const char **)opt->value = NULL; opt 241 tools/lib/subcmd/parse-options.c return (*opt->callback)(opt, NULL, 1) ? (-1) : 0; opt 242 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_NOARG) opt 243 tools/lib/subcmd/parse-options.c return (*opt->callback)(opt, NULL, 0) ? (-1) : 0; opt 244 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_OPTARG && !p->opt) opt 245 tools/lib/subcmd/parse-options.c return (*opt->callback)(opt, NULL, 0) ? (-1) : 0; opt 246 tools/lib/subcmd/parse-options.c if (get_arg(p, opt, flags, &arg)) opt 248 tools/lib/subcmd/parse-options.c return (*opt->callback)(opt, arg, 0) ? (-1) : 0; opt 252 tools/lib/subcmd/parse-options.c *(int *)opt->value = 0; opt 255 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_OPTARG && !p->opt) { opt 256 tools/lib/subcmd/parse-options.c *(int *)opt->value = opt->defval; opt 259 tools/lib/subcmd/parse-options.c if (get_arg(p, opt, flags, &arg)) opt 261 tools/lib/subcmd/parse-options.c *(int *)opt->value = strtol(arg, (char **)&s, 10); opt 263 tools/lib/subcmd/parse-options.c return opterror(opt, "expects a numerical value", flags); opt 268 tools/lib/subcmd/parse-options.c *(unsigned int *)opt->value = 0; opt 271 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_OPTARG && !p->opt) { opt 272 tools/lib/subcmd/parse-options.c *(unsigned int *)opt->value = opt->defval; opt 275 tools/lib/subcmd/parse-options.c if (get_arg(p, opt, flags, &arg)) opt 278 tools/lib/subcmd/parse-options.c return opterror(opt, "expects an unsigned numerical value", flags); opt 279 tools/lib/subcmd/parse-options.c *(unsigned int *)opt->value = strtol(arg, (char **)&s, 10); opt 281 tools/lib/subcmd/parse-options.c return opterror(opt, "expects a numerical value", flags); opt 286 tools/lib/subcmd/parse-options.c *(long *)opt->value = 0; opt 289 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_OPTARG && !p->opt) { opt 290 tools/lib/subcmd/parse-options.c *(long *)opt->value = opt->defval; opt 293 tools/lib/subcmd/parse-options.c if (get_arg(p, opt, flags, &arg)) opt 295 tools/lib/subcmd/parse-options.c *(long *)opt->value = strtol(arg, (char **)&s, 10); opt 297 tools/lib/subcmd/parse-options.c return opterror(opt, "expects a numerical value", flags); opt 302 tools/lib/subcmd/parse-options.c *(unsigned long *)opt->value = 0; opt 305 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_OPTARG && !p->opt) { opt 306 tools/lib/subcmd/parse-options.c *(unsigned long *)opt->value = opt->defval; opt 309 tools/lib/subcmd/parse-options.c if (get_arg(p, opt, flags, &arg)) opt 311 tools/lib/subcmd/parse-options.c *(unsigned long *)opt->value = strtoul(arg, (char **)&s, 10); opt 313 tools/lib/subcmd/parse-options.c return opterror(opt, "expects a numerical value", flags); opt 318 tools/lib/subcmd/parse-options.c *(u64 *)opt->value = 0; opt 321 tools/lib/subcmd/parse-options.c if (opt->flags & PARSE_OPT_OPTARG && !p->opt) { opt 322 tools/lib/subcmd/parse-options.c *(u64 *)opt->value = opt->defval; opt 325 tools/lib/subcmd/parse-options.c if (get_arg(p, opt, flags, &arg)) opt 328 tools/lib/subcmd/parse-options.c return opterror(opt, "expects an unsigned numerical value", flags); opt 329 tools/lib/subcmd/parse-options.c *(u64 *)opt->value = strtoull(arg, (char **)&s, 10); opt 331 tools/lib/subcmd/parse-options.c return opterror(opt, "expects a numerical value", flags); opt 346 tools/lib/subcmd/parse-options.c if (options->short_name == *p->opt) { opt 347 tools/lib/subcmd/parse-options.c p->opt = p->opt[1] ? p->opt + 1 : NULL; opt 422 tools/lib/subcmd/parse-options.c p->opt = arg_end + 1; opt 447 tools/lib/subcmd/parse-options.c p->opt = rest + 1; opt 520 tools/lib/subcmd/parse-options.c ctx->opt = NULL; opt 532 tools/lib/subcmd/parse-options.c ctx->opt = ++arg; opt 533 tools/lib/subcmd/parse-options.c if (internal_help && *ctx->opt == 'h') { opt 546 tools/lib/subcmd/parse-options.c if (ctx->opt) opt 548 tools/lib/subcmd/parse-options.c while (ctx->opt) { opt 549 tools/lib/subcmd/parse-options.c if (internal_help && *ctx->opt == 'h') opt 551 tools/lib/subcmd/parse-options.c arg = ctx->opt; opt 561 tools/lib/subcmd/parse-options.c ctx->argv[0] = strdup(ctx->opt - 1); opt 606 tools/lib/subcmd/parse-options.c ctx->opt = NULL; opt 614 tools/lib/subcmd/parse-options.c char opt = ctx->excl_opt->short_name; opt 615 tools/lib/subcmd/parse-options.c parse_options_usage(NULL, options, &opt, 1); opt 676 tools/lib/subcmd/parse-options.c astrcatf(&error_buf, "unknown switch `%c'", *ctx.opt); opt 824 tools/lib/subcmd/parse-options.c static bool option__in_argv(const struct option *opt, const struct parse_opt_ctx_t *ctx) opt 833 tools/lib/subcmd/parse-options.c if (arg[0] == opt->short_name) opt 838 tools/lib/subcmd/parse-options.c if (opt->long_name && strcmp(opt->long_name, arg) == 0) opt 841 tools/lib/subcmd/parse-options.c if (opt->help && strcasestr(opt->help, arg) != NULL) opt 847 tools/lib/subcmd/parse-options.c if (arg[1] == opt->short_name || opt 848 tools/lib/subcmd/parse-options.c (arg[1] == '-' && opt->long_name && strcmp(opt->long_name, arg + 2) == 0)) opt 930 tools/lib/subcmd/parse-options.c goto opt; opt 943 tools/lib/subcmd/parse-options.c opt: opt 967 tools/lib/subcmd/parse-options.c int parse_opt_verbosity_cb(const struct option *opt, opt 971 tools/lib/subcmd/parse-options.c int *target = opt->value; opt 976 tools/lib/subcmd/parse-options.c else if (opt->short_name == 'v') { opt 1005 tools/lib/subcmd/parse-options.c struct option *opt = find_option(opts, shortopt, longopt); opt 1007 tools/lib/subcmd/parse-options.c if (opt) opt 1008 tools/lib/subcmd/parse-options.c opt->flags |= flag; opt 1017 tools/lib/subcmd/parse-options.c struct option *opt = find_option(opts, shortopt, longopt); opt 1019 tools/lib/subcmd/parse-options.c if (!opt) opt 1022 tools/lib/subcmd/parse-options.c opt->flags |= PARSE_OPT_NOBUILD; opt 1023 tools/lib/subcmd/parse-options.c opt->flags |= can_skip ? PARSE_OPT_CANSKIP : 0; opt 1024 tools/lib/subcmd/parse-options.c opt->build_opt = build_opt; opt 209 tools/lib/subcmd/parse-options.h const char *opt; opt 215 tools/lib/subcmd/run-command.c int opt) opt 219 tools/lib/subcmd/run-command.c cmd->no_stdin = opt & RUN_COMMAND_NO_STDIN ? 1 : 0; opt 220 tools/lib/subcmd/run-command.c cmd->exec_cmd = opt & RUN_EXEC_CMD ? 1 : 0; opt 221 tools/lib/subcmd/run-command.c cmd->stdout_to_stderr = opt & RUN_COMMAND_STDOUT_TO_STDERR ? 1 : 0; opt 224 tools/lib/subcmd/run-command.c int run_command_v_opt(const char **argv, int opt) opt 227 tools/lib/subcmd/run-command.c prepare_run_command_v_opt(&cmd, argv, opt); opt 59 tools/lib/subcmd/run-command.h int run_command_v_opt(const char **argv, int opt); opt 163 tools/perf/bench/numa.c static int parse_cpus_opt(const struct option *opt, const char *arg, int unset); opt 164 tools/perf/bench/numa.c static int parse_nodes_opt(const struct option *opt, const char *arg, int unset); opt 610 tools/perf/bench/numa.c static int parse_cpus_opt(const struct option *opt __maybe_unused, opt 725 tools/perf/bench/numa.c static int parse_nodes_opt(const struct option *opt __maybe_unused, opt 2563 tools/perf/builtin-c2c.c parse_callchain_opt(const struct option *opt, const char *arg, int unset) opt 2565 tools/perf/builtin-c2c.c struct callchain_param *callchain = opt->value; opt 2874 tools/perf/builtin-c2c.c static int parse_record_events(const struct option *opt, opt 2877 tools/perf/builtin-c2c.c bool *event_set = (bool *) opt->value; opt 170 tools/perf/builtin-diff.c static int setup_compute_opt_wdiff(char *opt) opt 172 tools/perf/builtin-diff.c char *w1_str = opt; opt 177 tools/perf/builtin-diff.c if (!opt) opt 180 tools/perf/builtin-diff.c w2_str = strchr(opt, ','); opt 206 tools/perf/builtin-diff.c static int setup_compute_opt(char *opt) opt 209 tools/perf/builtin-diff.c return setup_compute_opt_wdiff(opt); opt 211 tools/perf/builtin-diff.c if (opt) { opt 212 tools/perf/builtin-diff.c pr_err("Failed: extra option specified '%s'", opt); opt 219 tools/perf/builtin-diff.c static int setup_compute(const struct option *opt, const char *str, opt 222 tools/perf/builtin-diff.c int *cp = (int *) opt->value; opt 422 tools/perf/builtin-ftrace.c static int parse_filter_func(const struct option *opt, const char *str, opt 425 tools/perf/builtin-ftrace.c struct list_head *head = opt->value; opt 1759 tools/perf/builtin-kmem.c static int parse_sort_opt(const struct option *opt __maybe_unused, opt 1781 tools/perf/builtin-kmem.c static int parse_caller_opt(const struct option *opt __maybe_unused, opt 1789 tools/perf/builtin-kmem.c static int parse_alloc_opt(const struct option *opt __maybe_unused, opt 1797 tools/perf/builtin-kmem.c static int parse_slab_opt(const struct option *opt __maybe_unused, opt 1805 tools/perf/builtin-kmem.c static int parse_page_opt(const struct option *opt __maybe_unused, opt 1813 tools/perf/builtin-kmem.c static int parse_line_opt(const struct option *opt __maybe_unused, opt 37 tools/perf/builtin-mem.c static int parse_record_events(const struct option *opt, opt 40 tools/perf/builtin-mem.c struct perf_mem *mem = *(struct perf_mem **)opt->value; opt 336 tools/perf/builtin-mem.c parse_mem_ops(const struct option *opt, const char *str, int unset) opt 338 tools/perf/builtin-mem.c int *mode = (int *)opt->value; opt 167 tools/perf/builtin-probe.c static int opt_set_target(const struct option *opt, const char *str, opt 174 tools/perf/builtin-probe.c if (!strcmp(opt->long_name, "exec")) opt 176 tools/perf/builtin-probe.c else if (!strcmp(opt->long_name, "module")) opt 202 tools/perf/builtin-probe.c static int opt_set_target_ns(const struct option *opt __maybe_unused, opt 233 tools/perf/builtin-probe.c static int opt_show_lines(const struct option *opt, opt 247 tools/perf/builtin-probe.c params.command = opt->short_name; opt 253 tools/perf/builtin-probe.c static int opt_show_vars(const struct option *opt, opt 267 tools/perf/builtin-probe.c params.command = opt->short_name; opt 275 tools/perf/builtin-probe.c static int opt_add_probe_event(const struct option *opt, opt 279 tools/perf/builtin-probe.c params.command = opt->short_name; opt 286 tools/perf/builtin-probe.c static int opt_set_filter_with_command(const struct option *opt, opt 290 tools/perf/builtin-probe.c params.command = opt->short_name; opt 298 tools/perf/builtin-probe.c static int opt_set_filter(const struct option *opt __maybe_unused, opt 371 tools/perf/builtin-record.c static int record__aio_parse(const struct option *opt, opt 375 tools/perf/builtin-record.c struct record_opts *opts = (struct record_opts *)opt->value; opt 417 tools/perf/builtin-record.c static int record__mmap_flush_parse(const struct option *opt, opt 422 tools/perf/builtin-record.c struct record_opts *opts = (struct record_opts *)opt->value; opt 454 tools/perf/builtin-record.c static int record__parse_comp_level(const struct option *opt, const char *str, int unset) opt 456 tools/perf/builtin-record.c struct record_opts *opts = opt->value; opt 1774 tools/perf/builtin-record.c int record_parse_callchain_opt(const struct option *opt, opt 1778 tools/perf/builtin-record.c return record_opts__parse_callchain(opt->value, &callchain_param, arg, unset); opt 1781 tools/perf/builtin-record.c int record_callchain_opt(const struct option *opt, opt 1785 tools/perf/builtin-record.c struct callchain_param *callchain = opt->value; opt 1882 tools/perf/builtin-record.c static int parse_clockid(const struct option *opt, const char *str, int unset) opt 1884 tools/perf/builtin-record.c struct record_opts *opts = (struct record_opts *)opt->value; opt 1924 tools/perf/builtin-record.c static int record__parse_affinity(const struct option *opt, const char *str, int unset) opt 1926 tools/perf/builtin-record.c struct record_opts *opts = (struct record_opts *)opt->value; opt 1939 tools/perf/builtin-record.c static int record__parse_mmap_pages(const struct option *opt, opt 1943 tools/perf/builtin-record.c struct record_opts *opts = opt->value; opt 933 tools/perf/builtin-report.c report_parse_callchain_opt(const struct option *opt, const char *arg, int unset) opt 935 tools/perf/builtin-report.c struct callchain_param *callchain = opt->value; opt 951 tools/perf/builtin-report.c parse_time_quantum(const struct option *opt, const char *arg, opt 954 tools/perf/builtin-report.c unsigned long *time_q = opt->value; opt 987 tools/perf/builtin-report.c report_parse_ignore_callees_opt(const struct option *opt __maybe_unused, opt 1005 tools/perf/builtin-report.c parse_branch_mode(const struct option *opt, opt 1008 tools/perf/builtin-report.c int *branch_mode = opt->value; opt 1015 tools/perf/builtin-report.c parse_percent_limit(const struct option *opt, const char *str, opt 1018 tools/perf/builtin-report.c struct report *rep = opt->value; opt 2602 tools/perf/builtin-script.c static int parse_scriptname(const struct option *opt __maybe_unused, opt 2648 tools/perf/builtin-script.c static int parse_output_fields(const struct option *opt __maybe_unused, opt 2957 tools/perf/builtin-script.c static int list_available_scripts(const struct option *opt __maybe_unused, opt 3361 tools/perf/builtin-script.c static int parse_insn_trace(const struct option *opt __maybe_unused, opt 3366 tools/perf/builtin-script.c itrace_parse_synth_opts(opt, "i0ns", 0); opt 3371 tools/perf/builtin-script.c static int parse_xed(const struct option *opt __maybe_unused, opt 3379 tools/perf/builtin-script.c static int parse_call_trace(const struct option *opt __maybe_unused, opt 3384 tools/perf/builtin-script.c itrace_parse_synth_opts(opt, "cewp", 0); opt 3390 tools/perf/builtin-script.c static int parse_callret_trace(const struct option *opt __maybe_unused, opt 3395 tools/perf/builtin-script.c itrace_parse_synth_opts(opt, "crewp", 0); opt 704 tools/perf/builtin-stat.c static int stat__set_big_num(const struct option *opt __maybe_unused, opt 711 tools/perf/builtin-stat.c static int enable_metric_only(const struct option *opt __maybe_unused, opt 719 tools/perf/builtin-stat.c static int parse_metric_groups(const struct option *opt, opt 723 tools/perf/builtin-stat.c return metricgroup__parse_groups(opt, str, &stat_config.metric_events); opt 1264 tools/perf/builtin-stat.c struct option opt = { .value = &evsel_list }; opt 1266 tools/perf/builtin-stat.c return metricgroup__parse_groups(&opt, "transaction", opt 1867 tools/perf/builtin-timechart.c parse_process(const struct option *opt __maybe_unused, const char *arg, opt 1876 tools/perf/builtin-timechart.c parse_highlight(const struct option *opt __maybe_unused, const char *arg, opt 1893 tools/perf/builtin-timechart.c parse_time(const struct option *opt, const char *arg, int __maybe_unused unset) opt 1896 tools/perf/builtin-timechart.c u64 *value = opt->value; opt 1339 tools/perf/builtin-top.c callchain_opt(const struct option *opt, const char *arg, int unset) opt 1342 tools/perf/builtin-top.c return record_callchain_opt(opt, arg, unset); opt 1346 tools/perf/builtin-top.c parse_callchain_opt(const struct option *opt, const char *arg, int unset) opt 1348 tools/perf/builtin-top.c struct callchain_param *callchain = opt->value; opt 1380 tools/perf/builtin-top.c parse_percent_limit(const struct option *opt, const char *arg, opt 1383 tools/perf/builtin-top.c struct perf_top *top = opt->value; opt 3786 tools/perf/builtin-trace.c static int trace__set_duration(const struct option *opt, const char *str, opt 3789 tools/perf/builtin-trace.c struct trace *trace = opt->value; opt 3795 tools/perf/builtin-trace.c static int trace__set_filter_pids_from_option(const struct option *opt, const char *str, opt 3800 tools/perf/builtin-trace.c struct trace *trace = opt->value; opt 3844 tools/perf/builtin-trace.c static int parse_pagefaults(const struct option *opt, const char *str, opt 3847 tools/perf/builtin-trace.c int *trace_pgfaults = opt->value; opt 3907 tools/perf/builtin-trace.c static int trace__parse_events_option(const struct option *opt, const char *str, opt 3910 tools/perf/builtin-trace.c struct trace *trace = (struct trace *)opt->value; opt 3994 tools/perf/builtin-trace.c static int trace__parse_cgroups(const struct option *opt, const char *str, int unset) opt 3996 tools/perf/builtin-trace.c struct trace *trace = opt->value; opt 3999 tools/perf/builtin-trace.c return parse_cgroups(opt, str, unset); opt 49 tools/perf/ui/browsers/scripts.c static int add_script_option(const char *name, const char *opt, opt 55 tools/perf/ui/browsers/scripts.c c->perf, opt, symbol_conf.inline_name ? " --inline" : "", opt 70 tools/perf/ui/setup.c int stdio__config_color(const struct option *opt __maybe_unused, opt 32 tools/perf/ui/ui.h int stdio__config_color(const struct option *opt, const char *mode, int unset); opt 3106 tools/perf/util/annotate.c int annotate_parse_percent_type(const struct option *opt, const char *_str, opt 3109 tools/perf/util/annotate.c struct annotation_options *opts = opt->value; opt 420 tools/perf/util/annotate.h int annotate_parse_percent_type(const struct option *opt, const char *_str, opt 1001 tools/perf/util/auxtrace.c int itrace_parse_synth_opts(const struct option *opt, const char *str, opt 1004 tools/perf/util/auxtrace.c struct itrace_synth_opts *synth_opts = opt->value; opt 534 tools/perf/util/auxtrace.h int itrace_parse_synth_opts(const struct option *opt, const char *str, opt 631 tools/perf/util/auxtrace.h int itrace_parse_synth_opts(const struct option *opt __maybe_unused, opt 39 tools/perf/util/c++/clang.cpp createCompilerInvocation(llvm::opt::ArgStringList CFlags, StringRef& Path, opt 42 tools/perf/util/c++/clang.cpp llvm::opt::ArgStringList CCArgs { opt 68 tools/perf/util/c++/clang.cpp getModuleFromSource(llvm::opt::ArgStringList CFlags, opt 96 tools/perf/util/c++/clang.cpp getModuleFromSource(llvm::opt::ArgStringList CFlags, opt 117 tools/perf/util/c++/clang.cpp getModuleFromSource(llvm::opt::ArgStringList CFlags, StringRef Path) opt 193 tools/perf/util/c++/clang.cpp llvm::opt::ArgStringList CFlags; opt 16 tools/perf/util/c++/clang.h getModuleFromSource(opt::ArgStringList CFlags, opt 20 tools/perf/util/c++/clang.h getModuleFromSource(opt::ArgStringList CFlags, opt 232 tools/perf/util/callchain.h int record_parse_callchain_opt(const struct option *opt, const char *arg, int unset); opt 233 tools/perf/util/callchain.h int record_callchain_opt(const struct option *opt, const char *arg, int unset); opt 202 tools/perf/util/cgroup.c int parse_cgroups(const struct option *opt, const char *str, opt 205 tools/perf/util/cgroup.c struct evlist *evlist = *(struct evlist **)opt->value; opt 27 tools/perf/util/cgroup.h int parse_cgroups(const struct option *opt, const char *str, int unset); opt 865 tools/perf/util/evlist.c int perf_evlist__parse_mmap_pages(const struct option *opt, const char *str, opt 868 tools/perf/util/evlist.c return __perf_evlist__parse_mmap_pages(opt->value, str); opt 181 tools/perf/util/evlist.h int perf_evlist__parse_mmap_pages(const struct option *opt, opt 2704 tools/perf/util/hist.c int parse_filter_percentage(const struct option *opt __maybe_unused, opt 533 tools/perf/util/hist.h int parse_filter_percentage(const struct option *opt, const char *arg, int unset); opt 513 tools/perf/util/metricgroup.c int metricgroup__parse_groups(const struct option *opt, opt 518 tools/perf/util/metricgroup.c struct evlist *perf_evlist = *(struct evlist **)opt->value; opt 30 tools/perf/util/metricgroup.h int metricgroup__parse_groups(const struct option *opt, opt 94 tools/perf/util/parse-branch-options.c parse_branch_stack(const struct option *opt, const char *str, int unset) opt 96 tools/perf/util/parse-branch-options.c __u64 *mode = (__u64 *)opt->value; opt 5 tools/perf/util/parse-branch-options.h int parse_branch_stack(const struct option *opt, const char *str, int unset); opt 2035 tools/perf/util/parse-events.c int parse_events_option(const struct option *opt, const char *str, opt 2038 tools/perf/util/parse-events.c struct evlist *evlist = *(struct evlist **)opt->value; opt 2131 tools/perf/util/parse-events.c int parse_filter(const struct option *opt, const char *str, opt 2134 tools/perf/util/parse-events.c struct evlist *evlist = *(struct evlist **)opt->value; opt 2162 tools/perf/util/parse-events.c int exclude_perf(const struct option *opt, opt 2166 tools/perf/util/parse-events.c struct evlist *evlist = *(struct evlist **)opt->value; opt 33 tools/perf/util/parse-events.h int parse_events_option(const struct option *opt, const char *str, int unset); opt 37 tools/perf/util/parse-events.h int parse_filter(const struct option *opt, const char *str, int unset); opt 38 tools/perf/util/parse-events.h int exclude_perf(const struct option *opt, const char *arg, int unset); opt 13 tools/perf/util/parse-regs-options.c __parse_regs(const struct option *opt, const char *str, int unset, bool intr) opt 15 tools/perf/util/parse-regs-options.c uint64_t *mode = (uint64_t *)opt->value; opt 86 tools/perf/util/parse-regs-options.c parse_user_regs(const struct option *opt, const char *str, int unset) opt 88 tools/perf/util/parse-regs-options.c return __parse_regs(opt, str, unset, false); opt 92 tools/perf/util/parse-regs-options.c parse_intr_regs(const struct option *opt, const char *str, int unset) opt 94 tools/perf/util/parse-regs-options.c return __parse_regs(opt, str, unset, true); opt 5 tools/perf/util/parse-regs-options.h int parse_user_regs(const struct option *opt, const char *str, int unset); opt 6 tools/perf/util/parse-regs-options.h int parse_intr_regs(const struct option *opt, const char *str, int unset); opt 310 tools/perf/util/record.c int record__parse_freq(const struct option *opt, const char *str, int unset __maybe_unused) opt 313 tools/perf/util/record.c struct record_opts *opts = opt->value; opt 72 tools/perf/util/record.h int record__parse_freq(const struct option *opt, const char *str, int unset); opt 2289 tools/perf/util/sort.c static int parse_field_name(char *str, char **event, char **field, char **opt) opt 2309 tools/perf/util/sort.c *opt = opt_name; opt 290 tools/perf/util/sort.h int report_parse_ignore_callees_opt(const struct option *opt, const char *arg, int unset); opt 2330 tools/perf/util/symbol.c int symbol__config_symfs(const struct option *opt __maybe_unused, opt 183 tools/perf/util/symbol.h int symbol__config_symfs(const struct option *opt __maybe_unused, opt 158 tools/power/cpupower/bench/parse.c char opt[16], val[32], *line = NULL; opt 178 tools/power/cpupower/bench/parse.c if (sscanf(line, "%14s = %30s", opt, val) < 2) opt 181 tools/power/cpupower/bench/parse.c dprintf("parsing: %s -> %s\n", opt, val); opt 183 tools/power/cpupower/bench/parse.c if (strcmp("sleep", opt) == 0) opt 186 tools/power/cpupower/bench/parse.c else if (strcmp("load", opt) == 0) opt 189 tools/power/cpupower/bench/parse.c else if (strcmp("load_step", opt) == 0) opt 192 tools/power/cpupower/bench/parse.c else if (strcmp("sleep_step", opt) == 0) opt 195 tools/power/cpupower/bench/parse.c else if (strcmp("cycles", opt) == 0) opt 198 tools/power/cpupower/bench/parse.c else if (strcmp("rounds", opt) == 0) opt 201 tools/power/cpupower/bench/parse.c else if (strcmp("verbose", opt) == 0) opt 204 tools/power/cpupower/bench/parse.c else if (strcmp("output", opt) == 0) opt 207 tools/power/cpupower/bench/parse.c else if (strcmp("cpu", opt) == 0) opt 210 tools/power/cpupower/bench/parse.c else if (strcmp("governor", opt) == 0) { opt 216 tools/power/cpupower/bench/parse.c else if (strcmp("priority", opt) == 0) { opt 354 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c int opt; opt 357 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c while ((opt = getopt(argc, argv, "+lci:m:")) != -1) { opt 358 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c switch (opt) { opt 1406 tools/power/x86/intel-speed-select/isst-config.c int opt; opt 1429 tools/power/x86/intel-speed-select/isst-config.c while ((opt = getopt_long(argc, argv, "b:l:t:c:d:e:n:m:p:w:ho", opt 1431 tools/power/x86/intel-speed-select/isst-config.c switch (opt) { opt 1630 tools/power/x86/intel-speed-select/isst-config.c int opt; opt 1646 tools/power/x86/intel-speed-select/isst-config.c while ((opt = getopt_long_only(argc, argv, "+c:df:hio:v", long_options, opt 1648 tools/power/x86/intel-speed-select/isst-config.c switch (opt) { opt 5663 tools/power/x86/turbostat/turbostat.c int opt; opt 5688 tools/power/x86/turbostat/turbostat.c while ((opt = getopt_long_only(argc, argv, "+C:c:Dde:hi:Jn:o:qST:v", opt 5690 tools/power/x86/turbostat/turbostat.c switch (opt) { opt 522 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c int opt; opt 548 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c while ((opt = getopt_long_only(argc, argv, "+a:c:dD:E:e:f:m:M:rt:u:vw:", opt 550 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c switch (opt) { opt 287 tools/testing/radix-tree/main.c int opt; opt 290 tools/testing/radix-tree/main.c while ((opt = getopt(argc, argv, "ls:v")) != -1) { opt 291 tools/testing/radix-tree/main.c if (opt == 'l') opt 293 tools/testing/radix-tree/main.c else if (opt == 's') opt 295 tools/testing/radix-tree/main.c else if (opt == 'v') opt 31 tools/testing/selftests/android/ion/ionapp_export.c int opt, ret, status, heapid; opt 47 tools/testing/selftests/android/ion/ionapp_export.c while ((opt = getopt(argc, argv, "hi:s:")) != -1) { opt 48 tools/testing/selftests/android/ion/ionapp_export.c switch (opt) { opt 6899 tools/testing/selftests/bpf/test_btf.c int opt; opt 6901 tools/testing/selftests/bpf/test_btf.c while ((opt = getopt(argc, argv, optstr)) != -1) { opt 6902 tools/testing/selftests/bpf/test_btf.c switch (opt) { opt 116 tools/testing/selftests/bpf/test_libbpf_open.c int opt; opt 121 tools/testing/selftests/bpf/test_libbpf_open.c while ((opt = getopt_long(argc, argv, "hDq", opt 123 tools/testing/selftests/bpf/test_libbpf_open.c switch (opt) { opt 327 tools/testing/selftests/bpf/test_sockmap.c struct sockmap_options *opt) opt 329 tools/testing/selftests/bpf/test_sockmap.c bool drop = opt->drop_expected; opt 448 tools/testing/selftests/bpf/test_sockmap.c struct sockmap_options *opt) opt 452 tools/testing/selftests/bpf/test_sockmap.c bool drop = opt->drop_expected; opt 453 tools/testing/selftests/bpf/test_sockmap.c bool data = opt->data_test; opt 526 tools/testing/selftests/bpf/test_sockmap.c if (opt->verbose) opt 558 tools/testing/selftests/bpf/test_sockmap.c int chunk_sz = opt->sendpage ? opt 602 tools/testing/selftests/bpf/test_sockmap.c static int sendmsg_test(struct sockmap_options *opt) opt 607 tools/testing/selftests/bpf/test_sockmap.c int iov_count = opt->iov_count; opt 608 tools/testing/selftests/bpf/test_sockmap.c int iov_buf = opt->iov_length; opt 610 tools/testing/selftests/bpf/test_sockmap.c int cnt = opt->rate; opt 614 tools/testing/selftests/bpf/test_sockmap.c if (opt->base) opt 625 tools/testing/selftests/bpf/test_sockmap.c err = sockmap_init_ktls(opt->verbose, rx_fd); opt 629 tools/testing/selftests/bpf/test_sockmap.c err = sockmap_init_ktls(opt->verbose, c1); opt 636 tools/testing/selftests/bpf/test_sockmap.c if (opt->drop_expected) opt 639 tools/testing/selftests/bpf/test_sockmap.c if (opt->sendpage) opt 642 tools/testing/selftests/bpf/test_sockmap.c cnt, &s, false, opt); opt 643 tools/testing/selftests/bpf/test_sockmap.c if (opt->verbose) opt 651 tools/testing/selftests/bpf/test_sockmap.c if (opt->verbose) opt 667 tools/testing/selftests/bpf/test_sockmap.c if (opt->sendpage) opt 668 tools/testing/selftests/bpf/test_sockmap.c err = msg_loop_sendpage(c1, iov_buf, cnt, &s, opt); opt 671 tools/testing/selftests/bpf/test_sockmap.c cnt, &s, true, opt); opt 681 tools/testing/selftests/bpf/test_sockmap.c if (opt->verbose) opt 710 tools/testing/selftests/bpf/test_sockmap.c static int forever_ping_pong(int rate, struct sockmap_options *opt) opt 775 tools/testing/selftests/bpf/test_sockmap.c if (opt->verbose) { opt 1154 tools/testing/selftests/bpf/test_sockmap.c static int __test_exec(int cgrp, int test, struct sockmap_options *opt) opt 1160 tools/testing/selftests/bpf/test_sockmap.c opt->sendpage = true; opt 1162 tools/testing/selftests/bpf/test_sockmap.c opt->sendpage = false; opt 1165 tools/testing/selftests/bpf/test_sockmap.c opt->drop_expected = true; opt 1167 tools/testing/selftests/bpf/test_sockmap.c opt->drop_expected = false; opt 1173 tools/testing/selftests/bpf/test_sockmap.c test_cnt, opt->rate, opt->iov_count, opt->iov_length, opt 1176 tools/testing/selftests/bpf/test_sockmap.c err = run_options(opt, cgrp, test); opt 1184 tools/testing/selftests/bpf/test_sockmap.c static int test_exec(int cgrp, struct sockmap_options *opt) opt 1186 tools/testing/selftests/bpf/test_sockmap.c int err = __test_exec(cgrp, SENDMSG, opt); opt 1191 tools/testing/selftests/bpf/test_sockmap.c err = __test_exec(cgrp, SENDPAGE, opt); opt 1198 tools/testing/selftests/bpf/test_sockmap.c struct sockmap_options opt; opt 1202 tools/testing/selftests/bpf/test_sockmap.c opt.verbose = 0; opt 1203 tools/testing/selftests/bpf/test_sockmap.c opt.base = false; opt 1204 tools/testing/selftests/bpf/test_sockmap.c opt.sendpage = false; opt 1205 tools/testing/selftests/bpf/test_sockmap.c opt.data_test = false; opt 1206 tools/testing/selftests/bpf/test_sockmap.c opt.drop_expected = false; opt 1207 tools/testing/selftests/bpf/test_sockmap.c opt.iov_count = 0; opt 1208 tools/testing/selftests/bpf/test_sockmap.c opt.iov_length = 0; opt 1209 tools/testing/selftests/bpf/test_sockmap.c opt.rate = 0; opt 1214 tools/testing/selftests/bpf/test_sockmap.c opt.rate = r; opt 1215 tools/testing/selftests/bpf/test_sockmap.c opt.iov_count = i; opt 1216 tools/testing/selftests/bpf/test_sockmap.c opt.iov_length = l; opt 1217 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1267 tools/testing/selftests/bpf/test_sockmap.c static int test_send(struct sockmap_options *opt, int cgrp) opt 1271 tools/testing/selftests/bpf/test_sockmap.c opt->iov_length = 1; opt 1272 tools/testing/selftests/bpf/test_sockmap.c opt->iov_count = 1; opt 1273 tools/testing/selftests/bpf/test_sockmap.c opt->rate = 1; opt 1274 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, opt); opt 1278 tools/testing/selftests/bpf/test_sockmap.c opt->iov_length = 1; opt 1279 tools/testing/selftests/bpf/test_sockmap.c opt->iov_count = 1024; opt 1280 tools/testing/selftests/bpf/test_sockmap.c opt->rate = 1; opt 1281 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, opt); opt 1285 tools/testing/selftests/bpf/test_sockmap.c opt->iov_length = 1024; opt 1286 tools/testing/selftests/bpf/test_sockmap.c opt->iov_count = 1; opt 1287 tools/testing/selftests/bpf/test_sockmap.c opt->rate = 1; opt 1288 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, opt); opt 1292 tools/testing/selftests/bpf/test_sockmap.c opt->iov_length = 1; opt 1293 tools/testing/selftests/bpf/test_sockmap.c opt->iov_count = 1; opt 1294 tools/testing/selftests/bpf/test_sockmap.c opt->rate = 512; opt 1295 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, opt); opt 1299 tools/testing/selftests/bpf/test_sockmap.c opt->iov_length = 256; opt 1300 tools/testing/selftests/bpf/test_sockmap.c opt->iov_count = 1024; opt 1301 tools/testing/selftests/bpf/test_sockmap.c opt->rate = 2; opt 1302 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, opt); opt 1306 tools/testing/selftests/bpf/test_sockmap.c opt->rate = 100; opt 1307 tools/testing/selftests/bpf/test_sockmap.c opt->iov_count = 1; opt 1308 tools/testing/selftests/bpf/test_sockmap.c opt->iov_length = 5; opt 1309 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, opt); opt 1319 tools/testing/selftests/bpf/test_sockmap.c struct sockmap_options opt = {0}; opt 1333 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1341 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1349 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1357 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1365 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1373 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1381 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1389 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1397 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1405 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1413 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1421 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1429 tools/testing/selftests/bpf/test_sockmap.c err = test_send(&opt, cgrp); opt 1438 tools/testing/selftests/bpf/test_sockmap.c struct sockmap_options opt = {0}; opt 1464 tools/testing/selftests/bpf/test_sockmap.c opt.rate = 16; opt 1465 tools/testing/selftests/bpf/test_sockmap.c opt.iov_count = 1; opt 1466 tools/testing/selftests/bpf/test_sockmap.c opt.iov_length = 100; opt 1477 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1486 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1499 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1509 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1516 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1527 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1534 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1543 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1552 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1561 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1568 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1575 tools/testing/selftests/bpf/test_sockmap.c err = test_exec(cgrp, &opt); opt 1738 tools/testing/selftests/bpf/test_sockmap.c int opt, longindex, err, cg_fd = 0; opt 1745 tools/testing/selftests/bpf/test_sockmap.c while ((opt = getopt_long(argc, argv, ":dhvc:r:i:l:t:p:q:", opt 1747 tools/testing/selftests/bpf/test_sockmap.c switch (opt) { opt 102 tools/testing/selftests/bpf/xdping.c int opt, ret = 1; opt 107 tools/testing/selftests/bpf/xdping.c while ((opt = getopt(argc, argv, optstr)) != -1) { opt 108 tools/testing/selftests/bpf/xdping.c switch (opt) { opt 201 tools/testing/selftests/breakpoints/breakpoint_test_arm64.c int opt; opt 164 tools/testing/selftests/breakpoints/step_after_suspend_test.c int opt; opt 174 tools/testing/selftests/breakpoints/step_after_suspend_test.c while ((opt = getopt(argc, argv, "n")) != -1) { opt 175 tools/testing/selftests/breakpoints/step_after_suspend_test.c switch (opt) { opt 435 tools/testing/selftests/kvm/dirty_log_test.c int opt, i; opt 466 tools/testing/selftests/kvm/dirty_log_test.c while ((opt = getopt(argc, argv, "hi:I:p:m:")) != -1) { opt 467 tools/testing/selftests/kvm/dirty_log_test.c switch (opt) { opt 41 tools/testing/selftests/media_tests/media_device_open.c int opt; opt 54 tools/testing/selftests/media_tests/media_device_open.c while ((opt = getopt(argc, argv, "d:")) != -1) { opt 55 tools/testing/selftests/media_tests/media_device_open.c switch (opt) { opt 46 tools/testing/selftests/media_tests/media_device_test.c int opt; opt 59 tools/testing/selftests/media_tests/media_device_test.c while ((opt = getopt(argc, argv, "d:")) != -1) { opt 60 tools/testing/selftests/media_tests/media_device_test.c switch (opt) { opt 42 tools/testing/selftests/media_tests/video_device_test.c int opt; opt 56 tools/testing/selftests/media_tests/video_device_test.c while ((opt = getopt(argc, argv, "d:")) != -1) { opt 57 tools/testing/selftests/media_tests/video_device_test.c switch (opt) { opt 393 tools/testing/selftests/net/nettest.c int opt = IP_UNICAST_IF; opt 400 tools/testing/selftests/net/nettest.c opt = IPV6_UNICAST_IF; opt 403 tools/testing/selftests/net/nettest.c rc = setsockopt(sd, level, opt, &ifindex, sizeof(ifindex)); opt 40 tools/testing/selftests/net/reuseport_addr_any.c int opt, i, sz; opt 79 tools/testing/selftests/net/reuseport_addr_any.c opt = 1; opt 80 tools/testing/selftests/net/reuseport_addr_any.c if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, opt 81 tools/testing/selftests/net/reuseport_addr_any.c sizeof(opt))) opt 157 tools/testing/selftests/net/reuseport_bpf.c int i, opt; opt 164 tools/testing/selftests/net/reuseport_bpf.c opt = 1; opt 165 tools/testing/selftests/net/reuseport_bpf.c if (setsockopt(fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, opt 166 tools/testing/selftests/net/reuseport_bpf.c sizeof(opt))) opt 176 tools/testing/selftests/net/reuseport_bpf.c opt = 4; opt 177 tools/testing/selftests/net/reuseport_bpf.c if (setsockopt(fd[i], SOL_TCP, TCP_FASTOPEN, &opt, opt 178 tools/testing/selftests/net/reuseport_bpf.c sizeof(opt))) opt 311 tools/testing/selftests/net/reuseport_bpf.c int fd1, fd2, opt; opt 321 tools/testing/selftests/net/reuseport_bpf.c opt = 1; opt 322 tools/testing/selftests/net/reuseport_bpf.c if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) opt 324 tools/testing/selftests/net/reuseport_bpf.c if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) opt 392 tools/testing/selftests/net/reuseport_bpf.c int fd1, fd2, opt = 1; opt 401 tools/testing/selftests/net/reuseport_bpf.c if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) opt 403 tools/testing/selftests/net/reuseport_bpf.c if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) opt 40 tools/testing/selftests/net/reuseport_bpf_cpu.c int opt; opt 64 tools/testing/selftests/net/reuseport_bpf_cpu.c opt = 1; opt 65 tools/testing/selftests/net/reuseport_bpf_cpu.c if (setsockopt(rcv_fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, opt 66 tools/testing/selftests/net/reuseport_bpf_cpu.c sizeof(opt))) opt 36 tools/testing/selftests/net/reuseport_bpf_numa.c int opt; opt 60 tools/testing/selftests/net/reuseport_bpf_numa.c opt = 1; opt 61 tools/testing/selftests/net/reuseport_bpf_numa.c if (setsockopt(rcv_fd[i], SOL_SOCKET, SO_REUSEPORT, &opt, opt 62 tools/testing/selftests/net/reuseport_bpf_numa.c sizeof(opt))) opt 36 tools/testing/selftests/net/reuseport_dualstack.c int opt, i; opt 60 tools/testing/selftests/net/reuseport_dualstack.c opt = 1; opt 61 tools/testing/selftests/net/reuseport_dualstack.c if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, opt 62 tools/testing/selftests/net/reuseport_dualstack.c sizeof(opt))) opt 96 tools/testing/selftests/net/tcp_fastopen_backup_key.c int opt = 1, i, sz; opt 129 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (setsockopt(rcv_fds[i], SOL_SOCKET, SO_REUSEPORT, &opt, opt 130 tools/testing/selftests/net/tcp_fastopen_backup_key.c sizeof(opt))) opt 333 tools/testing/selftests/networking/timestamping/rxtimestamp.c char opt; opt 335 tools/testing/selftests/networking/timestamping/rxtimestamp.c while ((opt = getopt_long(argc, argv, "", long_options, opt 337 tools/testing/selftests/networking/timestamping/rxtimestamp.c switch (opt) { opt 290 tools/testing/selftests/powerpc/signal/sigfuz.c int opt; opt 292 tools/testing/selftests/powerpc/signal/sigfuz.c while ((opt = getopt(argc, argv, "bamxt:fi:h")) != -1) { opt 293 tools/testing/selftests/powerpc/signal/sigfuz.c if (opt == 'b') { opt 296 tools/testing/selftests/powerpc/signal/sigfuz.c } else if (opt == 'a') { opt 299 tools/testing/selftests/powerpc/signal/sigfuz.c } else if (opt == 'm') { opt 302 tools/testing/selftests/powerpc/signal/sigfuz.c } else if (opt == 'x') { opt 305 tools/testing/selftests/powerpc/signal/sigfuz.c } else if (opt == 't') { opt 308 tools/testing/selftests/powerpc/signal/sigfuz.c } else if (opt == 'f') { opt 312 tools/testing/selftests/powerpc/signal/sigfuz.c } else if (opt == 'i') { opt 315 tools/testing/selftests/powerpc/signal/sigfuz.c } else if (opt == 'h') { opt 155 tools/testing/selftests/timers/inconsistency-check.c int clockid, opt; opt 162 tools/testing/selftests/timers/inconsistency-check.c while ((opt = getopt(argc, argv, "t:c:")) != -1) { opt 163 tools/testing/selftests/timers/inconsistency-check.c switch (opt) { opt 186 tools/testing/selftests/timers/leap-a-day.c int opt; opt 189 tools/testing/selftests/timers/leap-a-day.c while ((opt = getopt(argc, argv, "sti:")) != -1) { opt 190 tools/testing/selftests/timers/leap-a-day.c switch (opt) { opt 77 tools/testing/selftests/timers/set-2038.c int opt, dangerous = 0; opt 81 tools/testing/selftests/timers/set-2038.c while ((opt = getopt(argc, argv, "d")) != -1) { opt 82 tools/testing/selftests/timers/set-2038.c switch (opt) { opt 126 tools/testing/selftests/timers/threadtest.c int opt; opt 135 tools/testing/selftests/timers/threadtest.c while ((opt = getopt(argc, argv, "t:n:i")) != -1) { opt 136 tools/testing/selftests/timers/threadtest.c switch (opt) { opt 35 tools/testing/selftests/vm/gup_benchmark.c int i, fd, filed, opt, nr_pages = 1, thp = -1, repeats = 1, write = 0; opt 40 tools/testing/selftests/vm/gup_benchmark.c while ((opt = getopt(argc, argv, "m:r:n:f:tTLUwSH")) != -1) { opt 41 tools/testing/selftests/vm/gup_benchmark.c switch (opt) { opt 612 tools/testing/vsock/vsock_diag_test.c int opt = getopt_long(argc, argv, optstring, longopts, NULL); opt 614 tools/testing/vsock/vsock_diag_test.c if (opt == -1) opt 617 tools/testing/vsock/vsock_diag_test.c switch (opt) { opt 143 tools/usb/usbip/src/usbip.c int opt; opt 149 tools/usb/usbip/src/usbip.c opt = getopt_long(argc, argv, "+dlt:", opts, NULL); opt 151 tools/usb/usbip/src/usbip.c if (opt == -1) opt 154 tools/usb/usbip/src/usbip.c switch (opt) { opt 211 tools/usb/usbip/src/usbip_attach.c int opt; opt 215 tools/usb/usbip/src/usbip_attach.c opt = getopt_long(argc, argv, "d:r:b:", opts, NULL); opt 217 tools/usb/usbip/src/usbip_attach.c if (opt == -1) opt 220 tools/usb/usbip/src/usbip_attach.c switch (opt) { opt 189 tools/usb/usbip/src/usbip_bind.c int opt; opt 193 tools/usb/usbip/src/usbip_bind.c opt = getopt_long(argc, argv, "b:", opts, NULL); opt 195 tools/usb/usbip/src/usbip_bind.c if (opt == -1) opt 198 tools/usb/usbip/src/usbip_bind.c switch (opt) { opt 102 tools/usb/usbip/src/usbip_detach.c int opt; opt 106 tools/usb/usbip/src/usbip_detach.c opt = getopt_long(argc, argv, "p:", opts, NULL); opt 108 tools/usb/usbip/src/usbip_detach.c if (opt == -1) opt 111 tools/usb/usbip/src/usbip_detach.c switch (opt) { opt 336 tools/usb/usbip/src/usbip_list.c int opt; opt 343 tools/usb/usbip/src/usbip_list.c opt = getopt_long(argc, argv, "pr:ld", opts, NULL); opt 345 tools/usb/usbip/src/usbip_list.c if (opt == -1) opt 348 tools/usb/usbip/src/usbip_list.c switch (opt) { opt 107 tools/usb/usbip/src/usbip_unbind.c int opt; opt 111 tools/usb/usbip/src/usbip_unbind.c opt = getopt_long(argc, argv, "b:", opts, NULL); opt 113 tools/usb/usbip/src/usbip_unbind.c if (opt == -1) opt 116 tools/usb/usbip/src/usbip_unbind.c switch (opt) { opt 610 tools/usb/usbip/src/usbipd.c int opt, rc = -1; opt 623 tools/usb/usbip/src/usbipd.c opt = getopt_long(argc, argv, "46DdeP::t:hv", longopts, NULL); opt 625 tools/usb/usbip/src/usbipd.c if (opt == -1) opt 628 tools/usb/usbip/src/usbipd.c switch (opt) { opt 653 tools/vm/slabinfo.c static int debug_opt_scan(char *opt) opt 655 tools/vm/slabinfo.c if (!opt || !opt[0] || strcmp(opt, "-") == 0) opt 658 tools/vm/slabinfo.c if (strcasecmp(opt, "a") == 0) { opt 666 tools/vm/slabinfo.c for ( ; *opt; opt++) opt 667 tools/vm/slabinfo.c switch (*opt) { opt 532 usr/gen_init_cpio.c int opt = getopt(argc, argv, "t:h"); opt 535 usr/gen_init_cpio.c if (opt == -1) opt 537 usr/gen_init_cpio.c switch (opt) { opt 550 usr/gen_init_cpio.c exit(opt == 'h' ? 0 : 1);