Lines Matching refs:uchar_t

76  * static int g_get_inq_dtype(char *, la_wwn_t, uchar_t *);
84 static int g_scsi_inquiry_cmd80(int, uchar_t *, int);
85 static int get_fca_inq_dtype(char *, la_wwn_t, uchar_t *);
95 static int get_wwn_data(di_node_t, uchar_t **, uchar_t **);
98 static int get_scsi_vhci_port_wwn(char *, uchar_t *);
99 static int search_wwn_entry(struct wwn_list_found_struct *, uchar_t *,
100 uchar_t *);
101 static int add_wwn_entry(struct wwn_list_found_struct **, uchar_t *,
102 uchar_t *);
103 static int string_to_wwn(uchar_t *, uchar_t *);
104 static int get_wwns(char *, uchar_t *, uchar_t *, int *,
146 static void copy_wwn_data_to_str(char *, const uchar_t *);
152 uchar_t *, uchar_t *, int, int);
153 static int update_map_dev_FCP_prop(impl_map_dev_prop_t **, uchar_t *, int, int);
157 static u_longlong_t wwnConversion(uchar_t *wwn);
159 uchar_t g_switch_to_alpa[] = {
175 uchar_t g_sf_alpa_to_switch[] = {
385 get_scsi_vhci_port_wwn(char *phys_path, uchar_t *port_wwn)
424 return (string_to_wwn((uchar_t *)pwwn1, port_wwn));
436 search_wwn_entry(struct wwn_list_found_struct *wwn_list_found, uchar_t *pwwn,
437 uchar_t *nwwn)
455 add_wwn_entry(struct wwn_list_found_struct **wwn_list_found, uchar_t *pwwn,
456 uchar_t *nwwn)
502 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE];
1340 g_get_inq_dtype(char *fcapath, la_wwn_t pwwn, uchar_t *inq_dtype)
1428 get_fca_inq_dtype(char *fcapath, la_wwn_t pwwn, uchar_t *inq_dtype)
1784 (uchar_t)fp_hba_port.dev_did.port_id;
1786 priv_port.sf_hard_address = (uchar_t)
1817 = (uchar_t)dev_list->dev_did.port_id;
1821 = (uchar_t)dev_list->dev_hard_addr.hard_addr;
1906 uchar_t *port_wwn, uchar_t *node_wwn, int port_addr, int hard_addr)
1909 uchar_t *port_wwn_data, *node_wwn_data;
1950 if ((port_wwn_data = (uchar_t *)calloc(1, FC_WWN_SIZE)) == NULL) {
1970 if ((node_wwn_data = (uchar_t *)calloc(
2018 uchar_t *inq_dtype, int err, int exist)
2021 uchar_t *inq_dtype_data;
2035 if ((inq_dtype_data = (uchar_t *)calloc(
2036 1, sizeof (uchar_t))) == NULL) {
2040 memcpy(inq_dtype_data, inq_dtype, sizeof (uchar_t));
2043 prop_ptr->prop_size = sizeof (uchar_t);
2053 free((uchar_t *)(old_prop_ptr->prop_data));
2080 uchar_t inq_dtype;
2773 free((uchar_t *)(lp->prop_data));
2921 * This function passes back uchar_t type property and its count.
2929 int *prop_data_count, uchar_t **prop_data)
2957 *prop_data = (uchar_t *)(impl_prop->prop_data);
3190 * This function passes back uchar_t type property and its count.
3198 uchar_t **prop_data)
3216 *prop_data = (uchar_t *)(impl_prop->prop_data);
3327 uchar_t i, *port_wwn_byte;
3730 static u_longlong_t wwnConversion(uchar_t *wwn)
3747 get_wwns(char *path_phys, uchar_t port_wwn[], uchar_t node_wwn[], int *al_pa,
3755 uchar_t *port_wwn_byte, *node_wwn_byte;
3918 g_get_wwn(char *path_phys, uchar_t port_wwn[], uchar_t node_wwn[],
3939 g_get_serial_number(char *path, uchar_t *serial_number,
3968 (uchar_t *)&inq80,
4016 (uchar_t *)l_inquiry, sizeof (struct l_inquiry_struct));
4026 g_scsi_inquiry_cmd80(int fd, uchar_t *buf_ptr, int buf_len)
4034 cdb.count = (uchar_t)buf_len;
4055 uchar_t *data;
4060 cdb.count = (uchar_t)(sizeof (L_inquiry00));
4072 data = (uchar_t *)&inq00;
4083 g_get_perf_statistics(char *path, uchar_t *perf_ptr)
4178 g_string_to_wwn(uchar_t *wwn, uchar_t *wwnp)
4201 * Input: string - pointer to uchar_t array
4204 * Output: wwn - pointer to uchar_t array
4212 string_to_wwn(uchar_t *string, uchar_t *wwn)
4216 uchar_t *wwnp;
4560 uchar_t port = 0;
5539 uchar_t *nwwn = NULL, *pwwn = NULL;
5540 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE];
5694 get_wwn_data(di_node_t node, uchar_t **nwwn, uchar_t **pwwn)
5846 uchar_t *pwwn = NULL;
5949 * from_ptr: ptr to uchar_t array of size WWN_SIZE
5953 copy_wwn_data_to_str(char *to_ptr, const uchar_t *from_ptr)