Searched refs:smedia_handle_t (Results 1 – 6 of 6) sorted by relevance
/titanic_44/usr/src/lib/libsmedia/library/inc/ |
H A D | smedia.h | 54 typedef void *smedia_handle_t; typedef 137 int smedia_get_device_info(smedia_handle_t handle, smdevice_info_t *smdevinfop); 138 int smedia_free_device_info(smedia_handle_t handle, 140 int smedia_get_medium_property(smedia_handle_t handle, 142 int smedia_get_protection_status(smedia_handle_t handle, 144 int smedia_set_protection_status(smedia_handle_t handle, 146 size_t smedia_raw_read(smedia_handle_t handle, diskaddr_t blockno, 149 size_t smedia_raw_write(smedia_handle_t handle, diskaddr_t blockno, 152 int smedia_format(smedia_handle_t handle, uint_t flavor, uint_t mode); 153 int smedia_check_format_status(smedia_handle_t handle); [all …]
|
/titanic_44/usr/src/lib/libsmedia/library/common/ |
H A D | l_generic.c | 45 extern smedia_handle_t get_handle(int fd); 46 extern smedia_handle_t get_handle_from_path(const char *, int32_t, int32_t); 47 extern smedia_handle_t get_handle_from_fd(int32_t fd); 51 smedia_get_device_info(smedia_handle_t handle, struct smdevice_info *dev_info) in smedia_get_device_info() 64 smedia_free_device_info(smedia_handle_t handle, struct smdevice_info *dev_info) in smedia_free_device_info() 77 smedia_get_medium_property(smedia_handle_t handle, smmedium_prop_t *med_info) in smedia_get_medium_property() 89 smedia_set_protection_status(smedia_handle_t handle, struct smwp_state *wp) in smedia_set_protection_status() 103 smedia_get_protection_status(smedia_handle_t handle, struct smwp_state *wp) in smedia_get_protection_status() 113 smedia_format(smedia_handle_t handle, uint32_t flavor, uint32_t mode) in smedia_format() 126 smedia_raw_read(smedia_handle_t handle, in smedia_raw_read() [all …]
|
H A D | l_misc.c | 338 smedia_handle_t 486 return ((smedia_handle_t)handle); in get_handle_from_fd() 490 return ((smedia_handle_t)handle); in get_handle_from_fd()
|
/titanic_44/usr/src/cmd/rmformat/ |
H A D | rmf_menu.c | 75 extern int32_t valid_slice_file(smedia_handle_t, int32_t, char *, 79 extern int32_t verify(smedia_handle_t handle, int32_t fd, 83 extern void write_default_label(smedia_handle_t, int32_t fd); 86 void overwrite_metadata(int32_t fd, smedia_handle_t handle); 98 static void process_F_flag(smedia_handle_t handle, int32_t fd); 99 static void process_w_flag(smedia_handle_t handle); 100 static void process_W_flag(smedia_handle_t handle); 101 static void process_R_flag(smedia_handle_t handle); 102 void process_p_flag(smedia_handle_t handle, int32_t fd); 103 static void process_c_flag(smedia_handle_t handle); [all …]
|
H A D | rmf_slice.c | 139 static int32_t check_vtoc_sanity(smedia_handle_t, int32_t fd, 143 static int32_t get_fdisk(smedia_handle_t, int32_t fd, int32_t offset, 145 static void erase(smedia_handle_t handle, diskaddr_t offset, diskaddr_t size); 788 valid_slice_file(smedia_handle_t handle, int32_t fd, char *file_name, in valid_slice_file() 871 check_vtoc_sanity(smedia_handle_t handle, int32_t fd, struct extvtoc *vt) in check_vtoc_sanity() 1116 get_fdisk(smedia_handle_t handle, int32_t fd, int32_t offset, in get_fdisk() 1245 write_default_label(smedia_handle_t handle, int32_t fd) in write_default_label() 1322 write_default_label(smedia_handle_t handle, int32_t fd) in write_default_label() 1511 overwrite_metadata(int32_t fd, smedia_handle_t handle) in overwrite_metadata() 1641 erase(smedia_handle_t handle, diskaddr_t offset, diskaddr_t size) in erase()
|
H A D | rmf_misc.c | 112 extern void process_p_flag(smedia_handle_t handle, int32_t fd); 786 smedia_handle_t handle; in write_sunos_label() 935 verify(smedia_handle_t handle, int32_t fd, diskaddr_t start_sector, in verify() 1997 smedia_handle_t handle; in get_media_info()
|