Lines Matching refs:cookie
26 fscookie *cookie; member
32 filecookie *cookie; member
37 dircookie *cookie; member
93 mount->api->unmount(mount->cookie); in put_mount()
128 fscookie *cookie; in mount() local
129 status_t err = api->mount(dev, &cookie); in mount()
148 mount->cookie = cookie; in mount()
219 filecookie *cookie; in fs_open_file() local
220 status_t err = mount->api->open(mount->cookie, newpath, &cookie); in fs_open_file()
227 f->cookie = cookie; in fs_open_file()
242 return handle->mount->api->file_ioctl(handle->cookie, request, argp); in fs_file_ioctl()
261 filecookie *cookie; in fs_create_file() local
262 status_t err = mount->api->create(mount->cookie, newpath, &cookie, len); in fs_create_file()
273 f->cookie = cookie; in fs_create_file()
286 return handle->mount->api->truncate(handle->cookie, len); in fs_truncate_file()
305 status_t err = mount->api->remove(mount->cookie, newpath); in fs_remove_file()
313 return handle->mount->api->read(handle->cookie, buf, offset, len); in fs_read_file()
320 return handle->mount->api->write(handle->cookie, buf, offset, len); in fs_write_file()
324 status_t err = handle->mount->api->close(handle->cookie); in fs_close_file()
334 return handle->mount->api->stat(handle->cookie, stat); in fs_stat_file()
353 status_t err = mount->api->mkdir(mount->cookie, newpath); in fs_make_dir()
380 dircookie *cookie; in fs_open_dir() local
381 status_t err = mount->api->opendir(mount->cookie, newpath, &cookie); in fs_open_dir()
392 d->cookie = cookie; in fs_open_dir()
403 return handle->mount->api->readdir(handle->cookie, ent); in fs_read_dir()
410 status_t err = handle->mount->api->closedir(handle->cookie); in fs_close_dir()
437 status_t result = mount->api->fs_stat(mount->cookie, stat); in fs_stat_fs()