Searched refs:LINVRNT (Results 1 – 14 of 14) sorted by relevance
/drivers/staging/lustre/lustre/obdclass/ |
D | cl_io.c | 107 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 …]
|
D | cl_lock.c | 207 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 …]
|
D | lu_object.c | 1360 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()
|
D | cl_page.c | 477 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/ |
D | lov_cl_internal.h | 685 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 …]
|
D | lov_page.c | 71 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()
|
D | lov_dev.c | 158 LINVRNT(list_empty(&info->lti_closure.clc_list)); in lov_key_fini()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_lock.c | 206 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 …]
|
D | osc_cl_internal.h | 501 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()
|
D | osc_page.c | 109 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()
|
D | osc_object.c | 62 LINVRNT(osc_is_object(obj)); in lu2osc()
|
D | osc_io.c | 58 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/ |
D | libcfs_private.h | 79 # define LINVRNT(exp) LASSERT(exp) macro 81 # define LINVRNT(exp) ((void)sizeof !!(exp)) macro
|
/drivers/staging/lustre/lustre/llite/ |
D | vvp_io.c | 953 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()
|