Lines Matching defs:node
85 hlist_for_each_entry_rcu(d, &nfs4_deviceid_cache[hash], node)
212 hlist_add_head_rcu(&new->node, &nfs4_deviceid_cache[hash]);
228 * @ret the unhashed node, if found and dereferenced to zero, NULL otherwise.
244 hlist_del_init_rcu(&d->node);
257 INIT_HLIST_NODE(&d->node);
268 * Dereference a deviceid node and delete it when its reference count drops
271 * @d deviceid node to put
273 * return true iff the node was deleted
275 * that the node is no longer hashed in the global device id cache.
294 nfs4_mark_deviceid_available(struct nfs4_deviceid_node *node)
296 if (test_bit(NFS_DEVICEID_UNAVAILABLE, &node->flags)) {
297 clear_bit(NFS_DEVICEID_UNAVAILABLE, &node->flags);
304 nfs4_mark_deviceid_unavailable(struct nfs4_deviceid_node *node)
306 node->timestamp_unavailable = jiffies;
308 set_bit(NFS_DEVICEID_UNAVAILABLE, &node->flags);
314 nfs4_test_deviceid_unavailable(struct nfs4_deviceid_node *node)
316 if (test_bit(NFS_DEVICEID_UNAVAILABLE, &node->flags)) {
321 if (time_in_range(node->timestamp_unavailable, start, end))
323 clear_bit(NFS_DEVICEID_UNAVAILABLE, &node->flags);
338 hlist_for_each_entry_rcu(d, &nfs4_deviceid_cache[hash], node)
340 hlist_del_init_rcu(&d->node);
379 hlist_for_each_entry_rcu(d, &nfs4_deviceid_cache[i], node)