天天看点

2.6.30.4内核cmdline常用命令行参数与相应处理函数

看看initramfs 加载的完整流程

浅析blob到kernel传递tags参数和 cmdline处理流程

arch/arm/mm/init.c|57| __tagtable(ATAG_INITRD, parse_tag_initrd);

arch/arm/mm/init.c|66| __tagtable(ATAG_INITRD2, parse_tag_initrd2);

arch/arm/kernel/setup.c|552| __tagtable(ATAG_CORE, parse_tag_core);

arch/arm/kernel/setup.c|559| __tagtable(ATAG_MEM, parse_tag_mem32);

arch/arm/kernel/setup.c|585| __tagtable(ATAG_VIDEOTEXT, parse_tag_videotext);

arch/arm/kernel/setup.c|596| __tagtable(ATAG_RAMDISK, parse_tag_ramdisk);

arch/arm/kernel/setup.c|605| __tagtable(ATAG_SERIAL, parse_tag_serialnr);

arch/arm/kernel/setup.c|613| __tagtable(ATAG_REVISION, parse_tag_revision);

arch/arm/kernel/setup.c|621| __tagtable(ATAG_CMDLINE, parse_tag_cmdline);

arch/arm/mm/mmu.c|126| __early_param("cachepolicy=",early_cachepolicy);

arch/arm/mm/mmu.c|134| __early_param("nocache", early_nocache);

arch/arm/mm/mmu.c|142| __early_param("nowb", early_nowrite);

arch/arm/mm/mmu.c|154| __early_param("ecc=", early_ecc);

arch/arm/mm/mmu.c|683| __early_param("vmalloc=", early_vmalloc);

arch/arm/mm/init.c|46| __early_param("initrd=", early_initrd);

arch/arm/kernel/setup.c|427| __early_param("mem=", early_mem);

arch/arm/mm/mmu.c|163| __setup("noalign", noalign_setup);

arch/arm/mm/init.c|580| __setup("keepinitrd", keepinitrd_setup);

arch/arm/kernel/setup.c|61| __setup("fpe=", fpe_setup);

arch/arm/kernel/process.c|83| __setup("nohlt", nohlt_setup);

arch/arm/kernel/process.c|84| __setup("hlt", hlt_setup);

arch/arm/kernel/process.c|185| __setup("reboot=", reboot_setup);

arch/arm/kernel/traps.c|45| __setup("user_debug=", user_debug_setup);

drivers/mtd/nand/ppchameleonevb.c|72|__setup("ppchameleon_fio_pbase=", ppchameleon_fio_pbase);

drivers/mtd/nand/ppchameleonevb.c|73| __setup("ppchameleonevb_fio_pbase=",ppchameleonevb_fio_pbase);

drivers/mtd/devices/slram.c|302| __setup("slram=", mtd_slram_setup);

drivers/mtd/maps/fortunet.c|178| __setup("MTD_Region=",MTD_New_Region);

drivers/mtd/maps/fortunet.c|179| __setup("MTD_Partition=", MTD_New_Partition);

drivers/mtd/maps/fortunet.c|182| __setup("MTD_Partion=",MTD_New_Partition);

drivers/mtd/cmdlinepart.c|363| __setup("mtdparts=", mtdpart_setup);

drivers/video/stifb.c|1413| __setup("stifb=", stifb_setup);

drivers/video/console/fbcon.c|501| __setup("fbcon=",fb_console_setup);

drivers/video/fbmem.c|1782| __setup("video=", video_setup);

fs/nfs/nfsroot.c|400| __setup("nfsroot=", nfs_root_setup);

init/do_mounts_initrd.c|25| __setup("noinitrd", no_initrd);

init/do_mounts.c|153| __setup("root=", root_dev_setup);

init/main.c|333| __setup("init=", init_setup);

init/main.c|345| __setup("rdinit=",rdinit_setup);      // 为ramdisk_execute_command赋值[luther.gliethttp]

kernel/printk.c|196| __setup("log_buf_len=", log_buf_len_setup);

kernel/printk.c|221| __setup("boot_delay=", boot_delay_setup);

kernel/printk.c|851| __setup("console=", console_setup);

net/ethernet/eth.c|64| __setup("ether=", netdev_boot_setup);

net/core/dev.c|559| __setup("netdev=", netdev_boot_setup);  // 和"ether="等效

net/ipv4/ipconfig.c|1544| __setup("ip=", ip_auto_config_setup);

net/ipv4/ipconfig.c|1545| __setup("nfsaddrs=",nfsaddrs_config_setup);

net/ipv4/ipconfig.c|1546| __setup("dhcpclass=",vendor_class_identifier_setup);

init/initramfs.c|481| __setup("retain_initrd", retain_initrd_param);

init/main.c|185| __setup("reset_devices", set_reset_devices);

init/do_mounts.c|39| __setup("load_ramdisk=", load_ramdisk);

init/do_mounts.c|57| __setup("ro", readonly);

init/do_mounts.c|58| __setup("rw", readwrite);

init/do_mounts.c|163| __setup("rootwait", rootwait_setup);

init/do_mounts.c|186| __setup("rootflags=", root_data_setup);

init/do_mounts.c|187| __setup("rootfstype=", fs_names_setup);

init/do_mounts.c|188| __setup("rootdelay=", root_delay_setup);

init/do_mounts_md.c|270| __setup("raid=", raid_setup);

init/do_mounts_md.c|271| __setup("md=", md_setup);

kernel/printk.c|898| __setup("no_console_suspend",console_suspend_disable);

kernel/fork.c|419| __setup("coredump_filter=",coredump_filter_setup);

kernel/trace/trace_stack.c|350| __setup("stacktrace",enable_stacktrace);

__setup和early_param被driver们所使用 .

drivers /pci /pci .c |1667 | early_param ( "pci" , pci_setup );

init /main .c |154 | early_param ( "nosmp" , nosmp );

init /main .c |165 | early_param ( "maxcpus" , maxcpus );

init /main .c |245 | early_param ( "debug" , debug_kernel );

init /main .c |246 | early_param ( "quiet" , quiet_kernel );

init /main .c |254 | early_param ( "loglevel" , loglevel );

