Lines Matching defs:buffer_fd
207 _cleanup_close_ int buffer_fd = -1;
316 buffer_fd = memfd_new(NULL);
317 if (buffer_fd < 0) {
318 if (buffer_fd == -ENOSYS) {
319 buffer_fd = open_tmpfile("/dev/shm", O_RDWR | O_CLOEXEC);
320 if (buffer_fd < 0)
321 return buffer_fd;
325 return buffer_fd;
328 n = writev(buffer_fd, w, j);
333 r = memfd_set_sealed(buffer_fd);
338 r = send_one_fd_sa(fd, buffer_fd, mh.msg_name, mh.msg_namelen, 0);