Home
last modified time | relevance | path

Searched refs:smp_target_t (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/lib/scsi/libsmp/common/
H A Dlibsmp.h77 typedef struct smp_target smp_target_t; typedef
85 extern smp_target_t *smp_open(const smp_target_def_t *);
86 extern uint_t smp_target_getcap(const smp_target_t *);
87 extern uint16_t smp_target_get_change_count(const smp_target_t *);
88 extern void smp_target_set_change_count(smp_target_t *, uint16_t);
89 extern uint8_t smp_target_get_number_of_phys(const smp_target_t *);
90 extern uint16_t smp_target_get_exp_route_indexes(const smp_target_t *);
91 extern const char *smp_target_vendor(const smp_target_t *);
92 extern const char *smp_target_product(const smp_target_t *);
93 extern const char *smp_target_revision(const smp_target_t *);
[all …]
H A Dsmp_engine.c263 smp_target_t *
267 smp_target_t *tp; in smp_open()
279 if ((tp = smp_zalloc(sizeof (smp_target_t))) == NULL) { in smp_open()
305 smp_target_name(const smp_target_t *tp, char *buf, size_t len) in smp_target_name()
311 smp_target_addr(const smp_target_t *tp) in smp_target_addr()
317 smp_target_vendor(const smp_target_t *tp) in smp_target_vendor()
323 smp_target_product(const smp_target_t *tp) in smp_target_product()
329 smp_target_revision(const smp_target_t *tp) in smp_target_revision()
335 smp_target_component_vendor(const smp_target_t *tp) in smp_target_component_vendor()
341 smp_target_component_id(const smp_target_t *tp) in smp_target_component_id()
[all …]
H A Dlibsmp_plugin.h87 size_t (*sfd_rq_len)(size_t, smp_target_t *);
88 off_t (*sfd_rq_dataoff)(smp_action_t *, smp_target_t *);
89 void (*sfd_rq_setframe)(smp_action_t *, smp_target_t *);
90 size_t (*sfd_rs_datalen)(smp_action_t *, smp_target_t *);
91 off_t (*sfd_rs_dataoff)(smp_action_t *, smp_target_t *);
92 void (*sfd_rs_getparams)(smp_action_t *, smp_target_t *);
H A Dsmp_plugin.c51 smp_report_general(smp_target_t *tp) in smp_report_general()
81 smp_report_manufacturer_information(smp_target_t *tp) in smp_report_manufacturer_information()
134 smp_target_fill(smp_target_t *tp) in smp_target_fill()
144 smp_get_funcdef(smp_target_t *tp, int fn) in smp_get_funcdef()
210 smp_plugin_loadone(smp_target_t *tp, const char *path, uint32_t pass) in smp_plugin_loadone()
265 smp_plugin_load_dir(smp_target_t *tp, const char *pluginroot) in smp_plugin_load_dir()
376 smp_plugin_load(smp_target_t *tp) in smp_plugin_load()
414 smp_plugin_unload(smp_target_t *tp) in smp_plugin_unload()
H A Dsmp_impl.h64 smp_target_t *sp_target;
116 extern int smp_plugin_load(smp_target_t *);
117 extern void smp_plugin_unload(smp_target_t *);
/titanic_41/usr/src/lib/scsi/plugins/smp/sas2/common/
H A Dsas2_functions.c37 sas2_rq_len(size_t user, smp_target_t *tp) in sas2_rq_len()
49 sas2_rq_dataoff(smp_action_t *ap, smp_target_t *tp) in sas2_rq_dataoff()
62 sas2_rq_setframe(smp_action_t *ap, smp_target_t *tp) in sas2_rq_setframe()
107 sas2_rs_datalen(smp_action_t *ap, smp_target_t *tp) in sas2_rs_datalen()
129 sas2_rs_dataoff(smp_action_t *ap, smp_target_t *tp) in sas2_rs_dataoff()
142 sas2_rs_getparams(smp_action_t *ap, smp_target_t *tp) in sas2_rs_getparams()
167 sas2_report_general_rs_datalen(smp_action_t *ap, smp_target_t *tp) in sas2_report_general_rs_datalen()
191 sas2_report_manufacturer_info_rs_datalen(smp_action_t *ap, smp_target_t *tp) in sas2_report_manufacturer_info_rs_datalen()
215 sas2_report_self_config_status_rq_len(size_t user, smp_target_t *tp) in sas2_report_self_config_status_rq_len()
227 sas2_report_zone_perm_table_rq_len(size_t user, smp_target_t *tp) in sas2_report_zone_perm_table_rq_len()
[all …]
/titanic_41/usr/src/cmd/scsi/smp/common/
H A Dsmp.c49 static smp_target_t *tp = NULL;