Home
last modified time | relevance | path

Searched refs:keys (Results 1 - 25 of 620) sorted by relevance

12345678910>>...25

/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dipaq-micro-keys.c43 struct ipaq_micro_keys *keys = data; in micro_key_receive() local
50 input_report_key(keys->input, keys->codes[key], down); in micro_key_receive()
51 input_sync(keys->input); in micro_key_receive()
55 static void micro_key_start(struct ipaq_micro_keys *keys) in micro_key_start() argument
57 spin_lock(&keys->micro->lock); in micro_key_start()
58 keys->micro->key = micro_key_receive; in micro_key_start()
59 keys->micro->key_data = keys; in micro_key_start()
60 spin_unlock(&keys in micro_key_start()
63 micro_key_stop(struct ipaq_micro_keys *keys) micro_key_stop() argument
73 struct ipaq_micro_keys *keys = input_get_drvdata(input); micro_key_open() local
82 struct ipaq_micro_keys *keys = input_get_drvdata(input); micro_key_close() local
89 struct ipaq_micro_keys *keys; micro_key_probe() local
132 struct ipaq_micro_keys *keys = dev_get_drvdata(dev); micro_key_suspend() local
141 struct ipaq_micro_keys *keys = dev_get_drvdata(dev); micro_key_resume() local
[all...]
H A Dmtk-pmic-keys.c78 struct mtk_pmic_keys *keys; member
89 struct mtk_pmic_keys_info keys[MTK_PMIC_MAX_KEY_COUNT]; member
98 static void mtk_pmic_keys_lp_reset_setup(struct mtk_pmic_keys *keys, in mtk_pmic_keys_lp_reset_setup() argument
104 ret = of_property_read_u32(keys->dev->of_node, in mtk_pmic_keys_lp_reset_setup()
109 regmap_update_bits(keys->regmap, pmic_rst_reg, in mtk_pmic_keys_lp_reset_setup()
113 ret = of_property_read_u32(keys->dev->of_node, in mtk_pmic_keys_lp_reset_setup()
120 regmap_update_bits(keys->regmap, pmic_rst_reg, in mtk_pmic_keys_lp_reset_setup()
123 regmap_update_bits(keys->regmap, pmic_rst_reg, in mtk_pmic_keys_lp_reset_setup()
128 regmap_update_bits(keys->regmap, pmic_rst_reg, in mtk_pmic_keys_lp_reset_setup()
131 regmap_update_bits(keys in mtk_pmic_keys_lp_reset_setup()
168 mtk_pmic_key_setup(struct mtk_pmic_keys *keys, struct mtk_pmic_keys_info *info) mtk_pmic_key_setup() argument
198 struct mtk_pmic_keys *keys = dev_get_drvdata(dev); mtk_pmic_keys_suspend() local
211 struct mtk_pmic_keys *keys = dev_get_drvdata(dev); mtk_pmic_keys_resume() local
244 struct mtk_pmic_keys *keys; mtk_pmic_keys_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dipaq-micro-keys.c43 struct ipaq_micro_keys *keys = data; in micro_key_receive() local
50 input_report_key(keys->input, keys->codes[key], down); in micro_key_receive()
51 input_sync(keys->input); in micro_key_receive()
55 static void micro_key_start(struct ipaq_micro_keys *keys) in micro_key_start() argument
57 spin_lock(&keys->micro->lock); in micro_key_start()
58 keys->micro->key = micro_key_receive; in micro_key_start()
59 keys->micro->key_data = keys; in micro_key_start()
60 spin_unlock(&keys in micro_key_start()
63 micro_key_stop(struct ipaq_micro_keys *keys) micro_key_stop() argument
73 struct ipaq_micro_keys *keys = input_get_drvdata(input); micro_key_open() local
82 struct ipaq_micro_keys *keys = input_get_drvdata(input); micro_key_close() local
89 struct ipaq_micro_keys *keys; micro_key_probe() local
132 struct ipaq_micro_keys *keys = dev_get_drvdata(dev); micro_key_suspend() local
141 struct ipaq_micro_keys *keys = dev_get_drvdata(dev); micro_key_resume() local
[all...]
H A Dmtk-pmic-keys.c121 struct mtk_pmic_keys *keys; member
133 struct mtk_pmic_keys_info keys[MTK_PMIC_MAX_KEY_COUNT]; member
142 static void mtk_pmic_keys_lp_reset_setup(struct mtk_pmic_keys *keys, in mtk_pmic_keys_lp_reset_setup() argument
150 kregs_home = keys->keys[MTK_PMIC_HOMEKEY_INDEX].regs; in mtk_pmic_keys_lp_reset_setup()
151 kregs_pwr = keys->keys[MTK_PMIC_PWRKEY_INDEX].regs; in mtk_pmic_keys_lp_reset_setup()
153 error = of_property_read_u32(keys->dev->of_node, "power-off-time-sec", in mtk_pmic_keys_lp_reset_setup()
161 error = of_property_read_u32(keys->dev->of_node, in mtk_pmic_keys_lp_reset_setup()
185 regmap_update_bits(keys in mtk_pmic_keys_lp_reset_setup()
208 mtk_pmic_key_setup(struct mtk_pmic_keys *keys, struct mtk_pmic_keys_info *info) mtk_pmic_key_setup() argument
250 struct mtk_pmic_keys *keys = dev_get_drvdata(dev); mtk_pmic_keys_suspend() local
266 struct mtk_pmic_keys *keys = dev_get_drvdata(dev); mtk_pmic_keys_resume() local
313 struct mtk_pmic_keys *keys; mtk_pmic_keys_probe() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c75 static __always_inline int export_flow_keys(struct bpf_flow_keys *keys, in export_flow_keys() argument
78 __u32 key = (__u32)(keys->sport) << 16 | keys->dport; in export_flow_keys()
81 memcpy(&val, keys, sizeof(val)); in export_flow_keys()
118 struct bpf_flow_keys *keys = skb->flow_keys; in parse_eth_proto() local
137 return export_flow_keys(keys, BPF_DROP); in parse_eth_proto()
140 return export_flow_keys(keys, BPF_DROP); in parse_eth_proto()
146 struct bpf_flow_keys *keys = skb->flow_keys; in _dissect() local
148 if (keys->n_proto == bpf_htons(ETH_P_IP)) { in _dissect()
161 return parse_eth_proto(skb, keys in _dissect()
167 struct bpf_flow_keys *keys = skb->flow_keys; parse_ip_proto() local
258 struct bpf_flow_keys *keys = skb->flow_keys; parse_ipv6_proto() local
278 struct bpf_flow_keys *keys = skb->flow_keys; IP() local
326 struct bpf_flow_keys *keys = skb->flow_keys; IPV6() local
348 struct bpf_flow_keys *keys = skb->flow_keys; IPV6OP() local
366 struct bpf_flow_keys *keys = skb->flow_keys; IPV6FR() local
394 struct bpf_flow_keys *keys = skb->flow_keys; MPLS() local
406 struct bpf_flow_keys *keys = skb->flow_keys; VLAN() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c74 static __always_inline int export_flow_keys(struct bpf_flow_keys *keys, in export_flow_keys() argument
77 __u32 key = (__u32)(keys->sport) << 16 | keys->dport; in export_flow_keys()
80 memcpy(&val, keys, sizeof(val)); in export_flow_keys()
117 struct bpf_flow_keys *keys = skb->flow_keys; in parse_eth_proto() local
136 return export_flow_keys(keys, BPF_DROP); in parse_eth_proto()
139 return export_flow_keys(keys, BPF_DROP); in parse_eth_proto()
145 struct bpf_flow_keys *keys = skb->flow_keys; in _dissect() local
147 return parse_eth_proto(skb, keys->n_proto); in _dissect()
153 struct bpf_flow_keys *keys in parse_ip_proto() local
244 struct bpf_flow_keys *keys = skb->flow_keys; parse_ipv6_proto() local
264 struct bpf_flow_keys *keys = skb->flow_keys; IP() local
312 struct bpf_flow_keys *keys = skb->flow_keys; IPV6() local
334 struct bpf_flow_keys *keys = skb->flow_keys; IPV6OP() local
352 struct bpf_flow_keys *keys = skb->flow_keys; IPV6FR() local
378 struct bpf_flow_keys *keys = skb->flow_keys; MPLS() local
390 struct bpf_flow_keys *keys = skb->flow_keys; VLAN() local
[all...]
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dpointer_auth.h33 * We give each process its own keys, which are shared by all threads. The keys
57 static __always_inline void ptrauth_keys_init_kernel(struct ptrauth_keys_kernel *keys) in ptrauth_keys_init_kernel() argument
60 get_random_bytes(&keys->apia, sizeof(keys->apia)); in ptrauth_keys_init_kernel()
63 static __always_inline void ptrauth_keys_switch_kernel(struct ptrauth_keys_kernel *keys) in ptrauth_keys_switch_kernel() argument
68 __ptrauth_key_install_nosync(APIA, keys->apia); in ptrauth_keys_switch_kernel()
74 static inline void ptrauth_keys_install_user(struct ptrauth_keys_user *keys) in ptrauth_keys_install_user() argument
77 __ptrauth_key_install_nosync(APIB, keys->apib); in ptrauth_keys_install_user()
78 __ptrauth_key_install_nosync(APDA, keys in ptrauth_keys_install_user()
86 ptrauth_keys_init_user(struct ptrauth_keys_user *keys) ptrauth_keys_init_user() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dtcp_fastopen_backup_key.c5 * New keys are 'rotated' in two steps:
7 * 2) Make new key the primary by swapping the backup and primary keys
51 static void get_keys(int fd, uint32_t *keys) in get_keys() argument
57 if (getsockopt(fd, SOL_TCP, TCP_FASTOPEN_KEY, keys, &len)) in get_keys()
64 if (sscanf(buf, "%x-%x-%x-%x,%x-%x-%x-%x", keys, keys + 1, keys + 2, in get_keys()
65 keys + 3, keys + 4, keys in get_keys()
69 set_keys(int fd, uint32_t *keys) set_keys() argument
98 uint32_t keys[8]; build_rcv_fd() local
217 uint32_t keys[8]; rotate_key() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dtcp_fastopen_backup_key.c5 * New keys are 'rotated' in two steps:
7 * 2) Make new key the primary by swapping the backup and primary keys
49 static void get_keys(int fd, uint32_t *keys) in get_keys() argument
55 if (getsockopt(fd, SOL_TCP, TCP_FASTOPEN_KEY, keys, &len)) in get_keys()
62 if (sscanf(buf, "%x-%x-%x-%x,%x-%x-%x-%x", keys, keys + 1, keys + 2, in get_keys()
63 keys + 3, keys + 4, keys in get_keys()
67 set_keys(int fd, uint32_t *keys) set_keys() argument
96 uint32_t keys[8]; build_rcv_fd() local
215 uint32_t keys[8]; rotate_key() local
[all...]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dpointer_auth.h22 * We give each process its own keys, which are shared by all threads. The keys
37 static inline void ptrauth_keys_init_user(struct ptrauth_keys_user *keys) in ptrauth_keys_init_user() argument
40 get_random_bytes(&keys->apia, sizeof(keys->apia)); in ptrauth_keys_init_user()
41 get_random_bytes(&keys->apib, sizeof(keys->apib)); in ptrauth_keys_init_user()
42 get_random_bytes(&keys->apda, sizeof(keys->apda)); in ptrauth_keys_init_user()
43 get_random_bytes(&keys in ptrauth_keys_init_user()
57 ptrauth_keys_init_kernel(struct ptrauth_keys_kernel *keys) ptrauth_keys_init_kernel() argument
63 ptrauth_keys_switch_kernel(struct ptrauth_keys_kernel *keys) ptrauth_keys_switch_kernel() argument
[all...]
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dpointer_auth.c13 struct ptrauth_keys_user *keys = &tsk->thread.keys_user; in ptrauth_prctl_reset_keys() local
25 ptrauth_keys_init_user(keys); in ptrauth_prctl_reset_keys()
37 get_random_bytes(&keys->apia, sizeof(keys->apia)); in ptrauth_prctl_reset_keys()
39 get_random_bytes(&keys->apib, sizeof(keys->apib)); in ptrauth_prctl_reset_keys()
41 get_random_bytes(&keys->apda, sizeof(keys->apda)); in ptrauth_prctl_reset_keys()
43 get_random_bytes(&keys->apdb, sizeof(keys in ptrauth_prctl_reset_keys()
67 ptrauth_set_enabled_keys(struct task_struct *tsk, unsigned long keys, unsigned long enabled) ptrauth_set_enabled_keys() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/
H A Darray_map_batch_ops.c12 static void map_batch_update(int map_fd, __u32 max_entries, int *keys, in map_batch_update() argument
22 keys[i] = i; in map_batch_update()
26 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update()
31 int *keys, int *values) in map_batch_verify()
37 CHECK(keys[i] + 1 != values[i], "key/value checking", in map_batch_verify()
38 "error: i %d key %d value %d\n", i, keys[i], values[i]); in map_batch_verify()
43 "error: keys array at index %d missing\n", i); in map_batch_verify()
55 int map_fd, *keys, *values, *visited; in test_array_map_batch_ops() local
71 keys = malloc(max_entries * sizeof(int)); in test_array_map_batch_ops()
74 CHECK(!keys || !value in test_array_map_batch_ops()
30 map_batch_verify(int *visited, __u32 max_entries, int *keys, int *values) map_batch_verify() argument
[all...]
H A Dhtab_map_batch_ops.c13 static void map_batch_update(int map_fd, __u32 max_entries, int *keys, in map_batch_update() argument
28 keys[i] = i + 1; in map_batch_update()
36 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update()
41 int *keys, void *values, bool is_pcpu) in map_batch_verify()
55 CHECK(keys[i] + 1 + j != bpf_percpu(v[i], j), in map_batch_verify()
58 i, j, keys[i], bpf_percpu(v[i], j)); in map_batch_verify()
61 CHECK(keys[i] + 1 != ((int *)values)[i], in map_batch_verify()
63 "error: i %d key %d value %d\n", i, keys[i], in map_batch_verify()
72 "error: keys array at index %d missing\n", i); in map_batch_verify()
80 int map_fd, *keys, *visite in __test_map_lookup_and_delete_batch() local
40 map_batch_verify(int *visited, __u32 max_entries, int *keys, void *values, bool is_pcpu) map_batch_verify() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/map_tests/
H A Dhtab_map_batch_ops.c14 static void map_batch_update(int map_fd, __u32 max_entries, int *keys, in map_batch_update() argument
29 keys[i] = i + 1; in map_batch_update()
37 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update()
42 int *keys, void *values, bool is_pcpu) in map_batch_verify()
56 CHECK(keys[i] + 1 + j != bpf_percpu(v[i], j), in map_batch_verify()
59 i, j, keys[i], bpf_percpu(v[i], j)); in map_batch_verify()
62 CHECK(keys[i] + 1 != ((int *)values)[i], in map_batch_verify()
64 "error: i %d key %d value %d\n", i, keys[i], in map_batch_verify()
73 "error: keys array at index %d missing\n", i); in map_batch_verify()
81 int map_fd, *keys, *visite in __test_map_lookup_and_delete_batch() local
41 map_batch_verify(int *visited, __u32 max_entries, int *keys, void *values, bool is_pcpu) map_batch_verify() argument
[all...]
H A Darray_map_batch_ops.c15 static void map_batch_update(int map_fd, __u32 max_entries, int *keys, in map_batch_update() argument
26 keys[i] = i; in map_batch_update()
36 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update()
40 static void map_batch_verify(int *visited, __u32 max_entries, int *keys, in map_batch_verify() argument
52 CHECK(keys[i] + j + 1 != value, in map_batch_verify()
55 j, keys[i], value); in map_batch_verify()
58 CHECK(keys[i] + 1 != values[i], "key/value checking", in map_batch_verify()
59 "error: i %d key %d value %lld\n", i, keys[i], in map_batch_verify()
66 "error: keys array at index %d missing\n", i); in map_batch_verify()
72 int map_fd, *keys, *visite in __test_map_lookup_and_update_batch() local
[all...]
H A Dlpm_trie_map_batch_ops.c23 struct test_lpm_key *keys, int *values) in map_batch_update()
34 keys[i].prefix = 32; in map_batch_update()
36 inet_pton(AF_INET, buff, &keys[i].ipv4); in map_batch_update()
40 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update()
45 struct test_lpm_key *keys, int *values) in map_batch_verify()
53 inet_ntop(AF_INET, &keys[i].ipv4, buff, 32); in map_batch_verify()
62 "error: keys array at index %d missing\n", i); in map_batch_verify()
69 struct test_lpm_key *keys, key; in test_lpm_trie_map_batch_ops() local
86 keys = malloc(max_entries * sizeof(struct test_lpm_key)); in test_lpm_trie_map_batch_ops()
89 CHECK(!keys || !value in test_lpm_trie_map_batch_ops()
22 map_batch_update(int map_fd, __u32 max_entries, struct test_lpm_key *keys, int *values) map_batch_update() argument
44 map_batch_verify(int *visited, __u32 max_entries, struct test_lpm_key *keys, int *values) map_batch_verify() argument
[all...]
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dpointer_auth.c13 struct ptrauth_keys_user *keys = &tsk->thread.keys_user; in ptrauth_prctl_reset_keys() local
25 ptrauth_keys_init_user(keys); in ptrauth_prctl_reset_keys()
37 get_random_bytes(&keys->apia, sizeof(keys->apia)); in ptrauth_prctl_reset_keys()
39 get_random_bytes(&keys->apib, sizeof(keys->apib)); in ptrauth_prctl_reset_keys()
41 get_random_bytes(&keys->apda, sizeof(keys->apda)); in ptrauth_prctl_reset_keys()
43 get_random_bytes(&keys->apdb, sizeof(keys in ptrauth_prctl_reset_keys()
[all...]
/kernel/linux/linux-5.10/drivers/input/misc/
H A Ddm355evm_keys.c102 struct dm355evm_keys *keys = _keys; in dm355evm_keys_irq() local
115 dev_dbg(keys->dev, "input high err %d\n", in dm355evm_keys_irq()
123 dev_dbg(keys->dev, "input low err %d\n", in dm355evm_keys_irq()
152 ke = sparse_keymap_entry_from_scancode(keys->input, event); in dm355evm_keys_irq()
154 dev_dbg(keys->dev, in dm355evm_keys_irq()
159 input_report_key(keys->input, keycode, 1); in dm355evm_keys_irq()
160 input_sync(keys->input); in dm355evm_keys_irq()
161 input_report_key(keys->input, keycode, 0); in dm355evm_keys_irq()
162 input_sync(keys->input); in dm355evm_keys_irq()
172 struct dm355evm_keys *keys; in dm355evm_keys_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dbtree.c18 * as keys are inserted we only sort the pages that have not yet been written.
52 * Check for bad keys in replay
115 if (b->level && b->keys.nsets) in bch_btree_init_next()
116 bch_btree_sort(&b->keys, &b->c->sort); in bch_btree_init_next()
118 bch_btree_sort_lazy(&b->keys, &b->c->sort); in bch_btree_init_next()
121 bch_bset_init_next(&b->keys, write_block(b), in bch_btree_init_next()
164 iter->b = &b->keys; in bch_btree_node_read_done()
171 b->written < btree_blocks(b) && i->seq == b->keys.set[0].data->seq; in bch_btree_node_read_done()
199 if (i != b->keys.set[0].data && !i->keys) in bch_btree_node_read_done()
1284 unsigned int keys = 0, good_keys = 0; btree_gc_mark_node() local
1327 unsigned int keys; global() member
1338 unsigned int i, nodes = 0, keys = 0, blocks; btree_gc_coalesce() local
1509 struct keylist keys; btree_gc_rewrite_node() local
2236 unsigned int keys = 0; btree_split() local
2438 struct keylist *keys; global() member
2456 bch_btree_insert(struct cache_set *c, struct keylist *keys, atomic_t *journal_ref, struct bkey *replace_key) bch_btree_insert() argument
[all...]
H A Ddebug.c44 sorted = b->c->verify_data->keys.set->data; in bch_btree_verify()
45 inmemory = b->keys.set->data; in bch_btree_verify()
50 v->keys.ops = b->keys.ops; in bch_btree_verify()
65 sorted = v->keys.set->data; in bch_btree_verify()
67 if (inmemory->keys != sorted->keys || in bch_btree_verify()
78 bch_dump_bset(&b->keys, inmemory, 0); in bch_btree_verify()
81 bch_dump_bset(&v->keys, sorted, 0); in bch_btree_verify()
88 bch_dump_bset(&b->keys, in bch_btree_verify()
163 struct keybuf keys; global() member
[all...]
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dbtree.c18 * as keys are inserted we only sort the pages that have not yet been written.
52 * Check for bad keys in replay
115 if (b->level && b->keys.nsets) in bch_btree_init_next()
116 bch_btree_sort(&b->keys, &b->c->sort); in bch_btree_init_next()
118 bch_btree_sort_lazy(&b->keys, &b->c->sort); in bch_btree_init_next()
121 bch_bset_init_next(&b->keys, write_block(b), in bch_btree_init_next()
164 iter->b = &b->keys; in bch_btree_node_read_done()
171 b->written < btree_blocks(b) && i->seq == b->keys.set[0].data->seq; in bch_btree_node_read_done()
199 if (i != b->keys.set[0].data && !i->keys) in bch_btree_node_read_done()
1305 unsigned int keys = 0, good_keys = 0; btree_gc_mark_node() local
1348 unsigned int keys; global() member
1359 unsigned int i, nodes = 0, keys = 0, blocks; btree_gc_coalesce() local
1530 struct keylist keys; btree_gc_rewrite_node() local
2257 unsigned int keys = 0; btree_split() local
2459 struct keylist *keys; global() member
2477 bch_btree_insert(struct cache_set *c, struct keylist *keys, atomic_t *journal_ref, struct bkey *replace_key) bch_btree_insert() argument
[all...]
H A Ddebug.c44 sorted = b->c->verify_data->keys.set->data; in bch_btree_verify()
45 inmemory = b->keys.set->data; in bch_btree_verify()
50 v->keys.ops = b->keys.ops; in bch_btree_verify()
65 sorted = v->keys.set->data; in bch_btree_verify()
67 if (inmemory->keys != sorted->keys || in bch_btree_verify()
78 bch_dump_bset(&b->keys, inmemory, 0); in bch_btree_verify()
81 bch_dump_bset(&v->keys, sorted, 0); in bch_btree_verify()
88 bch_dump_bset(&b->keys, in bch_btree_verify()
164 struct keybuf keys; global() member
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
H A Denic_clsf.c15 * @keys: flow_keys of ipv4 5tuple
21 int enic_addfltr_5t(struct enic *enic, struct flow_keys *keys, u16 rq) in enic_addfltr_5t() argument
26 switch (keys->basic.ip_proto) { in enic_addfltr_5t()
38 data.u.ipv4.src_addr = ntohl(keys->addrs.v4addrs.src); in enic_addfltr_5t()
39 data.u.ipv4.dst_addr = ntohl(keys->addrs.v4addrs.dst); in enic_addfltr_5t()
40 data.u.ipv4.src_port = ntohs(keys->ports.src); in enic_addfltr_5t()
41 data.u.ipv4.dst_port = ntohs(keys->ports.dst); in enic_addfltr_5t()
162 if (tpos->keys.addrs.v4addrs.src == k->addrs.v4addrs.src && in htbl_key_search()
163 tpos->keys.addrs.v4addrs.dst == k->addrs.v4addrs.dst && in htbl_key_search()
164 tpos->keys in htbl_key_search()
174 struct flow_keys keys; enic_rx_flow_steer() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/
H A Denic_clsf.c15 * @keys: flow_keys of ipv4 5tuple
21 int enic_addfltr_5t(struct enic *enic, struct flow_keys *keys, u16 rq) in enic_addfltr_5t() argument
26 switch (keys->basic.ip_proto) { in enic_addfltr_5t()
38 data.u.ipv4.src_addr = ntohl(keys->addrs.v4addrs.src); in enic_addfltr_5t()
39 data.u.ipv4.dst_addr = ntohl(keys->addrs.v4addrs.dst); in enic_addfltr_5t()
40 data.u.ipv4.src_port = ntohs(keys->ports.src); in enic_addfltr_5t()
41 data.u.ipv4.dst_port = ntohs(keys->ports.dst); in enic_addfltr_5t()
162 if (tpos->keys.addrs.v4addrs.src == k->addrs.v4addrs.src && in htbl_key_search()
163 tpos->keys.addrs.v4addrs.dst == k->addrs.v4addrs.dst && in htbl_key_search()
164 tpos->keys in htbl_key_search()
174 struct flow_keys keys; enic_rx_flow_steer() local
[all...]
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_fsmap.c173 struct xfs_fsmap *keys,
406 struct xfs_fsmap *keys, in xfs_getfsmap_logdev()
413 /* Set up search keys */ in xfs_getfsmap_logdev()
414 info->low.rm_startblock = XFS_BB_TO_FSBT(mp, keys[0].fmr_physical); in xfs_getfsmap_logdev()
415 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset); in xfs_getfsmap_logdev()
416 error = xfs_fsmap_owner_to_rmap(&info->low, keys); in xfs_getfsmap_logdev()
420 xfs_getfsmap_set_irec_flags(&info->low, &keys[0]); in xfs_getfsmap_logdev()
422 error = xfs_fsmap_owner_to_rmap(&info->high, keys + 1); in xfs_getfsmap_logdev()
435 if (keys[0].fmr_physical > 0) in xfs_getfsmap_logdev()
475 struct xfs_fsmap *keys, in __xfs_getfsmap_rtdev()
404 xfs_getfsmap_logdev( struct xfs_trans *tp, struct xfs_fsmap *keys, struct xfs_getfsmap_info *info) xfs_getfsmap_logdev() argument
473 __xfs_getfsmap_rtdev( struct xfs_trans *tp, struct xfs_fsmap *keys, int (*query_fn)(struct xfs_trans *, struct xfs_getfsmap_info *), struct xfs_getfsmap_info *info) __xfs_getfsmap_rtdev() argument
551 xfs_getfsmap_rtdev_rtbitmap( struct xfs_trans *tp, struct xfs_fsmap *keys, struct xfs_getfsmap_info *info) xfs_getfsmap_rtdev_rtbitmap() argument
564 __xfs_getfsmap_datadev( struct xfs_trans *tp, struct xfs_fsmap *keys, struct xfs_getfsmap_info *info, int (*query_fn)(struct xfs_trans *, struct xfs_getfsmap_info *, struct xfs_btree_cur **, void *), void *priv) __xfs_getfsmap_datadev() argument
701 xfs_getfsmap_datadev_rmapbt( struct xfs_trans *tp, struct xfs_fsmap *keys, struct xfs_getfsmap_info *info) xfs_getfsmap_datadev_rmapbt() argument
736 xfs_getfsmap_datadev_bnobt( struct xfs_trans *tp, struct xfs_fsmap *keys, struct xfs_getfsmap_info *info) xfs_getfsmap_datadev_bnobt() argument
[all...]

Completed in 13 milliseconds

12345678910>>...25