Searched refs:msg_size (Results 1 – 2 of 2) sorted by relevance
37 size_t msg_size = vsnprintf(buf + prefix_size, sizeof(buf) - prefix_size, fmt, ap); in init_klog_vwrite() local38 if (msg_size >= sizeof(buf) - prefix_size) { in init_klog_vwrite()39 msg_size = snprintf(buf + prefix_size, sizeof(buf) - prefix_size, in init_klog_vwrite()40 "(%zu-byte message too long for printk)\n", msg_size); in init_klog_vwrite()45 iov[0].iov_len = prefix_size + msg_size; in init_klog_vwrite()
49 size_t msg_size = in_size + sizeof(struct gatekeeper_message); in trusty_gatekeeper_call() local50 struct gatekeeper_message *msg = malloc(msg_size); in trusty_gatekeeper_call()54 ssize_t rc = write(handle_, msg, msg_size); in trusty_gatekeeper_call()