Lines Matching refs:host_file
113 char *host_file; in file_removed() local
120 host_file = dentry_name(dentry, extra + strlen("/remove")); in file_removed()
121 if (host_file == NULL) { in file_removed()
127 strcat(host_file, "/"); in file_removed()
128 strcat(host_file, file); in file_removed()
130 strcat(host_file, "/remove"); in file_removed()
132 fd = os_open_file(host_file, of_read(OPENFLAGS()), 0); in file_removed()
133 kfree(host_file); in file_removed()
296 static int open_host_sock(char *host_file, int *filter_out) in open_host_sock() argument
301 end = &host_file[strlen(host_file)]; in open_host_sock()
304 fd = os_connect_socket(host_file); in open_host_sock()
310 fd = os_connect_socket(host_file); in open_host_sock()
425 char *host_file; in hppfs_open() local
433 host_file = dentry_name(file->f_path.dentry, strlen("/rw")); in hppfs_open()
434 if (host_file == NULL) in hppfs_open()
445 type = os_file_type(host_file); in hppfs_open()
447 fd = os_open_file(host_file, of_read(OPENFLAGS()), 0); in hppfs_open()
452 "errno = %d\n", host_file, -fd); in hppfs_open()
456 fd = open_host_sock(host_file, &filter); in hppfs_open()
465 "in '%s', errno = %d\n", host_file, -fd); in hppfs_open()
467 kfree(host_file); in hppfs_open()
473 kfree(host_file); in hppfs_open()