key_p 16 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c void *obj, *key_p; key_p 20 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c key_p = MLX5_ADDR_OF(encryption_key_obj, obj, key); key_p 31 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c key_p += sz_bytes; key_p 41 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c memcpy(key_p, key, sz_bytes); key_p 538 tools/testing/selftests/bpf/test_lpm_map.c struct bpf_lpm_trie_key *key_p, *next_key_p; key_p 543 tools/testing/selftests/bpf/test_lpm_map.c key_size = sizeof(*key_p) + sizeof(__u32); key_p 544 tools/testing/selftests/bpf/test_lpm_map.c key_p = alloca(key_size); key_p 552 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == -1 && key_p 556 tools/testing/selftests/bpf/test_lpm_map.c key_p->prefixlen = 16; key_p 557 tools/testing/selftests/bpf/test_lpm_map.c inet_pton(AF_INET, "192.168.0.0", key_p->data); key_p 558 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_update_elem(map_fd, key_p, &value, 0) == 0); key_p 560 tools/testing/selftests/bpf/test_lpm_map.c memset(key_p, 0, key_size); key_p 561 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); key_p 562 tools/testing/selftests/bpf/test_lpm_map.c assert(key_p->prefixlen == 16 && key_p->data[0] == 192 && key_p 563 tools/testing/selftests/bpf/test_lpm_map.c key_p->data[1] == 168); key_p 565 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && key_p 569 tools/testing/selftests/bpf/test_lpm_map.c key_p->prefixlen = 8; key_p 570 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); key_p 571 tools/testing/selftests/bpf/test_lpm_map.c assert(key_p->prefixlen == 16 && key_p->data[0] == 192 && key_p 572 tools/testing/selftests/bpf/test_lpm_map.c key_p->data[1] == 168); key_p 575 tools/testing/selftests/bpf/test_lpm_map.c key_p->prefixlen = 24; key_p 576 tools/testing/selftests/bpf/test_lpm_map.c inet_pton(AF_INET, "192.168.128.0", key_p->data); key_p 577 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_update_elem(map_fd, key_p, &value, 0) == 0); key_p 579 tools/testing/selftests/bpf/test_lpm_map.c memset(key_p, 0, key_size); key_p 580 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); key_p 581 tools/testing/selftests/bpf/test_lpm_map.c assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && key_p 582 tools/testing/selftests/bpf/test_lpm_map.c key_p->data[1] == 168 && key_p->data[2] == 128); key_p 585 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); key_p 589 tools/testing/selftests/bpf/test_lpm_map.c memcpy(key_p, next_key_p, key_size); key_p 590 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && key_p 594 tools/testing/selftests/bpf/test_lpm_map.c key_p->prefixlen = 24; key_p 595 tools/testing/selftests/bpf/test_lpm_map.c inet_pton(AF_INET, "192.168.0.0", key_p->data); key_p 596 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_update_elem(map_fd, key_p, &value, 0) == 0); key_p 598 tools/testing/selftests/bpf/test_lpm_map.c memset(key_p, 0, key_size); key_p 599 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); key_p 600 tools/testing/selftests/bpf/test_lpm_map.c assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && key_p 601 tools/testing/selftests/bpf/test_lpm_map.c key_p->data[1] == 168 && key_p->data[2] == 0); key_p 604 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); key_p 608 tools/testing/selftests/bpf/test_lpm_map.c memcpy(key_p, next_key_p, key_size); key_p 609 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); key_p 613 tools/testing/selftests/bpf/test_lpm_map.c memcpy(key_p, next_key_p, key_size); key_p 614 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && key_p 618 tools/testing/selftests/bpf/test_lpm_map.c key_p->prefixlen = 24; key_p 619 tools/testing/selftests/bpf/test_lpm_map.c inet_pton(AF_INET, "192.168.1.0", key_p->data); key_p 620 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_update_elem(map_fd, key_p, &value, 0) == 0); key_p 622 tools/testing/selftests/bpf/test_lpm_map.c memset(key_p, 0, key_size); key_p 623 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); key_p 624 tools/testing/selftests/bpf/test_lpm_map.c assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && key_p 625 tools/testing/selftests/bpf/test_lpm_map.c key_p->data[1] == 168 && key_p->data[2] == 0); key_p 628 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); key_p 632 tools/testing/selftests/bpf/test_lpm_map.c memcpy(key_p, next_key_p, key_size); key_p 633 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); key_p 637 tools/testing/selftests/bpf/test_lpm_map.c memcpy(key_p, next_key_p, key_size); key_p 638 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); key_p 642 tools/testing/selftests/bpf/test_lpm_map.c memcpy(key_p, next_key_p, key_size); key_p 643 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && key_p 647 tools/testing/selftests/bpf/test_lpm_map.c key_p->prefixlen = 28; key_p 648 tools/testing/selftests/bpf/test_lpm_map.c inet_pton(AF_INET, "192.168.1.128", key_p->data); key_p 649 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_update_elem(map_fd, key_p, &value, 0) == 0); key_p 651 tools/testing/selftests/bpf/test_lpm_map.c memset(key_p, 0, key_size); key_p 652 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, NULL, key_p) == 0); key_p 653 tools/testing/selftests/bpf/test_lpm_map.c assert(key_p->prefixlen == 24 && key_p->data[0] == 192 && key_p 654 tools/testing/selftests/bpf/test_lpm_map.c key_p->data[1] == 168 && key_p->data[2] == 0); key_p 657 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); key_p 662 tools/testing/selftests/bpf/test_lpm_map.c memcpy(key_p, next_key_p, key_size); key_p 663 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); key_p 667 tools/testing/selftests/bpf/test_lpm_map.c memcpy(key_p, next_key_p, key_size); key_p 668 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); key_p 672 tools/testing/selftests/bpf/test_lpm_map.c memcpy(key_p, next_key_p, key_size); key_p 673 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); key_p 677 tools/testing/selftests/bpf/test_lpm_map.c memcpy(key_p, next_key_p, key_size); key_p 678 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == -1 && key_p 682 tools/testing/selftests/bpf/test_lpm_map.c key_p->prefixlen = 22; key_p 683 tools/testing/selftests/bpf/test_lpm_map.c inet_pton(AF_INET, "192.168.1.0", key_p->data); key_p 684 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_get_next_key(map_fd, key_p, next_key_p) == 0); key_p 706 tools/testing/selftests/bpf/test_lpm_map.c struct bpf_lpm_trie_key *key_p; key_p 709 tools/testing/selftests/bpf/test_lpm_map.c key_p = alloca(key_size); key_p 716 tools/testing/selftests/bpf/test_lpm_map.c key_p->prefixlen = info->key[j].prefixlen; key_p 717 tools/testing/selftests/bpf/test_lpm_map.c memcpy(key_p->data, &info->key[j].data, sizeof(__u32)); key_p 721 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_update_elem(info->map_fd, key_p, &value, 0) == 0); key_p 723 tools/testing/selftests/bpf/test_lpm_map.c ret = bpf_map_delete_elem(info->map_fd, key_p); key_p 727 tools/testing/selftests/bpf/test_lpm_map.c ret = bpf_map_lookup_elem(info->map_fd, key_p, &value); key_p 731 tools/testing/selftests/bpf/test_lpm_map.c ret = bpf_map_get_next_key(info->map_fd, key_p, next_key_p);