Lines Matching defs:array

157 	[BPF_MAP_TYPE_ARRAY]			= "array",
1896 pr_warn("extern (kcfg) '%s': value '%s' implies char array type\n",
2198 case BTF_KIND_ARRAY: return "array";
2226 * represented using a pointer to an array, in which dimensionality of array
2414 const char *desc = is_map_in_map ? "map-in-map inner" : "prog-array value";
2429 pr_warn("map '%s': should be map-in-map or prog-array.\n",
2446 pr_warn("map '%s': %s spec is not a zero-sized array.\n",
2459 pr_warn("map '%s': prog-array value def is of unexpected kind %s.\n",
3113 * whether to make global data BPF array maps as
3678 * include sec #0, it is already the necessary size of an array to keep
4988 pr_warn("Error in %s():%s(%d). Couldn't create simple array map.\n",
5168 pr_warn("Error in %s():%s(%d). Couldn't create simple array map.\n",
6328 * where lower 123 is map index into obj->maps[] array
6355 * where lower 123 is extern index into obj->externs[] array
6640 /* After insn_idx adjustment the 'relos' array is still sorted
6804 * instruction array. Then main program is "put on hold" while we recursively
6812 * positions within finalized instructions array are known, so it's easy to
9402 /* try to shrink the array, but it's ok if we couldn't */
10025 const struct btf_array *array;
10050 /* verify last var in the datasec is an array */
10055 pr_warn("map '%s': cannot be resized, last var must be an array\n",
10060 /* verify request size aligns with array */
10061 array = btf_array(array_type);
10062 element_sz = btf__resolve_size(btf, array->type);
10069 /* create a new array based on the existing array, but with new length */
10071 new_array_id = btf__add_array(btf, array->index_type, array->type, nr_elements);