Searched refs:syslog (Results 1 - 21 of 21) sorted by relevance

/linux-master/tools/hv/
H A Dhv_fcopy_daemon.c19 #include <syslog.h>
38 syslog(LOG_INFO, "Target file name: %s", target_fname);
52 syslog(LOG_ERR, "Failed to create %s",
57 syslog(LOG_ERR, "Invalid path: %s",
67 syslog(LOG_INFO, "File: %s exists", target_fname);
77 syslog(LOG_INFO, "Open Failed: %s", strerror(errno));
106 syslog(LOG_ERR, "pwrite failed to write %llu bytes: %ld (%s)",
182 syslog(LOG_ERR, "daemon() failed; error: %s", strerror(errno));
187 syslog(LOG_INFO, "starting; pid is:%d", getpid());
198 syslog(LOG_ER
[all...]
H A Dhv_vss_daemon.c26 #include <syslog.h>
33 /* Don't use syslog() in the function since that can cause write to disk */
73 syslog(LOG_ERR, "Can't allocate memory!");
82 syslog(LOG_ERR, "Can't access: %s; error:%d %s!",
90 syslog(LOG_ERR, "Can't opendir: %s; error:%d %s!",
143 syslog(LOG_ERR, "Can't stat: %s; error:%d %s!",
190 /* Call syslog after we thaw all filesystems */
192 syslog(LOG_ERR, "FREEZE of %s failed; error:%d %s",
195 syslog(LOG_ERR, "FREEZE of / failed; error:%d %s", save_errno,
245 syslog(LOG_INF
[all...]
H A Dhv_kvp_daemon.c37 #include <syslog.h>
138 syslog(LOG_ERR, "Failed to acquire the lock pool: %d; error: %d %s", pool,
150 syslog(LOG_ERR, "Failed to release the lock pool: %d; error: %d %s", pool,
168 syslog(LOG_ERR, "Failed to open file, pool: %d; error: %d %s", pool,
179 syslog(LOG_ERR, "Failed to write file, pool: %d", pool);
199 syslog(LOG_ERR, "Failed to open file, pool: %d; error: %d %s", pool,
211 syslog(LOG_ERR,
226 syslog(LOG_ERR, "malloc failed");
252 syslog(LOG_ERR, "Failed to create '%s'; error: %d %s", KVP_CONFIG_LOC,
1421 syslog(LOG_ER
[all...]
/linux-master/include/linux/
H A Dkmsg_dump.h60 bool kmsg_dump_get_line(struct kmsg_dump_iter *iter, bool syslog,
63 bool kmsg_dump_get_buffer(struct kmsg_dump_iter *iter, bool syslog,
78 static inline bool kmsg_dump_get_line(struct kmsg_dump_iter *iter, bool syslog, argument
84 static inline bool kmsg_dump_get_buffer(struct kmsg_dump_iter *iter, bool syslog, argument
H A Dlsm_hook_defs.h48 LSM_HOOK(int, 0, syslog, int type)
/linux-master/tools/thermal/tmon/
H A Dsysfs.c19 #include <syslog.h>
43 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath);
67 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath);
86 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath);
102 syslog(LOG_INFO, "%s: %s: type %s, max %lu, curr %lu inst %d\n",
135 syslog(LOG_ERR, "%s:%s no matching type\n", __func__, temp_str);
139 syslog(LOG_INFO, "%s:tz:%d tp:%d:type:%s type id %d\n", __func__, tzid,
156 syslog(LOG_INFO, "%s:%s:%s:%d", __func__, name, ch, i);
182 syslog(LOG_DEBUG, "tzone %s trip %d temp %lu tpnode %s",
185 syslog(LOG_ER
[all...]
H A Dpid.c24 #include <syslog.h>
73 syslog(LOG_DEBUG, "TC inactive, relax p-state\n");
93 syslog(LOG_DEBUG, "PID: %3.1f Below set point %3.1f, stop\n",
H A Dtmon.c26 #include <syslog.h>
54 printf(" -g, --debug debug message in syslog\n");
73 syslog(LOG_INFO, "TMON exit cleanup\n");
100 syslog(LOG_INFO, "TMON caught signal %d\n", sig);
128 syslog(LOG_NOTICE, "TMON started by User %d", getuid());
141 syslog(LOG_ERR, "failed to open log file %s\n", TMON_LOG_FILE);
146 syslog(LOG_ERR, "Unable to stat log file %s\n", TMON_LOG_FILE);
154 syslog(LOG_ERR, "Log file is a symlink. Will not log\n");
161 syslog(LOG_ERR, "We don't own the log file. Not logging\n");
278 syslog(LOG_DEBU
[all...]
H A Dtui.c17 #include <syslog.h>
162 syslog(LOG_DEBUG, "No data panel\n");
167 syslog(LOG_DEBUG, "No dialogue panel\n");
175 syslog(LOG_INFO, "no dialogue win, term too small\n");
193 syslog(LOG_DEBUG, "SIG %d, term resized to %d x %d\n",
245 syslog(LOG_DEBUG,
559 syslog(LOG_INFO, "%s:tz %d tp %d temp = %lu\n", __func__,
642 syslog(LOG_DEBUG, "draw tz %d tp %d ch:%c\n",
/linux-master/tools/usb/usbip/libsrc/
H A Dusbip_common.h16 #include <syslog.h>
69 syslog(LOG_ERR, pr_fmt(fmt), "error", ##args); \
79 syslog(LOG_INFO, pr_fmt(fmt), "info", ##args); \
90 syslog(LOG_DEBUG, dbg_fmt(fmt), ##args); \
/linux-master/tools/thermal/lib/
H A Dlog.h6 #include <syslog.h>
H A Dlog.c6 #include <syslog.h>
/linux-master/tools/laptop/freefall/
H A Dfreefall.c22 #include <syslog.h>
85 syslog(LOG_INFO, "%s %s disk head\n", str, device_path);
/linux-master/fs/proc/
H A Dkmsg.c16 #include <linux/syslog.h>
/linux-master/tools/usb/usbip/src/
H A Dusbip.c14 #include <syslog.h>
/linux-master/kernel/printk/
H A Dprintk.c40 #include <linux/syslog.h>
411 * the standard userspace syslog level and syslog facility. The usual kernel
413 * syslog facility, by default LOG_USER. The origin of every message can be
467 /* the next printk record to read by syslog(READ) or /proc/kmsg */
762 * Extract and skip the syslog prefix <[0-9]*>. Coming from userspace
1347 static size_t info_print_prefix(const struct printk_info *info, bool syslog, argument
1352 if (syslog)
1385 static size_t record_print_text(struct printk_record *r, bool syslog, argument
1405 prefix_len = info_print_prefix(r->info, syslog, tim
1486 get_record_print_text_size(struct printk_info *info, unsigned int line_count, bool syslog, bool time) argument
1510 find_first_fitting_seq(u64 start_seq, u64 max_seq, size_t size, bool syslog, bool time) argument
4151 kmsg_dump_get_line(struct kmsg_dump_iter *iter, bool syslog, char *line, size_t size, size_t *len) argument
4209 kmsg_dump_get_buffer(struct kmsg_dump_iter *iter, bool syslog, char *buf, size_t size, size_t *len_out) argument
[all...]
/linux-master/tools/thermal/thermal-engine/
H A Dthermal-engine.c20 #include <syslog.h>
231 printf("\t-s, --syslog\t\toutput to syslog\n");
243 { "syslog", no_argument, NULL, 's' },
/linux-master/kernel/
H A Dsys_ni.c95 COND_SYSCALL(syslog); variable
/linux-master/security/
H A Dsecurity.c1073 * logging to the console. See the syslog(2) manual page for an explanation of
1080 return call_int_hook(syslog, type);
/linux-master/security/selinux/
H A Dhooks.c83 #include <linux/syslog.h>
2199 /* All other syslog types */
7147 LSM_HOOK_INIT(syslog, selinux_syslog),
/linux-master/security/smack/
H A Dsmack_lsm.c519 * smack_syslog - Smack approval on syslog
5030 LSM_HOOK_INIT(syslog, smack_syslog),

Completed in 289 milliseconds