Lines Matching refs:ptr
164 __be64 *ptr; in buf_lo_before_commit() local
180 ptr = bh_log_ptr(bh); in buf_lo_before_commit()
187 *ptr++ = cpu_to_be64(bd1->bd_bh->b_blocknr); in buf_lo_before_commit()
243 struct gfs2_log_descriptor *ld, __be64 *ptr, in buf_lo_scan_elements() argument
260 blkno = be64_to_cpu(*ptr++); in buf_lo_scan_elements()
378 struct gfs2_log_descriptor *ld, __be64 *ptr, in revoke_lo_scan_elements() argument
535 __be32 *ptr; in gfs2_check_magic() local
539 ptr = kaddr + bh_offset(bh); in gfs2_check_magic()
540 if (*ptr == cpu_to_be32(GFS2_MAGIC)) in gfs2_check_magic()
552 __be64 *ptr; in gfs2_write_blocks() local
561 ptr = bh_log_ptr(bh); in gfs2_write_blocks()
570 while (be64_to_cpu(*ptr) != bd->bd_bh->b_blocknr) { in gfs2_write_blocks()
572 ptr += 2; in gfs2_write_blocks()
592 ptr += 2; in gfs2_write_blocks()
608 __be64 *ptr = NULL, *end = NULL; in databuf_lo_before_commit() local
614 if (ptr == end) { in databuf_lo_before_commit()
619 ptr = bh_log_ptr(bh); in databuf_lo_before_commit()
627 *ptr++ = cpu_to_be64(bd->bd_bh->b_blocknr); in databuf_lo_before_commit()
628 *ptr++ = cpu_to_be64(buffer_escaped(bh) ? 1 : 0); in databuf_lo_before_commit()
640 __be64 *ptr, int pass) in databuf_lo_scan_elements() argument
656 blkno = be64_to_cpu(*ptr++); in databuf_lo_scan_elements()
657 esc = be64_to_cpu(*ptr++); in databuf_lo_scan_elements()