Lines Matching refs:ld

381 	struct gfs2_log_descriptor *ld = page_address(page);  in gfs2_get_log_desc()  local
382 clear_page(ld); in gfs2_get_log_desc()
383 ld->ld_header.mh_magic = cpu_to_be32(GFS2_MAGIC); in gfs2_get_log_desc()
384 ld->ld_header.mh_type = cpu_to_be32(GFS2_METATYPE_LD); in gfs2_get_log_desc()
385 ld->ld_header.mh_format = cpu_to_be32(GFS2_FORMAT_LD); in gfs2_get_log_desc()
386 ld->ld_type = cpu_to_be32(ld_type); in gfs2_get_log_desc()
387 ld->ld_length = cpu_to_be32(ld_length); in gfs2_get_log_desc()
388 ld->ld_data1 = cpu_to_be32(ld_data1); in gfs2_get_log_desc()
389 ld->ld_data2 = 0; in gfs2_get_log_desc()
424 struct gfs2_log_descriptor *ld; in gfs2_before_commit() local
442 ld = page_address(page); in gfs2_before_commit()
444 ptr = (__be64 *)(ld + 1); in gfs2_before_commit()
531 struct gfs2_log_descriptor *ld, __be64 *ptr, in buf_lo_scan_elements() argument
537 unsigned int blks = be32_to_cpu(ld->ld_data1); in buf_lo_scan_elements()
542 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_METADATA) in buf_lo_scan_elements()
686 struct gfs2_log_descriptor *ld, __be64 *ptr, in revoke_lo_scan_elements() argument
690 unsigned int blks = be32_to_cpu(ld->ld_length); in revoke_lo_scan_elements()
691 unsigned int revokes = be32_to_cpu(ld->ld_data1); in revoke_lo_scan_elements()
698 if (pass != 0 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_REVOKE) in revoke_lo_scan_elements()
768 struct gfs2_log_descriptor *ld, in databuf_lo_scan_elements() argument
774 unsigned int blks = be32_to_cpu(ld->ld_data1); in databuf_lo_scan_elements()
780 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_JDATA) in databuf_lo_scan_elements()