Home
last modified time | relevance | path

Searched refs:kf (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/drivers/iio/buffer/
H A Dkfifo_buf.c18 struct kfifo kf; member
38 return __kfifo_alloc((struct __kfifo *)&buf->kf, length, in __iio_allocate_kfifo()
49 kfifo_free(&buf->kf); in iio_request_update_kfifo()
55 kfifo_reset_out(&buf->kf); in iio_request_update_kfifo()
64 struct iio_kfifo *kf = iio_to_kfifo(r); in iio_mark_update_needed_kfifo() local
65 kf->update_needed = true; in iio_mark_update_needed_kfifo()
94 struct iio_kfifo *kf = iio_to_kfifo(r); in iio_store_to_kfifo() local
95 ret = kfifo_in(&kf->kf, data, 1); in iio_store_to_kfifo()
104 struct iio_kfifo *kf in iio_read_kfifo() local
122 struct iio_kfifo *kf = iio_to_kfifo(r); iio_kfifo_buf_data_available() local
134 struct iio_kfifo *kf = iio_to_kfifo(buffer); iio_kfifo_buffer_release() local
143 struct iio_kfifo *kf = iio_to_kfifo(r); iio_kfifo_buf_space_available() local
156 struct iio_kfifo *kf = iio_to_kfifo(r); iio_kfifo_remove_from() local
173 struct iio_kfifo *kf = iio_to_kfifo(r); iio_kfifo_write() local
205 struct iio_kfifo *kf; iio_kfifo_allocate() local
[all...]
/kernel/linux/linux-5.10/drivers/iio/buffer/
H A Dkfifo_buf.c18 struct kfifo kf; member
38 return __kfifo_alloc((struct __kfifo *)&buf->kf, length, in __iio_allocate_kfifo()
49 kfifo_free(&buf->kf); in iio_request_update_kfifo()
55 kfifo_reset_out(&buf->kf); in iio_request_update_kfifo()
64 struct iio_kfifo *kf = iio_to_kfifo(r); in iio_mark_update_needed_kfifo() local
65 kf->update_needed = true; in iio_mark_update_needed_kfifo()
94 struct iio_kfifo *kf = iio_to_kfifo(r); in iio_store_to_kfifo() local
95 ret = kfifo_in(&kf->kf, data, 1); in iio_store_to_kfifo()
104 struct iio_kfifo *kf in iio_read_kfifo() local
122 struct iio_kfifo *kf = iio_to_kfifo(r); iio_kfifo_buf_data_available() local
134 struct iio_kfifo *kf = iio_to_kfifo(buffer); iio_kfifo_buffer_release() local
155 struct iio_kfifo *kf; iio_kfifo_allocate() local
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dnfnetlink_osf.c205 const struct nf_osf_finger *kf; in nf_osf_match() local
220 list_for_each_entry_rcu(kf, &nf_osf_fingers[ctx.df], finger_entry) { in nf_osf_match()
222 f = &kf->finger; in nf_osf_match()
268 const struct nf_osf_finger *kf; in nf_osf_find() local
280 list_for_each_entry_rcu(kf, &nf_osf_fingers[ctx.df], finger_entry) { in nf_osf_find()
281 f = &kf->finger; in nf_osf_find()
305 struct nf_osf_finger *kf = NULL, *sf; in nfnl_osf_add_callback() local
327 kf = kmalloc(sizeof(struct nf_osf_finger), GFP_KERNEL); in nfnl_osf_add_callback()
328 if (!kf) in nfnl_osf_add_callback()
331 memcpy(&kf in nfnl_osf_add_callback()
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dnfnetlink_osf.c205 const struct nf_osf_finger *kf; in nf_osf_match() local
220 list_for_each_entry_rcu(kf, &nf_osf_fingers[ctx.df], finger_entry) { in nf_osf_match()
222 f = &kf->finger; in nf_osf_match()
268 const struct nf_osf_finger *kf; in nf_osf_find() local
280 list_for_each_entry_rcu(kf, &nf_osf_fingers[ctx.df], finger_entry) { in nf_osf_find()
281 f = &kf->finger; in nf_osf_find()
304 struct nf_osf_finger *kf = NULL, *sf; in nfnl_osf_add_callback() local
326 kf = kmalloc(sizeof(struct nf_osf_finger), GFP_KERNEL); in nfnl_osf_add_callback()
327 if (!kf) in nfnl_osf_add_callback()
330 memcpy(&kf in nfnl_osf_add_callback()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_kunit.c1020 struct vcap_client_keyfield *kf; in vcap_api_rule_add_keyvalue_test() local
1033 kf = list_first_entry(&rule->keyfields, struct vcap_client_keyfield, in vcap_api_rule_add_keyvalue_test()
1035 KUNIT_EXPECT_EQ(test, VCAP_KF_LOOKUP_FIRST_IS, kf->ctrl.key); in vcap_api_rule_add_keyvalue_test()
1036 KUNIT_EXPECT_EQ(test, VCAP_FIELD_BIT, kf->ctrl.type); in vcap_api_rule_add_keyvalue_test()
1037 KUNIT_EXPECT_EQ(test, 0x0, kf->data.u1.value); in vcap_api_rule_add_keyvalue_test()
1038 KUNIT_EXPECT_EQ(test, 0x1, kf->data.u1.mask); in vcap_api_rule_add_keyvalue_test()
1046 kf = list_first_entry(&rule->keyfields, struct vcap_client_keyfield, in vcap_api_rule_add_keyvalue_test()
1048 KUNIT_EXPECT_EQ(test, VCAP_KF_LOOKUP_FIRST_IS, kf->ctrl.key); in vcap_api_rule_add_keyvalue_test()
1049 KUNIT_EXPECT_EQ(test, VCAP_FIELD_BIT, kf->ctrl.type); in vcap_api_rule_add_keyvalue_test()
1050 KUNIT_EXPECT_EQ(test, 0x1, kf in vcap_api_rule_add_keyvalue_test()
[all...]
H A Dvcap_api.c447 const struct vcap_client_keyfield *kf, in vcap_encode_keyfield()
459 switch (kf->ctrl.type) { in vcap_encode_keyfield()
461 value = &kf->data.u1.value; in vcap_encode_keyfield()
462 mask = &kf->data.u1.mask; in vcap_encode_keyfield()
465 value = (const u8 *)&kf->data.u32.value; in vcap_encode_keyfield()
466 mask = (const u8 *)&kf->data.u32.mask; in vcap_encode_keyfield()
469 value = kf->data.u48.value; in vcap_encode_keyfield()
470 mask = kf->data.u48.mask; in vcap_encode_keyfield()
473 value = kf->data.u56.value; in vcap_encode_keyfield()
474 mask = kf in vcap_encode_keyfield()
446 vcap_encode_keyfield(struct vcap_rule_internal *ri, const struct vcap_client_keyfield *kf, const struct vcap_field *rf, const struct vcap_typegroup *tgt) vcap_encode_keyfield() argument
2968 struct vcap_client_keyfield *kf, *nkf; vcap_enable_rule() local
3334 struct vcap_client_keyfield kf = {}; vcap_rule_get_keysets() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvmodesnv17.c265 int64_t kf; member
342 + (p->kf + p->kif*i + p->ki2f*i*i + in tv_setup_filter()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvmodesnv17.c264 int64_t kf; member
341 + (p->kf + p->kif*i + p->ki2f*i*i + in tv_setup_filter()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
H A Dmmu.c4275 u8 kf = (pfec & PFERR_USER_MASK) ? 0 : u; in update_permission_bitmask() local
4287 smepf = (pfec & PFERR_FETCH_MASK) ? kf : 0; in update_permission_bitmask()
4306 smapf = (pfec & (PFERR_RSVD_MASK|PFERR_FETCH_MASK)) ? 0 : kf; in update_permission_bitmask()
/kernel/linux/linux-6.6/arch/x86/kvm/mmu/
H A Dmmu.c4979 u8 kf = (pfec & PFERR_USER_MASK) ? 0 : u; in update_permission_bitmask() local
4991 smepf = (pfec & PFERR_FETCH_MASK) ? kf : 0; in update_permission_bitmask()
5010 smapf = (pfec & (PFERR_RSVD_MASK|PFERR_FETCH_MASK)) ? 0 : kf; in update_permission_bitmask()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/
H A Drdtgroup.c3142 static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf) in rdtgroup_show_options() argument
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/resctrl/
H A Drdtgroup.c3650 static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf) in rdtgroup_show_options() argument

Completed in 41 milliseconds