Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 645) sorted by relevance

12345678910>>...26

/minix3/common/dist/zlib/examples/
H A Dgzlog.c65 local void log_clean(gz_log *log) in log_clean() argument
67 unlock(log->fd); in log_clean()
68 (void)close(log->fd); in log_clean()
69 free(log); in log_clean()
140 gz_log *log; in gzlog_open() local
143 log = malloc(sizeof(gz_log)); in gzlog_open()
144 if (log == NULL) in gzlog_open()
146 log->id = GZLOGID; in gzlog_open()
149 log->fd = open(path, O_RDWR | O_CREAT, 0600); in gzlog_open()
150 if (log->fd < 0) { in gzlog_open()
[all …]
/minix3/minix/drivers/system/log/
H A Dlog.c30 static int subread(struct logdevice *log, size_t size, endpoint_t endpt,
124 subwrite(struct logdevice *log, size_t size, endpoint_t endpt, in subwrite() argument
140 if (log->log_write + count > LOG_SIZE) in subwrite()
141 count = LOG_SIZE - log->log_write; in subwrite()
142 buf = log->log_buffer + log->log_write; in subwrite()
157 LOGINC(log->log_write, count); in subwrite()
158 log->log_size += count; in subwrite()
160 if(log->log_size > LOG_SIZE) { in subwrite()
161 overflow = log->log_size - LOG_SIZE; in subwrite()
162 log->log_size -= overflow; in subwrite()
[all …]
/minix3/minix/drivers/video/tda19988/
H A Dtda19988.c138 static struct log log = { variable
190 log_trace(&log, "tda19988_blk_open(%d,%d)\n", minor, access); in tda19988_blk_open()
203 log_trace(&log, "tda19988_blk_close(%d)\n", minor); in tda19988_blk_close()
209 log_warn(&log, "closing unopened device %d\n", minor); in tda19988_blk_close()
227 log_trace(&log, "tda19988_blk_transfer()\n"); in tda19988_blk_transfer()
265 log_debug(&log, "transfering 0x%x bytes\n", count); in tda19988_blk_transfer()
269 log_warn(&log, "Error: writing to read-only device\n"); in tda19988_blk_transfer()
278 log_warn(&log, in tda19988_blk_transfer()
286 log_warn(&log, in tda19988_blk_transfer()
294 log_warn(&log, "safecopyto failed\n"); in tda19988_blk_transfer()
[all …]
/minix3/tests/ipf/regress/
H A Di191 block in quick log level user.debug proto icmp all
2 block in quick log level mail.info proto icmp all
3 block in quick log level daemon.notice proto icmp all
4 block in quick log level auth.warn proto icmp all
5 block in quick log level syslog.err proto icmp all
6 block in quick log level lpr.crit proto icmp all
7 block in quick log level news.alert proto icmp all
8 block in quick log level uucp.emerg proto icmp all
9 block in quick log level cron.debug proto icmp all
10 block in quick log level ftp.info proto icmp all
[all …]
/minix3/external/bsd/kyua-cli/dist/integration/
H A Dglobal_test.sh73 atf_check -s exit:0 test ! -f test.log
74 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log
77 atf_check -s exit:0 test -f test.log
79 grep ' E .* No command provided' test.log || atf_fail "Log file does" \
86 atf_check -s exit:0 test ! -f test.log
87 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log
90 atf_check -s exit:0 test -f test.log
92 grep ' E .* No command provided' test.log || atf_fail "Log file does" \
94 if grep ' D ' test.log; then
102 atf_check -s exit:0 test ! -f test.log
[all …]
/minix3/minix/drivers/power/tps65217/
H A Dtps65217.c99 static struct log log = { variable
120 log_warn(&log, "Failed to read CHIPID\n"); in check_revision()
126 log_debug(&log, "TPS65217A rev 1.%d\n", (chipid & 0x0f)); in check_revision()
129 log_debug(&log, "TPS65217B rev 1.%d\n", (chipid & 0x0f)); in check_revision()
132 log_debug(&log, "TPS65217C rev 1.%d\n", (chipid & 0x0f)); in check_revision()
135 log_debug(&log, "TPS65217D rev 1.%d\n", (chipid & 0x0f)); in check_revision()
138 log_warn(&log, "Unexpected CHIPID: 0x%x\n", chipid); in check_revision()
157 log_warn(&log, "Cannot set power off mask."); in enable_pwr_off()
178 log_warn(&log, "Couldn't set irq policy\n"); in intr_enable()
187 log_warn(&log, "Couldn't enable irq %d (hooked)\n", in intr_enable()
[all …]
/minix3/minix/drivers/power/tps65950/
H A Dtps65950.c12 static struct log log = { variable
53 log_warn(&log, "sys_safecopyfrom() failed (r=%d)\n", r); in fetch_t()
68 log_warn(&log, "sys_safecopyto() failed (r=%d)\n", r); in store_t()
86 log_warn(&log, "Failed to write unlock code to UNLOCK_TEST\n"); in check_revision()
96 log_warn(&log, "Failed to read IDCODE part 1\n"); in check_revision()
102 log_warn(&log, "Failed to read IDCODE part 2\n"); in check_revision()
108 log_warn(&log, "Failed to read IDCODE part 3\n"); in check_revision()
114 log_warn(&log, "Failed to read IDCODE part 4\n"); in check_revision()
122 log_debug(&log, "IDCODE = 0x%x\n", idcode); in check_revision()
125 log_debug(&log, "TPS65950 rev 1.0\n"); in check_revision()
[all …]
/minix3/etc/usr/
H A Ddaily42 local log="$2"
44 if test -f "$log" && test -n "$(find "$log" -size +"$size")"
46 test -f "old/$log.2" && cp -p "old/$log.2" "old/$log.3"
47 test -f "old/$log.1" && cp -p "old/$log.1" "old/$log.2"
48 cp -p "$log" "old/$log.1"
49 : > "$log"
54 cycle 100 log
/minix3/minix/drivers/storage/mmc/
H A Dmmcblk.c26 static struct log log = { variable
64 log_debug(&log, "alarm %d\n", stamp); in bdr_alarm()
88 log_debug(&log, "Hardware inter left over\n"); in hw_intr()
116 log_warn(&log, "Unknown driver %s\n", driver); in apply_env()
129 log_warn(&log, "Failed to set mmc instance to %d\n", v); in apply_env()
151 log_debug(&log, "Not handling open on non existing slot\n"); in block_open()
158 log_debug(&log, "No card inserted in the SD slot\n"); in block_open()
166 log_trace(&log, "increased open count to %d\n", in block_open()
173 log_debug(&log, "First open on (%d)\n", minor); in block_open()
182 log_trace(&log, "descr \toffset(bytes) size(bytes)\n", minor); in block_open()
[all …]
/minix3/minix/drivers/bus/i2c/
H A Di2c.c65 static struct log log = { variable
89 log_warn(&log, "ds_publish_mem(%s) failed (r=%d)\n", key, r); in sef_cb_lu_state_save()
93 log_debug(&log, "State Saved\n"); in sef_cb_lu_state_save()
115 log_warn(&log, "Couldn't find label for endpt='0x%x'\n", in do_reserve()
124 log_debug(&log, in do_reserve()
132 log_debug(&log, "address in use by '%s'/0x%x\n", in do_reserve()
144 log_debug(&log, "Device 0x%x claimed by 0x%x key='%s'\n", in do_reserve()
161 log_debug(&log, in check_reservation()
167 log_debug(&log, in check_reservation()
173 log_debug(&log, "device reserved by another endpoint\n"); in check_reservation()
[all …]
/minix3/tests/ipf/expected/
H A Di19.dist1 block in log level user.debug quick proto icmp from any to any
2 block in log level mail.info quick proto icmp from any to any
3 block in log level daemon.notice quick proto icmp from any to any
4 block in log level auth.warn quick proto icmp from any to any
5 block in log level syslog.err quick proto icmp from any to any
6 block in log level lpr.crit quick proto icmp from any to any
7 block in log level news.alert quick proto icmp from any to any
8 block in log level uucp.emerg quick proto icmp from any to any
9 block in log level cron.debug quick proto icmp from any to any
10 block in log level ftp.info quick proto icmp from any to any
[all …]
/minix3/minix/drivers/sensors/sht21/
H A Dsht21.c61 static struct log log = { variable
146 log_debug(&log, "Soft Reset Complete\n"); in sht21_init()
155 log_warn(&log, "End of Battery Alarm\n"); in sht21_init()
161 log_warn(&log, "USR_REG has non-default values after reset\n"); in sht21_init()
162 log_warn(&log, "Expected 0x%x | Actual 0x%x", in sht21_init()
193 log_warn(&log, "sensor_read() called with bad sensor type.\n"); in sensor_read()
198 log_warn(&log, "sensor_read() called with NULL pointer\n"); in sensor_read()
204 log_warn(&log, "sensor_read() failed (r=%d)\n", r); in sensor_read()
221 log_debug(&log, "Read VAL:0x%x CRC:0x%x\n", val, expected_crc); in sensor_read()
227 log_debug(&log, "Measured Temperature %d mC\n", *measurement); in sensor_read()
[all …]
/minix3/crypto/external/bsd/openssl/dist/demos/ssl/
H A Dinetdsrv.cpp23 { fprintf(log, "%s %d\n", (s), errno); exit(1); }
24 #define CHK_SSL(err) if ((err)==-1) { ERR_print_errors_fp(log); exit(2); }
34 FILE* log; in main() local
36 log = fopen ("/dev/console", "a"); CHK_NULL(log); in main()
37 fprintf (log, "inetdserv %ld\n", (long)getpid()); in main()
57 fprintf (log, "SSL connection using %s\n", SSL_get_cipher (ssl)); in main()
63 fprintf (log, "Client certificate:\n"); in main()
67 fprintf (log, "\t subject: %s\n", str); in main()
72 fprintf (log, "\t issuer: %s\n", str); in main()
80 fprintf (log, "Client doe not have certificate.\n"); in main()
[all …]
/minix3/minix/drivers/sensors/bmp085/
H A Dbmp085.c123 static struct log log = { variable
198 log_warn(&log, "Couldn't read CHIPID\n"); in version_check()
203 log_warn(&log, "Bad CHIPID\n"); in version_check()
207 log_debug(&log, "CHIPID OK\n"); in version_check()
227 log_debug(&log, "cal.ac1 = %d\n", cal.ac1); in read_cal_coef()
233 log_debug(&log, "cal.ac2 = %d\n", cal.ac2); in read_cal_coef()
239 log_debug(&log, "cal.ac3 = %d\n", cal.ac3); in read_cal_coef()
245 log_debug(&log, "cal.ac4 = %u\n", cal.ac4); in read_cal_coef()
251 log_debug(&log, "cal.ac5 = %u\n", cal.ac5); in read_cal_coef()
257 log_debug(&log, "cal.ac6 = %u\n", cal.ac6); in read_cal_coef()
[all …]
/minix3/crypto/external/bsd/heimdal/dist/tests/gss/
H A Dcheck-context.in72 > messages.log
128 echo "Getting client initial tickets" ; > messages.log
132 echo "======test unreadable/non existant keytab and its error message" ; > messages.log
138 echo "checking non existant keytabfile (krb5)" ; > messages.log
139 ${context} --mech-type=krb5 host@lucid.test.h5l.se > test_context.log 2>&1 && \
141 grep ${keytabfile} test_context.log > /dev/null || \
142 { echo "string missing failed"; cat test_context.log ; eval "$testfailed"; }
143 echo "checking non existant keytabfile (spengo)" ; > messages.log
144 ${context} --mech-type=spnego host@lucid.test.h5l.se > test_context.log 2>&1 && \
146 grep ${keytabfile} test_context.log > /dev/null || \
[all …]
/minix3/external/bsd/bind/dist/contrib/dlz/modules/common/
H A Ddlz_dbi.c107 log_t log) in build_querylist() argument
226 if (log != NULL) in build_querylist()
227 log(ISC_LOG_ERROR, in build_querylist()
236 if (log != NULL) in build_querylist()
237 log(ISC_LOG_ERROR, in build_querylist()
246 if (log != NULL) in build_querylist()
247 log(ISC_LOG_ERROR, "Required token $zone$ not found."); in build_querylist()
322 dbinstance_t **dbi, log_t log) in build_dbinstance() argument
332 if (log != NULL) in build_dbinstance()
333 log(ISC_LOG_ERROR, in build_dbinstance()
[all …]
/minix3/minix/drivers/eeprom/cat24c256/
H A Dcat24c256.c69 static struct log log = { variable
78 log_trace(&log, "cat24c256_blk_open(%d,%d)\n", minor, access); in cat24c256_blk_open()
91 log_trace(&log, "cat24c256_blk_close(%d)\n", minor); in cat24c256_blk_close()
97 log_warn(&log, "closing unopened device %d\n", minor); in cat24c256_blk_close()
119 log_trace(&log, "cat24c256_blk_transfer()\n"); in cat24c256_blk_transfer()
159 log_trace(&log, "transfering 0x%x bytes\n", count); in cat24c256_blk_transfer()
165 log_warn(&log, "safecopyfrom failed\n"); in cat24c256_blk_transfer()
171 log_warn(&log, "write failed (r=%d)\n", r); in cat24c256_blk_transfer()
177 log_warn(&log, "read failed (r=%d)\n", r); in cat24c256_blk_transfer()
184 log_warn(&log, "safecopyto failed\n"); in cat24c256_blk_transfer()
[all …]
/minix3/minix/drivers/sensors/tsl2550/
H A Dtsl2550.c38 static struct log log = { variable
181 log_warn(&log, "Invalid ADC number %d, expected 0 or 1.\n", in adc_read()
187 log_warn(&log, "Read called with a NULL pointer.\n"); in adc_read()
196 log_warn(&log, "Failed to write ADC read command.\n"); in adc_read()
210 log_warn(&log, "Failed to read ADC%d value.\n", adc); in adc_read()
227 log_warn(&log, "Failed to read ADC%d value.\n", adc); in adc_read()
234 log_warn(&log, "ADC%d never returned a valid result.\n", adc); in adc_read()
248 log_warn(&log, "Power-up command failed.\n"); in tsl2550_init()
255 log_warn(&log, "Failed to read power on test value.\n"); in tsl2550_init()
261 log_warn(&log, "Bad test value. Got 0x%x, expected 0x%x\n", in tsl2550_init()
[all …]
/minix3/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/logs/
H A Dgraphs.dem7 plot 'add.log' smooth bezier title "Addition", 'sub.log' smooth bezier title "Subtraction"
10log' smooth bezier title "Squaring (without Karatsuba)", 'sqr_kara.log' smooth bezier title "Squar…
13 plot 'expt.log' smooth bezier title "Exptmod (Montgomery)", 'expt_dr.log' smooth bezier title "Expt…
16 plot 'invmod.log' smooth bezier title "Modular Inverse"
/minix3/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/demo/
H A Dtiming.c86 FILE *log, *logb, *logc, *logd; in main() local
110 log = fopen("logs/add.log", "w"); in main()
126 fprintf(log, "%d %9llu\n", cnt * DIGIT_BIT, tt); in main()
127 fflush(log); in main()
129 fclose(log); in main()
131 log = fopen("logs/sub.log", "w"); in main()
148 fprintf(log, "%d %9llu\n", cnt * DIGIT_BIT, tt); in main()
149 fflush(log); in main()
151 fclose(log); in main()
163 log = fopen((ix == 0) ? "logs/mult.log" : "logs/mult_kara.log", "w"); in main()
[all …]
/minix3/external/bsd/kyua-atf-compat/dist/
H A Datf-report_test.sh40 atf_check -s exit:0 -o save:run.log -e ignore atf-run
48 atf_check -s exit:0 -o save:report.log -e empty atf-report <run.log
49 strip_timestamps report.log
50 atf_check -s exit:0 -o file:expout cat report.log
64 atf_check -s exit:1 -o save:run.log -e ignore atf-run
81 atf_check -s exit:0 -o save:report.log -e empty atf-report <run.log
82 strip_timestamps report.log
83 atf_check -s exit:0 -o file:expout cat report.log
93 atf_check -s exit:0 -o save:run.log -e ignore atf-run
102 atf-report -o ticker:my-report.log <run.log
[all …]
/minix3/external/bsd/tmux/
H A Dprepare-import.sh27 log() { function
33 log "Removing dist; dist.old exists"
36 log "Backing up dist as dist.old"
45 log "Extracting ${distfile}"
48 log "Renaming ${distname} to dist"
58 log "Removing unnecessary files from dist"
79 log "New files found"
81 log "Check if any files have to be cleaned up and update" \
84 log "No new files; all good!"
104 log "Don't forget to update the -D flags in usr.bin/tmux/Makefile" \
/minix3/crypto/external/bsd/heimdal/dist/tests/kdc/
H A Dcheck-kdc.in86 > messages.log
173 …tackLogging=1 MallocStackLoggingNoCompact=1 MallocErrorAbort=1 MallocLogFile=${objdir}/malloc-log \
187 echo "Getting client initial tickets"; > messages.log
190 echo "Getting tickets"; > messages.log
192 echo "Listing tickets"; > messages.log
198 echo "Getting client initial tickets (http transport)"; > messages.log
211 echo "Specific enctype"; > messages.log
218 echo "Getting client initial tickets ($a)"; > messages.log
220 echo "Getting tickets"; > messages.log
227 echo "Getting client initial tickets"; > messages.log
[all …]
/minix3/external/bsd/bind/dist/contrib/dlz/example/
H A Ddlz_example.c68 log_t *log; member
114 if (state->log != NULL) in add_name()
115 state->log(ISC_LOG_ERROR, in add_name()
211 state->log = (log_t *)ptr; in b9_add_helper()
249 if (state->log != NULL) in dlz_create()
250 state->log(ISC_LOG_ERROR, in dlz_create()
287 if (state->log != NULL) in dlz_create()
288 state->log(ISC_LOG_INFO, "dlz_example: started for zone %s", in dlz_create()
307 if (state->log != NULL) in dlz_destroy()
308 state->log(ISC_LOG_INFO, in dlz_destroy()
[all …]
/minix3/crypto/external/bsd/heimdal/dist/tests/plugin/
H A Dcheck-pac.in72 > messages.log
92 > messages.log
109 grep "windc init" messages.log >/dev/null || \
112 echo "Getting client initial tickets"; > messages.log
115 echo "Getting tickets" ; > messages.log
117 echo "Verify PAC on server"; > messages.log
122 echo "Getting client initial tickets (pag)"; > messages.log
125 echo "Getting tickets" ; > messages.log
127 echo "Verify PAC on server (pag)"; > messages.log
132 echo "Getting client initial tickets (no pag)"; > messages.log
[all …]

12345678910>>...26