Searched refs:key (Results 201 - 225 of 3065) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/riscv/hwprobe/
H A Dwhich-cpus.c22 "which-cpus: [-h] [<key=value> [<key=value> ...]]\n\n"
25 " <key=value>, outputs the cpulist for cpus which all match the given set\n"
26 " of pairs. 'key' and 'value' should be in numeric form, e.g. 4=0x3b\n");
71 pairs[i].key = strtol(start, &end, 0);
105 pairs[0] = (struct riscv_hwprobe){ .key = RISCV_HWPROBE_KEY_BASE_BEHAVIOR, };
107 assert(rc == 0 && pairs[0].key == RISCV_HWPROBE_KEY_BASE_BEHAVIOR &&
110 pairs[0] = (struct riscv_hwprobe){ .key = RISCV_HWPROBE_KEY_IMA_EXT_0, };
112 assert(rc == 0 && pairs[0].key == RISCV_HWPROBE_KEY_IMA_EXT_0);
115 pairs[0] = (struct riscv_hwprobe){ .key
[all...]
/linux-master/fs/btrfs/
H A Dprint-tree.h17 const char *btrfs_root_name(const struct btrfs_key *key, char *buf);
H A Dtree-checker.c40 * It's recommended to decode key.objecitd/offset if it's
77 * Customized reporter for extent data item, since its key objectid and
86 struct btrfs_key key; local
90 btrfs_item_key_to_cpu(eb, &key, slot);
101 key.objectid, key.offset, &vaf);
121 struct btrfs_key *key,
129 end = ALIGN(key->offset + len, leaf->fs_info->sectorsize);
132 end = key->offset + len;
139 * key
120 file_extent_end(struct extent_buffer *leaf, struct btrfs_key *key, struct btrfs_file_extent_item *extent) argument
147 struct btrfs_key key; local
175 check_prev_ino(struct extent_buffer *leaf, struct btrfs_key *key, int slot, struct btrfs_key *prev_key) argument
206 check_extent_data_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot, struct btrfs_key *prev_key) argument
346 check_csum_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot, struct btrfs_key *prev_key) argument
392 check_inode_key(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
444 check_root_key(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
502 check_dir_item(struct extent_buffer *leaf, struct btrfs_key *key, struct btrfs_key *prev_key, int slot) argument
643 struct btrfs_key key; local
662 check_block_group_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
963 check_leaf_chunk_item(struct extent_buffer *leaf, struct btrfs_chunk *chunk, struct btrfs_key *key, int slot) argument
1000 struct btrfs_key key; local
1019 check_dev_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
1066 check_inode_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
1155 check_root_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
1247 struct btrfs_key key; local
1274 check_extent_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot, struct btrfs_key *prev_key) argument
1560 check_simple_keyed_refs(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
1591 check_extent_data_ref(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
1632 check_inode_ref(struct extent_buffer *leaf, struct btrfs_key *key, struct btrfs_key *prev_key, int slot) argument
1682 check_raid_stripe_extent(const struct extent_buffer *leaf, const struct btrfs_key *key, int slot) argument
1723 check_leaf_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot, struct btrfs_key *prev_key) argument
1789 struct btrfs_key key; local
1955 struct btrfs_key key, next_key; local
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_crypto.c134 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; local
164 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i);
165 ret = adf_cfg_get_param_value(accel_dev, SEC, key, val);
173 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_BANK_NUM, i);
174 ret = adf_cfg_get_param_value(accel_dev, SEC, key, val);
182 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i);
183 ret = adf_cfg_get_param_value(accel_dev, SEC, key, va
[all...]
/linux-master/net/sched/
H A Dcls_flower.c85 struct fl_flow_key key; member in struct:fl_flow_mask
120 struct fl_flow_key key; member in struct:cls_fl_filter
138 .key_offset = offsetof(struct fl_flow_mask, key),
151 const u8 *bytes = (const u8 *) &mask->key;
152 size_t size = sizeof(mask->key);
172 static void *fl_key_get_start(struct fl_flow_key *key, argument
175 return (u8 *) key + mask->range.start;
178 static void fl_set_masked_key(struct fl_flow_key *mkey, struct fl_flow_key *key, argument
181 const long *lkey = fl_key_get_start(key, mask);
182 const long *lmask = fl_key_get_start(&mask->key, mas
207 fl_clear_masked_range(struct fl_flow_key *key, struct fl_flow_mask *mask) argument
213 fl_range_port_dst_cmp(struct cls_fl_filter *filter, struct fl_flow_key *key, struct fl_flow_key *mkey) argument
236 fl_range_port_src_cmp(struct cls_fl_filter *filter, struct fl_flow_key *key, struct fl_flow_key *mkey) argument
266 fl_lookup_range(struct fl_flow_mask *mask, struct fl_flow_key *mkey, struct fl_flow_key *key) argument
287 fl_mask_lookup(struct fl_flow_mask *mask, struct fl_flow_key *key) argument
802 fl_set_key_spi(struct nlattr **tb, struct fl_flow_key *key, struct fl_flow_key *mask, struct netlink_ext_ack *extack) argument
820 fl_set_key_port_range(struct nlattr **tb, struct fl_flow_key *key, struct fl_flow_key *mask, struct netlink_ext_ack *extack) argument
1095 fl_set_key_pppoe(struct nlattr **tb, struct flow_dissector_key_pppoe *key_val, struct flow_dissector_key_pppoe *key_mask, struct fl_flow_key *key, struct fl_flow_key *mask) argument
1153 u32 key, mask; local
1176 fl_set_key_ip(struct nlattr **tb, bool encap, struct flow_dissector_key_ip *key, struct flow_dissector_key_ip *mask) argument
1189 fl_set_geneve_opt(const struct nlattr *nla, struct fl_flow_key *key, int depth, int option_len, struct netlink_ext_ack *extack) argument
1277 fl_set_vxlan_opt(const struct nlattr *nla, struct fl_flow_key *key, int depth, int option_len, struct netlink_ext_ack *extack) argument
1314 fl_set_erspan_opt(const struct nlattr *nla, struct fl_flow_key *key, int depth, int option_len, struct netlink_ext_ack *extack) argument
1379 fl_set_gtp_opt(const struct nlattr *nla, struct fl_flow_key *key, int depth, int option_len, struct netlink_ext_ack *extack) argument
1422 fl_set_enc_opt(struct nlattr **tb, struct fl_flow_key *key, struct fl_flow_key *mask, struct netlink_ext_ack *extack) argument
1630 fl_set_key_ct(struct nlattr **tb, struct flow_dissector_key_ct *key, struct flow_dissector_key_ct *mask, struct netlink_ext_ack *extack) argument
1684 is_vlan_key(struct nlattr *tb, __be16 *ethertype, struct fl_flow_key *key, struct fl_flow_key *mask, int vthresh) argument
1704 fl_set_key_cfm_md_level(struct nlattr **tb, struct fl_flow_key *key, struct fl_flow_key *mask, struct netlink_ext_ack *extack) argument
1719 fl_set_key_cfm_opcode(struct nlattr **tb, struct fl_flow_key *key, struct fl_flow_key *mask, struct netlink_ext_ack *extack) argument
1729 fl_set_key_cfm(struct nlattr **tb, struct fl_flow_key *key, struct fl_flow_key *mask, struct netlink_ext_ack *extack) argument
1751 fl_set_key(struct net *net, struct nlattr **tb, struct fl_flow_key *key, struct fl_flow_key *mask, struct netlink_ext_ack *extack) argument
2768 fl_dump_key_port_range(struct sk_buff *skb, struct fl_flow_key *key, struct fl_flow_key *mask) argument
2924 fl_dump_key_ip(struct sk_buff *skb, bool encap, struct flow_dissector_key_ip *key, struct flow_dissector_key_ip *mask) argument
2977 u32 key, mask; local
3120 fl_dump_key_ct(struct sk_buff *skb, struct flow_dissector_key_ct *key, struct flow_dissector_key_ct *mask) argument
3154 fl_dump_key_cfm(struct sk_buff *skb, struct flow_dissector_key_cfm *key, struct flow_dissector_key_cfm *mask) argument
3249 fl_dump_key(struct sk_buff *skb, struct net *net, struct fl_flow_key *key, struct fl_flow_key *mask) argument
3498 struct fl_flow_key *key, *mask; local
3596 struct fl_flow_key *key, *mask; local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dcg_storage_multi.c22 static bool assert_storage(struct bpf_map *map, const void *key, argument
30 if (CHECK(bpf_map_lookup_elem(map_fd, key, &value) < 0,
40 static bool assert_storage_noexist(struct bpf_map *map, const void *key) argument
47 if (CHECK(bpf_map_lookup_elem(map_fd, key, &value) == 0,
92 struct bpf_cgroup_storage_key key; local
96 key.attach_type = BPF_CGROUP_INET_EGRESS;
117 key.cgroup_inode_id = get_cgroup_id(PARENT_CGROUP);
120 &key, &expected_cgroup_value))
122 key.cgroup_inode_id = get_cgroup_id(CHILD_CGROUP);
123 if (assert_storage_noexist(obj->maps.cgroup_storage, &key))
162 struct bpf_cgroup_storage_key key; local
275 __u64 key; local
[all...]
/linux-master/fs/nfs/
H A Ddns_resolve.c75 struct nfs_dns_ent *key; local
78 key = container_of(ckey, struct nfs_dns_ent, h);
80 memcpy(&new->addr, &key->addr, key->addrlen);
81 new->addrlen = key->addrlen;
88 struct nfs_dns_ent *key; local
91 key = container_of(ckey, struct nfs_dns_ent, h);
94 new->hostname = kmemdup_nul(key->hostname, key->namelen, GFP_KERNEL);
96 new->namelen = key
134 nfs_dns_hash(const struct nfs_dns_ent *key) argument
143 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); local
152 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); local
202 nfs_dns_lookup(struct cache_detail *cd, struct nfs_dns_ent *key) argument
215 nfs_dns_update(struct cache_detail *cd, struct nfs_dns_ent *new, struct nfs_dns_ent *key) argument
232 struct nfs_dns_ent key, *item; local
280 do_cache_lookup(struct cache_detail *cd, struct nfs_dns_ent *key, struct nfs_dns_ent **item, struct nfs_cache_defer_req *dreq) argument
296 do_cache_lookup_nowait(struct cache_detail *cd, struct nfs_dns_ent *key, struct nfs_dns_ent **item) argument
321 do_cache_lookup_wait(struct cache_detail *cd, struct nfs_dns_ent *key, struct nfs_dns_ent **item) argument
345 struct nfs_dns_ent key = { local
[all...]
/linux-master/include/linux/
H A Dkeyctl.h15 __u32 key_size; /* Size of the key in bits */
30 struct key *key; member in struct:kernel_pkey_params
/linux-master/include/crypto/
H A Dserpent.h21 int __serpent_setkey(struct serpent_ctx *ctx, const u8 *key,
23 int serpent_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen);
H A Dchacha20poly1305.h21 const u8 key[CHACHA20POLY1305_KEY_SIZE]);
26 const u8 key[CHACHA20POLY1305_KEY_SIZE]);
31 const u8 key[CHACHA20POLY1305_KEY_SIZE]);
36 const u8 key[CHACHA20POLY1305_KEY_SIZE]);
41 const u8 key[CHACHA20POLY1305_KEY_SIZE]);
46 const u8 key[CHACHA20POLY1305_KEY_SIZE]);
H A Dpoly1305.h30 struct poly1305_key key; member in struct:poly1305_core_key
50 /* finalize key */
54 /* key */
62 const u8 key[POLY1305_KEY_SIZE]);
64 const u8 key[POLY1305_KEY_SIZE]);
66 static inline void poly1305_init(struct poly1305_desc_ctx *desc, const u8 *key) argument
69 poly1305_init_arch(desc, key);
71 poly1305_init_generic(desc, key);
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dpp_overdriver.h31 uint64_t key; member in struct:phm_fuses_default
43 extern int pp_override_get_default_fuse_value(uint64_t key,
/linux-master/include/crypto/internal/
H A Dpoly1305.h21 void poly1305_core_setkey(struct poly1305_core_key *key,
29 const struct poly1305_core_key *key, const void *src,
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_map_in_map_invalid.c8 __type(key, __u32);
16 __type(key, __u32);
H A Dhtab_update.c22 __u32 key = 0, value = 1; local
27 update_err = bpf_map_update_elem(&htab, &key, &value, 0);
H A Dtest_pinning.c9 __type(key, __u32);
17 __type(key, __u32);
24 __type(key, __u32);
H A Dfor_each_array_map_elem.c11 __type(key, __u32);
18 __type(key, __u32);
29 unused_subprog(struct bpf_map *map, __u32 *key, __u64 *val, argument
37 check_array_elem(struct bpf_map *map, __u32 *key, __u64 *val, argument
41 if (*key == 1)
50 check_percpu_elem(struct bpf_map *map, __u32 *key, __u64 *val, argument
/linux-master/drivers/nvme/common/
H A Dauth.c155 struct nvme_dhchap_key key; local
157 return struct_size(&key, key, key_len);
164 struct nvme_dhchap_key *key; local
174 key = nvme_auth_alloc_key(allocated_len, 0);
175 if (!key)
178 key_len = base64_decode(secret, allocated_len, key->key);
180 pr_debug("base64 key decoding error %d\n",
188 pr_err("Invalid key le
219 struct nvme_dhchap_key *key = kzalloc(num_bytes, GFP_KERNEL); local
229 nvme_auth_free_key(struct nvme_dhchap_key *key) argument
237 nvme_auth_transform_key( struct nvme_dhchap_key *key, char *nqn) argument
451 struct nvme_dhchap_key *key; local
[all...]
/linux-master/net/mptcp/
H A Dcrypto_test.c7 char *key; member in struct:test_case
13 * input and key size.
17 .key = "0b0b0b0b0b0b0b0b",
22 .key = "aaaaaaaaaaaaaaaa",
27 .key = "0102030405060708",
43 key1 = be64_to_cpu(*((__be64 *)&tests[i].key[0]));
44 key2 = be64_to_cpu(*((__be64 *)&tests[i].key[8]));
/linux-master/fs/afs/
H A Dvl_alias.c17 static struct afs_volume *afs_sample_volume(struct afs_cell *cell, struct key *key, argument
27 .key = key, /* This might need to be something */
138 static int afs_query_for_alias_one(struct afs_cell *cell, struct key *key, argument
157 volume = afs_sample_volume(cell, key, pvol->name, pvol->name_len);
185 static int afs_query_for_alias(struct afs_cell *cell, struct key *key) argument
204 if (afs_query_for_alias_one(cell, key,
227 afs_vl_get_cell_name(struct afs_cell *cell, struct key *key) argument
253 yfs_check_canonical_cell_name(struct afs_cell *cell, struct key *key) argument
277 afs_do_cell_detect_alias(struct afs_cell *cell, struct key *key) argument
312 afs_cell_detect_alias(struct afs_cell *cell, struct key *key) argument
[all...]
/linux-master/net/wireless/
H A Dlib80211_crypt_ccmp.c40 u8 key[CCMP_TK_LEN]; member in struct:lib80211_ccmp_data
156 struct lib80211_ccmp_data *key = priv; local
164 memcpy(aeskey, key->key, CCMP_TK_LEN);
172 key->tx_pn[i]++;
173 if (key->tx_pn[i] != 0)
178 *pos++ = key->tx_pn[5];
179 *pos++ = key->tx_pn[4];
181 *pos++ = (key->key_idx << 6) | (1 << 5) /* Ext IV included */ ;
182 *pos++ = key
192 struct lib80211_ccmp_data *key = priv; local
256 struct lib80211_ccmp_data *key = priv; local
347 lib80211_ccmp_set_key(void *key, int len, u8 * seq, void *priv) argument
379 lib80211_ccmp_get_key(void *key, int len, u8 * seq, void *priv) argument
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_hwinfo.c42 * 0x0008: u32 jumptab Offset of key/value table
43 * 0x000c: u32 keys Total number of keys in the key/value table
64 * The key/value table is a set of offsets to ASCIIZ strings which have
69 * N+0: u32 key_1 Offset to the first key
71 * N+8: u32 key_2 Offset to the second key
108 const char *key, *val, *end = hwinfo->data + size; local
110 for (key = hwinfo->data; *key && key < end;
111 key
257 const char *key, *val, *end; local
[all...]
/linux-master/drivers/staging/wlan-ng/
H A Dp80211wep.c46 int wep_change_key(struct wlandevice *wlandev, int keynum, u8 *key, int keylen) argument
52 if (!key)
60 memcpy(wlandev->wep_keys[keynum], key, keylen);
73 u8 s[256], key[64], c_crc[4]; local
80 /* initialize the first bytes of the key from the IV */
81 key[0] = iv[0];
82 key[1] = iv[1];
83 key[2] = iv[2];
97 /* copy the rest of the key over from the designated key */
144 u8 s[256], key[64]; local
[all...]
/linux-master/samples/bpf/
H A Dtest_lru_dist.c85 unsigned long long key; member in struct:pfect_lru_node
124 unsigned long long key)
130 if (!bpf_map_lookup_elem(lru->map_fd, &key, &node)) {
147 bpf_map_update_elem(lru->map_fd, &node->key, &null_node, BPF_EXIST);
150 node->key = key;
155 assert(!bpf_map_update_elem(lru->map_fd, &key, &node, BPF_EXIST));
158 assert(!bpf_map_update_elem(lru->map_fd, &key, &node, BPF_NOEXIST));
270 unsigned long long key, value = 1234; local
280 key
123 pfect_lru_lookup_or_insert(struct pfect_lru *lru, unsigned long long key) argument
334 unsigned long long key, value[nr_cpus]; local
388 unsigned long long key, value[nr_cpus]; local
426 unsigned long long key, value[nr_cpus]; local
[all...]
/linux-master/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-dump.c27 enum mcp251xfd_dump_object_ring_key key; member in struct:mcp251xfd_dump_ring
110 reg->reg = cpu_to_le32(dump_ring[i].key);
124 .key = MCP251XFD_DUMP_OBJECT_RING_KEY_HEAD,
127 .key = MCP251XFD_DUMP_OBJECT_RING_KEY_TAIL,
130 .key = MCP251XFD_DUMP_OBJECT_RING_KEY_BASE,
133 .key = MCP251XFD_DUMP_OBJECT_RING_KEY_NR,
136 .key = MCP251XFD_DUMP_OBJECT_RING_KEY_FIFO_NR,
139 .key = MCP251XFD_DUMP_OBJECT_RING_KEY_OBJ_NUM,
142 .key = MCP251XFD_DUMP_OBJECT_RING_KEY_OBJ_SIZE,
157 .key
[all...]

Completed in 415 milliseconds

1234567891011>>