kernel /printk .c |488 | early_param ( "ignore_loglevel" , ignore_loglevel_setup );

mm /page_alloc .c |1976 | early_param ( "numa_zonelist_order" , setup_numa_zonelist_order );

mm /page_alloc .c |3941 | early_param ( "kernelcore" , cmdline_parse_kernelcore );

mm /page_alloc .c |3942 | early_param ( "movablecore" , cmdline_parse_movablecore );

arch /arm /kernel /process .c |82 | __setup ( "nohlt" , nohlt_setup );

arch /arm /kernel /process .c |83 | __setup ( "hlt" , hlt_setup );

arch /arm /kernel /process .c |186 | __setup ( "reboot=" , reboot_setup );

arch /arm /mach -pxa /pxa3xx .c |61 | __setup ( "android" , android_setup );

arch /arm /mach -pxa /pxa3xx .c |75 | __setup ( "i2c_fastmode" , i2c_fastmode_setup );

arch /arm /mach -pxa /pxa930 .c |40 | __setup ( "comm_v75" , comm_v75_setup );

drivers /block /brd .c |407 | __setup ( "ramdisk=" , ramdisk_size );

drivers /block /brd .c |408 | __setup ( "ramdisk_size=" , ramdisk_size2 );

drivers /video /fbmem .c |1654 | __setup ( "video=" , video_setup );

drivers /video /console /fbcon .c |548 | __setup ( "fbcon=" , fb_console_setup );

drivers /net /netconsole .c |64 | __setup ( "netconsole=" , option_setup );

drivers /serial /pxa .c |123 | __setup ( "uart_dma" , uart_dma_setup );

fs /nfs /nfsroot .c |400 | __setup ( "nfsroot=" , nfs_root_setup );

init /do_mounts .c |36 | __setup ( "load_ramdisk=" , load_ramdisk );

init /do_mounts .c |54 | __setup ( "ro" , readonly );

init /do_mounts .c |55 | __setup ( "rw" , readwrite );

init /do_mounts .c |125 | __setup ( "root=" , root_dev_setup );

init /do_mounts .c |135 | __setup ( "rootwait" , rootwait_setup );

init /do_mounts .c |158 | __setup ( "rootflags=" , root_data_setup );

init /do_mounts .c |159 | __setup ( "rootfstype=" , fs_names_setup );

init /do_mounts .c |160 | __setup ( "rootdelay=" , root_delay_setup );

init /main .c |188 | __setup ( "reset_devices" , set_reset_devices );

init /main .c |336 | __setup ( "init=" , init_setup );

init /main .c |348 | __setup ( "rdinit=" , rdinit_setup );

init /main .c |660 | __setup ( "initcall_debug" , initcall_debug_setup );

init /main .c |761 | __setup ( "nosoftlockup" , nosoftlockup_setup );

kernel /printk .c |185 | __setup ( "log_buf_len=" , log_buf_len_setup );

kernel /printk .c |199 | __setup ( "console_loglevel=" , console_loglevel_setup );

kernel /printk .c |224 | __setup ( "boot_delay=" , boot_delay_setup );

kernel /printk .c |881 | __setup ( "console=" , console_setup );

kernel /printk .c |949 | __setup ( "no_console_suspend" , console_suspend_disable );

net /ethernet /eth .c |63 | __setup ( "ether=" , netdev_boot_setup );

net /core /dev .c |551 | __setup ( "netdev=" , netdev_boot_setup );

net /ipv4 /ipconfig .c |1541 | __setup ( "ip=" , ip_auto_config_setup );

net /ipv4 /ipconfig .c |1542 | __setup ( "nfsaddrs=" , nfsaddrs_config_setup );

net /ipv4 /ipconfig .c |1543 | __setup ( "dhcpclass=" , vendor_class_identifier_setup );

net /ipv4 /tcp .c |2611 | __setup ( "thash_entries=" , set_thash_entries );

net /ipv4 /route .c |2991 | __setup ( "rhash_entries=" , set_rhash_entries );

arch/x86/kernel/dumpstack.c|339| early_param("oops", oops_setup);

arch/x86/kernel/dumpstack.c|348| early_param("kstack", kstack_setup);

arch/x86/kernel/efi.c|66| early_param("noefi", setup_noefi);

arch/x86/kernel/efi.c|76| early_param("add_efi_memmap",setup_add_efi_memmap);

arch/x86/kernel/cpu/mtrr/cleanup.c|277|early_param("disable_mtrr_cleanup", disable_mtrr_cleanup_setup);

arch/x86/kernel/cpu/mtrr/cleanup.c|284|early_param("enable_mtrr_cleanup", enable_mtrr_cleanup_setup);

arch/x86/kernel/cpu/mtrr/cleanup.c|291|early_param("mtrr_cleanup_debug", mtrr_cleanup_debug_setup);

arch/x86/kernel/cpu/mtrr/cleanup.c|567|early_param("mtrr_chunk_size", parse_mtrr_chunk_size_opt);

arch/x86/kernel/cpu/mtrr/cleanup.c|579| early_param("mtrr_gran_size",parse_mtrr_gran_size_opt);

arch/x86/kernel/cpu/mtrr/cleanup.c|590|early_param("mtrr_spare_reg_nr", parse_mtrr_spare_reg);

arch/x86/kernel/cpu/mtrr/cleanup.c|934|early_param("disable_mtrr_trim", disable_mtrr_trim_setup);

arch/x86/kernel/acpi/boot.c|1662| early_param("acpi", parse_acpi);

arch/x86/kernel/acpi/boot.c|1671| early_param("pci", parse_pci);

arch/x86/kernel/acpi/boot.c|1693|early_param("acpi_skip_timer_override",parse_acpi_skip_timer_override);

arch/x86/kernel/acpi/boot.c|1700|early_param("acpi_use_timer_override",parse_acpi_use_timer_override);

arch/x86/kernel/acpi/boot.c|1723| early_param("acpi_sci",setup_acpi_sci);

arch/x86/kernel/mpparse.c|943| early_param("update_mptable",update_mptable_setup);

arch/x86/kernel/mpparse.c|962| early_param("alloc_mptable",parse_alloc_mptable_opt);

