Lines Matching refs:sbuf
61 #include <sys/sbuf.h>
502 * mls_element_to_string() accepts an sbuf and MLS element. It converts the
503 * MLS element to a string and stores the result in the sbuf; if there isn't
504 * space in the sbuf, -1 is returned.
507 mls_element_to_string(struct sbuf *sb, struct mac_mls_element *element)
550 * in the passed sbuf. It returns 0 on success, or EINVAL if there isn't
551 * room in the sbuf. Note: the sbuf will be modified even in a failure case,
552 * so the caller may need to revert the sbuf by restoring the offset if
556 mls_to_string(struct sbuf *sb, struct mac_mls *mm)
586 struct sbuf *sb, int *claimed)