Home
last modified time | relevance | path

Searched refs:cur_key (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/fs/btrfs/
Dbackref.h108 struct btrfs_key cur_key; member
142 if (iter->cur_key.type == BTRFS_EXTENT_ITEM_KEY && in btrfs_backref_has_tree_block_info()
155 if (iter->cur_key.type == BTRFS_EXTENT_ITEM_KEY || in btrfs_backref_iter_is_inline_ref()
156 iter->cur_key.type == BTRFS_METADATA_ITEM_KEY) in btrfs_backref_iter_is_inline_ref()
168 memset(&iter->cur_key, 0, sizeof(iter->cur_key)); in btrfs_backref_iter_release()
Dbackref.c2586 memcpy(&iter->cur_key, &key, sizeof(key)); in btrfs_backref_iter_start()
2619 btrfs_item_key_to_cpu(path->nodes[0], &iter->cur_key, in btrfs_backref_iter_start()
2621 if (iter->cur_key.objectid != bytenr || in btrfs_backref_iter_start()
2622 (iter->cur_key.type != BTRFS_SHARED_BLOCK_REF_KEY && in btrfs_backref_iter_start()
2623 iter->cur_key.type != BTRFS_TREE_BLOCK_REF_KEY)) { in btrfs_backref_iter_start()
2689 btrfs_item_key_to_cpu(path->nodes[0], &iter->cur_key, path->slots[0]); in btrfs_backref_iter_next()
2690 if (iter->cur_key.objectid != iter->bytenr || in btrfs_backref_iter_next()
2691 (iter->cur_key.type != BTRFS_TREE_BLOCK_REF_KEY && in btrfs_backref_iter_next()
2692 iter->cur_key.type != BTRFS_SHARED_BLOCK_REF_KEY)) in btrfs_backref_iter_next()
3145 key.type = iter->cur_key.type; in btrfs_backref_add_tree_node()
[all …]
Dctree.c4604 struct btrfs_key cur_key; in btrfs_find_next_key() local
4616 btrfs_item_key_to_cpu(c, &cur_key, slot); in btrfs_find_next_key()
4618 btrfs_node_key_to_cpu(c, &cur_key, slot); in btrfs_find_next_key()
4623 ret = btrfs_search_slot(NULL, root, &cur_key, path, in btrfs_find_next_key()
/Linux-v6.1/Documentation/bpf/
Dmap_hash.rst93 int bpf_map_get_next_key(int fd, const void *cur_key, void *next_key)
97 calling ``bpf_map_get_next_key()`` with ``cur_key`` set to
100 cur_key is the last key in the hash, or negative error in case of
103 Note that if ``cur_key`` gets deleted then ``bpf_map_get_next_key()``
169 struct key *cur_key = NULL;
175 err = bpf_map_get_next_key(map_fd, cur_key, &next_key);
183 cur_key = &next_key;
/Linux-v6.1/drivers/input/keyboard/
Ddlink-dir685-touchkeys.c23 unsigned long cur_key; member
48 changed = tk->cur_key ^ key; in dir685_tk_irq_thread()
56 tk->cur_key = key; in dir685_tk_irq_thread()
/Linux-v6.1/net/sctp/
Dauth.c821 struct sctp_shared_key *cur_key, *shkey; in sctp_auth_set_key() local
846 cur_key = sctp_auth_shkey_create(auth_key->sca_keynumber, GFP_KERNEL); in sctp_auth_set_key()
847 if (!cur_key) in sctp_auth_set_key()
853 kfree(cur_key); in sctp_auth_set_key()
858 cur_key->key = key; in sctp_auth_set_key()
861 list_add(&cur_key->key_list, sh_keys); in sctp_auth_set_key()
866 list_add(&cur_key->key_list, sh_keys); in sctp_auth_set_key()
870 list_del_init(&cur_key->key_list); in sctp_auth_set_key()
871 sctp_auth_shkey_release(cur_key); in sctp_auth_set_key()
/Linux-v6.1/fs/befs/
Dbtree.c418 int cur_key; in befs_btree_read() local
485 cur_key = key_no - key_sum; in befs_btree_read()
490 keystart = befs_bt_get_key(sb, this_node, cur_key, &keylen); in befs_btree_read()
493 (long long unsigned int)node_off, (int)cur_key, in befs_btree_read()
504 *value = fs64_to_cpu(sb, valarray[cur_key]); in befs_btree_read()
508 cur_key, keylen, keybuf, *value); in befs_btree_read()
/Linux-v6.1/tools/lib/bpf/
Dlibbpf.h937 const void *cur_key, void *next_key, size_t key_sz);
Dlibbpf.c9483 const void *cur_key, void *next_key, size_t key_sz) in bpf_map__get_next_key() argument
9491 return bpf_map_get_next_key(map->fd, cur_key, next_key); in bpf_map__get_next_key()