/linux-master/kernel/bpf/ |
H A D | stackmap.c | 81 if (attr->max_entries == 0 || attr->key_size != 4 ||
|
H A D | map_iter.c | 104 u32 key_acc_size, value_acc_size, key_size, value_size; local 127 key_size = map->key_size; 133 if (key_acc_size > key_size || value_acc_size > value_size) {
|
H A D | log.c | 720 reg->map_ptr->key_size,
|
H A D | lpm_trie.c | 555 attr->key_size < LPM_KEY_SIZE_MIN || 556 attr->key_size > LPM_KEY_SIZE_MAX || 567 trie->data_size = attr->key_size -
|
H A D | inode.c | 203 iter->key = kzalloc(map->key_size, GFP_KERNEL | __GFP_NOWARN);
|
H A D | hashtab.c | 198 static inline void htab_elem_set_ptr(struct htab_elem *l, u32 key_size, argument 201 *(void __percpu **)(l->key + key_size) = pptr; 204 static inline void __percpu *htab_elem_get_ptr(struct htab_elem *l, u32 key_size) argument 206 return *(void __percpu **)(l->key + key_size); 211 return *(void **)(l->key + roundup(map->key_size, 8)); 238 bpf_obj_free_timer(htab->map.record, elem->key + round_up(htab->map.key_size, 8)); 257 void __percpu *pptr = htab_elem_get_ptr(elem, htab->map.key_size); 265 bpf_obj_free_fields(htab->map.record, elem->key + round_up(htab->map.key_size, 8)); 283 htab->map.key_size); 311 memcpy(l->key, key, htab->map.key_size); 635 lookup_elem_raw(struct hlist_nulls_head *head, u32 hash, void *key, u32 key_size) argument 652 lookup_nulls_elem_raw(struct hlist_nulls_head *head, u32 hash, void *key, u32 key_size, u32 n_buckets) argument 680 u32 hash, key_size; local 837 u32 hash, key_size; local 998 alloc_htab_elem(struct bpf_htab *htab, void *key, void *value, u32 key_size, u32 hash, bool percpu, bool onallcpus, struct htab_elem *old_elem) argument 1102 u32 key_size, hash; local 1205 u32 key_size, hash; local 1274 u32 key_size, hash; local 1329 u32 key_size, hash; local 1411 u32 hash, key_size; local 1447 u32 hash, key_size; local 1593 u32 hash, key_size; local 1687 u32 bucket_cnt, total, key_size, value_size, roundup_key_size; local [all...] |
H A D | devmap.c | 118 if (attr->max_entries == 0 || attr->key_size != 4 ||
|
H A D | bpf_struct_ops.c | 887 if (attr->key_size != sizeof(unsigned int) || attr->max_entries != 1 ||
|
H A D | bpf_local_storage.c | 676 attr->key_size != sizeof(int) || !attr->value_size ||
|
H A D | arraymap.c | 58 if (attr->max_entries == 0 || attr->key_size != 4 ||
|
/linux-master/include/uapi/linux/ |
H A D | ethtool.h | 1264 * @key_size: On entry, the array size of the user buffer for the hash key, 1274 * of @indir_size __u32 elements, followed by hash key of @key_size 1277 * For %ETHTOOL_GRSSH, a @indir_size and key_size of zero means that only the 1288 __u32 key_size; member in struct:ethtool_rxfh
|
H A D | bpf.h | 651 * of *key_size* * *count*. The *values* buffer must be of 702 * of *key_size* * *count*. The *values* buffer must be of 752 * size of the map *map_fd*, that is, *key_size* * *count*. 1457 __u32 key_size; /* size of key in bytes */ member in struct:bpf_attr::__anon2589 6581 __u32 key_size; member in struct:bpf_map_info
|
/linux-master/include/linux/ |
H A D | ethtool.h | 620 * @key_size: On SET, the array size of the user buffer for the hash key, 623 * @key: The hash key of size @key_size bytes. 637 u32 key_size; member in struct:ethtool_rxfh_param
|
/linux-master/fs/ntfs3/ |
H A D | namei.c | 57 e->key_size = cpu_to_le16(data_size);
|
H A D | frecord.c | 2909 u16 de_key_size = le16_to_cpu(de->key_size); 2944 (*de2)->key_size = cpu_to_le16(de2_key_size); 2976 de_key_size = le16_to_cpu(de2->key_size); 2993 de_key_size = le16_to_cpu(de->key_size); 3022 u16 de_key_size = le16_to_cpu(de->key_size);
|
H A D | ntfs.h | 621 __le16 key_size; // 0x0A: The size of File name length in bytes + 0x42. member in struct:NTFS_DE 672 return le16_to_cpu(e->key_size) >= SIZEOF_ATTRIBUTE_FILENAME ?
|
H A D | index.c | 760 e_key_len = le16_to_cpu(e->key_size); 827 before = hdr_find_e(indx, hdr, de + 1, le16_to_cpu(de->key_size), ctx, 1159 !(*indx->cmp)(key, key_len, e + 1, le16_to_cpu(e->key_size), ctx)) { 1877 (*indx->cmp)(new_de + 1, le16_to_cpu(new_de->key_size), 1878 up_e + 1, le16_to_cpu(up_e->key_size), 1959 le16_to_cpu(new_de->key_size), ctx, &diff, &e, 2614 e->key_size = 0;
|
H A D | fsntfs.c | 2232 sii_e.de.key_size = cpu_to_le16(sizeof(d_security->key.sec_id)); 2248 sdh_e.de.key_size = cpu_to_le16(sizeof(sdh_e.key)); 2390 re.de.key_size = cpu_to_le16(sizeof(re.key));
|
/linux-master/fs/ecryptfs/ |
H A D | crypto.c | 285 crypt_stat->key_size); 287 crypt_stat->key_size); 304 crypt_stat->key_size); 539 crypt_stat->key_size << 3); 621 crypt_stat->key_size); 638 get_random_bytes(crypt_stat->key, crypt_stat->key_size); 644 crypt_stat->key_size); 718 crypt_stat->key_size = ECRYPTFS_DEFAULT_KEY_BYTES; 770 crypt_stat->key_size = 1513 * @key_size 1520 ecryptfs_process_key_cipher(struct crypto_skcipher **key_tfm, char *cipher_name, size_t *key_size) argument 1593 ecryptfs_add_new_key_tfm(struct ecryptfs_key_tfm **key_tfm, char *cipher_name, size_t key_size) argument [all...] |
/linux-master/fs/btrfs/ |
H A D | ctree.c | 804 const int key_size = sizeof(struct btrfs_disk_key); local 834 if (oil + key_size <= unit_size) { 841 read_extent_buffer(eb, &unaligned, offset, key_size);
|
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | main.c | 3247 u8 id, u8 key_type, u8 key_size, 3256 if (key_size > MAX_KEY_SIZE) 3282 ap_key->key_size = key_size; 3283 memcpy(ap_key->key, key, key_size); 3321 key->key_size, key->key, 3345 u8 key_size, const u8 *key, u32 tx_seq_32, 3372 key_type, key_size, 3377 id, key_type, key_size, 3410 id, key_type, key_size, 3246 wl1271_record_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16, bool is_pairwise) argument 3343 wl1271_set_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u32 tx_seq_32, u16 tx_seq_16, struct ieee80211_sta *sta, bool is_pairwise) argument [all...] |
/linux-master/drivers/net/wireless/ti/wl1251/ |
H A D | main.c | 947 wl_cmd->key_size = key->keylen;
|
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | sta.h | 471 u8 key_size; member in struct:iwl_mvm_wep_key
|
/linux-master/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-mac.c | 3140 u8 key_size = il->_4965.wep_keys[i].key_size; local 3143 if (key_size) { 3149 wep_cmd->key[i].key_size = key_size; 3150 memcpy(&wep_cmd->key[i].key[3], il->_4965.wep_keys[i].key, key_size); 3215 il->_4965.wep_keys[idx].key_size = len;
|
/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_virtchnl.c | 2404 u16 key_size; local 2441 key_size = min_t(u16, NETDEV_RSS_KEY_LEN, 2443 if (reply_sz < key_size) 2447 if (rss_data->rss_key_size == key_size) 2450 rss_data->rss_key_size = key_size; 2452 rss_data->rss_key = kzalloc(key_size, GFP_KERNEL);
|