Home
last modified time | relevance | path

Searched refs:gc_list (Results 1 – 2 of 2) sorted by relevance

/fs/f2fs/
Dgc.c901 static struct inode *find_gc_inode(struct gc_inode_list *gc_list, nid_t ino) in find_gc_inode() argument
905 ie = radix_tree_lookup(&gc_list->iroot, ino); in find_gc_inode()
911 static void add_gc_inode(struct gc_inode_list *gc_list, struct inode *inode) in add_gc_inode() argument
915 if (inode == find_gc_inode(gc_list, inode->i_ino)) { in add_gc_inode()
923 f2fs_radix_tree_insert(&gc_list->iroot, inode->i_ino, new_ie); in add_gc_inode()
924 list_add_tail(&new_ie->list, &gc_list->ilist); in add_gc_inode()
927 static void put_gc_inode(struct gc_inode_list *gc_list) in put_gc_inode() argument
931 list_for_each_entry_safe(ie, next_ie, &gc_list->ilist, list) { in put_gc_inode()
932 radix_tree_delete(&gc_list->iroot, ie->inode->i_ino); in put_gc_inode()
1463 struct gc_inode_list *gc_list, unsigned int segno, int gc_type, in gc_data_segment() argument
[all …]
/fs/afs/
Dserver.c484 static void afs_gc_servers(struct afs_net *net, struct afs_server *gc_list) in afs_gc_servers() argument
489 while ((server = gc_list)) { in afs_gc_servers()
490 gc_list = server->gc_next; in afs_gc_servers()
542 struct afs_server *gc_list = NULL; in afs_manage_servers() local
575 server->gc_next = gc_list; in afs_manage_servers()
576 gc_list = server; in afs_manage_servers()
600 afs_gc_servers(net, gc_list); in afs_manage_servers()