Home
last modified time | relevance | path

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

123

/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()
812 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); in lustre_msghdr_get_flags()
827 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); in lustre_msghdr_set_flags()
855 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.c446 LASSERTF(list_empty(&pool->prp_req_list) || in ptlrpc_add_rqs_to_pool()
702 LASSERTF((unsigned long)imp > 0x1000, "%p", imp); in __ptlrpc_request_alloc()
704 LASSERTF((unsigned long)imp->imp_client > 0x1000, "%p", in __ptlrpc_request_alloc()
922 LASSERTF(atomic_read(&set->set_remaining) == 0 || in ptlrpc_set_destroy()
2222 LASSERTF(!request->rq_receiving_reply, "req %p\n", request); in __ptlrpc_free_req()
2223 LASSERTF(request->rq_rqbd == NULL, "req %p\n", request);/* client-side */ in __ptlrpc_free_req()
2224 LASSERTF(list_empty(&request->rq_list), "req %p\n", request); in __ptlrpc_free_req()
2225 LASSERTF(list_empty(&request->rq_set_chain), "req %p\n", request); in __ptlrpc_free_req()
2226 LASSERTF(list_empty(&request->rq_exp_list), "req %p\n", request); in __ptlrpc_free_req()
2227 LASSERTF(!request->rq_replay, "req %p\n", request); in __ptlrpc_free_req()
[all …]
Dlproc_ptlrpc.c169 LASSERTF(offset < LUSTRE_MAX_OPCODES, in ll_opcode2str()
172 LASSERTF(ll_rpc_opcode_table[offset].opcode == opcode, in ll_opcode2str()
744 LASSERTF(srhi->srhi_seq == srhi->srhi_req->rq_history_seq, in ptlrpc_lprocfs_svc_req_history_seek()
748 LASSERTF(!list_empty(&svcpt->scp_hist_reqs), in ptlrpc_lprocfs_svc_req_history_seek()
1149 LASSERTF(0, "unsupported opcode %u\n", idx); in ptlrpc_lprocfs_brw()
Dsec_null.c191 LASSERTF(req->rq_reqmsg == req->rq_reqbuf, in null_free_reqbuf()
194 LASSERTF(req->rq_reqbuf_len >= req->rq_reqlen, in null_free_reqbuf()
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()
Dconnection.c226 LASSERTF(atomic_read(&conn->c_refcount) == 0, in conn_exit()
/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 …]
/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.c84 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, "obd %p obd_magic %08x != %08x\n", in obd_device_free()
312 LASSERTF(result->obd_magic == OBD_DEVICE_MAGIC, in class_newdev()
315 LASSERTF(result->obd_minor == new_obd_minor, in class_newdev()
362 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, "%p obd_magic %08x != %08x\n", in class_release_dev()
364 LASSERTF(obd == obd_devs[obd->obd_minor], "obd %p != obd_devs[%d] %p\n", in class_release_dev()
463 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, in class_num2obd()
466 LASSERTF(obd->obd_minor == num, in class_num2obd()
1418 LASSERTF(doomed_exp->exp_connection->c_peer.nid == nid_key, in obd_export_evict_by_nid()
1422 LASSERTF(doomed_exp != obd->obd_self_export, in obd_export_evict_by_nid()
Ddt_object.c454 LASSERTF(dt != NULL, "dt is NULL when we want to read record\n"); in dt_read()
477 LASSERTF(dt != NULL, "dt is NULL when we want to read record\n"); in dt_record_read()
494 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()
Dllog_obd.c93 LASSERTF(obd->obd_starting == 1 || in __llog_ctxt_put()
/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()
/drivers/staging/lustre/lustre/lmv/
Dlmv_fld.c62 LASSERTF((fid_seq_in_fldb(fid_seq(fid)) || in lmv_fld_lookup()
/drivers/staging/lustre/lustre/libcfs/
Dfail.c116 LASSERTF(0, "called with bad set %u\n", set); in __cfs_fail_check_set()
/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-debug.c83 LASSERTF(file != NULL, "called on a null filename\n"); in libcfs_run_debug_log_upcall()
/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()
805 LASSERTF(!it || einfo->ei_type == LDLM_IBITS, "lock type %d\n", in mdc_enqueue()
829 LASSERTF(einfo->ei_type == LDLM_FLOCK, "lock type %d\n", in mdc_enqueue()
1045 LASSERTF(fid_res_name_eq(&mdt_body->fid1, in mdc_finish_intent_lock()
/drivers/staging/lustre/lustre/llite/
Dsuper25.c198 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" 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()
/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()
/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()

123