Lines Matching refs:actual_name
192 * strlen(actual_name) will always equal strlen(name), so it is safe to use
195 char *actual_name;
298 free(node->actual_name);
343 } else if (node->actual_name) {
344 name = node->actual_name;
597 struct node *parent, const char *name, const char* actual_name)
619 if (strcmp(name, actual_name)) {
620 node->actual_name = malloc(namelen + 1);
621 if (!node->actual_name) {
626 memcpy(node->actual_name, actual_name, namelen + 1);
640 const char* actual_name)
643 int need_actual_name = strcmp(name, actual_name);
653 if (need_actual_name && node->actual_name) {
654 char* new_actual_name = realloc(node->actual_name, namelen + 1);
658 node->actual_name = new_actual_name;
664 if (!node->actual_name) {
665 node->actual_name = malloc(namelen + 1);
666 if (!node->actual_name) {
670 memcpy(node->actual_name, actual_name, namelen + 1);
672 free(node->actual_name);
673 node->actual_name = NULL;
715 const char* name, const char* actual_name)
721 child = create_node_locked(fuse, parent, name, actual_name);
810 struct node* parent, const char* name, const char* actual_name,
822 node = acquire_or_create_child_locked(fuse, parent, name, actual_name);
860 const char* actual_name;
869 if (!parent_node || !(actual_name = find_file_within(parent_path, name,
877 return fuse_reply_entry(fuse, hdr->unique, parent_node, name, actual_name, child_path);
991 const char* actual_name;
1001 if (!parent_node || !(actual_name = find_file_within(parent_path, name,
1012 return fuse_reply_entry(fuse, hdr->unique, parent_node, name, actual_name, child_path);
1022 const char* actual_name;
1032 if (!parent_node || !(actual_name = find_file_within(parent_path, name,
1062 return fuse_reply_entry(fuse, hdr->unique, parent_node, name, actual_name, child_path);