Lines Matching refs:host_file
112 char *host_file; in file_removed() local
119 host_file = dentry_name(dentry, extra + strlen("/remove")); in file_removed()
120 if (host_file == NULL) { in file_removed()
126 strcat(host_file, "/"); in file_removed()
127 strcat(host_file, file); in file_removed()
129 strcat(host_file, "/remove"); in file_removed()
131 fd = os_open_file(host_file, of_read(OPENFLAGS()), 0); in file_removed()
132 kfree(host_file); in file_removed()
295 static int open_host_sock(char *host_file, int *filter_out) in open_host_sock() argument
300 end = &host_file[strlen(host_file)]; in open_host_sock()
303 fd = os_connect_socket(host_file); in open_host_sock()
309 fd = os_connect_socket(host_file); in open_host_sock()
424 char *host_file; in hppfs_open() local
432 host_file = dentry_name(file->f_path.dentry, strlen("/rw")); in hppfs_open()
433 if (host_file == NULL) in hppfs_open()
444 type = os_file_type(host_file); in hppfs_open()
446 fd = os_open_file(host_file, of_read(OPENFLAGS()), 0); in hppfs_open()
451 "errno = %d\n", host_file, -fd); in hppfs_open()
455 fd = open_host_sock(host_file, &filter); in hppfs_open()
464 "in '%s', errno = %d\n", host_file, -fd); in hppfs_open()
466 kfree(host_file); in hppfs_open()
472 kfree(host_file); in hppfs_open()