Searched refs:fd_pos (Results 1 – 1 of 1) sorted by relevance
54 off_t fd_pos; member211 fds[i].fd_pos = 0; in bbootfs_open()226 fds[fd].fd_pos = 0; in bbootfs_close()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()250 fdp->fd_pos += len; in bbootfs_read()265 fdp->fd_pos += addr; in bbootfs_lseek()268 fdp->fd_pos = addr; in bbootfs_lseek()[all …]