Searched refs:lrh_len (Results 1 – 8 of 8) sorted by relevance
/drivers/staging/lustre/lustre/ptlrpc/ |
D | llog_client.c | 290 if (handle->lgh_hdr_size < hdr->llh_hdr.lrh_len) { in llog_client_read_header() 295 memcpy(handle->lgh_hdr, hdr, hdr->llh_hdr.lrh_len); in llog_client_read_header() 304 } else if (llh_hdr->lrh_len != in llog_client_read_header() 306 (llh_hdr->lrh_len & (llh_hdr->lrh_len - 1)) || in llog_client_read_header() 307 llh_hdr->lrh_len < LLOG_MIN_CHUNK_SIZE || in llog_client_read_header() 308 llh_hdr->lrh_len > handle->lgh_hdr_size) { in llog_client_read_header() 310 llh_hdr->lrh_len, in llog_client_read_header()
|
D | wiretest.c | 3127 LASSERTF((int)offsetof(struct llog_rec_hdr, lrh_len) == 0, "found %lld\n", in lustre_assert_wire_constants() 3128 (long long)(int)offsetof(struct llog_rec_hdr, lrh_len)); in lustre_assert_wire_constants() 3129 LASSERTF((int)sizeof(((struct llog_rec_hdr *)0)->lrh_len) == 4, "found %lld\n", in lustre_assert_wire_constants() 3130 (long long)(int)sizeof(((struct llog_rec_hdr *)0)->lrh_len)); in lustre_assert_wire_constants()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | llog.c | 125 llh->llh_hdr.lrh_len = handle->lgh_ctxt->loc_chunk_size; in llog_read_header() 136 len = llh->llh_hdr.lrh_len - llh->llh_bitmap_offset; in llog_read_header() 139 LLOG_HDR_TAIL(llh)->lrt_len = llh->llh_hdr.lrh_len; in llog_read_header() 237 cur_offset = llh->llh_hdr.lrh_len; in llog_process_thread() 238 chunk_size = llh->llh_hdr.lrh_len; in llog_process_thread() 334 if (!rec->lrh_len || rec->lrh_len > chunk_size) { in llog_process_thread() 336 rec->lrh_len, in llog_process_thread() 358 rec->lrh_index, rec->lrh_len, in llog_process_thread()
|
D | llog_internal.h | 76 return (struct llog_rec_hdr *)((char *)rec + rec->lrh_len); in llog_rec_hdr_next()
|
D | llog_swab.c | 127 __swab32s(&rec->lrh_len); in lustre_swab_llog_rec() 286 CDEBUG(D_OTHER, "\tllh_hdr.lrh_len: %#x\n", h->llh_hdr.lrh_len); in print_llog_hdr()
|
D | obd_config.c | 1134 int cfg_len = rec->lrh_len; in class_config_llog_handler() 1379 rc = lustre_cfg_sanity_check(lcfg, rec->lrh_len); in class_config_parse_rec()
|
/drivers/infiniband/hw/qib/ |
D | qib_driver.c | 509 u16 lrh_len = be16_to_cpu(hdr->lrh[2]) << 2; in qib_kreceive() local 511 if (lrh_len != tlen) { in qib_kreceive()
|
/drivers/staging/lustre/include/uapi/linux/lustre/ |
D | lustre_idl.h | 2227 __u32 lrh_len; member 2243 (rec->lrh_len - sizeof(struct llog_rec_hdr) - \ 2426 #define LLOG_HDR_BITMAP_SIZE(llh) (__u32)((llh->llh_hdr.lrh_len - \ 2432 llh->llh_hdr.lrh_len - \
|