Lines Matching defs:name
23 static struct file *do_open(char *name, int flags)
33 error = vfs_path_lookup(mnt->mnt_root, mnt, name, 0, &nd);
52 char *name; int wsize; int rsize;
55 .name = ".svc",
59 .name = ".add",
63 .name = ".del",
67 .name = ".export",
71 .name = ".unexport",
75 .name = ".getfd",
80 .name = ".getfs",
100 if (cmd < 0 || cmd >= ARRAY_SIZE(map) || !map[cmd].name)
103 file = do_open(map[cmd].name, map[cmd].rsize ? O_RDWR : O_WRONLY);