Lines Matching defs:map

92 	/* Update existing element, though the map is full. */
124 /* Check that map is empty. */
258 /* Check that map is empty. */
346 "next_key for second map must succeed",
554 /* Queue map does not support BPF_F_NO_PREALLOC */
610 /* Stack map does not support BPF_F_NO_PREALLOC */
743 printf("%s SKIP (unsupported map type BPF_MAP_TYPE_SOCKMAP)\n",
849 printf("Failed to load map rx from verdict prog\n");
855 printf("Failed to get map rx fd\n");
861 printf("Failed to load map tx from verdict prog\n");
867 printf("Failed to get map tx fd\n");
873 printf("Failed to load map msg from msg_verdict prog\n");
879 printf("Failed to get map msg fd\n");
885 printf("Failed to load map tx from verdict prog\n");
891 printf("Failed to get map tx fd\n");
898 printf("Allowed attaching SK_SKB program to invalid map\n");
929 /* Test map update elem afterwards fd lives in fd and map_fd */
945 /* Test map delete elem and remove send/recv sockets */
961 /* Put sfd[2] (sending fd below) into msg map to test sendmsg bpf */
969 /* Test map send/recv */
1121 /* Test map close sockets and empty maps */
1155 struct bpf_map *map;
1171 map = bpf_object__find_map_by_name(obj, "mim_array");
1172 if (!map) {
1176 err = bpf_map__set_inner_map_fd(map, fd);
1182 map = bpf_object__find_map_by_name(obj, "mim_hash");
1183 if (!map) {
1187 err = bpf_map__set_inner_map_fd(map, fd);
1199 map = bpf_object__find_map_by_name(obj, "mim_array");
1200 if (!map) {
1204 mim_fd = bpf_map__fd(map);
1216 map = bpf_object__find_map_by_name(obj, "mim_hash");
1217 if (!map) {
1221 mim_fd = bpf_map__fd(map);
1237 /* Test that failing bpf_object__create_map() destroys the inner map */
1246 map = bpf_object__find_map_by_name(obj, "mim");
1247 if (!map) {
1262 /* Iterate over all maps to check whether the internal map
1270 printf("Failed to get next map: %d", errno);
1278 printf("Failed to get map by id %u: %d", id, errno);
1284 printf("Failed to get map info by fd %d: %d", fd,
1290 printf("Inner map mim.inner was not destroyed\n");
1321 printf("Failed to create large map '%s'!\n", strerror(errno));
1477 printf("Failed to create map for parallel test '%s'!\n",
1483 /* Use the same fd in children to add elements to this map:
1538 printf("Failed to create map for read only test '%s'!\n",
1567 printf("Failed to create map for write only test '%s'!\n",
1577 /* Check that reading elements and keys from the map is not allowed. */
1602 printf("Failed to create map '%s'!\n", strerror(errno));
1857 /* Close the 64 bit value map */