Home
last modified time | relevance | path

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

123

/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c54 LASSERTF(PTL_RPC_MSG_REQUEST == 4711, "found %lld\n", in lustre_assert_wire_constants()
56 LASSERTF(PTL_RPC_MSG_ERR == 4712, "found %lld\n", in lustre_assert_wire_constants()
58 LASSERTF(PTL_RPC_MSG_REPLY == 4713, "found %lld\n", in lustre_assert_wire_constants()
60 LASSERTF(MDS_DIR_END_OFF == 0xfffffffffffffffeULL, "found 0x%.16llxULL\n", in lustre_assert_wire_constants()
62 LASSERTF(DEAD_HANDLE_MAGIC == 0xdeadbeefcafebabeULL, "found 0x%.16llxULL\n", in lustre_assert_wire_constants()
65 LASSERTF(OST_REPLY == 0, "found %lld\n", in lustre_assert_wire_constants()
67 LASSERTF(OST_GETATTR == 1, "found %lld\n", in lustre_assert_wire_constants()
69 LASSERTF(OST_SETATTR == 2, "found %lld\n", in lustre_assert_wire_constants()
71 LASSERTF(OST_READ == 3, "found %lld\n", in lustre_assert_wire_constants()
73 LASSERTF(OST_WRITE == 4, "found %lld\n", in lustre_assert_wire_constants()
[all …]
Dpack_generic.c65 LASSERTF(0, "incorrect message magic: %08x\n", magic); in lustre_msg_hdr_size()
147 LASSERTF(0, "incorrect message magic: %08x\n", magic); in lustre_msg_size()
357 LASSERTF(0, "incorrect message magic: %08x\n", in lustre_pack_reply_flags()
406 LASSERTF(0, "incorrect message magic: %08x (msg:%p)\n", in lustre_msg_buf()
467 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); in lustre_shrink_msg()
691 LASSERTF(0, "incorrect message magic: %08x\n", m->lm_magic); in lustre_msg_string()
768 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); in lustre_msghdr_set_flags()
799 LASSERTF(pb, "invalid msg %p: no ptlrpc body!\n", msg); in lustre_msg_add_flags()
804 LASSERTF(0, "incorrect message magic: %08x\n", msg->lm_magic); in lustre_msg_add_flags()
815 LASSERTF(pb, "invalid msg %p: no ptlrpc body!\n", msg); in lustre_msg_set_flags()
[all …]
Dllog_net.c57 LASSERTF(!ctxt->loc_imp || ctxt->loc_imp == new_imp, in llog_initiator_connect()
Drecover.c194 LASSERTF((long)req > PAGE_SIZE && req != LP_POISON, in ptlrpc_resend()
196 LASSERTF(req->rq_type != LI_POISON, "req %p freed\n", req); in ptlrpc_resend()
Dlproc_ptlrpc.c164 LASSERTF(offset < LUSTRE_MAX_OPCODES, in ll_opcode2str()
167 LASSERTF(ll_rpc_opcode_table[offset].opcode == opcode, in ll_opcode2str()
740 LASSERTF(srhi->srhi_seq == srhi->srhi_req->rq_history_seq, in ptlrpc_lprocfs_svc_req_history_seek()
744 LASSERTF(!list_empty(&svcpt->scp_hist_reqs), in ptlrpc_lprocfs_svc_req_history_seek()
1155 LASSERTF(0, "unsupported opcode %u\n", idx); in ptlrpc_lprocfs_brw()
Dclient.c471 LASSERTF(list_empty(&pool->prp_req_list) || in ptlrpc_add_rqs_to_pool()
741 LASSERTF((unsigned long)imp > 0x1000, "%p", imp); in __ptlrpc_request_alloc()
743 LASSERTF((unsigned long)imp->imp_client > 0x1000, "%p\n", in __ptlrpc_request_alloc()
920 LASSERTF(atomic_read(&set->set_remaining) == 0 || in ptlrpc_set_destroy()
2235 LASSERTF(!request->rq_receiving_reply, "req %p\n", request); in __ptlrpc_free_req()
2236 LASSERTF(list_empty(&request->rq_list), "req %p\n", request); in __ptlrpc_free_req()
2237 LASSERTF(list_empty(&request->rq_set_chain), "req %p\n", request); in __ptlrpc_free_req()
2238 LASSERTF(!request->rq_replay, "req %p\n", request); in __ptlrpc_free_req()
2253 LASSERTF(list_empty(&request->rq_replay_list), "req %p\n", request); in __ptlrpc_free_req()
2694 LASSERTF(lustre_msg_get_transno(req->rq_reqmsg) == in ptlrpc_replay_interpret()
Dsec_null.c180 LASSERTF(req->rq_reqmsg == req->rq_reqbuf, in null_free_reqbuf()
183 LASSERTF(req->rq_reqbuf_len >= req->rq_reqlen, in null_free_reqbuf()
Dniobuf.c91 LASSERTF(rc2 == 0, "rc2 = %d\n", rc2); in ptl_send_buf()
155 LASSERTF(!(desc->bd_registered && in ptlrpc_register_bulk()
212 LASSERTF(desc->bd_last_xid == (req->rq_xid & PTLRPC_BULK_OPS_MASK), in ptlrpc_register_bulk()
Dconnection.c219 LASSERTF(atomic_read(&conn->c_refcount) == 0, in conn_exit()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h52 #define LASSERTF(cond, fmt, ...) \ macro
63 #define LASSERT(cond) LASSERTF(cond, "\n")
194 LASSERTF(atomic_read(a) == v, \
201 LASSERTF(atomic_read(a) != v, \
208 LASSERTF(atomic_read(a) < v, \
215 LASSERTF(atomic_read(a) <= v, \
222 LASSERTF(atomic_read(a) > v, \
229 LASSERTF(atomic_read(a) >= v, \
237 LASSERTF(__v > v1 && __v < v2, "value: %d\n", __v); \
244 LASSERTF(__v > v1 && __v <= v2, "value: %d\n", __v); \
[all …]
/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_counters.c54 LASSERTF(0 <= idx && idx < stats->ls_num, in lprocfs_counter_add()
103 LASSERTF(0 <= idx && idx < stats->ls_num, in lprocfs_counter_sub()
Dgenops.c76 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, "obd %p obd_magic %08x != %08x\n", in obd_device_free()
299 LASSERTF(result->obd_magic == OBD_DEVICE_MAGIC, in class_newdev()
302 LASSERTF(result->obd_minor == new_obd_minor, in class_newdev()
349 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, "%p obd_magic %08x != %08x\n", in class_release_dev()
351 LASSERTF(obd == obd_devs[obd->obd_minor], "obd %p != obd_devs[%d] %p\n", in class_release_dev()
440 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, in class_num2obd()
443 LASSERTF(obd->obd_minor == num, in class_num2obd()
Dobd_config.c212 LASSERTF(obd, "Cannot get obd device %s of type %s\n", in class_attach()
214 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, in class_attach()
217 LASSERTF(strncmp(obd->obd_name, name, strlen(name)) == 0, in class_attach()
281 LASSERTF(obd == class_num2obd(obd->obd_minor), in class_setup()
284 LASSERTF(obd->obd_magic == OBD_DEVICE_MAGIC, in class_setup()
Dllog_obd.c89 LASSERTF(obd->obd_starting == 1 || in __llog_ctxt_put()
/drivers/staging/lustre/lustre/include/
Dlustre_mdc.h145 LASSERTF(lck->rpcl_fakes > 0, "%d\n", lck->rpcl_fakes); in mdc_put_rpc_lock()
152 LASSERTF(it == lck->rpcl_it, "%p != %p\n", it, lck->rpcl_it); in mdc_put_rpc_lock()
Dlustre_fid.h313 LASSERTF(fid_seq_is_norm(seq) || fid_seq_is_echo(seq) || in lu_last_id_fid()
608 LASSERTF(fid_seq(fid1) == fid_seq(fid2), "fid1:"DFID", fid2:"DFID"\n", in lu_fid_diff()
/drivers/staging/lustre/lnet/libcfs/
Dfail.c118 LASSERTF(0, "called with bad set %u\n", set); in __cfs_fail_check_set()
/drivers/staging/lustre/lnet/libcfs/linux/
Dlinux-debug.c79 LASSERTF(file, "called on a null filename\n"); in libcfs_run_debug_log_upcall()
/drivers/staging/lustre/lustre/mdc/
Dmdc_locks.c116 LASSERTF(old_inode->i_state & I_FREEING, in mdc_set_lock_data()
172 LASSERTF(ns, "no namespace passed\n"); in mdc_null_inode()
716 LASSERTF(!it || einfo->ei_type == LDLM_IBITS, "lock type %d\n", in mdc_enqueue()
739 LASSERTF(einfo->ei_type == LDLM_FLOCK, "lock type %d\n", in mdc_enqueue()
938 LASSERTF(fid_res_name_eq(&mdt_body->mbo_fid1, in mdc_finish_intent_lock()
/drivers/staging/lustre/lustre/lmv/
Dlmv_internal.h146 LASSERTF(stripe_index < lsm->lsm_md_stripe_count, in lsm_name_to_stripe_info()
/drivers/staging/lustre/lustre/lov/
Dlov_pool.c171 LASSERTF(iter->magic == POOL_IT_MAGIC, "%08X\n", iter->magic); in pool_proc_next()
255 LASSERTF(iter->magic == POOL_IT_MAGIC, "%08X\n", iter->magic); in pool_proc_show()
Dlov_internal.h57 LASSERTF(!((base) & (LOV_MIN_STRIPE_SIZE - 1)), "64 bit lov " \
/drivers/staging/lustre/lustre/ldlm/
Dldlm_extent.c91 LASSERTF(kms <= old_kms, "kms %llu old_kms %llu\n", kms, old_kms); in ldlm_extent_shift_kms()
Dldlm_request.c364 LASSERTF(ergo(lvb_len != 0, lvb_len == lock->l_lvb_len), in ldlm_cli_enqueue_fini()
750 LASSERTF(len >= sizeof(*body), "buflen[%d] = %d, not %d\n", in ldlm_cli_enqueue()
1814 LASSERTF(ns, "must pass in namespace\n"); in ldlm_resource_iterate()
1835 LASSERTF(list_empty(&lock->l_pending_chain), in ldlm_chain_lock_for_replay()
/drivers/staging/lustre/lustre/llite/
Drw.c136 LASSERTF(which >= 0 && which < _NR_RA_STAT, "which: %u\n", which); in ll_ra_stats_inc_sbi()
414 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()
693 LASSERTF(ras->ras_window_start + ras->ras_window_len in ras_stride_increase_window()

123