Home
last modified time | relevance | path

Searched refs:LINVRNT (Results 1 – 14 of 14) sorted by relevance

/drivers/staging/lustre/lustre/obdclass/
Dcl_io.c107 LINVRNT(cl_io_type_is_valid(io->ci_type)); in cl_io_fini()
108 LINVRNT(cl_io_invariant(io)); in cl_io_fini()
155 LINVRNT(io->ci_state == CIS_ZERO || io->ci_state == CIS_FINI); in cl_io_init0()
156 LINVRNT(cl_io_type_is_valid(iot)); in cl_io_init0()
157 LINVRNT(cl_io_invariant(io)); in cl_io_init0()
226 LINVRNT(iot == CIT_READ || iot == CIT_WRITE); in cl_io_rw_init()
227 LINVRNT(io->ci_obj != NULL); in cl_io_rw_init()
460 LINVRNT(cl_io_is_loopable(io)); in cl_io_lock()
461 LINVRNT(io->ci_state == CIS_IT_STARTED); in cl_io_lock()
462 LINVRNT(cl_io_invariant(io)); in cl_io_lock()
[all …]
Dcl_lock.c207 LINVRNT(need == CLM_READ || need == CLM_WRITE || in cl_lock_mode_match()
209 LINVRNT(has == CLM_READ || has == CLM_WRITE || in cl_lock_mode_match()
253 LINVRNT(!cl_lock_is_mutexed(lock)); in cl_lock_free()
288 LINVRNT(cl_lock_invariant(env, lock)); in cl_lock_put()
290 LINVRNT(obj != NULL); in cl_lock_put()
315 LINVRNT(cl_lock_invariant(NULL, lock)); in cl_lock_get()
463 LINVRNT(cl_lock_invariant_trusted(env, lock)); in cl_lock_fits_into()
621 LINVRNT(cl_lock_invariant_trusted(NULL, lock)); in cl_lock_at()
654 LINVRNT(cl_lock_invariant(env, lock)); in cl_lock_mutex_get()
657 LINVRNT(cl_lock_is_mutexed(lock)); in cl_lock_mutex_get()
[all …]
Dlu_object.c1360 LINVRNT(module_refcount(key->lct_owner) > 0); in key_fini()
1374 LINVRNT(0 <= key->lct_index && key->lct_index < ARRAY_SIZE(lu_keys)); in lu_context_key_degister()
1480 LINVRNT(ctx->lc_state == LCS_ENTERED); in lu_context_key_get()
1481 LINVRNT(0 <= key->lct_index && key->lct_index < ARRAY_SIZE(lu_keys)); in lu_context_key_get()
1544 LINVRNT(ctx->lc_value != NULL); in keys_fill()
1558 LINVRNT(key->lct_init != NULL); in keys_fill()
1559 LINVRNT(key->lct_index == i); in keys_fill()
1624 LINVRNT(ctx->lc_state == LCS_INITIALIZED || ctx->lc_state == LCS_LEFT); in lu_context_fini()
1645 LINVRNT(ctx->lc_state == LCS_INITIALIZED || ctx->lc_state == LCS_LEFT); in lu_context_enter()
1657 LINVRNT(ctx->lc_state == LCS_ENTERED); in lu_context_exit()
Dcl_page.c477 LINVRNT(cl_page_is_vmlocked(NULL, pg)); in cl_page_invariant()
838 LINVRNT(cl_object_same(pg->cp_obj, io->ci_obj)); in cl_page_is_owned()
/drivers/staging/lustre/lustre/lov/
Dlov_cl_internal.h685 LINVRNT(d->ld_type == &lov_device_type); in lu2lov_dev()
701 LINVRNT(d->ld_type == &lovsub_device_type); in lu2lovsub_dev()
707 LINVRNT(d->cd_lu_dev.ld_type == &lovsub_device_type); in cl2lovsub_dev()
723 LINVRNT(lov_is_object(obj)); in lu2lov()
729 LINVRNT(lov_is_object(&obj->co_lu)); in cl2lov()
745 LINVRNT(lovsub_is_object(&obj->co_lu)); in cl2lovsub()
751 LINVRNT(lovsub_is_object(obj)); in lu2lovsub()
758 LINVRNT(lovsub_is_object(&slice->cls_obj->co_lu)); in cl2lovsub_lock()
773 LINVRNT(lov_is_object(&slice->cls_obj->co_lu)); in cl2lov_lock()
779 LINVRNT(lov_is_object(&slice->cpl_obj->co_lu)); in cl2lov_page()
[all …]
Dlov_page.c71 LINVRNT(lov_page_invariant(slice)); in lov_page_fini()
89 LINVRNT(lov_page_invariant(slice)); in lov_page_own()
90 LINVRNT(!cl2lov_page(slice)->lps_invalid); in lov_page_own()
115 LINVRNT(lov_page_invariant(slice)); in lov_page_cache_add()
116 LINVRNT(!cl2lov_page(slice)->lps_invalid); in lov_page_cache_add()
Dlov_dev.c158 LINVRNT(list_empty(&info->lti_closure.clc_list)); in lov_key_fini()
/drivers/staging/lustre/lustre/osc/
Dosc_lock.c206 LINVRNT(osc_lock_invariant(ols)); in osc_lock_unuse()
242 LINVRNT(osc_lock_invariant(ols)); in osc_lock_fini()
436 LINVRNT(osc_lock_invariant(olck)); in osc_lock_granted()
640 LINVRNT(osc_lock_invariant(olck)); in osc_dlm_blocking_ast0()
1171 LINVRNT(osc_lock_invariant(olck)); in osc_lock_wait()
1281 LINVRNT(!osc_lock_has_pages(ols)); in osc_lock_flush()
1310 LINVRNT(osc_lock_invariant(olck)); in osc_lock_cancel()
1358 LINVRNT(osc_lock_invariant(olck)); in osc_lock_delete()
1359 LINVRNT(!osc_lock_has_pages(olck)); in osc_lock_delete()
1384 LINVRNT(osc_lock_invariant(lock)); in osc_lock_state()
[all …]
Dosc_cl_internal.h501 LINVRNT(d->ld_type == &osc_device_type); in lu2osc_dev()
517 LINVRNT(osc_is_object(&obj->co_lu)); in cl2osc()
550 LINVRNT(osc_is_object(&slice->cpl_obj->co_lu)); in cl2osc_page()
571 LINVRNT(osc_is_object(&slice->cls_obj->co_lu)); in cl2osc_lock()
Dosc_page.c109 LINVRNT(!opg->ops_temp);
223 LINVRNT(osc_page_protected(env, opg, CLM_WRITE, 0)); in osc_page_cache_add()
420 LINVRNT(opg->ops_temp || osc_page_protected(env, opg, CLM_READ, 1)); in osc_page_delete()
448 LINVRNT(osc_page_protected(env, opg, CLM_READ, 0)); in osc_page_clip()
463 LINVRNT(osc_page_protected(env, opg, CLM_READ, 0)); in osc_page_cancel()
550 LINVRNT(osc_page_protected(env, opg, in osc_page_submit()
Dosc_object.c62 LINVRNT(osc_is_object(obj)); in lu2osc()
Dosc_io.c58 LINVRNT(slice->crs_dev->cd_lu_dev.ld_type == &osc_device_type); in cl2osc_req()
67 LINVRNT(oio == osc_env_io(env)); in cl2osc_io()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h79 # define LINVRNT(exp) LASSERT(exp) macro
81 # define LINVRNT(exp) ((void)sizeof !!(exp)) macro
/drivers/staging/lustre/lustre/llite/
Dvvp_io.c953 LINVRNT(cl_page_is_vmlocked(env, pg)); in vvp_io_prepare_write()
993 LINVRNT(cl_page_is_vmlocked(env, pg)); in vvp_io_commit_write()