Lines Matching refs:key
103 for key in 0 1 2; do
104 "$bpftool_path" map update name "$map_name" key $key 0 0 0 value 0 0 0 $key
118 local key="$4"
121 if ! "$bpftool_path" map lookup "$name_cmd" "$map_name" key $key 1>/dev/null; then
122 echo " Read access to $key in $map_name failed"
144 local key="$4"
148 if "$bpftool_path" map update "$name_cmd" "$map_name" key $key value \
151 echo " Write access to $key in $map_name succeeded but should have failed"
156 echo " Write access to $key in $map_name failed but should have succeeded"
173 local key="$4"
179 if ! "$bpftool_path" map lookup "$name_cmd" "$map_name" key $key 1>/dev/null; then
180 echo " Key $key does not exist in $map_name"
185 if "$bpftool_path" map delete "$name_cmd" "$map_name" key $key 2>/dev/null; then
187 echo " Deletion for $key in $map_name succeeded but should have failed"
192 echo " Deletion for $key in $map_name failed but should have succeeded"
198 if "$bpftool_path" map lookup "$name_cmd" "$map_name" key $key 1>/dev/null; then
200 echo " Key $key for $map_name was not deleted but should have been deleted"
205 echo "Key $key for $map_name was deleted but should have not been deleted"
212 if "$bpftool_path" map update "$name_cmd" "$map_name" key $key value \
215 echo " Write access to $key in $map_name succeeded after deletion attempt but should have failed"
220 echo " Write access to $key in $map_name failed after deletion attempt but should have succeeded"
321 "$bpftool_path" map create "$bpf_dir/$inner_map_name" type array key 4 \
329 key 4 value 4 entries 2 name "$outer_map_name" inner_map name "$inner_map_name"
336 "$bpftool_path" map update pinned "$bpf_dir/$outer_map_name" key 0 0 0 0 \
338 "$bpftool_path" map update name "$outer_map_name" key 1 0 0 0 value \
343 if "$bpftool_path" map update name "$outer_map_name" key 2 0 0 0 value name \
384 "$BPFTOOL_PATH" map update name prot_status_map key 0 0 0 0 value 1 0 0 0