Searched refs:dev_kmsg_fd (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/journal/ |
D | journald-kmsg.c | 49 if (_unlikely_(s->dev_kmsg_fd < 0)) in server_forward_kmsg() 82 if (writev(s->dev_kmsg_fd, iovec, n) < 0) in server_forward_kmsg() 315 assert(s->dev_kmsg_fd >= 0); in server_read_dev_kmsg() 317 l = read(s->dev_kmsg_fd, buffer, sizeof(buffer) - 1); in server_read_dev_kmsg() 344 if (s->dev_kmsg_fd < 0) in server_flush_dev_kmsg() 368 assert(fd == s->dev_kmsg_fd); in dispatch_dev_kmsg() 391 s->dev_kmsg_fd = open("/dev/kmsg", mode); in server_open_dev_kmsg() 392 if (s->dev_kmsg_fd < 0) { in server_open_dev_kmsg() 401 …r = sd_event_add_io(s->event, &s->dev_kmsg_event_source, s->dev_kmsg_fd, EPOLLIN, dispatch_dev_kms… in server_open_dev_kmsg() 427 s->dev_kmsg_fd = safe_close(s->dev_kmsg_fd); in server_open_dev_kmsg()
|
D | fuzz-journald.c | 13 .dev_kmsg_fd = -1, in dummy_server_init()
|
D | journald-server.h | 69 int dev_kmsg_fd; member
|
D | journald-server.c | 2287 .dev_kmsg_fd = -1, in server_init() 2596 safe_close(s->dev_kmsg_fd); in server_done()
|