Lines Matching defs:log
3 * Linux driver for HYSDN cards, /proc/net filesystem log functions.
30 /* structure keeping ascii log for device output */
36 char log_start[2]; /* log string start (final len aligned by size) */
43 struct proc_dir_entry *log; /* log entry */
44 char log_name[15]; /* log filename */
54 /* log function for cards error log interface */
76 return; /* log structure non existent */
95 /* put an log buffer into the log queue. */
153 /* write log file -> set log level bits */
180 /* read log file */
199 if (pd->log == pde)
224 /* open log file */
237 if (pd->log == PDE(ino))
248 /* write only access -> write log level only */
251 /* read access -> log/debug read */
270 /* Otherwise file is handled as log output. In this case the interface usage */
287 /* read access -> log/debug read, mark one further file as closed */
290 inf = *((struct log_data **) filep->private_data); /* get first log entry */
298 if (pd->log == PDE(ino))
303 pd = card->proclog; /* pointer to procfs log */
344 if (pd->log == pde)
360 /* table for log filesystem functions defined above. */
387 pd->log = proc_create(pd->log_name,
409 if (pd->log)