Lines Matching refs:list
605 struct nilfs_snapshot_list *list; in nilfs_cpfile_block_get_snapshot_list() local
609 list = &cp->cp_snapshot_list; in nilfs_cpfile_block_get_snapshot_list()
612 list = &header->ch_snapshot_list; in nilfs_cpfile_block_get_snapshot_list()
614 return list; in nilfs_cpfile_block_get_snapshot_list()
622 struct nilfs_snapshot_list *list; in nilfs_cpfile_set_snapshot() local
654 list = &header->ch_snapshot_list; in nilfs_cpfile_set_snapshot()
659 prev = le64_to_cpu(list->ssl_prev); in nilfs_cpfile_set_snapshot()
675 list = &cp->cp_snapshot_list; in nilfs_cpfile_set_snapshot()
676 prev = le64_to_cpu(list->ssl_prev); in nilfs_cpfile_set_snapshot()
691 list = nilfs_cpfile_block_get_snapshot_list( in nilfs_cpfile_set_snapshot()
693 list->ssl_prev = cpu_to_le64(cno); in nilfs_cpfile_set_snapshot()
704 list = nilfs_cpfile_block_get_snapshot_list( in nilfs_cpfile_set_snapshot()
706 list->ssl_next = cpu_to_le64(cno); in nilfs_cpfile_set_snapshot()
741 struct nilfs_snapshot_list *list; in nilfs_cpfile_clear_snapshot() local
766 list = &cp->cp_snapshot_list; in nilfs_cpfile_clear_snapshot()
767 next = le64_to_cpu(list->ssl_next); in nilfs_cpfile_clear_snapshot()
768 prev = le64_to_cpu(list->ssl_prev); in nilfs_cpfile_clear_snapshot()
794 list = nilfs_cpfile_block_get_snapshot_list( in nilfs_cpfile_clear_snapshot()
796 list->ssl_prev = cpu_to_le64(prev); in nilfs_cpfile_clear_snapshot()
800 list = nilfs_cpfile_block_get_snapshot_list( in nilfs_cpfile_clear_snapshot()
802 list->ssl_next = cpu_to_le64(next); in nilfs_cpfile_clear_snapshot()