Lines Matching refs:buf
817 char buf[64]; in ldm_parse_dgr4() local
841 ldm_get_vstr (buffer + 0x18 + r_objid, buf, sizeof (buf)); in ldm_parse_dgr4()
1113 static bool ldm_parse_vblk (const u8 *buf, int len, struct vblk *vb) in ldm_parse_vblk() argument
1118 BUG_ON (!buf || !vb); in ldm_parse_vblk()
1120 r_objid = ldm_relative (buf, len, 0x18, 0); in ldm_parse_vblk()
1126 vb->flags = buf[0x12]; in ldm_parse_vblk()
1127 vb->type = buf[0x13]; in ldm_parse_vblk()
1128 vb->obj_id = ldm_get_vnum (buf + 0x18); in ldm_parse_vblk()
1129 ldm_get_vstr (buf+0x18+r_objid, vb->name, sizeof (vb->name)); in ldm_parse_vblk()
1132 case VBLK_CMP3: result = ldm_parse_cmp3 (buf, len, vb); break; in ldm_parse_vblk()
1133 case VBLK_DSK3: result = ldm_parse_dsk3 (buf, len, vb); break; in ldm_parse_vblk()
1134 case VBLK_DSK4: result = ldm_parse_dsk4 (buf, len, vb); break; in ldm_parse_vblk()
1135 case VBLK_DGR3: result = ldm_parse_dgr3 (buf, len, vb); break; in ldm_parse_vblk()
1136 case VBLK_DGR4: result = ldm_parse_dgr4 (buf, len, vb); break; in ldm_parse_vblk()
1137 case VBLK_PRT3: result = ldm_parse_prt3 (buf, len, vb); break; in ldm_parse_vblk()
1138 case VBLK_VOL5: result = ldm_parse_vol5 (buf, len, vb); break; in ldm_parse_vblk()