Home
last modified time | relevance | path

Searched refs:fd_file (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/common/fs/
H A Dbootfsops.c53 bfile_t *fd_file; member
209 if (fds[i].fd_file == NULL) { in bbootfs_open()
210 fds[i].fd_file = fp; in bbootfs_open()
222 if (fds[fd].fd_file == NULL) in bbootfs_close()
225 fds[fd].fd_file = NULL; in bbootfs_close()
237 if (fdp->fd_file == NULL) in bbootfs_read()
240 if (fdp->fd_pos >= fdp->fd_file->bf_size) in bbootfs_read()
243 if (fdp->fd_pos + size > fdp->fd_file->bf_size) in bbootfs_read()
244 len = fdp->fd_file->bf_size - fdp->fd_pos; in bbootfs_read()
248 bcopy(fdp->fd_file->bf_addr + fdp->fd_pos, buf, len); in bbootfs_read()
[all …]