Home
last modified time | relevance | path

Searched refs:res_arr (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_qos_parser_y.y2831 uint64_t ** res_arr; in __sort_reduce_rangearr() local
2867 res_arr = (uint64_t **)malloc(valid_cnt * sizeof(uint64_t *)); in __sort_reduce_rangearr()
2871 res_arr[j++] = arr[i]; in __sort_reduce_rangearr()
2876 *p_res_arr = res_arr; in __sort_reduce_rangearr()
2922 uint64_t ** res_arr = NULL; in __rangelist2rangearr() local
2937 &res_arr, in __rangelist2rangearr()
2939 *p_arr = res_arr; in __rangelist2rangearr()
2958 uint64_t ** res_arr = NULL; in __merge_rangearr() local
2975 &res_arr, in __merge_rangearr()
2977 *p_arr = res_arr; in __merge_rangearr()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_resource_tracker.c1231 struct res_common **res_arr; in add_res_range() local
1235 res_arr = kzalloc(count * sizeof *res_arr, GFP_KERNEL); in add_res_range()
1236 if (!res_arr) in add_res_range()
1240 res_arr[i] = alloc_tr(base + i, type, slave, extra); in add_res_range()
1241 if (!res_arr[i]) { in add_res_range()
1243 kfree(res_arr[i]); in add_res_range()
1245 kfree(res_arr); in add_res_range()
1256 err = res_tracker_insert(root, res_arr[i]); in add_res_range()
1259 list_add_tail(&res_arr[i]->list, in add_res_range()
1263 kfree(res_arr); in add_res_range()
[all …]