Lines Matching defs:file
3 * inode.c - part of tracefs, a pseudo file system for activating tracing
9 * tracefs is the file system that is used by the tracing infrastructure.
31 static ssize_t default_read_file(struct file *file, char __user *buf,
37 static ssize_t default_write_file(struct file *file, const char __user *buf,
175 * or remounting the file system, to set all the files to
405 pr_debug("tracefs: creating file '%s'\n",name);
453 * tracefs_create_file - create a file in the tracefs filesystem
454 * @name: a pointer to a string containing the name of the file to create.
455 * @mode: the permission that the file should have.
456 * @parent: a pointer to the parent dentry for this file. This should be a
458 * file will be created in the root of the tracefs filesystem.
463 * this file.
465 * This is the basic "create a file" function for tracefs. It allows for a
466 * wide range of flexibility in creating a file, or a directory (if you want
471 * pointer must be passed to the tracefs_remove() function when the file is
542 * @parent: a pointer to the parent dentry for this file. This should be a
549 * pointer must be passed to the tracefs_remove() function when the file is