Home
last modified time | relevance | path

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

/fs/f2fs/
Dgc.c459 static struct inode *find_gc_inode(struct gc_inode_list *gc_list, nid_t ino) in find_gc_inode() argument
463 ie = radix_tree_lookup(&gc_list->iroot, ino); in find_gc_inode()
469 static void add_gc_inode(struct gc_inode_list *gc_list, struct inode *inode) in add_gc_inode() argument
473 if (inode == find_gc_inode(gc_list, inode->i_ino)) { in add_gc_inode()
480 f2fs_radix_tree_insert(&gc_list->iroot, inode->i_ino, new_ie); in add_gc_inode()
481 list_add_tail(&new_ie->list, &gc_list->ilist); in add_gc_inode()
484 static void put_gc_inode(struct gc_inode_list *gc_list) in put_gc_inode() argument
487 list_for_each_entry_safe(ie, next_ie, &gc_list->ilist, list) { in put_gc_inode()
488 radix_tree_delete(&gc_list->iroot, ie->inode->i_ino); in put_gc_inode()
1030 struct gc_inode_list *gc_list, unsigned int segno, int gc_type) in gc_data_segment() argument
[all …]
/fs/afs/
Dserver.c401 static void afs_gc_servers(struct afs_net *net, struct afs_server *gc_list) in afs_gc_servers() argument
407 while ((server = gc_list)) { in afs_gc_servers()
408 gc_list = server->gc_next; in afs_gc_servers()
442 struct afs_server *gc_list = NULL; in afs_manage_servers() local
471 server->gc_next = gc_list; in afs_manage_servers()
472 gc_list = server; in afs_manage_servers()
496 afs_gc_servers(net, gc_list); in afs_manage_servers()