Lines Matching defs:file
74 * Stand-alone file reading package.
106 * In-core open file.
108 struct file {
138 * Read a new inode into a file structure.
145 struct file *fp = (struct file *)f->f_fsdata;
193 * Given an offset in a file, find the disk block number that
202 struct file *fp = (struct file *)f->f_fsdata;
299 * Write a portion of a file from an internal buffer.
307 struct file *fp = (struct file *)f->f_fsdata;
331 * Truncate buffer at end of file, and at the end of
376 * Read a portion of a file into an internal buffer. Return
385 struct file *fp = (struct file *)f->f_fsdata;
429 * But truncate buffer at end of file.
447 struct file *fp = (struct file *)f->f_fsdata;
486 * Open a file.
496 struct file *fp;
505 /* allocate file system specific data structure */
506 fp = malloc(sizeof(struct file));
507 bzero(fp, sizeof(struct file));
635 * Read file for symbolic link
695 struct file *fp = (struct file *)f->f_fsdata;
699 if (fp == (struct file *)0)
714 * Copy a portion of a file into kernel memory.
724 struct file *fp = (struct file *)f->f_fsdata;
755 * Write to a portion of an already allocated file.
757 * extend the file.
766 struct file *fp = (struct file *)f->f_fsdata;
797 struct file *fp = (struct file *)f->f_fsdata;
821 struct file *fp = (struct file *)f->f_fsdata;
834 struct file *fp = (struct file *)f->f_fsdata;