err = os_write_file(req->io_fd, req->buf, req->len); 
err = os_write_file(aio->fd, aio->data, aio->len); 
static int do_not_aio(struct aio_thread_req *req){        char c;        int err;        switch(req->type){        case AIO_READ:                err = os_seek_file(req->io_fd, req->offset);                if(err)                        goto out;                err = os_read_file(req->io_fd, req->buf, req->len);                break;        case AIO_WRITE:                err = os_seek_file(req->io_fd, req->offset);                if(err)                        goto out;                err = os_write_file(req->io_fd, req->buf, req->len);                break;        case AIO_MMAP:                err = os_seek_file(req->io_fd, req->offset);                if(err)                        goto out;                err = os_read_file(req->io_fd, &c, sizeof(c));                break;        default:                printk("do_not_aio - bad request type : %d\n", req->type);                err = -EINVAL;                break;        } out:        return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/09ace81c1d737bcbb2423db235ac980cac4d5de9/aio.c/buggy/arch/um/os-Linux/aio.c