• Home
  • Raw
  • Download

Lines Matching refs:ld

138 	struct gfs2_log_descriptor *ld = bh_log_desc(bh);  in bh_log_ptr()  local
139 return (__force __be64 *)(ld + 1); in bh_log_ptr()
243 struct gfs2_log_descriptor *ld = bh_log_desc(bh); in gfs2_get_log_desc() local
244 ld->ld_header.mh_magic = cpu_to_be32(GFS2_MAGIC); in gfs2_get_log_desc()
245 ld->ld_header.mh_type = cpu_to_be32(GFS2_METATYPE_LD); in gfs2_get_log_desc()
246 ld->ld_header.mh_format = cpu_to_be32(GFS2_FORMAT_LD); in gfs2_get_log_desc()
247 ld->ld_type = cpu_to_be32(ld_type); in gfs2_get_log_desc()
248 ld->ld_length = 0; in gfs2_get_log_desc()
249 ld->ld_data1 = 0; in gfs2_get_log_desc()
250 ld->ld_data2 = 0; in gfs2_get_log_desc()
251 memset(ld->ld_reserved, 0, sizeof(ld->ld_reserved)); in gfs2_get_log_desc()
284 struct gfs2_log_descriptor *ld; in buf_lo_before_commit() local
305 ld = bh_log_desc(bh); in buf_lo_before_commit()
307 ld->ld_length = cpu_to_be32(num + 1); in buf_lo_before_commit()
308 ld->ld_data1 = cpu_to_be32(num); in buf_lo_before_commit()
369 struct gfs2_log_descriptor *ld, __be64 *ptr, in buf_lo_scan_elements() argument
375 unsigned int blks = be32_to_cpu(ld->ld_data1); in buf_lo_scan_elements()
380 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_METADATA) in buf_lo_scan_elements()
452 struct gfs2_log_descriptor *ld; in revoke_lo_before_commit() local
463 ld = bh_log_desc(bh); in revoke_lo_before_commit()
464 ld->ld_length = cpu_to_be32(gfs2_struct2blk(sdp, sdp->sd_log_num_revoke, in revoke_lo_before_commit()
466 ld->ld_data1 = cpu_to_be32(sdp->sd_log_num_revoke); in revoke_lo_before_commit()
520 struct gfs2_log_descriptor *ld, __be64 *ptr, in revoke_lo_scan_elements() argument
524 unsigned int blks = be32_to_cpu(ld->ld_length); in revoke_lo_scan_elements()
525 unsigned int revokes = be32_to_cpu(ld->ld_data1); in revoke_lo_scan_elements()
532 if (pass != 0 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_REVOKE) in revoke_lo_scan_elements()
651 struct gfs2_log_descriptor *ld; in gfs2_write_blocks() local
658 ld = bh_log_desc(bh); in gfs2_write_blocks()
659 ld->ld_length = cpu_to_be32(n + 1); in gfs2_write_blocks()
660 ld->ld_data1 = cpu_to_be32(n); in gfs2_write_blocks()
740 struct gfs2_log_descriptor *ld, in databuf_lo_scan_elements() argument
746 unsigned int blks = be32_to_cpu(ld->ld_data1); in databuf_lo_scan_elements()
752 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_JDATA) in databuf_lo_scan_elements()