Lines Matching refs:mbp
88 smbfs_md_get_sb_hdr(struct mbdata *mbp, struct sec_buf *sb)
92 (void) smbfs_md_get_uint16le(mbp, &sb->sb_length);
93 (void) smbfs_md_get_uint16le(mbp, &sb->sb_maxlen);
94 err = smbfs_md_get_uint32le(mbp, &sb->sb_offset);
104 smbfs_md_get_sb_data(struct mbdata *mbp, struct sec_buf *sb, struct mbuf **mp)
113 smbfs_mb_initm(&tmp_mb, mbp->mb_top);
130 smbfs_mb_put_sb_hdr(struct mbdata *mbp, struct sec_buf *sb)
134 (void) smbfs_mb_put_uint16le(mbp, sb->sb_length);
135 (void) smbfs_mb_put_uint16le(mbp, sb->sb_maxlen);
136 err = smbfs_mb_put_uint32le(mbp, sb->sb_offset);
146 smbfs_mb_put_sb_data(struct mbdata *mbp, struct sec_buf *sb, struct mbuf *m)
150 sb->sb_offset = cnt0 = mbp->mb_count;
151 err = smbfs_mb_put_mbuf(mbp, m);
152 sb->sb_maxlen = sb->sb_length = mbp->mb_count - cnt0;
164 smbfs_mb_put_sb_string(struct mbdata *mbp, struct sec_buf *sb,
173 * before appending to caller's mbp.
190 err = smbfs_mb_put_sb_data(mbp, sb, tmp_mb.mb_top);