Lines Matching defs:error

90 	int			 error = 0;
129 error = le_event(unit, event);
133 error = inquiry_result(unit, event);
137 error = con_compl(unit, event);
141 error = con_req(unit, event);
145 error = discon_compl(unit, event);
149 error = encryption_change(unit, event);
153 error = read_remote_features_compl(unit, event);
157 error = qos_setup_compl(unit, event);
161 error = ng_hci_process_command_complete(unit, event);
165 error = ng_hci_process_command_status(unit, event);
169 error = hardware_error(unit, event);
173 error = role_change(unit, event);
177 error = num_compl_pkts(unit, event);
181 error = mode_change(unit, event);
185 error = data_buffer_overflow(unit, event);
189 error = read_clock_offset_compl(unit, event);
193 error = qos_violation(unit, event);
197 error = page_scan_mode_change(unit, event);
201 error = page_scan_rep_mode_change(unit, event);
206 error = EINVAL;
210 return (error);
259 int min_pending, total_sent, sent, error, v;
315 error = ENOTCONN;
323 NG_FWD_ITEM_HOOK(error, item, unit->drv);
326 if (error != 0) {
328 "%s: %s - could not send data packet, handle=%d, error=%d\n",
330 winner->con_handle, error);
357 int error;
372 NG_SEND_MSG_HOOK(error, unit->node, msg, hook, 0);
374 return (error);
384 int error = 0;
404 error = ENOBUFS;
419 error = ENOMEM;
468 return (error);
473 int error = 0;
523 error = ENOMEM;
531 error = ng_hci_lp_con_ind(con, uclass);
532 if (error != 0) {
538 } else if ((error = ng_hci_con_untimeout(con)) != 0)
567 return (error);
573 int error = 0;
577 return error;
583 int error = 0;
611 return error;
621 int error = 0;
641 error = ENOMEM;
672 return (error);
681 int error = 0;
725 error = ENOMEM;
730 } else if ((error = ng_hci_con_untimeout(con)) != 0)
798 return (error);
807 int error = 0;
872 error = ng_hci_lp_con_ind(con, ep->uclass);
873 if (error != 0) {
878 error = ENOMEM;
883 return (error);
892 int error = 0;
912 error = ng_hci_lp_discon_ind(con, ep->reason);
923 error = ENOENT;
929 return (error);
938 int error = 0;
954 error = ENOENT;
960 error = EINVAL;
976 return (error);
987 int error = 0;
1003 error = ENOENT;
1012 error = ENOMEM;
1029 return (error);
1039 int error = 0;
1054 error = ENOENT;
1059 error = EINVAL;
1065 error = EINVAL;
1067 error = ng_hci_lp_qos_cfm(con, ep->status);
1071 return (error);
1074 /* Hardware error event */
1079 "%s: %s - hardware error %#x\n",
1188 int error = 0;
1204 error = ENOENT;
1210 error = EINVAL;
1220 return (error);
1244 int error = 0;
1260 error = ENOENT;
1269 error = ENOMEM;
1286 return (error);
1296 int error = 0;
1311 error = ENOENT;
1316 error = EINVAL;
1321 error = EINVAL;
1323 error = ng_hci_lp_qos_ind(con);
1327 return (error);
1336 int error = 0;
1349 error = ENOMEM;
1362 return (error);
1371 int error = 0;
1384 error = ENOMEM;
1397 return (error);