Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/hv/
H A Dhv_fcopy_daemon.c19 #include <syslog.h>
38 syslog(LOG_INFO, "Target file name: %s", target_fname); in hv_start_fcopy()
52 syslog(LOG_ERR, "Failed to create %s", in hv_start_fcopy()
57 syslog(LOG_ERR, "Invalid path: %s", in hv_start_fcopy()
67 syslog(LOG_INFO, "File: %s exists", target_fname); in hv_start_fcopy()
77 syslog(LOG_INFO, "Open Failed: %s", strerror(errno)); in hv_start_fcopy()
106 syslog(LOG_ERR, "pwrite failed to write %llu bytes: %ld (%s)", in hv_copy_data()
182 syslog(LOG_ERR, "daemon() failed; error: %s", strerror(errno)); in main()
187 syslog(LOG_INFO, "starting; pid is:%d", getpid()); in main()
198 syslog(LOG_ER in main()
[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!"); in is_dev_loop()
82 syslog(LOG_ERR, "Can't access: %s; error:%d %s!", in is_dev_loop()
90 syslog(LOG_ERR, "Can't opendir: %s; error:%d %s!", in is_dev_loop()
143 syslog(LOG_ERR, "Can't stat: %s; error:%d %s!", in vss_operate()
190 /* Call syslog after we thaw all filesystems */ in vss_operate()
192 syslog(LOG_ERR, "FREEZE of %s failed; error:%d %s", in vss_operate()
195 syslog(LOG_ERR, "FREEZE of / failed; error:%d %s", save_errno, in vss_operate()
245 syslog(LOG_INF in main()
[all...]
H A Dhv_kvp_daemon.c37 #include <syslog.h>
127 syslog(LOG_ERR, "Failed to acquire the lock pool: %d; error: %d %s", pool, in kvp_acquire_lock()
139 syslog(LOG_ERR, "Failed to release the lock pool: %d; error: %d %s", pool, in kvp_release_lock()
157 syslog(LOG_ERR, "Failed to open file, pool: %d; error: %d %s", pool, in kvp_update_file()
168 syslog(LOG_ERR, "Failed to write file, pool: %d", pool); in kvp_update_file()
188 syslog(LOG_ERR, "Failed to open file, pool: %d; error: %d %s", pool, in kvp_update_mem_state()
200 syslog(LOG_ERR, in kvp_update_mem_state()
215 syslog(LOG_ERR, "malloc failed"); in kvp_update_mem_state()
241 syslog(LOG_ERR, "Failed to create '%s'; error: %d %s", KVP_CONFIG_LOC, in kvp_file_init()
1236 syslog(LOG_ER in kvp_set_ip_info()
[all...]
/kernel/linux/linux-6.6/tools/hv/
H A Dhv_fcopy_daemon.c19 #include <syslog.h>
38 syslog(LOG_INFO, "Target file name: %s", target_fname); in hv_start_fcopy()
52 syslog(LOG_ERR, "Failed to create %s", in hv_start_fcopy()
57 syslog(LOG_ERR, "Invalid path: %s", in hv_start_fcopy()
67 syslog(LOG_INFO, "File: %s exists", target_fname); in hv_start_fcopy()
77 syslog(LOG_INFO, "Open Failed: %s", strerror(errno)); in hv_start_fcopy()
106 syslog(LOG_ERR, "pwrite failed to write %llu bytes: %ld (%s)", in hv_copy_data()
182 syslog(LOG_ERR, "daemon() failed; error: %s", strerror(errno)); in main()
187 syslog(LOG_INFO, "starting; pid is:%d", getpid()); in main()
198 syslog(LOG_ER in main()
[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!"); in is_dev_loop()
82 syslog(LOG_ERR, "Can't access: %s; error:%d %s!", in is_dev_loop()
90 syslog(LOG_ERR, "Can't opendir: %s; error:%d %s!", in is_dev_loop()
143 syslog(LOG_ERR, "Can't stat: %s; error:%d %s!", in vss_operate()
190 /* Call syslog after we thaw all filesystems */ in vss_operate()
192 syslog(LOG_ERR, "FREEZE of %s failed; error:%d %s", in vss_operate()
195 syslog(LOG_ERR, "FREEZE of / failed; error:%d %s", save_errno, in vss_operate()
245 syslog(LOG_INF in main()
[all...]
H A Dhv_kvp_daemon.c37 #include <syslog.h>
127 syslog(LOG_ERR, "Failed to acquire the lock pool: %d; error: %d %s", pool, in kvp_acquire_lock()
139 syslog(LOG_ERR, "Failed to release the lock pool: %d; error: %d %s", pool, in kvp_release_lock()
157 syslog(LOG_ERR, "Failed to open file, pool: %d; error: %d %s", pool, in kvp_update_file()
168 syslog(LOG_ERR, "Failed to write file, pool: %d", pool); in kvp_update_file()
188 syslog(LOG_ERR, "Failed to open file, pool: %d; error: %d %s", pool, in kvp_update_mem_state()
200 syslog(LOG_ERR, in kvp_update_mem_state()
215 syslog(LOG_ERR, "malloc failed"); in kvp_update_mem_state()
241 syslog(LOG_ERR, "Failed to create '%s'; error: %d %s", KVP_CONFIG_LOC, in kvp_file_init()
1332 syslog(LOG_ER in kvp_set_ip_info()
[all...]
/kernel/linux/linux-5.10/tools/thermal/tmon/
H A Dsysfs.c19 #include <syslog.h>
43 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_set_ulong()
67 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_get_ulong()
86 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_get_string()
102 syslog(LOG_INFO, "%s: %s: type %s, max %lu, curr %lu inst %d\n", in probe_cdev()
135 syslog(LOG_ERR, "%s:%s no matching type\n", __func__, temp_str); in get_trip_point_data()
139 syslog(LOG_INFO, "%s:tz:%d tp:%d:type:%s type id %d\n", __func__, tzid, in get_trip_point_data()
156 syslog(LOG_INFO, "%s:%s:%s:%d", __func__, name, ch, i); in get_instance_id()
182 syslog(LOG_DEBUG, "tzone %s trip %d temp %lu tpnode %s", in find_tzone_tp()
185 syslog(LOG_ER in find_tzone_tp()
[all...]
H A Dtmon.c26 #include <syslog.h>
54 printf(" -g, --debug debug message in syslog\n"); in usage()
73 syslog(LOG_INFO, "TMON exit cleanup\n"); in tmon_cleanup()
100 syslog(LOG_INFO, "TMON caught signal %d\n", sig); in tmon_sig_handler()
128 syslog(LOG_NOTICE, "TMON started by User %d", getuid()); in start_syslog()
141 syslog(LOG_ERR, "failed to open log file %s\n", TMON_LOG_FILE); in prepare_logging()
146 syslog(LOG_ERR, "Unable to stat log file %s\n", TMON_LOG_FILE); in prepare_logging()
154 syslog(LOG_ERR, "Log file is a symlink. Will not log\n"); in prepare_logging()
161 syslog(LOG_ERR, "We don't own the log file. Not logging\n"); in prepare_logging()
278 syslog(LOG_DEBU in main()
[all...]
H A Dpid.c24 #include <syslog.h>
74 syslog(LOG_DEBUG, "TC inactive, relax p-state\n"); in controller_reset()
94 syslog(LOG_DEBUG, "PID: %3.1f Below set point %3.1f, stop\n", in controller_handler()
H A Dtui.c17 #include <syslog.h>
162 syslog(LOG_DEBUG, "No data panel\n"); in setup_windows()
167 syslog(LOG_DEBUG, "No dialogue panel\n"); in setup_windows()
175 syslog(LOG_INFO, "no dialogue win, term too small\n"); in setup_windows()
193 syslog(LOG_DEBUG, "SIG %d, term resized to %d x %d\n", in resize_handler()
245 syslog(LOG_DEBUG, in show_cooling_device()
559 syslog(LOG_INFO, "%s:tz %d tp %d temp = %lu\n", __func__, in draw_tp_line()
642 syslog(LOG_DEBUG, "draw tz %d tp %d ch:%c\n", in show_sensors_w()
/kernel/linux/linux-6.6/tools/thermal/tmon/
H A Dsysfs.c19 #include <syslog.h>
43 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_set_ulong()
67 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_get_ulong()
86 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_get_string()
102 syslog(LOG_INFO, "%s: %s: type %s, max %lu, curr %lu inst %d\n", in probe_cdev()
135 syslog(LOG_ERR, "%s:%s no matching type\n", __func__, temp_str); in get_trip_point_data()
139 syslog(LOG_INFO, "%s:tz:%d tp:%d:type:%s type id %d\n", __func__, tzid, in get_trip_point_data()
156 syslog(LOG_INFO, "%s:%s:%s:%d", __func__, name, ch, i); in get_instance_id()
182 syslog(LOG_DEBUG, "tzone %s trip %d temp %lu tpnode %s", in find_tzone_tp()
185 syslog(LOG_ER in find_tzone_tp()
[all...]
H A Dtmon.c26 #include <syslog.h>
54 printf(" -g, --debug debug message in syslog\n"); in usage()
73 syslog(LOG_INFO, "TMON exit cleanup\n"); in tmon_cleanup()
100 syslog(LOG_INFO, "TMON caught signal %d\n", sig); in tmon_sig_handler()
128 syslog(LOG_NOTICE, "TMON started by User %d", getuid()); in start_syslog()
141 syslog(LOG_ERR, "failed to open log file %s\n", TMON_LOG_FILE); in prepare_logging()
146 syslog(LOG_ERR, "Unable to stat log file %s\n", TMON_LOG_FILE); in prepare_logging()
154 syslog(LOG_ERR, "Log file is a symlink. Will not log\n"); in prepare_logging()
161 syslog(LOG_ERR, "We don't own the log file. Not logging\n"); in prepare_logging()
278 syslog(LOG_DEBU in main()
[all...]
H A Dpid.c24 #include <syslog.h>
73 syslog(LOG_DEBUG, "TC inactive, relax p-state\n"); in controller_reset()
93 syslog(LOG_DEBUG, "PID: %3.1f Below set point %3.1f, stop\n", in controller_handler()
H A Dtui.c17 #include <syslog.h>
162 syslog(LOG_DEBUG, "No data panel\n"); in setup_windows()
167 syslog(LOG_DEBUG, "No dialogue panel\n"); in setup_windows()
175 syslog(LOG_INFO, "no dialogue win, term too small\n"); in setup_windows()
193 syslog(LOG_DEBUG, "SIG %d, term resized to %d x %d\n", in resize_handler()
245 syslog(LOG_DEBUG, in show_cooling_device()
559 syslog(LOG_INFO, "%s:tz %d tp %d temp = %lu\n", __func__, in draw_tp_line()
642 syslog(LOG_DEBUG, "draw tz %d tp %d ch:%c\n", in show_sensors_w()
/kernel/linux/linux-5.10/include/linux/
H A Dkmsg_dump.h57 bool kmsg_dump_get_line_nolock(struct kmsg_dumper *dumper, bool syslog,
60 bool kmsg_dump_get_line(struct kmsg_dumper *dumper, bool syslog,
63 bool kmsg_dump_get_buffer(struct kmsg_dumper *dumper, bool syslog,
81 bool syslog, const char *line, in kmsg_dump_get_line_nolock()
87 static inline bool kmsg_dump_get_line(struct kmsg_dumper *dumper, bool syslog, in kmsg_dump_get_line() argument
93 static inline bool kmsg_dump_get_buffer(struct kmsg_dumper *dumper, bool syslog, in kmsg_dump_get_buffer() argument
80 kmsg_dump_get_line_nolock(struct kmsg_dumper *dumper, bool syslog, const char *line, size_t size, size_t *len) kmsg_dump_get_line_nolock() argument
/kernel/linux/linux-6.6/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, in kmsg_dump_get_line() argument
84 static inline bool kmsg_dump_get_buffer(struct kmsg_dump_iter *iter, bool syslog, in kmsg_dump_get_buffer() argument
/kernel/linux/linux-5.10/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); \
/kernel/linux/linux-6.6/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); \
/kernel/liteos_a/testsuites/unittest/fuzz/
H A Dsyslog_fuzzer.cpp32 #include <syslog.h>
43 syslog(number, "%s\n", buf); in TestSyslog()
/kernel/linux/linux-5.10/kernel/printk/
H A Dprintk.c40 #include <linux/syslog.h>
305 * the standard userspace syslog level and syslog facility. The usual kernel
307 * syslog facility, by default LOG_USER. The origin of every message can be
397 /* the next printk record to read by syslog(READ) or /proc/kmsg */
573 pr_warn_once("%s (%d): Attempt to access syslog with " in check_syslog_permissions()
727 * Extract and skip the syslog prefix <[0-9]*>. Coming from userspace in devkmsg_write()
1317 static size_t info_print_prefix(const struct printk_info *info, bool syslog, in info_print_prefix() argument
1322 if (syslog) in info_print_prefix()
1355 static size_t record_print_text(struct printk_record *r, bool syslog, in record_print_text() argument
1456 get_record_print_text_size(struct printk_info *info, unsigned int line_count, bool syslog, bool time) get_record_print_text_size() argument
2123 record_print_text(const struct printk_record *r, bool syslog, bool time) record_print_text() argument
3290 kmsg_dump_get_line_nolock(struct kmsg_dumper *dumper, bool syslog, char *line, size_t size, size_t *len) kmsg_dump_get_line_nolock() argument
3344 kmsg_dump_get_line(struct kmsg_dumper *dumper, bool syslog, char *line, size_t size, size_t *len) kmsg_dump_get_line() argument
3377 kmsg_dump_get_buffer(struct kmsg_dumper *dumper, bool syslog, char *buf, size_t size, size_t *len) kmsg_dump_get_buffer() argument
[all...]
/kernel/linux/linux-5.10/tools/laptop/freefall/
H A Dfreefall.c22 #include <syslog.h>
85 syslog(LOG_INFO, "%s %s disk head\n", str, device_path); in protect()
/kernel/linux/linux-6.6/tools/laptop/freefall/
H A Dfreefall.c22 #include <syslog.h>
85 syslog(LOG_INFO, "%s %s disk head\n", str, device_path); in protect()
/kernel/linux/linux-6.6/kernel/printk/
H A Dprintk.c40 #include <linux/syslog.h>
394 * the standard userspace syslog level and syslog facility. The usual kernel
396 * syslog facility, by default LOG_USER. The origin of every message can be
450 /* the next printk record to read by syslog(READ) or /proc/kmsg */
606 pr_warn_once("%s (%d): Attempt to access syslog with " in check_syslog_permissions()
759 * Extract and skip the syslog prefix <[0-9]*>. Coming from userspace in devkmsg_write()
1344 static size_t info_print_prefix(const struct printk_info *info, bool syslog, in info_print_prefix() argument
1349 if (syslog) in info_print_prefix()
1382 static size_t record_print_text(struct printk_record *r, bool syslog, in record_print_text() argument
1483 get_record_print_text_size(struct printk_info *info, unsigned int line_count, bool syslog, bool time) get_record_print_text_size() argument
1507 find_first_fitting_seq(u64 start_seq, u64 max_seq, size_t size, bool syslog, bool time) find_first_fitting_seq() argument
2381 record_print_text(const struct printk_record *r, bool syslog, bool time) record_print_text() argument
4137 kmsg_dump_get_line(struct kmsg_dump_iter *iter, bool syslog, char *line, size_t size, size_t *len) kmsg_dump_get_line() argument
4195 kmsg_dump_get_buffer(struct kmsg_dump_iter *iter, bool syslog, char *buf, size_t size, size_t *len_out) kmsg_dump_get_buffer() argument
[all...]
/kernel/linux/linux-6.6/tools/thermal/lib/
H A Dlog.c6 #include <syslog.h>
H A Dlog.h6 #include <syslog.h>

Completed in 17 milliseconds

12