Lines Matching refs:inf
185 struct log_data *inf;
209 if (!(inf = *((struct log_data **) file->private_data)))
212 inf->usage_cnt--; /* new usage count */
213 file->private_data = &inf->next; /* next structure */
214 if ((len = strlen(inf->log_start)) <= count) {
215 if (copy_to_user(buf, inf->log_start, len))
277 struct log_data *inf;
290 inf = *((struct log_data **) filep->private_data); /* get first log entry */
291 if (inf)
292 pd = (struct procdata *) inf->proc_ctrl; /* still entries there */
308 while (inf) {
309 inf->usage_cnt--; /* decrement usage count for buffers */
310 inf = inf->next;
316 inf = pd->log_head;
318 kfree(inf);