Searched refs:min_index (Results 1 – 5 of 5) sorted by relevance
389 drmach_array_new(uint_t min_index, uint_t max_index) in drmach_array_new() argument395 arr->arr_sz = (max_index - min_index + 1) * sizeof (void *); in drmach_array_new()397 arr->min_index = min_index; in drmach_array_new()411 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_set()413 arr->arr[idx - arr->min_index] = val; in drmach_array_set()424 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_get()426 *val = arr->arr[idx - arr->min_index]; in drmach_array_get()435 *idx = arr->min_index; in drmach_array_first()
111 int min_index; member
117 int min_index; member842 drmach_array_new(int min_index, int max_index) in drmach_array_new() argument848 arr->arr_sz = (max_index - min_index + 1) * sizeof (void *); in drmach_array_new()850 arr->min_index = min_index; in drmach_array_new()864 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_set()867 arr->arr[idx - arr->min_index] = val; in drmach_array_set()876 if (idx < arr->min_index || idx > arr->max_index) in drmach_array_get()879 *val = arr->arr[idx - arr->min_index]; in drmach_array_get()890 *idx = arr->min_index; in drmach_array_first()
992 uint_t min, min_index; in uhci_allocate_bandwidth() local1058 min_index = 0; in uhci_allocate_bandwidth()1063 min_index = i; in uhci_allocate_bandwidth()1070 "The smallest bandwidth %d", min_index, min); in uhci_allocate_bandwidth()1080 *node = uhci_tree_bottom_nodes[min_index]; in uhci_allocate_bandwidth()1131 min_index = 0; in uhci_allocate_bandwidth()1136 min_index = i; in uhci_allocate_bandwidth()
3244 uint_t min, min_index, height; in ohci_allocate_bandwidth() local3307 min_index = 0; in ohci_allocate_bandwidth()3312 min_index = i; in ohci_allocate_bandwidth()3318 "The leaf %d for minimal bandwidth %d", min_index, min); in ohci_allocate_bandwidth()3321 min_index = min_index + NUM_INTR_ED_LISTS - 1; in ohci_allocate_bandwidth()3332 *node = min_index; in ohci_allocate_bandwidth()3373 min_index = 0; in ohci_allocate_bandwidth()3378 min_index = i; in ohci_allocate_bandwidth()