/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_tx.c | 365 struct mlx5_rsc_key key = {}; local 372 key.size = PAGE_SIZE; 373 key.rsc = MLX5_SGMT_TYPE_SX_SLICE_ALL; 374 mlx5e_health_rsc_fmsg_dump(priv, &key, fmsg); 379 key.rsc = MLX5_SGMT_TYPE_FULL_QPC; 380 key.index1 = sq->sqn; 381 key.num_of_obj1 = 1; 382 mlx5e_health_rsc_fmsg_dump(priv, &key, fmsg); 386 key.rsc = MLX5_SGMT_TYPE_SND_BUFF; 387 key 417 struct mlx5_rsc_key key = {}; local [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 571 if (!eth_type_vlan(match.key->vlan_tpid)) { 573 ntohs(match.key->vlan_tpid)); 585 ntohs(match.key->vlan_tpid), match.key->vlan_id); 594 vlan_tci = match.key->vlan_id | 595 match.key->vlan_dei << 12 | 596 match.key->vlan_priority << 13; 643 netdev_info(nic->netdev, "unsupported flow used key 0x%llx", 654 flow_spec->etype = match.key->n_proto; 659 (match.key [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 1127 headers->pppoe_hdr.session_id = match->key->session_id; 1132 headers->pppoe_hdr.ppp_proto = match->key->ppp_proto; 1135 return be16_to_cpu(match->key->type); 1150 if (match->key->dst) { 1155 headers->l3_key.dst_ipv4 = match->key->dst; 1158 if (match->key->src) { 1163 headers->l3_key.src_ipv4 = match->key->src; 1186 if (ipv6_addr_loopback(&match->key->dst) || 1187 ipv6_addr_loopback(&match->key->src)) { 1215 memcpy(&l3_key->src_ipv6_addr, &match->key 1549 struct flow_dissector_key_vlan key; local [all...] |
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_drv.h | 117 unsigned long key; member in struct:vmwgfx_hash_item
|
/linux-master/drivers/char/ |
H A D | random.c | 11 * - Fast key erasure RNG, the "crng". 21 * handed as a key to a stream cipher that expands it indefinitely for 22 * various consumers. This key is periodically refreshed as the various 174 * Fast key erasure RNG, the "crng". 177 * long streams for external consumption using the "fast key erasure" 207 u8 key[CHACHA_KEY_SIZE] __aligned(__alignof__(long)); 215 u8 key[CHACHA_KEY_SIZE]; member in struct:crng 248 /* This extracts a new crng key from the input pool. */ 254 u8 key[CHACHA_KEY_SIZE]; local 260 extract_entropy(key, sizeo 294 crng_fast_key_erasure(u8 key[CHACHA_KEY_SIZE], u32 chacha_state[CHACHA_STATE_WORDS], u8 *random_data, size_t random_data_len) argument [all...] |
/linux-master/fs/btrfs/ |
H A D | extent_io.c | 2460 * did not find a key, so make it some distinct negative value. 2575 * file range [768K, 2M[, since that's the first key that follows the 2746 struct btrfs_key key; local 2770 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); 2771 if (key.objectid != btrfs_ino(inode) || key.type != BTRFS_EXTENT_DATA_KEY) { 2806 struct btrfs_key key; local 2810 key.objectid = ino; 2811 key.type = BTRFS_EXTENT_DATA_KEY; 2812 key 2993 struct btrfs_key key; local 3117 struct btrfs_key key; local [all...] |
H A D | extent-tree.c | 64 struct btrfs_key *key); 76 struct btrfs_key key; local 83 key.objectid = start; 84 key.offset = len; 85 key.type = BTRFS_EXTENT_ITEM_KEY; 86 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); 111 struct btrfs_key key; local 137 key.objectid = bytenr; 138 key.offset = offset; 140 key 447 struct btrfs_key key; local 523 struct btrfs_key key; local 600 struct btrfs_key key; local 644 struct btrfs_key key; local 688 struct btrfs_key key; local 712 struct btrfs_key key; local 746 find_next_key(struct btrfs_path *path, int level, struct btrfs_key *key) argument 790 struct btrfs_key key; local 1103 struct btrfs_key key; local 1147 struct btrfs_key key; local 1160 struct btrfs_key key; local 1498 struct btrfs_key key; local 1583 struct btrfs_key key; local 1644 struct btrfs_key key; local 2386 struct btrfs_key key; local 2500 struct btrfs_key key; local 2712 struct btrfs_key key; local 3108 struct btrfs_key key; local 5146 btrfs_alloc_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 parent, u64 root_objectid, const struct btrfs_disk_key *key, int level, u64 hint, u64 empty_size, u64 reloc_src_root, enum btrfs_lock_nesting nest) argument 5270 struct btrfs_key key; local 5466 struct btrfs_key key; local 5868 struct btrfs_key key; local [all...] |
/linux-master/include/linux/ |
H A D | rwsem.h | 115 struct lock_class_key *key); 156 struct lock_class_key *key);
|
/linux-master/fs/kernfs/ |
H A D | file.c | 628 * The following is done to give a different lockdep key to 640 * lockdep key, because the writable file /sys/power/resume may call vfs 1016 * @key: lockdep key for the file's active_ref, %NULL to disable lockdep 1026 struct lock_class_key *key) 1045 if (key) { 1046 lockdep_init_map(&kn->dep_map, "kn->active", key, 0); 1020 __kernfs_create_file(struct kernfs_node *parent, const char *name, umode_t mode, kuid_t uid, kgid_t gid, loff_t size, const struct kernfs_ops *ops, void *priv, const void *ns, struct lock_class_key *key) argument
|
/linux-master/fs/bcachefs/ |
H A D | ec.c | 424 * be unmarking the old key and then marking the new key 506 if (buf->key.k.type == KEY_TYPE_stripe) { 507 struct bkey_i_stripe *s = bkey_i_to_stripe(&buf->key); 521 struct bch_stripe *v = &bkey_i_to_stripe(&buf->key)->v; 554 struct bch_stripe *v = &bkey_i_to_stripe(&buf->key)->v; 573 struct bch_stripe *v = &bkey_i_to_stripe(&buf->key)->v; 590 struct bch_stripe *v = &bkey_i_to_stripe(&buf->key)->v; 617 bch2_bkey_val_to_text(&err, c, bkey_i_to_s_c(&buf->key)); 636 struct bch_stripe *v = &bkey_i_to_stripe(&buf->key) [all...] |
H A D | ec.h | 144 __BKEY_PADDED(key, 255);
|
H A D | checksum.c | 11 #include <linux/key.h> 155 int bch2_chacha_encrypt_key(struct bch_key *key, struct nonce nonce, argument 169 (void *) key, sizeof(*key)); 184 u8 key[POLY1305_KEY_SIZE]; local 189 memset(key, 0, sizeof(key)); 190 ret = do_encrypt(c->chacha20, nonce, key, sizeof(key)); 196 crypto_shash_update(desc, key, sizeo 512 __bch2_request_key(char *key_description, struct bch_key *key) argument 538 __bch2_request_key(char *key_description, struct bch_key *key) argument 569 bch2_request_key(struct bch_sb *sb, struct bch_key *key) argument 616 bch2_decrypt_sb_key(struct bch_fs *c, struct bch_sb_field_crypt *crypt, struct bch_key *key) argument 681 struct bch_key key; local 712 struct bch_encrypted_key key; local 780 struct bch_key key; local [all...] |
H A D | checksum.h | 208 static inline bool bch2_key_is_encrypted(struct bch_encrypted_key *key) argument 210 return le64_to_cpu(key->magic) != BCH_KEY_MAGIC;
|
H A D | btree_write_buffer.c | 177 * Update a btree with a write buffered key using the journal seq of the 180 * It is not safe to rejournal the key once it has been inserted into the write 181 * buffer because that may break recovery ordering. For example, the key may 183 * before the current transaction. If we were to journal this key again and 289 * If that happens, simply skip the key so we can optimistically insert 316 bpos_gt(k->k.k.p, path->l[0].b->key.k.p)) {
|
H A D | btree_cache.c | 82 const u64 *v = arg->key; 127 bkey_btree_ptr_init(&b->key); 170 b->hash_val = btree_ptr_hash_val(&b->key); 213 struct bbpos pos = BBPOS(b->c.btree_id, b->key.k.p); 723 int ret = bch2_fs_topology_error(c, "attempting to get btree node with non-btree key %s", buf.buf); 732 int ret = bch2_fs_topology_error(c, "attempting to get btree node with too big key %s", buf.buf); 760 bkey_copy(&b->key, k); 814 bch2_bkey_val_to_text(&buf, c, bkey_i_to_s_c(&b->key)); 834 !bpos_eq(b->data->max_key, b->key.k.p) || 835 (b->key [all...] |
H A D | bcachefs.h | 69 * At a high level, the btree is just an index of key -> ptr tuples. 75 * The key itself is an inode:offset pair. The inode number corresponds to a 94 * BTREE_REPLACE is really cmpxchg(); it inserts a key into the btree iff it is 95 * overwriting a key that matches another given key. This is used for inserting 101 * gen) or by inserting a key with 0 pointers - which will overwrite anything 391 "number of every btree key, and verify that btree " \ 395 "number of every btree key, and verify that btree " \ 1279 #define BKEY_PADDED_ONSTACK(key, pad) \ 1280 struct { struct bkey_i key; __u6 [all...] |
/linux-master/drivers/vhost/ |
H A D | vhost.c | 165 void *key) 170 if (!(key_to_poll(key) & poll->mask)) 164 vhost_poll_wakeup(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) argument
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | common.c | 491 static_key_enable(&cr_pinning.key);
|
/linux-master/io_uring/ |
H A D | io_uring.c | 2514 int wake_flags, void *key) 2523 return autoremove_wake_function(curr, mode, wake_flags, key); 2513 io_wake_function(struct wait_queue_entry *curr, unsigned int mode, int wake_flags, void *key) argument
|
/linux-master/fs/smb/client/ |
H A D | inode.c | 2455 * @key: currently unused 2459 cifs_wait_bit_killable(struct wait_bit_key *key, int mode) argument
|
/linux-master/drivers/iommu/intel/ |
H A D | iommu.c | 99 static int device_rid_cmp_key(const void *key, const struct rb_node *node) argument 103 const u16 *rid_lhs = key; 118 u16 key = PCI_DEVID(info->bus, info->devfn); local 120 return device_rid_cmp_key(&key, rhs);
|
/linux-master/block/ |
H A D | blk-cgroup.h | 485 static inline struct blkcg_gq *blkg_lookup(struct blkcg *blkcg, void *key) { return NULL; } argument
|
/linux-master/tools/hv/ |
H A D | hv_kvp_daemon.c | 2 * An implementation of key value pair (KVP) functionality for Linux. 49 * fills in the value corresponding to the specified key. We overload the 60 IntegrationServicesVersion, /*This key is serviced in the kernel*/ 118 char key[HV_KVP_EXCHANGE_MAX_KEY_SIZE]; member in struct:kvp_record 278 static int kvp_key_delete(int pool, const __u8 *key, int key_size) argument 294 if (memcmp(key, record[i].key, key_size)) 309 strcpy(record[j].key, record[k].key); 321 static int kvp_key_add_or_modify(int pool, const __u8 *key, in argument 375 kvp_get_value(int pool, const __u8 *key, int key_size, __u8 *value, int value_size) argument 407 kvp_pool_enumerate(int pool, int index, __u8 *key, int key_size, __u8 *value, int value_size) argument [all...] |
/linux-master/scripts/gcc-plugins/ |
H A D | stackleak_plugin.c | 570 if (!strcmp(argv[i].key, "track-min-size")) { 573 plugin_name, argv[i].key); 580 plugin_name, argv[i].key, argv[i].value); 583 } else if (!strcmp(argv[i].key, "arch")) { 586 plugin_name, argv[i].key); 592 } else if (!strcmp(argv[i].key, "disable")) { 594 } else if (!strcmp(argv[i].key, "verbose")) { 598 plugin_name, argv[i].key);
|
/linux-master/net/ipv6/ |
H A D | ip6_fib.c | 225 * Initialize table lock at a single place to give lockdep a key, 756 struct rt6key *key; local 767 key = (struct rt6key *)((u8 *)leaf + offset); 773 !ipv6_prefix_equal(&key->addr, addr, fn->fn_bit)) { 875 bit = __ipv6_addr_diff(addr, &key->addr, sizeof(*addr)); 944 if (addr_bit_set(&key->addr, plen)) 1557 int offset; /* key offset on fib6_info */ 1558 const struct in6_addr *addr; /* search key */ 1596 struct rt6key *key; local 1601 key 1679 struct rt6key *key; local [all...] |