Lines Matching refs:rmtfd
59 struct rmtfd *rmtfd; in rmtfs_open() local
72 rmtfd = storage_open(pkt->node, req.path); in rmtfs_open()
73 if (!rmtfd) { in rmtfs_open()
78 caller_id = storage_get_caller_id(rmtfd); in rmtfs_open()
107 struct rmtfd *rmtfd; in rmtfs_close() local
119 rmtfd = storage_get(pkt->node, req.caller_id); in rmtfs_close()
120 if (!rmtfd) { in rmtfs_close()
125 storage_close(rmtfd); in rmtfs_close()
154 struct rmtfd *rmtfd; in rmtfs_iovec() local
183 rmtfd = storage_get(pkt->node, caller_id); in rmtfs_iovec()
184 if (!rmtfd) { in rmtfs_iovec()
199 n = storage_pwrite(rmtfd, buf, n, sector_base + offset); in rmtfs_iovec()
201 n = storage_pread(rmtfd, buf, SECTOR_SIZE, sector_base + offset); in rmtfs_iovec()
300 struct rmtfd *rmtfd; in rmtfs_get_dev_error() local
313 rmtfd = storage_get(pkt->node, req.caller_id); in rmtfs_get_dev_error()
314 if (rmtfd) { in rmtfs_get_dev_error()
319 resp.status = storage_get_error(rmtfd); in rmtfs_get_dev_error()