/drivers/staging/lustre/lnet/lnet/ |
D | api-ni.c | 183 CLASSERT(LNET_PROTO_TCP_MAGIC == 0xeebc0ded); in lnet_assert_wire_constants() 184 CLASSERT(LNET_PROTO_TCP_VERSION_MAJOR == 1); in lnet_assert_wire_constants() 185 CLASSERT(LNET_PROTO_TCP_VERSION_MINOR == 0); in lnet_assert_wire_constants() 186 CLASSERT(LNET_MSG_ACK == 0); in lnet_assert_wire_constants() 187 CLASSERT(LNET_MSG_PUT == 1); in lnet_assert_wire_constants() 188 CLASSERT(LNET_MSG_GET == 2); in lnet_assert_wire_constants() 189 CLASSERT(LNET_MSG_REPLY == 3); in lnet_assert_wire_constants() 190 CLASSERT(LNET_MSG_HELLO == 4); in lnet_assert_wire_constants() 193 CLASSERT((int)sizeof(lnet_handle_wire_t) == 16); in lnet_assert_wire_constants() 194 CLASSERT((int)offsetof(lnet_handle_wire_t, wh_interface_cookie) == 0); in lnet_assert_wire_constants() [all …]
|
D | acceptor.c | 152 CLASSERT(sizeof(cr) <= 16); /* not too big to be on the stack */ in lnet_connect() 167 CLASSERT(LNET_PROTO_ACCEPTOR_VERSION == 1); in lnet_connect()
|
D | net_fault.c | 1000 CLASSERT(LNET_PUT_BIT == 1 << LNET_MSG_PUT); in lnet_fault_init() 1001 CLASSERT(LNET_ACK_BIT == 1 << LNET_MSG_ACK); in lnet_fault_init() 1002 CLASSERT(LNET_GET_BIT == 1 << LNET_MSG_GET); in lnet_fault_init() 1003 CLASSERT(LNET_REPLY_BIT == 1 << LNET_MSG_REPLY); in lnet_fault_init()
|
D | router_proc.c | 142 CLASSERT(sizeof(loff_t) >= 4); in proc_lnet_routes() 407 CLASSERT(LNET_PROC_HASH_BITS >= LNET_PEER_HASH_BITS); in proc_lnet_peers()
|
D | lib-socket.c | 100 CLASSERT(sizeof(ifr.ifr_name) >= IFNAMSIZ); in lnet_ipif_query()
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | pack_generic.c | 509 CLASSERT(offsetof(typeof(*m), lm_padding_2) != 0); in lustre_unpack_msg_v2() 510 CLASSERT(offsetof(typeof(*m), lm_padding_3) != 0); in lustre_unpack_msg_v2() 1459 CLASSERT(offsetof(typeof(*b), pb_padding) != 0); in lustre_swab_ptlrpc_body() 1466 CLASSERT(offsetof(typeof(*b), pb_jobid) != 0); in lustre_swab_ptlrpc_body() 1495 CLASSERT(offsetof(typeof(*ocd), padding1) != 0); in lustre_swab_connect() 1496 CLASSERT(offsetof(typeof(*ocd), padding2) != 0); in lustre_swab_connect() 1497 CLASSERT(offsetof(typeof(*ocd), padding3) != 0); in lustre_swab_connect() 1498 CLASSERT(offsetof(typeof(*ocd), padding4) != 0); in lustre_swab_connect() 1499 CLASSERT(offsetof(typeof(*ocd), padding5) != 0); in lustre_swab_connect() 1500 CLASSERT(offsetof(typeof(*ocd), padding6) != 0); in lustre_swab_connect() [all …]
|
D | wiretest.c | 64 CLASSERT(MTI_NAME_MAXLEN == 64); in lustre_assert_wire_constants() 329 CLASSERT(LDLM_PLAIN == 10); in lustre_assert_wire_constants() 330 CLASSERT(LDLM_EXTENT == 11); in lustre_assert_wire_constants() 331 CLASSERT(LDLM_FLOCK == 12); in lustre_assert_wire_constants() 332 CLASSERT(LDLM_IBITS == 13); in lustre_assert_wire_constants() 333 CLASSERT(LDLM_MAX_TYPE == 14); in lustre_assert_wire_constants() 334 CLASSERT(LUSTRE_RES_ID_SEQ_OFF == 0); in lustre_assert_wire_constants() 335 CLASSERT(LUSTRE_RES_ID_VER_OID_OFF == 1); in lustre_assert_wire_constants() 336 CLASSERT(LUSTRE_RES_ID_QUOTA_SEQ_OFF == 2); in lustre_assert_wire_constants() 337 CLASSERT(LUSTRE_RES_ID_QUOTA_VER_OID_OFF == 3); in lustre_assert_wire_constants() [all …]
|
D | pers.c | 46 CLASSERT(PTLRPC_MAX_BRW_PAGES < LI_POISON); in ptlrpc_fill_bulk_md()
|
D | client.c | 2913 CLASSERT(((PTLRPC_BULK_OPS_COUNT - 1) & PTLRPC_BULK_OPS_COUNT) == 0); in ptlrpc_init_xid() 3057 CLASSERT(sizeof(*args) <= sizeof(req->rq_async_args)); in ptlrpcd_alloc_work()
|
D | import.c | 706 CLASSERT(sizeof(*aa) <= sizeof(request->rq_async_args)); in ptlrpc_connect_import()
|
/drivers/staging/lustre/lustre/mdc/ |
D | mdc_lib.c | 128 CLASSERT(sizeof(struct mdt_rec_reint) == sizeof(struct mdt_rec_create)); in mdc_create_pack() 192 CLASSERT(sizeof(struct mdt_rec_reint) == sizeof(struct mdt_rec_create)); in mdc_open_pack() 316 CLASSERT(sizeof(struct mdt_rec_reint) == in mdc_setattr_pack() 350 CLASSERT(sizeof(struct mdt_rec_reint) == sizeof(struct mdt_rec_unlink)); in mdc_unlink_pack() 373 CLASSERT(sizeof(struct mdt_rec_reint) == sizeof(struct mdt_rec_link)); in mdc_link_pack() 396 CLASSERT(sizeof(struct mdt_rec_reint) == sizeof(struct mdt_rec_rename)); in mdc_rename_pack()
|
D | mdc_locks.c | 1203 CLASSERT(sizeof(*ga) <= sizeof(req->rq_async_args)); in mdc_intent_getattr_async()
|
/drivers/staging/lustre/lustre/lov/ |
D | lov_pack.c | 427 CLASSERT(sizeof(lum) == sizeof(struct lov_mds_md_v3)); in lov_getstripe() 428 CLASSERT(sizeof(lum.lmm_objects[0]) == sizeof(lmmk->lmm_objects[0])); in lov_getstripe()
|
/drivers/staging/lustre/lustre/llite/ |
D | super25.c | 91 CLASSERT(sizeof(LUSTRE_VOLATILE_HDR) == LUSTRE_VOLATILE_HDR_LEN + 1); in lustre_init()
|
D | vvp_dev.c | 406 CLASSERT(sizeof(pos) == sizeof(__u64)); in vvp_pgcache_id_unpack()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 230 CLASSERT(sizeof(*aa) <= sizeof(req->rq_async_args)); in osc_getattr_async() 378 CLASSERT(sizeof(*sa) <= sizeof(req->rq_async_args)); in osc_setattr_async_base() 499 CLASSERT(sizeof(*sa) <= sizeof(req->rq_async_args)); in osc_punch_base() 563 CLASSERT(sizeof(*fa) <= sizeof(req->rq_async_args)); in osc_sync_base() 1338 CLASSERT(sizeof(*aa) <= sizeof(req->rq_async_args)); in osc_brw_prep_request() 1943 CLASSERT(sizeof(*aa) <= sizeof(req->rq_async_args)); in osc_build_rpc() 2265 CLASSERT(sizeof(*aa) <= sizeof(req->rq_async_args)); in osc_enqueue_base() 2433 CLASSERT(sizeof(*aa) <= sizeof(req->rq_async_args)); in osc_statfs_async() 2738 CLASSERT(sizeof(*aa) <= sizeof(req->rq_async_args)); in osc_set_info_async()
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 261 CLASSERT(sizeof(msg->ibm_type) == 1); in kiblnd_unpack_msg() 262 CLASSERT(sizeof(msg->ibm_credits) == 1); in kiblnd_unpack_msg() 1249 CLASSERT(IBLND_MSG_SIZE <= PAGE_SIZE); in kiblnd_map_tx_pool() 1252 CLASSERT(!(PAGE_SIZE % IBLND_MSG_SIZE)); in kiblnd_map_tx_pool() 2945 CLASSERT(LNET_MAX_INTERFACES > 1); in kiblnd_startup() 3022 CLASSERT(sizeof(struct kib_msg) <= IBLND_MSG_SIZE); in ko2iblnd_init() 3023 CLASSERT(offsetof(struct kib_msg, in ko2iblnd_init() 3026 CLASSERT(offsetof(struct kib_msg, in ko2iblnd_init()
|
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_private.h | 296 #define CLASSERT(cond) do {switch (42) {case (cond): case 0: break; } } while (0) macro
|
/drivers/staging/lustre/lustre/include/ |
D | lu_object.h | 1123 CLASSERT(PAGE_SIZE >= sizeof(*value)); \
|
D | cl_object.h | 2462 CLASSERT(offsetof(typeof(*__foo_io), base) == 0); \
|
/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd_proto.c | 457 CLASSERT(sizeof(lnet_magicversion_t) == offsetof(lnet_hdr_t, src_nid)); in ksocknal_send_hello_v1()
|
D | socklnd.c | 2896 CLASSERT(SOCKLND_CONN_NTYPES <= 4); in ksocklnd_init() 2897 CLASSERT(SOCKLND_CONN_ACK == SOCKLND_CONN_BULK_IN); in ksocklnd_init()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | cl_object.c | 746 CLASSERT(offsetof(struct cl_env, ce_magic) == 0); in cl_env_peek()
|
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_resource.c | 1373 CLASSERT(RES_NAME_SIZE == 4); in ldlm_resource_dump()
|
D | ldlm_request.c | 1978 CLASSERT(sizeof(*aa) <= sizeof(req->rq_async_args)); in replay_one_lock()
|