Lines Matching refs:ext4_li_info
63 static struct ext4_lazy_init *ext4_li_info; variable
3707 if (!ext4_li_info) { in ext4_unregister_li_request()
3712 mutex_lock(&ext4_li_info->li_list_mtx); in ext4_unregister_li_request()
3714 mutex_unlock(&ext4_li_info->li_list_mtx); in ext4_unregister_li_request()
3823 kfree(ext4_li_info); in ext4_lazyinit_thread()
3824 ext4_li_info = NULL; in ext4_lazyinit_thread()
3835 mutex_lock(&ext4_li_info->li_list_mtx); in ext4_clear_request_list()
3836 list_for_each_safe(pos, n, &ext4_li_info->li_request_list) { in ext4_clear_request_list()
3841 mutex_unlock(&ext4_li_info->li_list_mtx); in ext4_clear_request_list()
3847 ext4_li_info, "ext4lazyinit"); in ext4_run_lazyinit_thread()
3851 kfree(ext4_li_info); in ext4_run_lazyinit_thread()
3852 ext4_li_info = NULL; in ext4_run_lazyinit_thread()
3858 ext4_li_info->li_state |= EXT4_LAZYINIT_RUNNING; in ext4_run_lazyinit_thread()
3901 ext4_li_info = eli; in ext4_li_info_new()
3963 if (NULL == ext4_li_info) { in ext4_register_li_request()
3969 mutex_lock(&ext4_li_info->li_list_mtx); in ext4_register_li_request()
3970 list_add(&elr->lr_request, &ext4_li_info->li_request_list); in ext4_register_li_request()
3971 mutex_unlock(&ext4_li_info->li_list_mtx); in ext4_register_li_request()
3981 if (!(ext4_li_info->li_state & EXT4_LAZYINIT_RUNNING)) { in ext4_register_li_request()
4003 if (!ext4_li_info || !ext4_lazyinit_task) in ext4_destroy_lazyinit_thread()
7213 ext4_li_info = NULL; in ext4_init_fs()