• Home
  • Raw
  • Download

Lines Matching refs:wnode

976 static void unlock_path(struct fuse *f, fuse_ino_t nodeid, struct node *wnode,  in unlock_path()  argument
981 if (wnode) { in unlock_path()
982 assert(wnode->treelock == TREELOCK_WRITE); in unlock_path()
983 wnode->treelock = 0; in unlock_path()
1004 struct node *wnode = NULL; in try_get_path() local
1026 wnode = lookup_node(f, nodeid, name); in try_get_path()
1027 if (wnode) { in try_get_path()
1028 if (wnode->treelock != 0) { in try_get_path()
1029 if (wnode->treelock > 0) in try_get_path()
1030 wnode->treelock += TREELOCK_WAIT_OFFSET; in try_get_path()
1034 wnode->treelock = TREELOCK_WRITE; in try_get_path()
1065 *wnodep = wnode; in try_get_path()
1071 unlock_path(f, nodeid, wnode, node); in try_get_path()
1081 struct node *wnode; in queue_element_unlock() local
1084 wnode = qe->wnode1 ? *qe->wnode1 : NULL; in queue_element_unlock()
1085 unlock_path(f, qe->nodeid1, wnode, NULL); in queue_element_unlock()
1089 wnode = qe->wnode2 ? *qe->wnode2 : NULL; in queue_element_unlock()
1090 unlock_path(f, qe->nodeid2, wnode, NULL); in queue_element_unlock()
1163 struct node *wnode = NULL; in debug_path() local
1166 wnode = lookup_node(f, nodeid, name); in debug_path()
1168 if (wnode) { in debug_path()
1170 msg, (unsigned long long) wnode->nodeid); in debug_path()
1214 char **path, struct node **wnode) in get_path_common() argument
1219 err = try_get_path(f, nodeid, name, path, wnode, true); in get_path_common()
1225 .wnode1 = wnode, in get_path_common()
1227 debug_path(f, "QUEUE PATH", nodeid, name, !!wnode); in get_path_common()
1229 debug_path(f, "DEQUEUE PATH", nodeid, name, !!wnode); in get_path_common()
1263 char **path, struct node **wnode) in get_path_wrlock() argument
1265 return get_path_common(f, nodeid, name, path, wnode); in get_path_wrlock()
1381 struct node *wnode, char *path) in free_path_wrlock() argument
1384 unlock_path(f, nodeid, wnode, NULL); in free_path_wrlock()
3008 struct node *wnode; in fuse_lib_unlink() local
3012 err = get_path_wrlock(f, parent, name, &path, &wnode); in fuse_lib_unlink()
3025 free_path_wrlock(f, parent, wnode, path); in fuse_lib_unlink()
3033 struct node *wnode; in fuse_lib_rmdir() local
3037 err = get_path_wrlock(f, parent, name, &path, &wnode); in fuse_lib_rmdir()
3046 free_path_wrlock(f, parent, wnode, path); in fuse_lib_rmdir()