Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c58 LASSERTF(PTL_RPC_MSG_REQUEST == 4711, "found %lld\n", in lustre_assert_wire_constants()
60 LASSERTF(PTL_RPC_MSG_ERR == 4712, "found %lld\n", in lustre_assert_wire_constants()
62 LASSERTF(PTL_RPC_MSG_REPLY == 4713, "found %lld\n", in lustre_assert_wire_constants()
64 LASSERTF(MDS_DIR_END_OFF == 0xfffffffffffffffeULL, "found 0x%.16llxULL\n", in lustre_assert_wire_constants()
66 LASSERTF(DEAD_HANDLE_MAGIC == 0xdeadbeefcafebabeULL, "found 0x%.16llxULL\n", in lustre_assert_wire_constants()
69 LASSERTF(OST_REPLY == 0, "found %lld\n", in lustre_assert_wire_constants()
71 LASSERTF(OST_GETATTR == 1, "found %lld\n", in lustre_assert_wire_constants()
73 LASSERTF(OST_SETATTR == 2, "found %lld\n", in lustre_assert_wire_constants()
75 LASSERTF(OST_READ == 3, "found %lld\n", in lustre_assert_wire_constants()
77 LASSERTF(OST_WRITE == 4, "found %lld\n", in lustre_assert_wire_constants()
[all …]
Dpack_generic.c69 LASSERTF(0, "incorrect message magic: %08x\n", magic); in lustre_msg_hdr_size()
153 LASSERTF(0, "incorrect message magic: %08x\n", magic); in lustre_msg_size()
364 LASSERTF(0, "incorrect message magic: %08x\n", in lustre_pack_reply_flags()
417 LASSERTF(0, "incorrect message magic: %08x (msg:%p)\n", in lustre_msg_buf()
478 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); in lustre_shrink_msg()
705 LASSERTF(0, "incorrect message magic: %08x\n", m->lm_magic); in lustre_msg_string()
784 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); in lustre_msghdr_set_flags()
814 LASSERTF(pb, "invalid msg %p: no ptlrpc body!\n", msg); in lustre_msg_add_flags()
819 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); in lustre_msg_add_flags()
830 LASSERTF(pb, "invalid msg %p: no ptlrpc body!\n", msg); in lustre_msg_set_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.c471 LASSERTF(list_empty(&pool->prp_req_list) || in ptlrpc_add_rqs_to_pool()
727 LASSERTF((unsigned long)imp > 0x1000, "%p", imp); in __ptlrpc_request_alloc()
729 LASSERTF((unsigned long)imp->imp_client > 0x1000, "%p", in __ptlrpc_request_alloc()
908 LASSERTF(atomic_read(&set->set_remaining) == 0 || in ptlrpc_set_destroy()
2211 LASSERTF(!request->rq_receiving_reply, "req %p\n", request); in __ptlrpc_free_req()
2212 LASSERTF(request->rq_rqbd == NULL, "req %p\n", request);/* client-side */ in __ptlrpc_free_req()
2213 LASSERTF(list_empty(&request->rq_list), "req %p\n", request); in __ptlrpc_free_req()
2214 LASSERTF(list_empty(&request->rq_set_chain), "req %p\n", request); in __ptlrpc_free_req()
2215 LASSERTF(list_empty(&request->rq_exp_list), "req %p\n", request); in __ptlrpc_free_req()
2216 LASSERTF(!request->rq_replay, "req %p\n", request); in __ptlrpc_free_req()
[all …]
Dsec_null.c184 LASSERTF(req->rq_reqmsg == req->rq_reqbuf, in null_free_reqbuf()
187 LASSERTF(req->rq_reqbuf_len >= req->rq_reqlen, in null_free_reqbuf()
Dlproc_ptlrpc.c168 LASSERTF(offset < LUSTRE_MAX_OPCODES, in ll_opcode2str()
171 LASSERTF(ll_rpc_opcode_table[offset].opcode == opcode, in ll_opcode2str()
745 LASSERTF(srhi->srhi_seq == srhi->srhi_req->rq_history_seq, in ptlrpc_lprocfs_svc_req_history_seek()
749 LASSERTF(!list_empty(&svcpt->scp_hist_reqs), in ptlrpc_lprocfs_svc_req_history_seek()
1158 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()
158 LASSERTF(!(desc->bd_registered && in ptlrpc_register_bulk()
214 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.c492 LASSERTF(ti != NULL, "ti is NULL !\n"); in ptlrpc_del_timeout_client()
Dlayout.c1838 LASSERTF(offset > 0, "%s:%s, off=%d, loc=%d\n", in __req_capsule_offset()
2301 LASSERTF(newlen <= len, "%s:%s, oldlen=%d, newlen=%d\n", in req_capsule_shrink()
Dimport.c332 LASSERTF(count == 0, "Some RPCs are still unregistering: %d\n", in ptlrpc_invalidate_import()
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h56 #define LASSERTF(cond, fmt, ...) \ macro
67 #define LASSERT(cond) LASSERTF(cond, "\n")
223 LASSERTF(atomic_read(a) == v, \
230 LASSERTF(atomic_read(a) != v, \
237 LASSERTF(atomic_read(a) < v, \
244 LASSERTF(atomic_read(a) <= v, \
251 LASSERTF(atomic_read(a) > v, \
258 LASSERTF(atomic_read(a) >= v, \
266 LASSERTF(__v > v1 && __v < v2, "value: %d\n", __v); \
273 LASSERTF(__v > v1 && __v <= v2, "value: %d\n", __v); \
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_counters.c54 LASSERTF(0 <= idx && idx < stats->ls_num, in lprocfs_counter_add()
102 LASSERTF(0 <= idx && idx < stats->ls_num, in lprocfs_counter_sub()
Dgenops.c80 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, "obd %p obd_magic %08x != %08x\n", in obd_device_free()
313 LASSERTF(result->obd_magic == OBD_DEVICE_MAGIC, in class_newdev()
316 LASSERTF(result->obd_minor == new_obd_minor, in class_newdev()
363 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, "%p obd_magic %08x != %08x\n", in class_release_dev()
365 LASSERTF(obd == obd_devs[obd->obd_minor], "obd %p != obd_devs[%d] %p\n", in class_release_dev()
455 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, in class_num2obd()
458 LASSERTF(obd->obd_minor == num, in class_num2obd()
Dobd_config.c213 LASSERTF(obd != NULL, "Cannot get obd device %s of type %s\n", in class_attach()
215 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, in class_attach()
218 LASSERTF(strncmp(obd->obd_name, name, strlen(name)) == 0, in class_attach()
290 LASSERTF(obd == class_num2obd(obd->obd_minor), in class_setup()
293 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, in class_setup()
Dllog_obd.c92 LASSERTF(obd->obd_starting == 1 || in __llog_ctxt_put()
Dcl_lock.c415 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()
1397 LASSERTF(lock->cll_state == CLS_QUEUING || in cl_wait_try()
1452 LASSERTF(lock->cll_state == CLS_ENQUEUED || lock->cll_state == CLS_HELD, in cl_wait()
Dlu_object.c1116 LASSERTF(atomic_read(&d->ld_ref) == 0, in lu_device_fini()
1357 LASSERTF(atomic_read(&key->lct_used) == 1, in lu_context_key_degister()
Dlprocfs_status.c1233 LASSERTF(header != NULL, "Failed to allocate stats header:[%d]%s/%s\n", in lprocfs_counter_init()
/linux-4.4.14/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()
624 LASSERTF(fid_seq(fid1) == fid_seq(fid2), "fid1:"DFID", fid2:"DFID"\n", in lu_fid_diff()
Dobd.h892 LASSERTF(0, "Invalid it_op: %d\n", it->it_op); in it_to_lock_mode()
Dlustre_net.h2771 LASSERTF(0, "incorrect message magic: %08x\n", in ptlrpc_req_get_repsize()
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
Dlmv_fld.c62 LASSERTF((fid_seq_in_fldb(fid_seq(fid)) || in lmv_fld_lookup()
Dlmv_obd.c2133 LASSERTF(nlupgs == 0, "left = %d", nlupgs); in lmv_adjust_dirpages()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dfail.c116 LASSERTF(0, "called with bad set %u\n", set); in __cfs_fail_check_set()
Dhash.c1136 LASSERTF(!cfs_hash_with_assert_empty(hs), in cfs_hash_destroy()
/linux-4.4.14/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.4.14/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()
770 LASSERTF(!it || einfo->ei_type == LDLM_IBITS, "lock type %d\n", in mdc_enqueue()
794 LASSERTF(einfo->ei_type == LDLM_FLOCK, "lock type %d\n", in mdc_enqueue()
1011 LASSERTF(fid_res_name_eq(&mdt_body->fid1, in mdc_finish_intent_lock()
Dmdc_request.c821 LASSERTF(mod->mod_open_req != NULL && in mdc_close()
914 LASSERTF(mod->mod_open_req != NULL && in mdc_done_writing()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Drw.c353 LASSERTF(which >= 0 && which < _NR_RA_STAT, "which: %u\n", which); in ll_ra_stats_inc_sbi()
642 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()
767 LASSERTF(reserved >= 0, "reserved %lu\n", reserved); in ll_readahead()
901 LASSERTF(ras->ras_window_start + ras->ras_window_len in ras_stride_increase_window()
Dllite_mmap.c455 LASSERTF(last > first, "last %llu first %llu\n", last, first); in ll_teardown_mmaps()
Dllite_lib.c1587 LASSERTF(lu_fid_eq(&lli->lli_fid, &body->fid1), in ll_update_inode()
1704 LASSERTF(inode->i_data.nrpages == 0, in ll_delete_inode()
Ddir.c304 LASSERTF(*start <= *hash, "start = %#llx,end = %#llx,hash = %#llx\n", in ll_dir_page_locate()
Dfile.c1163 LASSERTF(io->ci_nob == 0, "%zd", io->ci_nob); in ll_file_io_generic()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_extent.c92 LASSERTF(kms <= old_kms, "kms %llu old_kms %llu\n", kms, old_kms); in ldlm_extent_shift_kms()
Dldlm_request.c352 LASSERTF(ergo(lvb_len != 0, lvb_len == lock->l_lvb_len), in ldlm_cli_enqueue_fini()
728 LASSERTF(len >= sizeof(*body), "buflen[%d] = %d, not %d\n", in ldlm_cli_enqueue()
1770 LASSERTF(list_empty(&lock->l_pending_chain), in ldlm_chain_lock_for_replay()
Dldlm_lib.c534 LASSERTF((ocd->ocd_connect_flags & data->ocd_connect_flags) == in client_connect_import()
Dldlm_resource.c1105 LASSERTF(type >= LDLM_MIN_TYPE && type < LDLM_MAX_TYPE, in ldlm_resource_get()
Dldlm_lock.c838 LASSERTF(lock != NULL, "Non-existing lock: %#llx\n", lockh->cookie); in ldlm_lock_decref()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_pool.c177 LASSERTF(iter->magic == POOL_IT_MAGIC, "%08X", iter->magic); in pool_proc_next()
258 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.c220 LASSERTF(ostid_id(&loi->loi_oi) != 0, "lmm_oi "DOSTID in lov_packmd()
Dlov_object.c211 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.c265 LASSERTF(result <= 0 || result == CLO_REPEAT || result == CLO_WAIT, in lov_subresult()
267 LASSERTF(rc <= 0 || rc == CLO_REPEAT || rc == CLO_WAIT, in lov_subresult()
Dlov_io.c963 LASSERTF(0, "invalid type %d\n", io->ci_type); in lov_io_init_released()
Dlov_obd.c1056 LASSERTF(((lsmp)->lsm_magic == LOV_MAGIC_V1 || \
/linux-4.4.14/drivers/staging/lustre/lustre/fld/
Dfld_cache.c157 LASSERTF(c_range->lsr_start <= n_range->lsr_start, in fld_fix_new_list()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_request.c1305 LASSERTF(page_count == 1 || in osc_brw_prep_request()
1312 LASSERTF(i == 0 || pg->off > pg_prev->off, in osc_brw_prep_request()
1335 LASSERTF((void *)(niobuf - niocount) == in osc_brw_prep_request()
1474 LASSERTF(req->rq_repmsg != NULL, "rc = %d\n", rc); in osc_brw_fini_request()
1630 LASSERTF(request == oap->oap_request, in osc_brw_redo_request()
2172 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.c674 LASSERTF(*grants >= chunksize + cli->cl_extent_tax, in osc_extent_find()
676 LASSERTF((max_end - cur->oe_start) < max_pages, EXTSTR, EXTPARA(cur)); in osc_extent_find()
1101 LASSERTF(0, "unknown return code: %d\n", rc); in osc_extent_make_ready()
2435 LASSERTF(0, "page index %lu is NOT covered.\n", index); in osc_flush_async_page()
Dosc_page.c549 LASSERTF(oap->oap_magic == OAP_MAGIC, "Bad oap magic: oap %p, magic 0x%x\n", in osc_page_submit()
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/
Drpc.c586 LASSERTF(nbuffer > 0, "nbuffer must be positive: %d\n", nbuffer); in srpc_service_add_buffers()
1649 LASSERTF(sv == NULL, in srpc_shutdown()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c951 LASSERTF(ostid_id(&lsm->lsm_oi) != 0, DOSTID"\n", POSTID(&lsm->lsm_oi)); in cl_echo_object_find()
952 LASSERTF(ostid_seq(&lsm->lsm_oi) == FID_SEQ_ECHO, DOSTID"\n", in cl_echo_object_find()