Lines Matching refs:ext4_li_info
57 static struct ext4_lazy_init *ext4_li_info; variable
2735 if (!ext4_li_info) in ext4_unregister_li_request()
2738 mutex_lock(&ext4_li_info->li_list_mtx); in ext4_unregister_li_request()
2740 mutex_unlock(&ext4_li_info->li_list_mtx); in ext4_unregister_li_request()
2836 del_timer_sync(&ext4_li_info->li_timer); in ext4_lazyinit_thread()
2840 kfree(ext4_li_info); in ext4_lazyinit_thread()
2842 ext4_li_info = NULL; in ext4_lazyinit_thread()
2853 mutex_lock(&ext4_li_info->li_list_mtx); in ext4_clear_request_list()
2854 list_for_each_safe(pos, n, &ext4_li_info->li_request_list) { in ext4_clear_request_list()
2859 mutex_unlock(&ext4_li_info->li_list_mtx); in ext4_clear_request_list()
2865 ext4_li_info, "ext4lazyinit"); in ext4_run_lazyinit_thread()
2869 del_timer_sync(&ext4_li_info->li_timer); in ext4_run_lazyinit_thread()
2870 kfree(ext4_li_info); in ext4_run_lazyinit_thread()
2871 ext4_li_info = NULL; in ext4_run_lazyinit_thread()
2877 ext4_li_info->li_state |= EXT4_LAZYINIT_RUNNING; in ext4_run_lazyinit_thread()
2879 wait_event(ext4_li_info->li_wait_task, ext4_li_info->li_task != NULL); in ext4_run_lazyinit_thread()
2923 ext4_li_info = eli; in ext4_li_info_new()
2984 if (NULL == ext4_li_info) { in ext4_register_li_request()
2990 mutex_lock(&ext4_li_info->li_list_mtx); in ext4_register_li_request()
2991 list_add(&elr->lr_request, &ext4_li_info->li_request_list); in ext4_register_li_request()
2992 mutex_unlock(&ext4_li_info->li_list_mtx); in ext4_register_li_request()
3002 if (!(ext4_li_info->li_state & EXT4_LAZYINIT_RUNNING)) { in ext4_register_li_request()
3024 if (!ext4_li_info || !ext4_lazyinit_task) in ext4_destroy_lazyinit_thread()
4907 ext4_li_info = NULL; in ext4_init_fs()