Lines Matching defs:file
73 * Stand-alone file reading package.
105 * In-core open file.
107 struct file {
137 * Read a new inode into a file structure.
144 struct file *fp = (struct file *)f->f_fsdata;
192 * Given an offset in a file, find the disk block number that
201 struct file *fp = (struct file *)f->f_fsdata;
298 * Write a portion of a file from an internal buffer.
306 struct file *fp = (struct file *)f->f_fsdata;
330 * Truncate buffer at end of file, and at the end of
375 * Read a portion of a file into an internal buffer. Return
384 struct file *fp = (struct file *)f->f_fsdata;
428 * But truncate buffer at end of file.
446 struct file *fp = (struct file *)f->f_fsdata;
485 * Open a file.
495 struct file *fp;
504 /* allocate file system specific data structure */
505 fp = malloc(sizeof(struct file));
506 bzero(fp, sizeof(struct file));
634 * Read file for symbolic link
694 struct file *fp = (struct file *)f->f_fsdata;
698 if (fp == (struct file *)0)
713 * Copy a portion of a file into kernel memory.
723 struct file *fp = (struct file *)f->f_fsdata;
754 * Write to a portion of an already allocated file.
756 * extend the file.
765 struct file *fp = (struct file *)f->f_fsdata;
796 struct file *fp = (struct file *)f->f_fsdata;
820 struct file *fp = (struct file *)f->f_fsdata;
833 struct file *fp = (struct file *)f->f_fsdata;