• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/usr/monitor/

Lines Matching defs:name

31     // lop off leading path for name comparison
32 const char *name = strrchr(pname, '/');
33 if (name == NULL) {
34 name = pname;
36 name++;
40 if (!strcmp(name, "bfscope")) {
51 if (!strcmp(name, "kaluga")) {
62 if (!strcmp(name, "proc_mgmt")) {
75 if (!strcmp(name, "xeon_phi")) {
108 * \brief Spawn the domain identified by #name
110 errval_t spawn_domain(char *name)
115 struct mem_region *module = multiboot_find_module(bi, name);
129 err = spawn_module_with_args(name, module, argv, environ);
134 * \brief Spawn the domain identified by #name with the provided args
136 errval_t spawn_domain_with_args(const char *name,
139 struct mem_region *module = multiboot_find_module(bi, name);
144 return spawn_module_with_args(name, module, argv, envp);
150 errval_t spawn_module_with_args(const char *name, struct mem_region *module,
156 printf("Spawning %s on core %d\n", name, my_core_id);
158 err = spawn_load_with_args(&si, module, name, my_core_id, argv, envp);
164 err = set_special_caps(&si, name);
193 static errval_t spawn_image_with_args(const char *name, void *image,
200 printf("Spawning %s on core %d\n", name, my_core_id);
203 name, my_core_id, argv, envp, NULL_CAP, NULL_CAP);
209 err = set_special_caps(&si, name);
242 char name[128];
252 // Copy name because walking the multiboot changes the name field
253 strncpy(name, mm_name, sizeof(name));
255 // Lop off the path from the name
256 const char *short_name = strrchr(name, '/');
258 short_name = name;
307 err = spawn_module_with_args(name, region, argv, environ);