arch/x86/kernel/apic/probe_32.c|193| early_param("apic", parse_apic);

arch/x86/kernel/apic/x2apic_phys.c|20| early_param("x2apic_phys",set_x2apic_phys_mode);

arch/x86/kernel/apic/apic.c|101| early_param("lapic", parse_lapic);

arch/x86/kernel/apic/apic.c|156| early_param("nox2apic",setup_nox2apic);

arch/x86/kernel/apic/apic.c|2274| early_param("disableapic",setup_disableapic);

arch/x86/kernel/apic/apic.c|2281| early_param("nolapic", setup_nolapic);

arch/x86/kernel/apic/apic.c|2288| early_param("lapic_timer_c2_ok",parse_lapic_timer_c2_ok);

arch/x86/kernel/apic/apic.c|2295| early_param("noapictimer",parse_disable_apic_timer);

arch/x86/kernel/apic/apic.c|2302| early_param("nolapic_timer",parse_nolapic_timer);

arch/x86/kernel/apic/apic.c|2326| early_param("apic",apic_set_verbosity);

arch/x86/kernel/apic/io_apic.c|127| early_param("noapic",parse_noapic);

arch/x86/kernel/apic/io_apic.c|2806|early_param("disable_timer_pin_1", disable_timer_pin_setup);

arch/x86/kernel/io_delay.c|131| early_param("io_delay",io_delay_param);

arch/x86/kernel/early_printk.c|239| early_param("earlyprintk",setup_early_printk);

arch/x86/kernel/smpboot.c|1164| early_param("possible_cpus",_setup_possible_cpus);

arch/x86/kernel/check.c|33| early_param("memory_corruption_check",set_corruption_check);

arch/x86/kernel/check.c|43|early_param("memory_corruption_check_period",set_corruption_check_period);

arch/x86/kernel/check.c|57| early_param("memory_corruption_check_size",set_corruption_check_size);

arch/x86/kernel/e820.c|1252| early_param("mem", parse_memopt);

arch/x86/kernel/e820.c|1296| early_param("memmap", parse_memmap_opt);

arch/x86/kernel/vmi_32.c|913| early_param("vmi", parse_vmi);

arch/x86/kernel/setup.c|629| early_param("elfcorehdr",setup_elfcorehdr);

arch/x86/kernel/pci-dma.c|81| early_param("dma32_size",parse_dma32_size_opt);

arch/x86/kernel/pci-dma.c|242| early_param("iommu", iommu_setup);

arch/x86/kernel/process.c|598| early_param("idle", idle_setup);

arch/x86/kernel/kvmclock.c|38| early_param("no-kvmclock",parse_no_kvmclock);

arch/x86/kernel/aperture_64.c|268| early_param("gart_fix_e820",parse_gart_mem);

arch/x86/mm/kmemcheck/kmemcheck.c|88| early_param("kmemcheck",param_kmemcheck);

arch/x86/mm/pgtable_32.c|116| early_param("vmalloc", parse_vmalloc);

arch/x86/mm/pgtable_32.c|134| early_param("reservetop",parse_reservetop);

arch/x86/mm/init_32.c|610| early_param("highmem", parse_highmem);

arch/x86/mm/ioremap.c|407| early_param("early_ioremap_debug",early_ioremap_debug_setup);

arch/x86/mm/pat.c|46| early_param("nopat", nopat);

arch/x86/mm/init_64.c|60| early_param("nogbpages",parse_direct_gbpages_off);

arch/x86/mm/init_64.c|67| early_param("gbpages",parse_direct_gbpages_on);

arch/x86/mm/memtest.c|108| early_param("memtest", parse_memtest);

arch/x86/mm/setup_nx.c|33| early_param("noexec", noexec_setup);

arch/x86/mm/numa_64.c|601| early_param("numa", numa_setup);

arch/arm/kernel/vmlinux.lds.S|50| *(.early_param.init)

arch/arm/mach-pxa/balloon3.c|74| early_param("balloon3_features",parse_balloon3_features);

arch/arm/include/asm/setup.h|236|__attribute__((__section__(".early_param.init"))) = { name, fn }

drivers/acpi/tables.c|363| early_param("acpi_apic_instance",acpi_parse_apic_instance);

drivers/ieee1394/init_ohci1394_dma.c|285| early_param("ohci1394_dma",setup_ohci1394_dma);

drivers/base/platform.c|998| * @buf: string passed from early_param()

drivers/base/platform.c|1066| * Since we register our early platform driversusing early_param()

drivers/base/platform.c|1070| * We use parse_early_options() to make sure theearly_param() gets

drivers/base/platform.c|1071| * called at least once. The early_param() may becalled more than

drivers/serial/8250_early.c|260| early_param("earlycon",setup_early_serial8250_console);

drivers/pci/intr_remapping.c|26| early_param("nointremap",setup_nointremap);

drivers/pci/pci.c|2761| early_param("pci", pci_setup);

include/linux/platform_device.h|117| early_param(class_string,early_platform_driver_setup_func)

include/linux/init.h|241| #define early_param(str, fn)                   \

init/main.c|150| early_param("nosmp", nosmp);

init/main.c|161| early_param("maxcpus", maxcpus);

init/main.c|241| early_param("debug", debug_kernel);

init/main.c|242| early_param("quiet", quiet_kernel);

init/main.c|250| early_param("loglevel", loglevel);

kernel/kgdb.c|103| early_param("kgdbcon", opt_kgdb_con);

kernel/kgdb.c|161| early_param("nokgdbroundup", opt_nokgdbroundup);

kernel/kgdb.c|1736| early_param("kgdbwait", opt_kgdb_wait);

kernel/printk.c|446| early_param("ignore_loglevel",ignore_loglevel_setup);

lib/lmb.c|30| early_param("lmb", early_lmb);

lib/debugobjects.c|69| early_param("debug_objects",enable_object_debug);

lib/debugobjects.c|70| early_param("no_debug_objects", disable_object_debug);

mm/mm_init.c|137| early_param("mminit_loglevel",set_mminit_loglevel);

mm/kmemleak.c|1595| early_param("kmemleak", kmemleak_boot_config);

mm/bootmem.c|46| early_param("bootmem_debug", bootmem_debug_setup);

