Lines Matching refs:wnode
969 static void unlock_path(struct fuse *f, fuse_ino_t nodeid, struct node *wnode,
974 if (wnode) {
975 assert(wnode->treelock == TREELOCK_WRITE);
976 wnode->treelock = 0;
997 struct node *wnode = NULL;
1019 wnode = lookup_node(f, nodeid, name);
1020 if (wnode) {
1021 if (wnode->treelock != 0) {
1022 if (wnode->treelock > 0)
1023 wnode->treelock += TREELOCK_WAIT_OFFSET;
1027 wnode->treelock = TREELOCK_WRITE;
1058 *wnodep = wnode;
1064 unlock_path(f, nodeid, wnode, node);
1137 struct node *wnode = NULL;
1140 wnode = lookup_node(f, nodeid, name);
1142 if (wnode) {
1144 msg, (unsigned long long) wnode->nodeid);
1186 char **path, struct node **wnode)
1191 err = try_get_path(f, nodeid, name, path, wnode, true);
1197 .wnode1 = wnode,
1199 debug_path(f, "QUEUE PATH", nodeid, name, !!wnode);
1201 debug_path(f, "DEQUEUE PATH", nodeid, name, !!wnode);
1235 char **path, struct node **wnode)
1237 return get_path_common(f, nodeid, name, path, wnode);
1332 struct node *wnode, char *path)
1335 unlock_path(f, nodeid, wnode, NULL);
2955 struct node *wnode;
2959 err = get_path_wrlock(f, parent, name, &path, &wnode);
2968 if (!is_open(f, parent, wnode->name)) {
2972 if (try_get_path(f, wnode->nodeid, NULL, &unlinkpath, NULL, false) == 0) {
2975 remove_node(f, parent, wnode->name);
2986 free_path_wrlock(f, parent, wnode, path);
2994 struct node *wnode;
2998 err = get_path_wrlock(f, parent, name, &path, &wnode);
3007 free_path_wrlock(f, parent, wnode, path);