Lines Matching refs:host_file
111 char *host_file;
118 host_file = dentry_name(dentry, extra + strlen("/remove"));
119 if (host_file == NULL) {
125 strcat(host_file, "/");
126 strcat(host_file, file);
128 strcat(host_file, "/remove");
130 fd = os_open_file(host_file, of_read(OPENFLAGS()), 0);
131 kfree(host_file);
309 static int open_host_sock(char *host_file, int *filter_out)
314 end = &host_file[strlen(host_file)];
317 fd = os_connect_socket(host_file);
323 fd = os_connect_socket(host_file);
439 char *host_file;
447 host_file = dentry_name(file->f_path.dentry, strlen("/rw"));
448 if (host_file == NULL)
460 type = os_file_type(host_file);
462 fd = os_open_file(host_file, of_read(OPENFLAGS()), 0);
467 "errno = %d\n", host_file, -fd);
471 fd = open_host_sock(host_file, &filter);
480 "in '%s', errno = %d\n", host_file, -fd);
482 kfree(host_file);
488 kfree(host_file);