mirror of https://github.com/trapexit/mergerfs.git
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							31 lines
						
					
					
						
							462 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							31 lines
						
					
					
						
							462 B
						
					
					
				| #pragma once | |
|  | |
| #include "lock.h" | |
| #include "lfmp.h" | |
|  | |
| typedef struct node_s node_t; | |
| struct node_s | |
| { | |
|   node_t *name_next; | |
|   node_t *id_next; | |
| 
 | |
|   uint64_t nodeid; | |
|   char *name; | |
|   node_t *parent; | |
| 
 | |
|   uint64_t nlookup; | |
|   uint32_t refctr; | |
|   uint32_t open_count; | |
| 
 | |
|   int32_t treelock; | |
|   lock_t *locks; | |
| 
 | |
|   uint32_t stat_crc32b; | |
|   uint8_t is_stat_cache_valid:1; | |
| }; | |
| 
 | |
| node_t *node_alloc(); | |
| void    node_free(node_t*); | |
| int     node_gc1(); | |
| void    node_gc(); | |
| lfmp_t *node_lfmp();
 |