/linux-master/kernel/trace/ |
H A D | ring_buffer.c | 1671 * @key: ring buffer reader_lock_key. 1679 struct lock_class_key *key) 1706 buffer->reader_lock_key = key; 1678 __ring_buffer_alloc(unsigned long size, unsigned flags, struct lock_class_key *key) argument
|
/linux-master/include/net/ |
H A D | ip_tunnels.h | 70 #define IP_TUNNEL_INFO_IPV6 0x02 /* key contains IPv6 addresses */ 85 struct ip_tunnel_key key; member in struct:ip_tunnel_info 162 __be32 key; member in struct:tnl_ptk_info 182 static inline void ip_tunnel_key_init(struct ip_tunnel_key *key, argument 188 key->tun_id = tun_id; 189 key->u.ipv4.src = saddr; 190 key->u.ipv4.dst = daddr; 191 memset((unsigned char *)key + IP_TUNNEL_KEY_IPV4_PAD, 193 key->tos = tos; 194 key 231 key32_to_tunnel_id(__be32 key) argument 252 ip_tunnel_init_flow(struct flowi4 *fl4, int proto, __be32 daddr, __be32 saddr, __be32 key, __u8 tos, struct net *net, int oif, __u32 mark, __u32 tun_inner_hash, __u8 flow_flags) argument [all...] |
/linux-master/fs/proc/ |
H A D | bootconfig.c | 29 char *key, *end = dst + size; local 34 key = kzalloc(XBC_KEYLEN_MAX, GFP_KERNEL); 35 if (!key) 39 ret = xbc_node_compose_key(leaf, key, XBC_KEYLEN_MAX); 42 ret = snprintf(dst, rest(dst, end), "%s = ", key); 73 kfree(key);
|
/linux-master/fs/bcachefs/ |
H A D | journal_types.h | 24 __BKEY_PADDED(key, BCH_REPLICAS_MAX);
|
H A D | debug.c | 110 bch_err(c, "verify failed at key %u", j); 161 bkey_copy(&v->key, &b->key); 166 ptrs = bch2_bkey_ptrs_c(bkey_i_to_s_c(&b->key)); 167 bkey_for_each_ptr_decode(&b->key.k, ptrs, p, entry) 173 bch2_bkey_val_to_text(&buf, c, bkey_i_to_s_c(&b->key)); 192 if (bch2_bkey_pick_read_device(c, bkey_i_to_s_c(&b->key), NULL, &pick) <= 0) { 422 i->from = !bpos_eq(SPOS_MAX, b->key.k.p) 423 ? bpos_successor(b->key.k.p) 424 : b->key [all...] |
/linux-master/drivers/platform/x86/ |
H A D | lg-laptop.c | 84 * this key both sends an event and 222 struct key_entry *key; local 228 key = sparse_keymap_entry_from_scancode( 230 if (key && key->type == KE_KEY) 232 key, 1, true); 275 struct key_entry *key; local 279 key = sparse_keymap_entry_from_scancode(wmi_input_dev, 0x80); 280 if (key && key [all...] |
H A D | acer-wmi.c | 296 "Set thermal mode key in cycle mode. Disabling it sets the mode key in turbo toggle mode"); 727 * returning from turbo mode when the mode key is in toggle mode. 1919 * This mode key can rotate each mode or toggle turbo mode. 2234 const struct key_entry *key; local 2266 key = sparse_keymap_entry_from_scancode(acer_wmi_input_dev, 2268 if (!key) { 2269 pr_warn("Unknown key number - 0x%x\n", 2273 switch (key->keycode) {
|
/linux-master/drivers/net/ |
H A D | virtio_net.c | 236 u8 key[VIRTIO_NET_RSS_MAX_KEY_SIZE]; member in struct:virtio_net_ctrl_rss 3095 sg_buf_size = offsetof(struct virtio_net_ctrl_rss, key) 3100 sg_set_buf(&sgs[3], vi->ctrl->rss.key, sg_buf_size); 3130 netdev_rss_key_fill(vi->ctrl->rss.key, vi->rss_key_size); 3797 if (rxfh->key) 3798 memcpy(rxfh->key, vi->ctrl->rss.key, vi->rss_key_size); 3826 if (rxfh->key) { 3834 memcpy(vi->ctrl->rss.key, rxfh->key, v [all...] |
H A D | geneve.c | 142 if (eq_tun_id_and_vni((u8 *)&node->geneve->cfg.info.key.tun_id, vni) && 143 addr == node->geneve->cfg.info.key.u.ipv4.dst) 161 if (eq_tun_id_and_vni((u8 *)&node->geneve->cfg.info.key.tun_id, vni) && 162 ipv6_addr_equal(&addr6, &node->geneve->cfg.info.key.u.ipv6.dst)) 675 gs = geneve_find_sock(gn, ipv6 ? AF_INET6 : AF_INET, geneve->cfg.info.key.tp_dst); 681 gs = geneve_socket_create(net, geneve->cfg.info.key.tp_dst, ipv6, 700 tunnel_id_to_vni(geneve->cfg.info.key.tun_id, vni); 748 geneveh->oam = !!(info->key.tun_flags & TUNNEL_OAM); 749 geneveh->critical = !!(info->key.tun_flags & TUNNEL_CRIT_OPT); 751 tunnel_id_to_vni(info->key 816 const struct ip_tunnel_key *key = &info->key; local 924 const struct ip_tunnel_key *key = &info->key; local [all...] |
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 1126 return sizeof(priv->rss.key); 1147 if (rxfh->key) 1148 memcpy(rxfh->key, priv->rss.key, sizeof(priv->rss.key)); 1170 if (rxfh->key) 1171 memcpy(priv->rss.key, rxfh->key, sizeof(priv->rss.key));
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tx.c | 946 dseg->av.key.qkey.qkey = cpu_to_be32(dqkey);
|
/linux-master/drivers/net/ethernet/amazon/ena/ |
H A D | ena_com.c | 1065 netdev_rss_key_fill(&hash_key->key, sizeof(hash_key->key)); 1066 /* The key buffer is stored in the device in an array of 2293 const u8 *key, u16 key_len, u32 init_val) 2319 if ((func == ENA_ADMIN_TOEPLITZ) && key) { 2320 if (key_len != sizeof(hash_key->key)) { 2322 "key len (%u) doesn't equal the supported size (%zu)\n", key_len, 2323 sizeof(hash_key->key)); 2326 memcpy(hash_key->key, key, key_le 2291 ena_com_fill_hash_function(struct ena_com_dev *ena_dev, enum ena_admin_hash_functions func, const u8 *key, u16 key_len, u32 init_val) argument 2369 ena_com_get_hash_key(struct ena_com_dev *ena_dev, u8 *key) argument [all...] |
/linux-master/drivers/gpu/host1x/ |
H A D | bus.c | 717 * @key: lock class key for the client-specific mutex 719 void __host1x_client_init(struct host1x_client *client, struct lock_class_key *key) argument 723 __mutex_init(&client->lock, "host1x client lock", key);
|
/linux-master/fs/btrfs/ |
H A D | transaction.c | 1638 struct btrfs_key key; local 1698 key.objectid = objectid; 1699 key.offset = (u64)-1; 1700 key.type = BTRFS_ROOT_ITEM_KEY; 1811 /* record when the snapshot was created in key.offset */ 1812 key.offset = trans->transid; 1813 ret = btrfs_insert_root(trans, tree_root, &key, new_root_item); 1833 key.offset = (u64)-1; 1864 BTRFS_I(parent_inode), &key, BTRFS_FT_DIR,
|
H A D | root-tree.h | 27 int btrfs_del_root(struct btrfs_trans_handle *trans, const struct btrfs_key *key); 29 const struct btrfs_key *key, 32 struct btrfs_key *key, struct btrfs_root_item *item);
|
H A D | root-tree.c | 53 * Lookup the root by the key. 56 * search_key: the key to search 59 * root_key: the root key of the tree we look for 62 * of the search key, just lookup the root with the highest offset for a 80 if (search_key->offset != -1ULL) { /* the search key is exact */ 129 *root, struct btrfs_key *key, struct btrfs_root_item 144 ret = btrfs_search_slot(trans, root, key, path, 0, 1); 150 "unable to find root key (%llu %u %llu) in tree %llu", 151 key->objectid, key 128 btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_key *key, struct btrfs_root_item *item) argument 207 btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_root_item *item) argument 222 struct btrfs_key key; local 319 btrfs_del_root(struct btrfs_trans_handle *trans, const struct btrfs_key *key) argument 352 struct btrfs_key key; local 421 struct btrfs_key key; local [all...] |
H A D | delayed-inode.c | 342 * Look up the delayed item by key. 345 * @index: the dir index value to lookup (offset of a dir index key) 648 * that fit in a leaf. The delayed items (dir index keys) are sorted by their key 711 * We cannot allow gaps in the key space if we're doing log 881 struct btrfs_key key; local 888 btrfs_item_key_to_cpu(leaf, &key, slot); 889 if (key.objectid != ino || 890 key.type != BTRFS_DIR_INDEX_KEY || 891 key.offset != next->index) 928 struct btrfs_key key; local 1017 struct btrfs_key key; local [all...] |
/linux-master/kernel/time/ |
H A D | timer.c | 853 const char *name, struct lock_class_key *key); 858 const char *name, struct lock_class_key *key) 861 do_init_timer(timer, func, flags, name, key); 898 const char *name, struct lock_class_key *key) 905 lockdep_init_map(&timer->lockdep_map, name, key, 0); 914 * @key: lockdep class key of the fake lock used for tracking timer 922 const char *name, struct lock_class_key *key) 925 do_init_timer(timer, func, flags, name, key); 855 init_timer_on_stack_key(struct timer_list *timer, void (*func)(struct timer_list *), unsigned int flags, const char *name, struct lock_class_key *key) argument 895 do_init_timer(struct timer_list *timer, void (*func)(struct timer_list *), unsigned int flags, const char *name, struct lock_class_key *key) argument 920 init_timer_key(struct timer_list *timer, void (*func)(struct timer_list *), unsigned int flags, const char *name, struct lock_class_key *key) argument
|
/linux-master/include/linux/ |
H A D | timer.h | 14 * NB: because we have to copy the lockdep_map, setting the lockdep_map key 17 * "<file>:<line>" as the key resp. the name of the lockdep_map. 72 const char *name, struct lock_class_key *key); 78 struct lock_class_key *key); 84 struct lock_class_key *key) 86 init_timer_key(timer, func, flags, name, key); 80 init_timer_on_stack_key(struct timer_list *timer, void (*func)(struct timer_list *), unsigned int flags, const char *name, struct lock_class_key *key) argument
|
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_join.sh | 3641 local key 3642 for key in "${!all_tests[@]}"; do 3643 echo " -${key} ${all_tests[${key}]}" 3684 key="${subtests%@*}" 3687 all_tests_args+="${key}" 3689 all_tests[${key}]="${value}"
|
/linux-master/net/sunrpc/ |
H A D | svcsock.c | 53 #include <linux/key.h> 419 * @peerid: serial number of key containing the remote peer's identity
|
/linux-master/net/rds/ |
H A D | rdma.c | 65 static struct rds_mr *rds_mr_tree_walk(struct rb_root *root, u64 key, argument 76 if (key < mr->r_key) 78 else if (key > mr->r_key) 101 rdsdebug("RDS: destroy mr key is %x refcnt %u\n", 312 rdsdebug("RDS: get_mr put_user key is %x cookie_addr %p\n", 345 rdsdebug("RDS: get_mr key is %x\n", mr->r_key);
|
/linux-master/net/ipv6/ |
H A D | ip6_gre.c | 92 We require exact key match i.e. if a key is present in packet 93 it will match only tunnel with the same key; if it is not present, 100 #define HASH_KEY(key) (((__force u32)key^((__force u32)key>>4))&(IP6_GRE_HASH_SIZE - 1)) 113 /* Given src, dst and key, find appropriate for input tunnel. */ 117 __be32 key, __be16 gre_proto) 122 unsigned int h1 = HASH_KEY(key); 135 key ! 115 ip6gre_tunnel_lookup(struct net_device *dev, const struct in6_addr *remote, const struct in6_addr *local, __be32 key, __be16 gre_proto) argument 327 __be32 key = parms->i_key; local 767 const struct ip_tunnel_key *key; local 992 const struct ip_tunnel_key *key; local [all...] |
/linux-master/net/ipv4/ |
H A D | ip_gre.c | 129 Moreover, Cisco "wise men" put GRE key to the third word 156 iph->daddr, iph->saddr, tpi->key); 220 * Moreover, Cisco "wise men" put GRE key to the third word 292 iph->saddr, iph->daddr, tpi->key); 319 tun_id = key32_to_tunnel_id(tpi->key); 341 info->key.tun_flags |= TUNNEL_ERSPAN_OPT; 365 iph->saddr, iph->daddr, tpi->key); 388 tun_id = key32_to_tunnel_id(tpi->key); 487 const struct ip_tunnel_key *key; local 496 key 525 const struct ip_tunnel_key *key; local 607 const struct ip_tunnel_key *key; local [all...] |
/linux-master/net/core/ |
H A D | sock_map.c | 370 static struct sock *__sock_map_lookup_elem(struct bpf_map *map, u32 key) argument 376 if (unlikely(key >= map->max_entries)) 378 return READ_ONCE(stab->sks[key]); 381 static void *sock_map_lookup(struct bpf_map *map, void *key) argument 385 sk = __sock_map_lookup_elem(map, *(u32 *)key); 393 static void *sock_map_lookup_sys(struct bpf_map *map, void *key) argument 400 sk = __sock_map_lookup_elem(map, *(u32 *)key); 439 static long sock_map_delete_elem(struct bpf_map *map, void *key) argument 442 u32 i = *(u32 *)key; 452 static int sock_map_get_next_key(struct bpf_map *map, void *key, voi argument 550 sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, u64 flags) argument 591 sock_map_update_elem(struct bpf_map *map, void *key, void *value, u64 flags) argument 840 u8 key[]; member in struct:bpf_shtab_elem 857 sock_hash_bucket_hash(const void *key, u32 len) argument 869 sock_hash_lookup_elem_raw(struct hlist_head *head, u32 hash, void *key, u32 key_size) argument 883 __sock_hash_lookup_elem(struct bpf_map *map, void *key) argument 931 sock_hash_delete_elem(struct bpf_map *map, void *key) argument 957 sock_hash_alloc_elem(struct bpf_shtab *htab, void *key, u32 key_size, u32 hash, struct sock *sk, struct bpf_shtab_elem *old) argument 984 sock_hash_update_common(struct bpf_map *map, void *key, struct sock *sk, u64 flags) argument 1049 sock_hash_get_next_key(struct bpf_map *map, void *key, void *key_next) argument 1189 sock_hash_lookup_sys(struct bpf_map *map, void *key) argument 1204 sock_hash_lookup(struct bpf_map *map, void *key) argument [all...] |