mm/page_alloc.c|2387| early_param("numa_zonelist_order",setup_numa_zonelist_order);

mm/page_alloc.c|4437| early_param("kernelcore",cmdline_parse_kernelcore);

mm/page_alloc.c|4438| early_param("movablecore",cmdline_parse_movablecore);

mm/percpu.c|1817| early_param("percpu_alloc", percpu_alloc_setup);

arch/x86/kernel/dumpstack.c|358| __setup("code_bytes=",code_bytes_setup);

arch/x86/kernel/cpu/bugs.c|26| __setup("no-hlt", no_halt);

arch/x86/kernel/cpu/bugs.c|35| __setup("no387", no_387);

arch/x86/kernel/cpu/mcheck/mce.c|1642| __setup("mce", mcheck_enable);

arch/x86/kernel/cpu/mcheck/mce.c|2069| __setup("nomce",mcheck_disable);

arch/x86/kernel/cpu/cpufreq/elanfreq.c|260| __setup("elanfreq=",elanfreq_setup);

arch/x86/kernel/cpu/common.c|145| __setup("noxsave",x86_xsave_setup);

arch/x86/kernel/cpu/common.c|156| __setup("cachesize=",cachesize_setup);

arch/x86/kernel/cpu/common.c|164| __setup("nofxsr", x86_fxsr_setup);

arch/x86/kernel/cpu/common.c|171| __setup("nosep", x86_sep_setup);

arch/x86/kernel/cpu/common.c|233| __setup("serialnumber", x86_serial_nr_setup);

arch/x86/kernel/cpu/common.c|928| __setup("show_msr=",setup_show_msr);

arch/x86/kernel/cpu/common.c|935| __setup("noclflush",setup_noclflush);

arch/x86/kernel/cpu/common.c|981| __setup("clearcpuid=",setup_disablecpuid);

arch/x86/kernel/hpet.c|97| __setup("hpet=", hpet_setup);

arch/x86/kernel/hpet.c|104| __setup("nohpet", disable_hpet);

arch/x86/kernel/acpi/sleep.c|172| __setup("acpi_sleep=",acpi_sleep_setup);

arch/x86/kernel/pmtimer_64.c|69| __setup("nopmtimer",nopmtimer_setup);

arch/x86/kernel/olpc.c|49| __setup("olpc_ec_timeout=",olpc_ec_timeout_set);

arch/x86/kernel/pci-calgary_64.c|1545| __setup("calgary=",calgary_parse_options);

arch/x86/kernel/apic/probe_32.c|45| __setup("no_ipi_broadcast=",no_ipi_broadcast);

arch/x86/kernel/apic/probe_32.c|190|

arch/x86/kernel/apic/nmi.c|214| __setup("nmi_watchdog=",setup_nmi_watchdog);

arch/x86/kernel/apic/nmi.c|496| __setup("unknown_nmi_panic",setup_unknown_nmi_panic);

arch/x86/kernel/apic/apic.c|138| __setup("apicpmtimer",setup_apicpmtimer);

arch/x86/kernel/apic/io_apic.c|703| __setup("pirq=",ioapic_pirq_setup);

arch/x86/kernel/apic/io_apic.c|2128| __setup("no_timer_check",notimercheck);

arch/x86/kernel/amd_iommu_init.c|1386| __setup("amd_iommu_dump",parse_amd_iommu_dump);

arch/x86/kernel/amd_iommu_init.c|1387| __setup("amd_iommu=",parse_amd_iommu_options);

arch/x86/kernel/alternative.c|31| __setup("smp-alt-boot", bootonly);

arch/x86/kernel/alternative.c|43| __setup("debug-alternative",debug_alt);

arch/x86/kernel/alternative.c|52| __setup("noreplace-smp",setup_noreplace_smp);

arch/x86/kernel/alternative.c|62| __setup("noreplace-paravirt",setup_noreplace_paravirt);

arch/x86/kernel/uv_time.c|338| __setup("uvrtc", uv_enable_rtc);

arch/x86/kernel/mfgpt_32.c|56| __setup("nomfgpt", mfgpt_disable);

arch/x86/kernel/mfgpt_32.c|71| __setup("mfgptfix", mfgpt_fix);

arch/x86/kernel/mfgpt_32.c|272| __setup("mfgpt_irq=", mfgpt_setup);

arch/x86/kernel/tsc.c|105| __setup("notsc", notsc_setup);

arch/x86/kernel/tsc.c|114| __setup("tsc=", tsc_setup);

arch/x86/kernel/apm_32.c|1921| __setup("apm=", apm_setup);

arch/x86/kernel/reboot.c|115| __setup("reboot=", reboot_setup);

arch/x86/vdso/vma.c|141| __setup("vdso=", vdso_setup);

arch/x86/vdso/vdso32-setup.c|71| __setup("vdso32=", vdso_setup);

arch/x86/mm/hugetlbpage.c|447| __setup("hugepagesz=",setup_hugepagesz);

arch/x86/mm/pat.c|62| __setup("debugpat", pat_debug_setup);

arch/x86/mm/init_64.c|96| __setup("noexec32=", nonx32_setup);

arch/arm/mach-iop13xx/pci.c|1132| __setup("iop13xx_init_atu",iop13xx_init_atu_setup);

arch/arm/mach-iop13xx/setup.c|605| __setup("iop13xx_init_adma",iop13xx_init_adma_setup);

arch/arm/mach-iop13xx/setup.c|606| __setup("iop13xx_init_uart",iop13xx_init_uart_setup);

arch/arm/mach-iop13xx/setup.c|607| __setup("iop13xx_init_i2c",iop13xx_init_i2c_setup);

arch/arm/mach-mx3/pcm037.c|71| __setup("pcm037_variant=",pcm037_variant_setup);

arch/arm/kernel/setup.c|63| __setup("fpe=", fpe_setup);

arch/arm/kernel/traps.c|45| __setup("user_debug=", user_debug_setup);

arch/arm/kernel/process.c|83| __setup("nohlt", nohlt_setup);

arch/arm/kernel/process.c|84| __setup("hlt", hlt_setup);

arch/arm/kernel/process.c|191| __setup("reboot=", reboot_setup);

