Lines Matching refs:entry
52 * For example, if we want to inject error at the 3rd entry in function
64 * are rejected. Non-digit strings are accepted for entry point and
101 * Maximum number of error injection entry points
116 /* Termination entry, must exist */
132 * Returns ESBD_NOERROR after setting the correct entry in the error
143 uint_t entry;
173 * pointer so it points to the begining of the entry string.
178 * Now entry_str points to the begining of the entry string.
206 * non-number input for entry point, and translate it to 0.
208 entry = (uint_t)sbdp_strtoi(entry_str, NULL);
210 if (entry >= sbdp_error_matrix[index].num_entries) {
221 SBDP_DBG_ERR("%s: index = %d, entry = %d, value = %d\n",
222 f, index, entry, value);
225 * Set value at the right entry.
227 sbdp_error_matrix[index].entries[entry] = value;
253 sbdp_inject_error(const char *func_name, uint_t entry)
288 * Don't inject error if can't find the entry.
290 if (entry >= sbdp_error_matrix[index].num_entries) {
295 value = sbdp_error_matrix[index].entries[entry];
304 SBDP_DBG_ERR("%s: function=%s entry=%d value=%d\n",
305 f, func_name, entry, value);