Searched refs:uref (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/hid/usbhid/ |
H A D | hiddev.c | 191 memset(&uref, 0, sizeof(uref)); in hiddev_report_event() 440 uref = &uref_multi->uref; in hiddev_ioctl_usage() 446 if (copy_from_user(uref, user_arg, sizeof(*uref))) in hiddev_ioctl_usage() 459 uref->field_index = array_index_nospec(uref->field_index, in hiddev_ioctl_usage() 465 uref->usage_index = array_index_nospec(uref->usage_index, in hiddev_ioctl_usage() 468 uref->usage_code = field->usage[uref->usage_index].hid; in hiddev_ioctl_usage() 470 if (copy_to_user(user_arg, uref, sizeof(*uref))) in hiddev_ioctl_usage() 493 uref->field_index = array_index_nospec(uref->field_index, in hiddev_ioctl_usage() 524 uref->value = field->value[uref->usage_index]; in hiddev_ioctl_usage() 525 if (copy_to_user(user_arg, uref, sizeof(*uref))) in hiddev_ioctl_usage() [all …]
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_gen.h | 83 atomic_t uref; /* References for dumping and gc */ member 571 atomic_inc(&t->uref); in mtype_gc() 584 if (atomic_dec_and_test(&t->uref) && atomic_read(&t->ref)) { in mtype_gc() 676 atomic_inc(&orig->uref); in mtype_resize() 778 if (atomic_dec_and_test(&orig->uref)) { in mtype_resize() 792 atomic_dec(&orig->uref); in mtype_resize() 855 atomic_inc(&t->uref); in mtype_add() 1023 if (atomic_dec_and_test(&t->uref) && atomic_read(&t->ref)) { in mtype_add() 1053 atomic_inc(&t->uref); in mtype_del() 1336 atomic_inc(&t->uref); in mtype_uref() [all …]
|
H A D | ip_set_core.c | 1480 if (set->variant->uref) in ip_set_dump_done() 1481 set->variant->uref(set, cb, false); in ip_set_dump_done() 1651 if (set->variant->uref) in ip_set_dump_do() 1652 set->variant->uref(set, cb, true); in ip_set_dump_do() 1667 if (set && set->variant->uref) in ip_set_dump_do() 1668 set->variant->uref(set, cb, false); in ip_set_dump_do() 1684 if (set->variant->uref) in ip_set_dump_do() 1685 set->variant->uref(set, cb, false); in ip_set_dump_do()
|
/openbmc/linux/include/uapi/linux/ |
H A D | hiddev.h | 134 struct hiddev_usage_ref uref; member
|
/openbmc/linux/include/linux/netfilter/ipset/ |
H A D | ip_set.h | 183 void (*uref)(struct ip_set *set, struct netlink_callback *cb, member
|
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 1381 struct bpf_map *__bpf_map_inc_not_zero(struct bpf_map *map, bool uref) in __bpf_map_inc_not_zero() argument 1388 if (uref) in __bpf_map_inc_not_zero()
|
/openbmc/linux/include/linux/ |
H A D | bpf.h | 2098 struct bpf_map *__bpf_map_inc_not_zero(struct bpf_map *map, bool uref);
|