Home
last modified time | relevance | path

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

/init/
Ddo_mounts.c210 dev_t name_to_dev_t(const char *name) in name_to_dev_t() argument
218 if (strncmp(name, "PARTUUID=", 9) == 0) { in name_to_dev_t()
219 name += 9; in name_to_dev_t()
220 res = devt_from_partuuid(name); in name_to_dev_t()
227 if (strncmp(name, "/dev/", 5) != 0) { in name_to_dev_t()
231 if ((sscanf(name, "%u:%u%c", &maj, &min, &dummy) == 2) || in name_to_dev_t()
232 (sscanf(name, "%u:%u:%u:%c", &maj, &min, &offset, &dummy) == 3)) { in name_to_dev_t()
237 res = new_decode_dev(simple_strtoul(name, &p, 16)); in name_to_dev_t()
244 name += 5; in name_to_dev_t()
246 if (strcmp(name, "nfs") == 0) in name_to_dev_t()
[all …]
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_dm.c81 char name[DM_MAX_NAME]; member
163 len = min(opt.len + 1, sizeof(dev->name)); in dm_parse_device()
164 strlcpy(dev->name, opt.start, len); /* includes nul */ in dm_parse_device()
218 dev->name, i); in dm_parse_targets()
225 " for target %s<%ld>", dev->name, i); in dm_parse_targets()
232 dev->name, i); in dm_parse_targets()
242 dev->name, i); in dm_parse_targets()
250 dev->name, i); in dm_parse_targets()
433 if (dm_ioctl_export(md, dev->name, uuid)) { in dm_setup_drives()
458 dev->minor, dev->name); in dm_setup_drives()
Dinitramfs.c61 char name[N_ALIGN(PATH_MAX)]; member
72 umode_t mode, char *name) in find_link() argument
84 return (*p)->name; in find_link()
93 strcpy(q->name, name); in find_link()
126 char *name; member
130 static void __init dir_add(const char *name, time_t mtime) in dir_add() argument
136 de->name = kstrdup(name, GFP_KERNEL); in dir_add()
146 do_utime(de->name, de->mtime); in dir_utime()
147 kfree(de->name); in dir_utime()
Ddo_mounts_md.c137 char name[16]; in md_setup_drive() local
143 sprintf(name, "/dev/md%s%d", partitioned?"_d":"", minor); in md_setup_drive()
148 create_dev(name, dev); in md_setup_drive()
183 fd = sys_open(name, 0, 0); in md_setup_drive()
186 "array %s\n", name); in md_setup_drive()
246 fd = sys_open(name, 0, 0); in md_setup_drive()
Dversion.c27 .name = {
DKconfig424 command name, memory usage, controlling terminal etc. (the complete
769 callbacks are invoked by a per-CPU kthread whose name begins