Lines Matching defs:file
42 * @dentry: main debugfs entry, either a directory or data file
44 * @name: data file basename
47 * of debugfs. There are directory and data file nodes. The latter represent
48 * the actual synthesized data file plus any associated symbolic links which
142 * either a data set for a loaded object file or a data set copy in case
178 static int gcov_seq_open(struct inode *inode, struct file *file)
198 rc = seq_open(file, &gcov_seq_ops);
201 seq = file->private_data;
218 static int gcov_seq_release(struct inode *inode, struct file *file)
224 seq = file->private_data;
229 seq_release(inode, file);
235 * Find a node by the associated data file name. Needs to be called with
269 * corresponding file. If all associated object files have been unloaded,
272 static ssize_t gcov_seq_write(struct file *file, const char __user *addr,
279 seq = file->private_data;
290 /* Reset counts for open file. */
298 * Given a string <path> representing a file path of format:
299 * path/to/file.gcda
301 * <dir/>path/to/file.<ext>
326 * gcov data file name and link type. Depending on the link type and the
327 * location of the data file, the link target can either point to a
364 * gcov tool expects to find in the same directory as the gcov data file.
444 /* Differentiate between gcov data file nodes and directory nodes. */
522 * write() implementation for reset file. Reset all profiling data to zero
525 static ssize_t reset_write(struct file *file, const char __user *addr,
546 /* read() implementation for reset file. Unused. */
547 static ssize_t reset_read(struct file *file, char __user *addr, size_t len,
597 /* Create file node. */
648 * Two different versions of the same object file are loaded.
758 * /sys/kernel/debug/gcov will be parent for the reset control file
763 * Create reset file which resets all profiling counts when written