Home
last modified time | relevance | path

Searched refs:lrh_len (Results 1 – 8 of 8) sorted by relevance

/drivers/staging/lustre/lustre/obdclass/
Dllog.c189 llh->llh_hdr.lrh_len = llh->llh_tail.lrt_len = LLOG_CHUNK_SIZE; in llog_read_header()
329 rec = (struct llog_rec_hdr *)((char *)rec + rec->lrh_len)){ in llog_process_thread()
347 if (rec->lrh_len == 0 || in llog_process_thread()
348 rec->lrh_len > LLOG_CHUNK_SIZE) { in llog_process_thread()
350 "index %d/%d\n", rec->lrh_len, in llog_process_thread()
364 rec->lrh_index, rec->lrh_len, in llog_process_thread()
522 rec = (void *)rec + rec->lrh_len; in llog_reverse_process()
528 tail = (void *)rec + rec->lrh_len - sizeof(*tail); in llog_reverse_process()
687 buflen = rec->lrh_len + sizeof(struct llog_rec_hdr) + in llog_write_rec()
690 buflen = rec->lrh_len; in llog_write_rec()
Dllog_swab.c133 __swab32s(&rec->lrh_len); in lustre_swab_llog_rec()
285 CDEBUG(D_OTHER, "\tllh_hdr.lrh_len: %#x\n", h->llh_hdr.lrh_len); in print_llog_hdr()
Dllog_cat.c123 rec.lid_hdr.lrh_len = sizeof(rec); in llog_cat_new_log()
331 LASSERT(rec->lrh_len <= LLOG_CHUNK_SIZE); in llog_cat_add_rec()
Dobd_config.c1391 int cfg_len = rec->lrh_len; in class_config_llog_handler()
1634 rc = lustre_cfg_sanity_check(lcfg, rec->lrh_len); in class_config_parse_rec()
/drivers/staging/lustre/lustre/ptlrpc/
Dllog_client.c336 } else if (llh_hdr->lrh_len != LLOG_CHUNK_SIZE) { in llog_client_read_header()
339 llh_hdr->lrh_len, LLOG_CHUNK_SIZE); in llog_client_read_header()
Dwiretest.c3275 LASSERTF((int)offsetof(struct llog_rec_hdr, lrh_len) == 0, "found %lld\n", in lustre_assert_wire_constants()
3276 (long long)(int)offsetof(struct llog_rec_hdr, lrh_len)); in lustre_assert_wire_constants()
3277 LASSERTF((int)sizeof(((struct llog_rec_hdr *)0)->lrh_len) == 4, "found %lld\n", in lustre_assert_wire_constants()
3278 (long long)(int)sizeof(((struct llog_rec_hdr *)0)->lrh_len)); in lustre_assert_wire_constants()
/drivers/infiniband/hw/qib/
Dqib_driver.c493 u16 lrh_len = be16_to_cpu(hdr->lrh[2]) << 2; in qib_kreceive() local
495 if (lrh_len != tlen) { in qib_kreceive()
/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2999 __u32 lrh_len; member
3015 (rec->lrh_len - sizeof(struct llog_rec_hdr) - \
3196 #define LLOG_BITMAP_SIZE(llh) (__u32)((llh->llh_hdr.lrh_len - \