Lines Matching refs:ext4_li_info
60 static struct ext4_lazy_init *ext4_li_info; variable
3084 if (!ext4_li_info) { in ext4_unregister_li_request()
3089 mutex_lock(&ext4_li_info->li_list_mtx); in ext4_unregister_li_request()
3091 mutex_unlock(&ext4_li_info->li_list_mtx); in ext4_unregister_li_request()
3201 kfree(ext4_li_info); in ext4_lazyinit_thread()
3202 ext4_li_info = NULL; in ext4_lazyinit_thread()
3213 mutex_lock(&ext4_li_info->li_list_mtx); in ext4_clear_request_list()
3214 list_for_each_safe(pos, n, &ext4_li_info->li_request_list) { in ext4_clear_request_list()
3219 mutex_unlock(&ext4_li_info->li_list_mtx); in ext4_clear_request_list()
3225 ext4_li_info, "ext4lazyinit"); in ext4_run_lazyinit_thread()
3229 kfree(ext4_li_info); in ext4_run_lazyinit_thread()
3230 ext4_li_info = NULL; in ext4_run_lazyinit_thread()
3236 ext4_li_info->li_state |= EXT4_LAZYINIT_RUNNING; in ext4_run_lazyinit_thread()
3279 ext4_li_info = eli; in ext4_li_info_new()
3336 if (NULL == ext4_li_info) { in ext4_register_li_request()
3342 mutex_lock(&ext4_li_info->li_list_mtx); in ext4_register_li_request()
3343 list_add(&elr->lr_request, &ext4_li_info->li_request_list); in ext4_register_li_request()
3344 mutex_unlock(&ext4_li_info->li_list_mtx); in ext4_register_li_request()
3354 if (!(ext4_li_info->li_state & EXT4_LAZYINIT_RUNNING)) { in ext4_register_li_request()
3376 if (!ext4_li_info || !ext4_lazyinit_task) in ext4_destroy_lazyinit_thread()
6185 ext4_li_info = NULL; in ext4_init_fs()