Home
last modified time | relevance | path

Searched refs:uref (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/hid/usbhid/
Dhiddev.c109 hiddev_lookup_usage(struct hid_device *hid, struct hiddev_usage_ref *uref) in hiddev_lookup_usage() argument
116 if (uref->report_type < HID_REPORT_TYPE_MIN || in hiddev_lookup_usage()
117 uref->report_type > HID_REPORT_TYPE_MAX) in hiddev_lookup_usage()
121 (uref->report_type - HID_REPORT_TYPE_MIN); in hiddev_lookup_usage()
127 if (field->usage[j].hid == uref->usage_code) { in hiddev_lookup_usage()
128 uref->report_id = report->id; in hiddev_lookup_usage()
129 uref->field_index = i; in hiddev_lookup_usage()
130 uref->usage_index = j; in hiddev_lookup_usage()
141 struct hiddev_usage_ref *uref) in hiddev_send_event() argument
149 if (uref->field_index != HID_FIELD_INDEX_NONE || in hiddev_send_event()
[all …]
/linux-6.1.9/net/netfilter/ipset/
Dip_set_hash_gen.h83 atomic_t uref; /* References for dumping and gc */ member
560 atomic_inc(&t->uref); in mtype_gc()
573 if (atomic_dec_and_test(&t->uref) && atomic_read(&t->ref)) { in mtype_gc()
656 atomic_inc(&orig->uref); in mtype_resize()
758 if (atomic_dec_and_test(&orig->uref)) { in mtype_resize()
772 atomic_dec(&orig->uref); in mtype_resize()
835 atomic_inc(&t->uref); in mtype_add()
1003 if (atomic_dec_and_test(&t->uref) && atomic_read(&t->ref)) { in mtype_add()
1033 atomic_inc(&t->uref); in mtype_del()
1116 if (atomic_dec_and_test(&t->uref) && atomic_read(&t->ref)) { in mtype_del()
[all …]
Dip_set_core.c1440 if (set->variant->uref) in ip_set_dump_done()
1441 set->variant->uref(set, cb, false); in ip_set_dump_done()
1611 if (set->variant->uref) in ip_set_dump_do()
1612 set->variant->uref(set, cb, true); in ip_set_dump_do()
1627 if (set && set->variant->uref) in ip_set_dump_do()
1628 set->variant->uref(set, cb, false); in ip_set_dump_do()
1644 if (set->variant->uref) in ip_set_dump_do()
1645 set->variant->uref(set, cb, false); in ip_set_dump_do()
/linux-6.1.9/include/uapi/linux/
Dhiddev.h134 struct hiddev_usage_ref uref; member
/linux-6.1.9/include/linux/netfilter/ipset/
Dip_set.h183 void (*uref)(struct ip_set *set, struct netlink_callback *cb, member
/linux-6.1.9/kernel/bpf/
Dsyscall.c1255 static struct bpf_map *__bpf_map_inc_not_zero(struct bpf_map *map, bool uref) in __bpf_map_inc_not_zero() argument
1262 if (uref) in __bpf_map_inc_not_zero()