Lines Matching refs:buffer
429 char *elements, *buffer;
453 MALLOC(buffer, char *, mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO);
459 buffer, mac.m_buflen);
464 error = copyout(buffer, CAST_USER_ADDR_T(mac.m_string),
465 strlen(buffer) + 1);
466 FREE(buffer, M_MACTEMP);
477 char *buffer;
490 MALLOC(buffer, char *, mac.m_buflen, M_MACTEMP, M_WAITOK);
491 error = copyinstr(CAST_USER_ADDR_T(mac.m_string), buffer,
494 FREE(buffer, M_MACTEMP);
497 AUDIT_ARG(mac_string, buffer);
500 error = mac_ifnet_label_internalize(intlabel, buffer);
501 FREE(buffer, M_MACTEMP);