Home
last modified time | relevance | path

Searched refs:LASSERTF (Results 1 – 62 of 62) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c56 LASSERTF(PTL_RPC_MSG_REQUEST == 4711, "found %lld\n", in lustre_assert_wire_constants()
58 LASSERTF(PTL_RPC_MSG_ERR == 4712, "found %lld\n", in lustre_assert_wire_constants()
60 LASSERTF(PTL_RPC_MSG_REPLY == 4713, "found %lld\n", in lustre_assert_wire_constants()
62 LASSERTF(MDS_DIR_END_OFF == 0xfffffffffffffffeULL, "found 0x%.16llxULL\n", in lustre_assert_wire_constants()
64 LASSERTF(DEAD_HANDLE_MAGIC == 0xdeadbeefcafebabeULL, "found 0x%.16llxULL\n", in lustre_assert_wire_constants()
67 LASSERTF(OST_REPLY == 0, "found %lld\n", in lustre_assert_wire_constants()
69 LASSERTF(OST_GETATTR == 1, "found %lld\n", in lustre_assert_wire_constants()
71 LASSERTF(OST_SETATTR == 2, "found %lld\n", in lustre_assert_wire_constants()
73 LASSERTF(OST_READ == 3, "found %lld\n", in lustre_assert_wire_constants()
75 LASSERTF(OST_WRITE == 4, "found %lld\n", in lustre_assert_wire_constants()
[all …]
Dpack_generic.c67 LASSERTF(0, "incorrect message magic: %08x\n", magic); in lustre_msg_hdr_size()
171 LASSERTF(0, "incorrect message magic: %08x\n", magic); in lustre_msg_size()
381 LASSERTF(0, "incorrect message magic: %08x\n", in lustre_pack_reply_flags()
434 LASSERTF(0, "incorrect message magic: %08x(msg:%p)\n", m->lm_magic, m); in lustre_msg_buf()
494 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); in lustre_shrink_msg()
709 LASSERTF(0, "incorrect message magic: %08x\n", m->lm_magic); in lustre_msg_set_buflen()
741 LASSERTF(0, "incorrect message magic: %08x\n", m->lm_magic); in lustre_msg_string()
810 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); in lustre_msghdr_get_flags()
825 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); in lustre_msghdr_set_flags()
853 LASSERTF(pb, "invalid msg %p: no ptlrpc body!\n", msg); in lustre_msg_add_flags()
[all …]
Dllog_net.c61 LASSERTF(ctxt->loc_imp == NULL || ctxt->loc_imp == new_imp, in llog_initiator_connect()
Drecover.c197 LASSERTF((long)req > PAGE_CACHE_SIZE && req != LP_POISON, in ptlrpc_resend()
199 LASSERTF(req->rq_type != LI_POISON, "req %p freed\n", req); in ptlrpc_resend()
Dclient.c457 LASSERTF(list_empty(&pool->prp_req_list) || in ptlrpc_add_rqs_to_pool()
712 LASSERTF((unsigned long)imp > 0x1000, "%p", imp); in __ptlrpc_request_alloc()
714 LASSERTF((unsigned long)imp->imp_client > 0x1000, "%p", in __ptlrpc_request_alloc()
932 LASSERTF(atomic_read(&set->set_remaining) == 0 || in ptlrpc_set_destroy()
2237 LASSERTF(!request->rq_receiving_reply, "req %p\n", request); in __ptlrpc_free_req()
2238 LASSERTF(request->rq_rqbd == NULL, "req %p\n", request);/* client-side */ in __ptlrpc_free_req()
2239 LASSERTF(list_empty(&request->rq_list), "req %p\n", request); in __ptlrpc_free_req()
2240 LASSERTF(list_empty(&request->rq_set_chain), "req %p\n", request); in __ptlrpc_free_req()
2241 LASSERTF(list_empty(&request->rq_exp_list), "req %p\n", request); in __ptlrpc_free_req()
2242 LASSERTF(!request->rq_replay, "req %p\n", request); in __ptlrpc_free_req()
[all …]
Dsec_null.c182 LASSERTF(req->rq_reqmsg == req->rq_reqbuf, in null_free_reqbuf()
185 LASSERTF(req->rq_reqbuf_len >= req->rq_reqlen, in null_free_reqbuf()
Dlproc_ptlrpc.c169 LASSERTF(offset < LUSTRE_MAX_OPCODES, in ll_opcode2str()
172 LASSERTF(ll_rpc_opcode_table[offset].opcode == opcode, in ll_opcode2str()
751 LASSERTF(srhi->srhi_seq == srhi->srhi_req->rq_history_seq, in ptlrpc_lprocfs_svc_req_history_seek()
755 LASSERTF(!list_empty(&svcpt->scp_hist_reqs), in ptlrpc_lprocfs_svc_req_history_seek()
1156 LASSERTF(0, "unsupported opcode %u\n", idx); in ptlrpc_lprocfs_brw()
Dconnection.c227 LASSERTF(atomic_read(&conn->c_refcount) == 0, in conn_exit()
Dniobuf.c95 LASSERTF(rc2 == 0, "rc2 = %d\n", rc2); in ptl_send_buf()
159 LASSERTF(!(desc->bd_registered && in ptlrpc_register_bulk()
215 LASSERTF(desc->bd_last_xid == (req->rq_xid & PTLRPC_BULK_OPS_MASK), in ptlrpc_register_bulk()
Dllog_client.c92 LASSERTF(open_param != LLOG_OPEN_NEW, "%#x\n", open_param); in llog_client_open()
Dpinger.c514 LASSERTF(ti != NULL, "ti is NULL !\n"); in ptlrpc_del_timeout_client()
Dlayout.c1839 LASSERTF(offset > 0, "%s:%s, off=%d, loc=%d\n", in __req_capsule_offset()
2367 LASSERTF(newlen <= len, "%s:%s, oldlen=%d, newlen=%d\n", in req_capsule_shrink()
Dimport.c340 LASSERTF(count == 0, "Some RPCs are still unregistering: %d\n", in ptlrpc_invalidate_import()
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h60 #define LASSERTF(cond, fmt, ...) \ macro
71 #define LASSERT(cond) LASSERTF(cond, "\n")
253 LASSERTF(atomic_read(a) == v, \
260 LASSERTF(atomic_read(a) != v, \
267 LASSERTF(atomic_read(a) < v, \
274 LASSERTF(atomic_read(a) <= v, \
281 LASSERTF(atomic_read(a) > v, \
288 LASSERTF(atomic_read(a) >= v, \
296 LASSERTF(__v > v1 && __v < v2, "value: %d\n", __v); \
303 LASSERTF(__v > v1 && __v <= v2, "value: %d\n", __v); \
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_counters.c57 LASSERTF(0 <= idx && idx < stats->ls_num, in lprocfs_counter_add()
108 LASSERTF(0 <= idx && idx < stats->ls_num, in lprocfs_counter_sub()
Dgenops.c83 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, "obd %p obd_magic %08x != %08x\n", in obd_device_free()
311 LASSERTF(result->obd_magic == OBD_DEVICE_MAGIC, in class_newdev()
314 LASSERTF(result->obd_minor == new_obd_minor, in class_newdev()
361 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, "%p obd_magic %08x != %08x\n", in class_release_dev()
363 LASSERTF(obd == obd_devs[obd->obd_minor], "obd %p != obd_devs[%d] %p\n", in class_release_dev()
462 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, in class_num2obd()
465 LASSERTF(obd->obd_minor == num, in class_num2obd()
1417 LASSERTF(doomed_exp->exp_connection->c_peer.nid == nid_key, in obd_export_evict_by_nid()
1421 LASSERTF(doomed_exp != obd->obd_self_export, in obd_export_evict_by_nid()
Dllog_obd.c93 LASSERTF(obd->obd_starting == 1 || in __llog_ctxt_put()
Ddt_object.c450 LASSERTF(dt != NULL, "dt is NULL when we want to read record\n"); in dt_read()
473 LASSERTF(dt != NULL, "dt is NULL when we want to read record\n"); in dt_record_read()
490 LASSERTF(dt != NULL, "dt is NULL when we want to write record\n"); in dt_record_write()
Dobd_config.c370 LASSERTF(obd != NULL, "Cannot get obd device %s of type %s\n", in class_attach()
372 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, in class_attach()
375 LASSERTF(strncmp(obd->obd_name, name, strlen(name)) == 0, in class_attach()
457 LASSERTF(obd == class_num2obd(obd->obd_minor), in class_setup()
460 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, in class_setup()
Dcl_lock.c413 LASSERTF(state >= CLS_ENQUEUED && state <= CLS_CACHED, in cl_lock_intransit()
1084 LASSERTF(lock->cll_state == CLS_INTRANSIT, "Wrong state %d.\n", in cl_use_try()
1422 LASSERTF(lock->cll_state == CLS_QUEUING || in cl_wait_try()
1477 LASSERTF(lock->cll_state == CLS_ENQUEUED || lock->cll_state == CLS_HELD, in cl_wait()
Dlprocfs_status.c996 LASSERTF(atomic_read(&client_stat->nid_exp_ref_count) == 0, in lprocfs_free_client_stats()
1301 LASSERTF(header != NULL, "Failed to allocate stats header:[%d]%s/%s\n", in lprocfs_counter_init()
1408 LASSERTF(stats->ls_cnt_header[i].lc_name != NULL, in lprocfs_alloc_obd_stats()
Dlu_object.c1143 LASSERTF(atomic_read(&d->ld_ref) == 0, in lu_device_fini()
1386 LASSERTF(atomic_read(&key->lct_used) == 1, in lu_context_key_degister()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_mdc.h129 LASSERTF(lck->rpcl_fakes > 0, "%d\n", lck->rpcl_fakes); in mdc_put_rpc_lock()
136 LASSERTF(it == lck->rpcl_it, "%p != %p\n", it, lck->rpcl_it); in mdc_put_rpc_lock()
Dlustre_fid.h314 LASSERTF(fid_seq_is_norm(seq) || fid_seq_is_echo(seq) || in lu_last_id_fid()
719 LASSERTF(fid_seq(fid1) == fid_seq(fid2), "fid1:"DFID", fid2:"DFID"\n", in lu_fid_diff()
Dlustre_export.h133 LASSERTF(atomic_read(&(nidstat)->nid_exp_ref_count) >= 0, \
Ddt_object.h983 LASSERTF(dt != NULL, "dt is NULL when we want to write record\n"); in dt_declare_record_write()
1195 LASSERTF(d != NULL, "dt is NULL when we want to declare write\n"); in dt_declare_write_commit()
Dobd.h1025 LASSERTF(0, "Invalid it_op: %d\n", it->it_op); in it_to_lock_mode()
Dlustre_net.h2812 LASSERTF(0, "incorrect message magic: %08x\n", in ptlrpc_req_get_repsize()
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/
Dlmv_fld.c62 LASSERTF((fid_seq_in_fldb(fid_seq(fid)) || in lmv_fld_lookup()
Dlmv_obd.c2173 LASSERTF(nlupgs == 0, "left = %d", nlupgs); in lmv_adjust_dirpages()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dfail.c116 LASSERTF(0, "called with bad set %u\n", set); in __cfs_fail_check_set()
Dhash.c1127 LASSERTF(!cfs_hash_with_assert_empty(hs), in cfs_hash_destroy()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-debug.c83 LASSERTF(file != NULL, "called on a null filename\n"); in libcfs_run_debug_log_upcall()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dsuper25.c209 LASSERTF(capa_count[CAPA_SITE_CLIENT] == 0, in exit_lustre_lite()
Drw.c359 LASSERTF(which >= 0 && which < _NR_RA_STAT, "which: %u\n", which); in ll_ra_stats_inc_sbi()
670 LASSERTF(page_idx > ria->ria_stoff, "Invalid page_idx %lu rs %lu re %lu ro %lu rl %lu rp %lu\n", in ll_read_ahead_pages()
795 LASSERTF(reserved >= 0, "reserved %lu\n", reserved); in ll_readahead()
929 LASSERTF(ras->ras_window_start + ras->ras_window_len in ras_stride_increase_window()
Dllite_mmap.c457 LASSERTF(last > first, "last %llu first %llu\n", last, first); in ll_teardown_mmaps()
Dllite_capa.c466 LASSERTF(S_ISREG(inode->i_mode), in do_add_oss_capa()
Dllite_lib.c1680 LASSERTF(lu_fid_eq(&lli->lli_fid, &body->fid1), in ll_update_inode()
1806 LASSERTF(inode->i_data.nrpages == 0, in ll_delete_inode()
Ddir.c308 LASSERTF(*start <= *hash, "start = %#llx,end = %#llx,hash = %#llx\n", in ll_dir_page_locate()
Dfile.c1172 LASSERTF(io->ci_nob == 0, "%zd", io->ci_nob); in ll_file_io_generic()
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_locks.c138 LASSERTF(old_inode->i_state & I_FREEING, in mdc_set_lock_data()
194 LASSERTF(ns != NULL, "no namespace passed\n"); in mdc_null_inode()
803 LASSERTF(!it || einfo->ei_type == LDLM_IBITS, "lock type %d\n", in mdc_enqueue()
827 LASSERTF(einfo->ei_type == LDLM_FLOCK, "lock type %d\n", in mdc_enqueue()
1044 LASSERTF(fid_res_name_eq(&mdt_body->fid1, in mdc_finish_intent_lock()
Dmdc_request.c906 LASSERTF(mod->mod_open_req != NULL && in mdc_close()
1000 LASSERTF(mod->mod_open_req != NULL && in mdc_done_writing()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_extent.c93 LASSERTF(kms <= old_kms, "kms %llu old_kms %llu\n", kms, old_kms); in ldlm_extent_shift_kms()
Dldlm_request.c525 LASSERTF(ergo(lvb_len != 0, lvb_len == lock->l_lvb_len), in ldlm_cli_enqueue_fini()
922 LASSERTF(len >= sizeof(*body), "buflen[%d] = %d, not %d\n", in ldlm_cli_enqueue()
2081 LASSERTF(list_empty(&lock->l_pending_chain), in ldlm_chain_lock_for_replay()
Dldlm_lib.c536 LASSERTF((ocd->ocd_connect_flags & data->ocd_connect_flags) == in client_connect_import()
Dldlm_lock.c861 LASSERTF(lock != NULL, "Non-existing lock: %#llx\n", lockh->cookie); in ldlm_lock_decref()
2123 LASSERTF((new_mode == LCK_PW && lock->l_granted_mode == LCK_PR), in ldlm_lock_convert()
Dldlm_resource.c1088 LASSERTF(type >= LDLM_MIN_TYPE && type < LDLM_MAX_TYPE, in ldlm_resource_get()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_pool.c178 LASSERTF(iter->magic == POOL_IT_MAGIC, "%08X", iter->magic); in pool_proc_next()
259 LASSERTF(iter->magic == POOL_IT_MAGIC, "%08X", iter->magic); in pool_proc_show()
Dlov_internal.h60 LASSERTF(!((base) & (LOV_MIN_STRIPE_SIZE - 1)), "64 bit lov " \
Dlov_pack.c240 LASSERTF(ostid_id(&loi->loi_oi) != 0, "lmm_oi "DOSTID in lov_packmd()
Dlov_object.c212 LASSERTF(0, "magic mismatch, expected %d/%d, actual %d.\n", in lov_init_raid0()
244 LASSERTF(subdev != NULL, "not init ost %d\n", ost_idx); in lov_init_raid0()
Dlov_lock.c264 LASSERTF(result <= 0 || result == CLO_REPEAT || result == CLO_WAIT, in lov_subresult()
266 LASSERTF(rc <= 0 || rc == CLO_REPEAT || rc == CLO_WAIT, in lov_subresult()
Dlov_io.c960 LASSERTF(0, "invalid type %d\n", io->ci_type); in lov_io_init_released()
Dlov_obd.c1075 LASSERTF(((lsmp)->lsm_magic == LOV_MAGIC_V1 || \
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-obdo.c187 LASSERTF(!(valid & (OBD_MD_FLTYPE | OBD_MD_FLGENER | OBD_MD_FLFID | in obdo_to_inode()
/linux-4.1.27/drivers/staging/lustre/lustre/fld/
Dfld_cache.c158 LASSERTF(c_range->lsr_start <= n_range->lsr_start, in fld_fix_new_list()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_request.c1337 LASSERTF(page_count == 1 || in osc_brw_prep_request()
1344 LASSERTF(i == 0 || pg->off > pg_prev->off, in osc_brw_prep_request()
1367 LASSERTF((void *)(niobuf - niocount) == in osc_brw_prep_request()
1508 LASSERTF(req->rq_repmsg != NULL, "rc = %d\n", rc); in osc_brw_fini_request()
1666 LASSERTF(request == oap->oap_request, in osc_brw_redo_request()
2231 LASSERTF(lock != NULL, "lockh %p, req %p, aa %p - client evicted?\n", in osc_enqueue_interpret()
Dosc_lock.c1110 LASSERTF(ols->ols_state == OLS_NEW, in osc_lock_enqueue()
1113 LASSERTF(ergo(ols->ols_glimpse, lock->cll_descr.cld_mode <= CLM_READ), in osc_lock_enqueue()
Dosc_cache.c673 LASSERTF(*grants >= chunksize + cli->cl_extent_tax, in osc_extent_find()
675 LASSERTF((max_end - cur->oe_start) < max_pages, EXTSTR, EXTPARA(cur)); in osc_extent_find()
1100 LASSERTF(0, "unknown return code: %d\n", rc); in osc_extent_make_ready()
2440 LASSERTF(0, "page index %lu is NOT covered.\n", index); in osc_flush_async_page()
Dosc_page.c548 LASSERTF(oap->oap_magic == OAP_MAGIC, "Bad oap magic: oap %p, magic 0x%x\n", in osc_page_submit()
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Drpc.c586 LASSERTF(nbuffer > 0, "nbuffer must be positive: %d\n", nbuffer); in srpc_service_add_buffers()
1652 LASSERTF(sv == NULL, in srpc_shutdown()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c948 LASSERTF(ostid_id(&lsm->lsm_oi) != 0, DOSTID"\n", POSTID(&lsm->lsm_oi)); in cl_echo_object_find()
949 LASSERTF(ostid_seq(&lsm->lsm_oi) == FID_SEQ_ECHO, DOSTID"\n", in cl_echo_object_find()