diff options
Diffstat (limited to 'lib/sg_pt_osf1.c')
-rw-r--r-- | lib/sg_pt_osf1.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/sg_pt_osf1.c b/lib/sg_pt_osf1.c index 99900fd3..3296e18b 100644 --- a/lib/sg_pt_osf1.c +++ b/lib/sg_pt_osf1.c @@ -650,3 +650,29 @@ do_nvm_pt(struct sg_pt_base * vp, int submq, int timeout_secs, int verbose) if (verbose) { } return SCSI_PT_DO_NOT_SUPPORTED; } + +int +check_pt_file_handle(int device_fd, const char * device_name, int vb) +{ + if (device_fd) {} + if (device_name) {} + if (vb) {} + return 0; +} + +/* If a NVMe block device (which includes the NSID) handle is associated + * with 'vp', then its NSID is returned (values range from 0x1 to + * 0xffffffe). Otherwise 0 is returned. */ +uint32_t +get_pt_nvme_nsid(const struct sg_pt_base * vp) +{ + if (vp) { } + return 0; +} + +uint32_t +get_pt_result(const struct sg_pt_base * vp) +{ + if (vp) { } + return 0; +} |