arch/arm/plat-omap/dma.c|2531| __setup("omap_dma_reserve_ch=",omap_dma_cmdline_reserve_ch);

arch/arm/plat-omap/i2c.c|188| __setup("i2c_bus=",omap_i2c_bus_setup);

arch/arm/plat-omap/clock.c|224| __setup("mpurate=", omap_clk_setup);

arch/arm/mach-sa1100/badge4.c|132| __setup("five_v_on",five_v_on_setup);

arch/arm/mach-w90x900/cpu.c|184| __setup("cpufreq=",nuc900_set_cpufreq);

arch/arm/plat-iop/pci.c|414| __setup("iop3xx_init_atu",iop3xx_init_atu_setup);

arch/arm/mach-iop32x/iq31244.c|314| __setup("force_ep80219",force_ep80219_setup);

arch/arm/mach-s3c2410/mach-qt2410.c|323| __setup("tft=",qt2410_tft_setup);

arch/arm/mach-pxa/viper.c|757| __setup("tpm=", viper_tpm_setup);

arch/arm/mach-pxa/cm-x2xx.c|374| __setup("monitor=",cmx2xx_set_display);

arch/arm/mach-pxa/lpd270.c|440| __setup("lcd=", lpd270_set_lcd);

arch/arm/mach-ixp2000/ixdp2x01.c|229| __setup("ixdp2x01_clock=",ixdp2x01_clock_setup);

arch/arm/mach-s3c2440/mach-mini2440.c|557| __setup("mini2440=",mini2440_features_setup);

arch/arm/mach-s3c2412/mach-jive.c|263| __setup("mtdset=",jive_mtdset);

arch/arm/mm/init.c|666| __setup("keepinitrd", keepinitrd_setup);

arch/arm/mm/mmu.c|171| __setup("noalign", noalign_setup);

arch/arm/mach-ks8695/board-acs5k.c|188|__setup("protect_bootloader=", acs5k_protection_setup);

