Lines Matching defs:array

146 	[BPF_MAP_TYPE_ARRAY]			= "array",
1799 pr_warn("extern (kcfg) '%s': value '%s' implies char array type\n",
2101 case BTF_KIND_ARRAY: return "array";
2129 * represented using a pointer to an array, in which dimensionality of array
2317 const char *desc = is_map_in_map ? "map-in-map inner" : "prog-array value";
2332 pr_warn("map '%s': should be map-in-map or prog-array.\n",
2349 pr_warn("map '%s': %s spec is not a zero-sized array.\n",
2362 pr_warn("map '%s': prog-array value def is of unexpected kind %s.\n",
2991 * whether to make global data BPF array maps as
3400 * include sec #0, it is already the necessary size of an array to keep
4583 pr_warn("Error in %s():%s(%d). Couldn't create simple array map.\n",
4763 pr_warn("Error in %s():%s(%d). Couldn't create simple array map.\n",
5923 * where lower 123 is map index into obj->maps[] array
5950 * where lower 123 is extern index into obj->externs[] array
6235 /* After insn_idx adjustment the 'relos' array is still sorted
6385 * instruction array. Then main program is "put on hold" while we recursively
6393 * positions within finalized instructions array are known, so it's easy to
8946 /* try to shrink the array, but it's ok if we couldn't */
9569 const struct btf_array *array;
9594 /* verify last var in the datasec is an array */
9599 pr_warn("map '%s': cannot be resized, last var must be an array\n",
9604 /* verify request size aligns with array */
9605 array = btf_array(array_type);
9606 element_sz = btf__resolve_size(btf, array->type);
9613 /* create a new array based on the existing array, but with new length */
9615 new_array_id = btf__add_array(btf, array->index_type, array->type, nr_elements);