Lines Matching refs:mbp
100 md_get_sb_hdr(struct mbdata *mbp, struct sec_buf *sb)
104 (void) md_get_uint16le(mbp, &sb->sb_length);
105 (void) md_get_uint16le(mbp, &sb->sb_maxlen);
106 err = md_get_uint32le(mbp, &sb->sb_offset);
116 md_get_sb_data(struct mbdata *mbp, struct sec_buf *sb, struct mbuf **mp)
125 mb_initm(&tmp_mb, mbp->mb_top);
142 mb_put_sb_hdr(struct mbdata *mbp, struct sec_buf *sb)
146 (void) mb_put_uint16le(mbp, sb->sb_length);
147 (void) mb_put_uint16le(mbp, sb->sb_maxlen);
148 err = mb_put_uint32le(mbp, sb->sb_offset);
158 mb_put_sb_data(struct mbdata *mbp, struct sec_buf *sb, struct mbuf *m)
163 sb->sb_offset = cnt0 = mbp->mb_count;
165 err = mb_put_mbuf(mbp, m);
166 sb->sb_maxlen = sb->sb_length = mbp->mb_count - cnt0;
178 mb_put_sb_string(struct mbdata *mbp, struct sec_buf *sb,
190 * before appending to caller's mbp.
205 err = mb_put_sb_data(mbp, sb, tmp_mb.mb_top);