Lines Matching refs:actual_name
113 * strlen(actual_name) will always equal strlen(name), so it is safe to use
116 char *actual_name;
172 free(node->actual_name);
227 const char* name = node->actual_name ? node->actual_name : node->name;
306 struct node *parent, const char *name, const char* actual_name)
321 if (strcmp(name, actual_name)) {
322 node->actual_name = malloc(namelen + 1);
323 if (!node->actual_name) {
328 memcpy(node->actual_name, actual_name, namelen + 1);
339 const char* actual_name)
342 int need_actual_name = strcmp(name, actual_name);
352 if (need_actual_name && node->actual_name) {
353 char* new_actual_name = realloc(node->actual_name, namelen + 1);
357 node->actual_name = new_actual_name;
363 if (!node->actual_name) {
364 node->actual_name = malloc(namelen + 1);
365 if (!node->actual_name) {
369 memcpy(node->actual_name, actual_name, namelen + 1);
371 free(node->actual_name);
372 node->actual_name = NULL;
414 const char* name, const char* actual_name)
420 child = create_node_locked(fuse, parent, name, actual_name);
470 struct node* parent, const char* name, const char* actual_name,
482 node = acquire_or_create_child_locked(fuse, parent, name, actual_name);
520 const char* actual_name;
529 if (!parent_node || !(actual_name = find_file_within(parent_path, name,
533 return fuse_reply_entry(fuse, hdr->unique, parent_node, name, actual_name, child_path);
637 const char* actual_name;
646 if (!parent_node || !(actual_name = find_file_within(parent_path, name,
654 return fuse_reply_entry(fuse, hdr->unique, parent_node, name, actual_name, child_path);
663 const char* actual_name;
672 if (!parent_node || !(actual_name = find_file_within(parent_path, name,
680 return fuse_reply_entry(fuse, hdr->unique, parent_node, name, actual_name, child_path);