/drivers/staging/lustre/lustre/osc/ |
D | osc_lock.c | 96 if (ergo(osc_lock_is_lockless(ols), in osc_lock_invariant() 103 if (! ergo(olock != NULL, handle_used)) in osc_lock_invariant() 106 if (! ergo(olock != NULL, in osc_lock_invariant() 110 if (! ergo(handle_used, in osc_lock_invariant() 111 ergo(lock != NULL && olock != NULL, lock == olock) && in osc_lock_invariant() 112 ergo(lock == NULL, olock == NULL))) in osc_lock_invariant() 118 if (! ergo(ols->ols_state == OLS_CANCELLED, in osc_lock_invariant() 125 if (! ergo(olock != NULL && ols->ols_state < OLS_CANCELLED, in osc_lock_invariant() 129 if (! ergo(ols->ols_state == OLS_GRANTED, in osc_lock_invariant() 977 LASSERT(ergo(ols->ols_glimpse, !osc_lock_is_lockless(ols))); in osc_lock_to_lockless() [all …]
|
D | osc_cache.c | 809 EASSERT(ergo(rc == 0, ext->oe_state == OES_RPC), ext); in osc_extent_finish() 978 EASSERTF(ergo(ext->oe_start >= trunc_index + !!partial, in osc_extent_truncate() 2280 LASSERT(ergo(grants > 0, grants >= tmp)); in osc_queue_async_io() 2306 LASSERT(ergo(rc == 0, ext != NULL)); in osc_queue_async_io() 2746 EASSERT(ergo(ext->oe_state == OES_CACHE, in osc_cache_wait_range() 2748 EASSERT(ergo(ext->oe_state == OES_ACTIVE, in osc_cache_wait_range() 2843 LASSERT(ergo(!discard, list_empty(&discard_list))); in osc_cache_writeback_range()
|
D | osc_io.c | 777 LASSERT(ergo(opg->ops_srvlock, olck->ols_lock == NULL)); in osc_req_attr_set()
|
D | osc_page.c | 470 LASSERT(ergo(rc == 0, opg->ops_transfer_pinned == 0)); in osc_page_cancel()
|
D | osc_request.c | 1339 (ergo(i == 0, poff + pg->count == PAGE_CACHE_SIZE) && in osc_brw_prep_request() 1340 ergo(i > 0 && i < page_count - 1, in osc_brw_prep_request() 1342 ergo(i == page_count - 1, poff == 0)), in osc_brw_prep_request()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | cl_page.c | 384 ergo(page != NULL, in cl_page_find0() 485 ergo(parent != NULL, parent->cp_child == pg) && in cl_page_invariant() 486 ergo(child != NULL, child->cp_parent == pg) && in cl_page_invariant() 487 ergo(child != NULL, pg->cp_obj != child->cp_obj) && in cl_page_invariant() 488 ergo(parent != NULL, pg->cp_obj != parent->cp_obj) && in cl_page_invariant() 489 ergo(owner != NULL && parent != NULL, in cl_page_invariant() 491 ergo(owner != NULL && child != NULL, in cl_page_invariant() 497 ergo(pg->cp_state < CPS_FREEING && pg->cp_type == CPT_CACHEABLE, in cl_page_invariant() 668 LASSERT(ergo(page, page->cp_type == CPT_CACHEABLE)); in cl_vmpage_page() 895 PINVRNT(env, pg, ergo(result == 0, cl_page_invariant(pg))); in cl_page_own0() [all …]
|
D | cl_lock.c | 79 return ergo(lock->cll_state == CLS_FREEING, lock->cll_holds == 0) && in cl_lock_invariant_trusted() 1273 LASSERT(ergo(result == 0 && !(enqflags & CEF_AGL), in cl_enqueue_locked() 1299 LASSERT(ergo(result == 0, lock->cll_state == CLS_ENQUEUED || in cl_enqueue() 1497 LASSERT(ergo(result == 0, lock->cll_state == CLS_HELD)); in cl_wait() 1728 LASSERT(ergo(cl_lock_nesting(lock) == CNL_TOP, in cl_lock_delete() 1900 KLASSERT(ergo(page->cp_type == CPT_CACHEABLE, in discard_cb() 1902 KLASSERT(ergo(page->cp_type == CPT_CACHEABLE, in discard_cb() 1979 LASSERT(ergo(!cancel, in cl_locks_prune()
|
D | cl_object.c | 626 LASSERT(ergo(cle, cle->ce_magic == &cl_env_init0)); in cl_env_fetch() 828 LASSERT(ergo(refcheck != NULL, cle->ce_ref == *refcheck)); in cl_env_put()
|
D | cl_io.c | 95 ergo(io->ci_owned_nr > 0, io->ci_state == CIS_IO_GOING || in cl_io_invariant() 140 LASSERT(ergo(io->ci_ignore_layout || !io->ci_verify_layout, in cl_io_fini() 888 LASSERT(ergo(result != 0, list_empty(&queue->c2_qout.pl_pages))); in cl_io_submit_rw()
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | ptlrpc_internal.h | 170 LASSERT(ergo(hp, nrs_svcpt_has_hp(svcpt))); in nrs_svcpt2nrs()
|
D | nrs.c | 542 LASSERT(ergo(nrq != NULL, nrs_request_policy(nrq) == policy)); in nrs_request_get() 1129 LASSERT(ergo(conf->nc_compat == nrs_policy_compat_one, in ptlrpc_nrs_policy_register() 1131 LASSERT(ergo((conf->nc_flags & PTLRPC_NRS_FL_REG_EXTERN) != 0, in ptlrpc_nrs_policy_register()
|
/drivers/staging/lustre/lustre/lov/ |
D | lov_page.c | 60 return ergo(sub != NULL, in lov_page_invariant()
|
D | lov_object.c | 119 LASSERT(ergo(!IS_ERR(o), o->lo_dev->ld_type == &lovsub_device_type)); in lov_sub_find()
|
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_private.h | 447 #define ergo(a, b) (!(a) || (b)) macro
|
/drivers/staging/lustre/lustre/llite/ |
D | llite_mmap.c | 257 LASSERT(ergo(result == 0, PageLocked(vmpage))); in ll_page_mkwrite0()
|
D | vvp_page.c | 301 LASSERT(ergo(pg->cp_sync_io != NULL, PageLocked(vmpage))); in vvp_page_completion_write()
|
/drivers/staging/lustre/lustre/libcfs/ |
D | hash.c | 1040 LASSERT(ergo((flags & CFS_HASH_REHASH) == 0, cur_bits == max_bits)); in cfs_hash_create() 1041 LASSERT(ergo((flags & CFS_HASH_REHASH) != 0, in cfs_hash_create() 1043 LASSERT(ergo((flags & CFS_HASH_REHASH_KEY) != 0, in cfs_hash_create()
|
/drivers/staging/lustre/lustre/include/ |
D | lu_object.h | 397 return ergo(d != NULL, d->ld_type->ldt_tags & LU_DEVICE_MD); in lu_device_is_md()
|
D | dt_object.h | 667 return ergo(d != NULL, d->ld_type->ldt_tags & LU_DEVICE_DT); in lu_device_is_dt() 724 LASSERT(ergo(o != NULL, lu_device_is_dt(o->lo_dev))); in lu2dt_obj()
|
D | obd_support.h | 767 LASSERT(ergo((type) != GFP_ATOMIC, !in_interrupt())); \
|
D | obd_class.h | 941 LASSERT(ergo(data != NULL, (data->ocd_connect_flags & ocf) == in obd_connect() 963 LASSERT(ergo(d != NULL, in obd_reconnect()
|
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_request.c | 531 LASSERTF(ergo(lvb_len != 0, lvb_len == lock->l_lvb_len), in ldlm_cli_enqueue_fini() 950 LASSERT(ergo(LIBLUSTRE_CLIENT, einfo->ei_type != LDLM_EXTENT || in ldlm_cli_enqueue()
|