Lines Matching refs:head
318 struct list_head *head) in nilfs_scan_dsync_log() argument
371 list_add_tail(&rb->list, head); in nilfs_scan_dsync_log()
387 static void dispose_recovery_list(struct list_head *head) in dispose_recovery_list() argument
389 while (!list_empty(head)) { in dispose_recovery_list()
392 rb = list_first_entry(head, struct nilfs_recovery_block, list); in dispose_recovery_list()
403 static int nilfs_segment_list_add(struct list_head *head, __u64 segnum) in nilfs_segment_list_add() argument
412 list_add_tail(&ent->list, head); in nilfs_segment_list_add()
416 void nilfs_dispose_segment_list(struct list_head *head) in nilfs_dispose_segment_list() argument
418 while (!list_empty(head)) { in nilfs_dispose_segment_list()
421 ent = list_first_entry(head, struct nilfs_segment_entry, list); in nilfs_dispose_segment_list()
431 struct list_head *head = &ri->ri_used_segments; in nilfs_prepare_segment_for_recovery() local
452 err = nilfs_segment_list_add(head, segnum[i]); in nilfs_prepare_segment_for_recovery()
461 list_for_each_entry_safe(ent, n, head, list) { in nilfs_prepare_segment_for_recovery()
506 struct list_head *head, in nilfs_recover_dsync_blocks() argument
516 list_for_each_entry_safe(rb, n, head, list) { in nilfs_recover_dsync_blocks()