Lines Matching refs:ld
374 struct gfs2_log_descriptor *ld = page_address(page); in gfs2_get_log_desc() local
375 clear_page(ld); in gfs2_get_log_desc()
376 ld->ld_header.mh_magic = cpu_to_be32(GFS2_MAGIC); in gfs2_get_log_desc()
377 ld->ld_header.mh_type = cpu_to_be32(GFS2_METATYPE_LD); in gfs2_get_log_desc()
378 ld->ld_header.mh_format = cpu_to_be32(GFS2_FORMAT_LD); in gfs2_get_log_desc()
379 ld->ld_type = cpu_to_be32(ld_type); in gfs2_get_log_desc()
380 ld->ld_length = cpu_to_be32(ld_length); in gfs2_get_log_desc()
381 ld->ld_data1 = cpu_to_be32(ld_data1); in gfs2_get_log_desc()
382 ld->ld_data2 = 0; in gfs2_get_log_desc()
417 struct gfs2_log_descriptor *ld; in gfs2_before_commit() local
435 ld = page_address(page); in gfs2_before_commit()
437 ptr = (__be64 *)(ld + 1); in gfs2_before_commit()
524 struct gfs2_log_descriptor *ld, __be64 *ptr, in buf_lo_scan_elements() argument
530 unsigned int blks = be32_to_cpu(ld->ld_data1); in buf_lo_scan_elements()
535 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_METADATA) in buf_lo_scan_elements()
679 struct gfs2_log_descriptor *ld, __be64 *ptr, in revoke_lo_scan_elements() argument
683 unsigned int blks = be32_to_cpu(ld->ld_length); in revoke_lo_scan_elements()
684 unsigned int revokes = be32_to_cpu(ld->ld_data1); in revoke_lo_scan_elements()
691 if (pass != 0 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_REVOKE) in revoke_lo_scan_elements()
761 struct gfs2_log_descriptor *ld, in databuf_lo_scan_elements() argument
767 unsigned int blks = be32_to_cpu(ld->ld_data1); in databuf_lo_scan_elements()
773 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_JDATA) in databuf_lo_scan_elements()