Lines Matching refs:actual_name
68 free(node->actual_name); in release_node_locked()
113 } else if (node->actual_name) { in get_node_path_locked()
114 name = node->actual_name; in get_node_path_locked()
340 struct node *parent, const char *name, const char* actual_name) in create_node_locked() argument
362 if (strcmp(name, actual_name)) { in create_node_locked()
363 node->actual_name = static_cast<char*>(malloc(namelen + 1)); in create_node_locked()
364 if (!node->actual_name) { in create_node_locked()
369 memcpy(node->actual_name, actual_name, namelen + 1); in create_node_locked()
385 const char* actual_name) in rename_node_locked() argument
388 int need_actual_name = strcmp(name, actual_name); in rename_node_locked()
398 if (need_actual_name && node->actual_name) { in rename_node_locked()
399 char* new_actual_name = static_cast<char*>(realloc(node->actual_name, namelen + 1)); in rename_node_locked()
403 node->actual_name = new_actual_name; in rename_node_locked()
409 if (!node->actual_name) { in rename_node_locked()
410 node->actual_name = static_cast<char*>(malloc(namelen + 1)); in rename_node_locked()
411 if (!node->actual_name) { in rename_node_locked()
415 memcpy(node->actual_name, actual_name, namelen + 1); in rename_node_locked()
417 free(node->actual_name); in rename_node_locked()
418 node->actual_name = NULL; in rename_node_locked()
460 const char* name, const char* actual_name) in acquire_or_create_child_locked() argument
466 child = create_node_locked(fuse, parent, name, actual_name); in acquire_or_create_child_locked()
509 struct node* parent, const char* name, const char* actual_name, in fuse_reply_entry() argument
521 node = acquire_or_create_child_locked(fuse, parent, name, actual_name); in fuse_reply_entry()
593 const char* actual_name; in handle_lookup() local
602 if (!parent_node || !(actual_name = find_file_within(parent_path, name, in handle_lookup()
610 return fuse_reply_entry(fuse, hdr->unique, parent_node, name, actual_name, child_path); in handle_lookup()
727 const char* actual_name; in handle_mknod() local
737 if (!parent_node || !(actual_name = find_file_within(parent_path, name, in handle_mknod()
748 return fuse_reply_entry(fuse, hdr->unique, parent_node, name, actual_name, child_path); in handle_mknod()
757 const char* actual_name; in handle_mkdir() local
767 if (!parent_node || !(actual_name = find_file_within(parent_path, name, in handle_mkdir()
797 return fuse_reply_entry(fuse, hdr->unique, parent_node, name, actual_name, child_path); in handle_mkdir()