Home
last modified time | relevance | path

Searched refs:name (Results 1 – 6 of 6) sorted by relevance

/init/
Ddo_mounts.h12 void mount_block_root(char *name, int flags);
16 static inline int create_dev(char *name, dev_t dev) in create_dev() argument
18 sys_unlink(name); in create_dev()
19 return sys_mknod(name, S_IFBLK|0600, new_encode_dev(dev)); in create_dev()
23 static inline u32 bstat(char *name) in bstat() argument
26 if (sys_stat64(name, &stat) != 0) in bstat()
35 static inline u32 bstat(char *name) in bstat() argument
38 if (sys_newstat(name, &stat) != 0) in bstat()
Ddo_mounts.c176 dev_t name_to_dev_t(char *name) in name_to_dev_t() argument
184 if (strncmp(name, "PARTUUID=", 9) == 0) { in name_to_dev_t()
185 name += 9; in name_to_dev_t()
186 res = devt_from_partuuid(name); in name_to_dev_t()
193 if (strncmp(name, "/dev/", 5) != 0) { in name_to_dev_t()
196 if (sscanf(name, "%u:%u", &maj, &min) == 2) { in name_to_dev_t()
201 res = new_decode_dev(simple_strtoul(name, &p, 16)); in name_to_dev_t()
208 name += 5; in name_to_dev_t()
210 if (strcmp(name, "nfs") == 0) in name_to_dev_t()
213 if (strcmp(name, "ram") == 0) in name_to_dev_t()
[all …]
Dinitramfs.c27 char name[N_ALIGN(PATH_MAX)]; member
38 umode_t mode, char *name) in find_link() argument
50 return (*p)->name; in find_link()
59 strcpy(q->name, name); in find_link()
92 char *name; member
96 static void __init dir_add(const char *name, time_t mtime) in dir_add() argument
102 de->name = kstrdup(name, GFP_KERNEL); in dir_add()
112 do_utime(de->name, de->mtime); in dir_utime()
113 kfree(de->name); in dir_utime()
Ddo_mounts_md.c127 char name[16]; in md_setup_drive() local
133 sprintf(name, "/dev/md%s%d", partitioned?"_d":"", minor); in md_setup_drive()
138 create_dev(name, dev); in md_setup_drive()
173 fd = sys_open(name, 0, 0); in md_setup_drive()
176 "array %s\n", name); in md_setup_drive()
236 fd = sys_open(name, 0, 0); in md_setup_drive()
Dversion.c29 .name = {
DKconfig276 command name, memory usage, controlling terminal etc. (the complete