arch/arm/plat-stmp3xxx/devices.c|312| __setup(#name,cmdline_device_##name##_setup);        \

arch/arm/mach-versatile/pci.c|76| __setup("pci_slot_ignore=",versatile_pci_slot_ignore);

block/elevator.c|203| __setup("elevator=", elevator_setup);

block/blk-timeout.c|19| __setup("fail_io_timeout=",setup_fail_io_timeout);

block/blk-core.c|1322| __setup("fail_make_request=",setup_fail_make_request);

crypto/fips.c|27| __setup("fips=", fips_enable);

Documentation/scsi/ChangeLog.sym53c8xx|248| - New linux-2.3.13 __setup schemesupport added.

Documentation/kernel-parameters.txt|5| (mostly) by the __setup() macro andsorted into English Dictionary order

drivers/media/radio/radio-sf16fmi.c|20| #include<linux/kernel.h>   

drivers/media/radio/radio-sf16fmr2.c|459| __setup("sf16fmr2=",fmr2_setup_io);

drivers/video/console/fbcon.c|502| __setup("fbcon=",fb_console_setup);

drivers/video/console/mdacon.c|26| *  Paul G. (03/2001) Fix mdacon= bootprompt to use __setup().

drivers/video/console/mdacon.c|198| __setup("mdacon=", mdacon_setup);

drivers/video/console/sticore.c|281| __setup("sti=", sti_setup);

drivers/video/console/sticore.c|339| __setup("sti_font=",sti_font_setup);

drivers/video/console/vgacon.c|130| __setup("nomodeset", text_mode);

drivers/video/console/vgacon.c|143| __setup("no-scroll", no_scroll);

drivers/video/stifb.c|1412| __setup("stifb=", stifb_setup);

drivers/video/matrox/matroxfb_crtc2.c|739|

drivers/video/matrox/i2c-matroxfb.c|236|

drivers/video/matrox/matroxfb_maven.c|1299|

drivers/video/fbmem.c|1784| *    NOTE: This function is a__setup and __init function.

drivers/video/fbmem.c|1820| __setup("video=", video_setup);

drivers/acpi/pci_link.c|844| __setup("acpi_irq_isa=", acpi_irq_isa);

drivers/acpi/pci_link.c|856| __setup("acpi_irq_pci=", acpi_irq_pci);

drivers/acpi/pci_link.c|864| __setup("acpi_irq_nobalance",acpi_irq_nobalance_set);

drivers/acpi/pci_link.c|872| __setup("acpi_irq_balance",acpi_irq_balance_set);

drivers/acpi/acpica/tbxface.c|711| __setup("acpi_no_auto_ssdt",acpi_no_auto_ssdt_setup);

drivers/acpi/video_detect.c|257| __setup("acpi_backlight=",acpi_backlight);

drivers/acpi/video_detect.c|273| __setup("acpi_display_output=",acpi_display_output);

drivers/acpi/osl.c|983| __setup("acpi_os_name=", acpi_os_name_setup);

drivers/acpi/osl.c|1046| __setup("acpi_osi=", acpi_osi_setup);

drivers/acpi/osl.c|1058| __setup("acpi_serialize",acpi_serialize_setup);

drivers/acpi/osl.c|1078| __setup("acpi_wake_gpes_always_on",acpi_wake_gpes_always_on_setup);

drivers/acpi/osl.c|1117| __setup("acpi_enforce_resources=",acpi_enforce_resources_setup);

drivers/mtd/maps/fortunet.c|178| __setup("MTD_Region=",MTD_New_Region);

drivers/mtd/maps/fortunet.c|179| __setup("MTD_Partition=",MTD_New_Partition);

drivers/mtd/maps/fortunet.c|182| __setup("MTD_Partion=",MTD_New_Partition);

drivers/mtd/devices/slram.c|302| __setup("slram=", mtd_slram_setup);

drivers/mtd/cmdlinepart.c|363| __setup("mtdparts=", mtdpart_setup);

drivers/mtd/nand/ppchameleonevb.c|72|__setup("ppchameleon_fio_pbase=", ppchameleon_fio_pbase);

drivers/mtd/nand/ppchameleonevb.c|73|__setup("ppchameleonevb_fio_pbase=", ppchameleonevb_fio_pbase);

drivers/scsi/wd7000.c|726| __setup("wd7000=", wd7000_setup);

drivers/scsi/mac_scsi.c|215| __setup("mac5380=", mac_scsi_setup);

drivers/scsi/qla1280.c|511| __setup("qla1280=", qla1280_setup);

drivers/scsi/osst.c|5607| __setup("osst=", osst_setup);

drivers/scsi/fd_mcs.c|314| __setup("fd_mcs=", fd_mcs_setup);

drivers/scsi/eata.c|118| *        + Updatedto the new __setup interface for boot command line options.

drivers/scsi/eata.c|2591| __setup("eata=", option_setup);

drivers/scsi/BusLogic.c|3614| __setup("BusLogic=", BusLogic_Setup);

drivers/scsi/ibmmca.c|2349| __setup("ibmmcascsi=", option_setup);

drivers/scsi/NCR_D700.c|404| __setup("NCR_D700=", param_setup);

drivers/scsi/sim710.c|88| __setup("sim710=", param_setup);

drivers/scsi/u14-34f.c|87| *        +Updated to the new __setup interface for boot command line options.

drivers/scsi/u14-34f.c|1975| __setup("u14-34f=", option_setup);

drivers/scsi/g_NCR5380.c|953| __setup("ncr5380=", do_NCR5380_setup);

drivers/scsi/g_NCR5380.c|954| __setup("ncr53c400=",do_NCR53C400_setup);

drivers/scsi/g_NCR5380.c|955| __setup("ncr53c400a=", do_NCR53C400A_setup);

drivers/scsi/g_NCR5380.c|956| __setup("dtc3181e=",do_DTC3181E_setup);

drivers/scsi/ips.c|547| __setup("ips=", ips_setup);

drivers/scsi/ncr53c8xx.c|8282| __setup("ncr53c8xx=",ncr53c8xx_setup);

drivers/scsi/wd33c93.c|1806| __setup("wd33c93=", wd33c93_setup);

drivers/scsi/arm/fas216.c|140| __setup("fas216_logging=",fas216_log_setup);

drivers/scsi/aha152x.c|3970| __setup("aha152x=", aha152x_setup);

drivers/scsi/aic7xxx_old.c|1481| __setup("aic7xxx=", aic7xxx_setup);

drivers/scsi/st.c|3945| __setup("st=", st_setup);

drivers/scsi/fdomain.c|576| __setup("fdomain=", fdomain_setup);

drivers/scsi/aic7xxx/aic7xxx_osm.c|128| #include<linux/init.h>       

drivers/scsi/aic7xxx/aic7xxx_osm.c|1089| __setup("aic7xxx=",aic7xxx_setup);

drivers/scsi/aic7xxx/aic79xx_osm.c|51| #include<linux/init.h>       

drivers/scsi/aic7xxx/aic79xx_osm.c|1215| __setup("aic79xx=",aic79xx_setup);

drivers/scsi/aha1542.c|980| __setup("aha1542=",do_setup);

drivers/scsi/tmscsim.c|155| *                2.3 __setup function           *

drivers/scsi/tmscsim.c|2620| __setup("tmscsim=", dc390_setup);

drivers/scsi/gdth.c|5218| __setup("gdth=", option_setup);

drivers/scsi/NCR53c406a.c|664| __setup("ncr53c406a=",NCR53c406a_setup);

drivers/net/arcnet/com20020-isa.c|216| __setup("com20020=",com20020isa_setup);

drivers/net/arcnet/com90io.c|387| __setup("com90io=", com90io_setup);

drivers/net/arcnet/com90xx.c|701| __setup("com90xx=", com90xx_setup);

drivers/net/arcnet/arc-rimi.c|394| __setup("arcrimi=", arcrimi_setup);

drivers/net/stmmac/stmmac_main.c|2202| __setup("stmmaceth=",stmmac_cmdline_opt);

drivers/net/netconsole.c|64| __setup("netconsole=", option_setup);

drivers/net/pcmcia/xirc2ps_cs.c|1953| __setup("xirc2ps_cs=",setup_xirc2ps_cs);

drivers/net/cris/eth_v10.c|1758| __setup("etrax100_eth=",e100_boot_setup);

drivers/net/wan/sbni.c|1555| __setup( "sbni=", sbni_setup );

drivers/net/wan/dscc4.c|2050| __setup("dscc4.setup=", dscc4_setup);

drivers/net/hamradio/baycom_par.c|61| *   0.6  03.08.1999 adapt to Linus' new __setup/__initcall

drivers/net/hamradio/baycom_par.c|573| __setup("baycom_par=",baycom_par_setup);

drivers/net/hamradio/baycom_epp.c|34| *   0.5  03.08.1999 adapt to Linus' new __setup/__initcall

drivers/net/hamradio/baycom_epp.c|1284| __setup("baycom_epp=",baycom_epp_setup);

drivers/net/hamradio/baycom_ser_hdx.c|56| *   0.7 03.08.1999  adapt to Linus' new __setup/__initcall

drivers/net/hamradio/baycom_ser_hdx.c|739| __setup("baycom_ser_hdx=",baycom_ser_hdx_setup);

drivers/net/hamradio/baycom_ser_fdx.c|66| *   0.7 03.08.1999  adapt to Linus' new __setup/__initcall

drivers/net/hamradio/baycom_ser_fdx.c|712| __setup("baycom_ser_fdx=",baycom_ser_fdx_setup);

drivers/net/cs89x0.c|284| __setup("cs89x0_dma=", dma_fn);

drivers/net/cs89x0.c|298| __setup("cs89x0_media=", media_fn);

drivers/net/plip.c|1380| __setup("plip=", plip_setup);

drivers/net/appletalk/ltpc.c|1228| __setup("ltpc=", ltpc_setup);

drivers/char/apm-emulation.c|722| __setup("apm=", apm_setup);

drivers/char/hvc_iucv.c|1330| __setup("hvc_iucv=", hvc_iucv_config);

drivers/char/sysrq.c|72| __setup("sysrq_always_enabled",sysrq_always_enabled_setup);

drivers/char/riscom8.c|1477| __setup("riscom8=", riscom8_setup);

drivers/char/epca.c|2669| __setup("digiepca", epca_real_setup);

drivers/char/agp/backend.c|371| __setup("agp=", agp_setup);

drivers/char/hangcheck-timer.c|113| __setup("hcheck_tick",hangcheck_parse_tick);

drivers/char/hangcheck-timer.c|114| __setup("hcheck_margin",hangcheck_parse_margin);

drivers/char/hangcheck-timer.c|115| __setup("hcheck_reboot",hangcheck_parse_reboot);

drivers/char/hangcheck-timer.c|116| __setup("hcheck_dump_tasks",hangcheck_parse_dump_tasks);

drivers/char/lp.c|992| __setup("lp=", lp_setup);

drivers/char/hvc_beat.c|132| __setup("hvc_beat=", hvc_beat_config);

drivers/char/ip2/ip2main.c|533| __setup("ip2=", ip2_setup);

drivers/cpuidle/sysfs.c|22| __setup("cpuidle_sysfs_switch",cpuidle_sysfs_setup);

drivers/pcmcia/vrc4171_card.c|705| __setup("vrc4171_card=",vrc4171_card_setup);

drivers/pcmcia/sa1100_badge4.c|168| __setup("pcmv=", pcmv_setup);

drivers/pcmcia/vrc4173_cardu.c|544| __setup("vrc4173_cardu=",vrc4173_cardu_setup);

drivers/base/devtmpfs.c|40| __setup("devtmpfs.mount=", mount_param);

drivers/misc/kgdbts.c|994| __setup("kgdbts=", kgdbts_option_setup);

drivers/serial/kgdboc.c|46| __setup("kgdboc=", kgdboc_option_setup);

drivers/clocksource/acpi_pm.c|85| __setup("acpi_pm_good",acpi_pm_good_setup);

drivers/clocksource/acpi_pm.c|251| __setup("pmtmr=", parse_pmtmr);

drivers/block/floppy.c|4643| __setup("floppy=", floppy_setup);

drivers/block/aoe/aoenet.c|43| __setup("aoe_iflist=",aoe_iflist_setup);

drivers/block/cpqarray.c|739| __setup("smart2=", cpqarray_setup);

drivers/block/ataflop.c|1987| __setup("floppy=", atari_floppy_setup);

drivers/block/loop.c|1672| __setup("max_loop=", max_loop_setup);

drivers/block/amiflop.c|1840| __setup("floppy=", amiga_floppy_setup);

drivers/block/xd.c|1095| __setup ("xd=", xd_setup);

drivers/block/xd.c|1096| __setup ("xd_geo=", xd_manual_geo_init);

drivers/block/hd.c|814| __setup("hd=", parse_hd_setup);

drivers/block/brd.c|410| __setup("ramdisk_size=", ramdisk_size);

drivers/isdn/icn/icn.c|1623| __setup("icn=", icn_setup);

drivers/isdn/pcbit/module.c|121| __setup("pcbit=", pcbit_setup);

drivers/isdn/hisax/config.c|455| __setup("hisax=", HiSax_setup);

drivers/parisc/eisa.c|462| __setup("eisa_irq_edge=", eisa_irq_setup);

drivers/watchdog/eurotechwdt.c|34| *    make __setup paramunique

drivers/spi/spi.c|401|

init/do_mounts_rd.c|24| __setup("prompt_ramdisk=", prompt_ramdisk);

init/do_mounts_rd.c|33| __setup("ramdisk_start=",ramdisk_start_setup);

init/main.c|184| __setup("reset_devices", set_reset_devices);

init/main.c|327| __setup("init=", init_setup);

init/main.c|339| __setup("rdinit=", rdinit_setup);

init/calibrate.c|21| __setup("lpj=", lpj_setup);

init/do_mounts_initrd.c|25| __setup("noinitrd", no_initrd);

init/initramfs.c|481| __setup("retain_initrd", retain_initrd_param);

init/do_mounts.c|39| __setup("load_ramdisk=", load_ramdisk);

init/do_mounts.c|57| __setup("ro", readonly);

init/do_mounts.c|58| __setup("rw", readwrite);

init/do_mounts.c|153| __setup("root=", root_dev_setup);

init/do_mounts.c|163| __setup("rootwait", rootwait_setup);

init/do_mounts.c|186| __setup("rootflags=", root_data_setup);

init/do_mounts.c|187| __setup("rootfstype=", fs_names_setup);

init/do_mounts.c|188| __setup("rootdelay=", root_delay_setup);

init/do_mounts_md.c|270| __setup("raid=", raid_setup);

init/do_mounts_md.c|271| __setup("md=", md_setup);

kernel/signal.c|960| __setup("print-fatal-signals=",setup_print_fatal_signals);

kernel/profile.c|102| __setup("profile=", profile_setup);

kernel/irq/spurious.c|287| __setup("noirqdebug", noirqdebug_setup);

kernel/irq/spurious.c|300| __setup("irqfixup", irqfixup_setup);

kernel/irq/spurious.c|313| __setup("irqpoll", irqpoll_setup);

kernel/power/suspend_test.c|155| __setup("test_suspend",setup_test_suspend);

kernel/power/hibernate.c|965| __setup("noresume", noresume_setup);

kernel/power/hibernate.c|966| __setup("resume_offset=",resume_offset_setup);

kernel/power/hibernate.c|967| __setup("resume=", resume_setup);

kernel/gcov/fs.c|84| __setup("gcov_persist=", gcov_persist_setup);

kernel/hrtimer.c|489| __setup("highres=", setup_hrtimer_hres);

kernel/delayacct.c|31| __setup("nodelayacct",delayacct_setup_disable);

kernel/softlockup.c|45| __setup("softlockup_panic=",softlockup_panic_setup);

kernel/softlockup.c|256| __setup("nosoftlockup", nosoftlockup_setup);

kernel/sched.c|8072| __setup("isolcpus=", isolated_cpu_setup);

kernel/sched.c|8578| __setup("relax_domain_level=",setup_relax_domain_level);

kernel/time/tick-sched.c|125| __setup("nohz=", setup_tick_nohz);

kernel/time/ntp.c|547| __setup("ntp_tick_adj=", ntp_tick_adj_setup);

kernel/time/clocksource.c|700| __setup("clocksource=",boot_override_clocksource);

kernel/time/clocksource.c|721| __setup("clock=",boot_override_clock);

kernel/printk.c|204| __setup("log_buf_len=", log_buf_len_setup);

kernel/printk.c|227| __setup("boot_delay=", boot_delay_setup);

kernel/printk.c|894| __setup("console=", console_setup);

kernel/printk.c|941| __setup("no_console_suspend",console_suspend_disable);

kernel/cgroup.c|3817| __setup("cgroup_disable=", cgroup_disable);

kernel/hung_task.c|57| __setup("hung_task_panic=", hung_task_panic_setup);

kernel/resource.c|820| __setup("reserve=", reserve_setup);

kernel/resource.c|921| __setup("iomem=", strict_iomem);

kernel/audit.c|1016| __setup("audit=", audit_enable);

kernel/fork.c|433| __setup("coredump_filter=", coredump_filter_setup);

kernel/capability.c|40| __setup("no_file_caps", file_caps_disable);

kernel/trace/trace.c|140| __setup("ftrace=", set_ftrace);

kernel/trace/trace.c|147| __setup("ftrace_dump_on_oops",set_ftrace_dump_on_oops);

kernel/trace/trace.c|298| __setup("trace_buf_size=", set_buf_size);

kernel/trace/ftrace.c|2306| __setup("ftrace_notrace=",set_ftrace_notrace);

kernel/trace/ftrace.c|2313| __setup("ftrace_filter=",set_ftrace_filter);

kernel/trace/trace_stack.c|330| __setup("stacktrace",enable_stacktrace);

kernel/trace/trace_events.c|1155| __setup("trace_event=",setup_trace_event);

lib/dma-debug.c|776| __setup("dma_debug=", dma_debug_cmdline);

lib/dma-debug.c|777| __setup("dma_debug_entries=",dma_debug_entries_cmdline);

lib/dma-debug.c|1299| __setup("dma_debug_driver=",dma_debug_driver_setup);

lib/locking-selftest.c|37| __setup("debug_locks_verbose=",setup_debug_locks_verbose);

lib/swiotlb.c|114| __setup("swiotlb=", setup_io_tlb_npages);

lib/fault-inject.c|15| * setup_fault_attr() is a helper function for various__setup handlers, so it

lib/fault-inject.c|16| * returns 0 on error, because that is what __setuphandlers do.

mm/memcontrol.c|3201| __setup("noswapaccount", disable_swap_account);

mm/memory.c|109| __setup("norandmaps", disable_randmaps);

mm/failslab.c|30| __setup("failslab=", setup_failslab);

mm/hugetlb.c|1518| __setup("hugepages=", hugetlb_nrpages_setup);

mm/hugetlb.c|1525| __setup("default_hugepagesz=",hugetlb_default_setup);

mm/slub.c|1036| __setup("slub_debug", setup_slub_debug);

mm/slub.c|2664| __setup("slub_min_order=", setup_slub_min_order);

mm/slub.c|2674| __setup("slub_max_order=", setup_slub_max_order);

mm/slub.c|2683| __setup("slub_min_objects=", setup_slub_min_objects);

mm/slub.c|2691| __setup("slub_nomerge", setup_slub_nomerge);

mm/slab.c|820| __setup("noaliencache", noaliencache_setup);

mm/page_alloc.c|1291| __setup("fail_page_alloc=",setup_fail_page_alloc);

mm/page_alloc.c|4821| __setup("hashdist=", set_hashdist);

net/ipv4/tcp.c|2877| __setup("thash_entries=", set_thash_entries);

net/ipv4/route.c|3394| __setup("rhash_entries=", set_rhash_entries);

net/ipv4/ipconfig.c|1577| __setup("ip=", ip_auto_config_setup);

net/ipv4/ipconfig.c|1578| __setup("nfsaddrs=",nfsaddrs_config_setup);

net/ipv4/ipconfig.c|1579| __setup("dhcpclass=", vendor_class_identifier_setup);

net/core/dev.c|567| __setup("netdev=", netdev_boot_setup);

net/ethernet/eth.c|64| __setup("ether=", netdev_boot_setup);

scripts/checkpatch.pl|1151| # Pre-scan the patch looking for any __setupdocumentation.

scripts/checkpatch.pl|2602| # checks for new __setup's

scripts/checkpatch.pl|2607| CHK("__setup appears un-documented -- checkDocumentation/kernel-parameters.txt\n" . $herecurr);

security/integrity/ima/ima_policy.c|86| __setup("ima_tcb",default_policy_setup);

security/integrity/ima/ima_main.c|36| __setup("ima_hash=",hash_setup);

security/integrity/ima/ima_audit.c|30| __setup("ima_audit=",ima_audit_setup);

security/selinux/selinuxfs.c|57| __setup("checkreqprot=",checkreqprot_setup);

security/selinux/hooks.c|111| __setup("enforcing=", enforcing_setup);

security/selinux/hooks.c|124| __setup("selinux=",selinux_enabled_setup);

security/security.c|70| __setup("security=", choose_lsm);

sound/oss/waveartist.c|2022| __setup("waveartist=",setup_waveartist);

sound/oss/opl3.c|1248| __setup("opl3=", setup_opl3);

sound/oss/dmasound/dmasound_core.c|1453| __setup("dmasound=",dmasound_setup);

sound/oss/uart401.c|479| __setup("uart401=", setup_uart401);

sound/oss/pas2_card.c|454| __setup("pas2=", setup_pas2);

sound/oss/aedsp16.c|1372| __setup("aedsp16=", setup_aedsp16);

sound/oss/ad1848.c|3066| __setup("ad1848=",setup_ad1848);    

sound/oss/trix.c|523| __setup("trix=", setup_trix);

sound/oss/mpu401.c|1803| __setup("mpu401=", setup_mpu401);

sound/oss/uart6850.c|359| __setup("uart6850=", setup_uart6850);

sound/oss/sscape.c|1478| __setup("sscape=", setup_sscape);

sound/oss/pss.c|1265| __setup("pss=", setup_pss);

sound/oss/au1550_ac97.c|2129| __setup("au1550_audio=", au1550_setup);