Home
last modified time | relevance | path

Searched refs:str (Results 1 – 8 of 8) sorted by relevance

/init/
Ddo_mounts_dm.c98 char *str; member
105 char *str = opt->next; in get_dm_option() local
108 if (!str) in get_dm_option()
111 str = skip_spaces(str); in get_dm_option()
112 opt->start = str; in get_dm_option()
113 endp = strpbrk(str, accept); in get_dm_option()
115 opt->len = strlen(str); in get_dm_option()
116 endp = str + opt->len; in get_dm_option()
118 opt->len = endp - str; in get_dm_option()
152 static char * __init dm_parse_device(struct dm_device *dev, char *str) in dm_parse_device() argument
[all …]
Ddo_mounts_md.c63 static int __init md_setup(char *str) in md_setup() argument
70 if (*str == 'd') { in md_setup()
72 str++; in md_setup()
74 if (get_option(&str, &minor) != 2) { /* MD Number */ in md_setup()
78 str1 = str; in md_setup()
92 switch (get_option(&str, &level)) { /* RAID level */ in md_setup()
95 if (get_option(&str, &factor) != 2 || /* Chunk Size */ in md_setup()
96 get_option(&str, &fault) != 2) { in md_setup()
110 str = str1; in md_setup()
118 minor, pername, str); in md_setup()
[all …]
Dmain.c151 static int __init set_reset_devices(char *str) in set_reset_devices() argument
172 int n = strlen(p->str); in obsolete_checksetup()
173 if (parameqn(line, p->str, n)) { in obsolete_checksetup()
183 p->str); in obsolete_checksetup()
201 static int __init debug_kernel(char *str) in debug_kernel() argument
207 static int __init quiet_kernel(char *str) in quiet_kernel() argument
216 static int __init loglevel(char *str) in loglevel() argument
225 if (get_option(&str, &newlevel)) { in loglevel()
321 static int __init init_setup(char *str) in init_setup() argument
325 execute_command = str; in init_setup()
[all …]
Ddo_mounts.c47 static int __init load_ramdisk(char *str) in load_ramdisk() argument
49 rd_doload = simple_strtol(str,NULL,0) & 3; in load_ramdisk()
54 static int __init readonly(char *str) in readonly() argument
56 if (*str) in readonly()
62 static int __init readwrite(char *str) in readwrite() argument
64 if (*str) in readwrite()
301 static int __init rootwait_setup(char *str) in rootwait_setup() argument
303 if (*str) in rootwait_setup()
312 static int __init root_data_setup(char *str) in root_data_setup() argument
314 root_mount_data = str; in root_data_setup()
[all …]
Ddo_mounts_rd.c29 static int __init prompt_ramdisk(char *str) in prompt_ramdisk() argument
31 rd_prompt = simple_strtol(str,NULL,0) & 1; in prompt_ramdisk()
38 static int __init ramdisk_start_setup(char *str) in ramdisk_start_setup() argument
40 rd_image_start = simple_strtol(str,NULL,0); in ramdisk_start_setup()
Dcalibrate.c16 static int __init lpj_setup(char *str) in lpj_setup() argument
18 preset_lpj = simple_strtoul(str,NULL,0); in lpj_setup()
Dinitramfs.c514 static int __init retain_initrd_param(char *str) in retain_initrd_param() argument
516 if (*str) in retain_initrd_param()
611 static int __init skip_initramfs_param(char *str) in skip_initramfs_param() argument
613 if (*str) in skip_initramfs_param()
Ddo_mounts_initrd.c28 static int __init no_initrd(char *str) in no_initrd() argument