Home
last modified time | relevance | path

Searched refs:add_set (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dxt_set.c217 info->add_set.u.compat.flags, 0, UINT_MAX, in set_target_v0()
223 if (info->add_set.index != IPSET_INVALID_ID) in set_target_v0()
241 info->add_set.index); in set_target_v0_checkentry()
267 compat_flags(&info->add_set); in set_target_v0_checkentry()
278 if (info->add_set.index != IPSET_INVALID_ID) in set_target_v0_destroy()
292 info->add_set.flags, 0, UINT_MAX, in set_target_v1()
316 info->add_set.index); in set_target_v1_checkentry()
331 if (info->add_set.dim > IPSET_DIM_MAX || in set_target_v1_checkentry()
442 info->add_set.index); in set_target_v3_checkentry()
445 info->add_set.index); in set_target_v3_checkentry()
[all …]
/openbmc/linux/include/uapi/linux/netfilter/
H A Dxt_set.h35 struct xt_set_info_v0 add_set; member
53 struct xt_set_info add_set; member
60 struct xt_set_info add_set; member
78 struct xt_set_info add_set; member
/openbmc/linux/tools/bpf/resolve_btfids/
H A Dmain.c259 static struct btf_id *add_set(struct object *obj, char *name, bool is_set8) in add_set() function
482 id = add_set(obj, prefix, true); in symbols_collect()
494 id = add_set(obj, prefix, false); in symbols_collect()
/openbmc/linux/kernel/bpf/
H A Dbtf.c7680 struct btf_id_set8 *add_set = kset->set; in btf_populate_kfunc_set() local
7693 if (!add_set->cnt) in btf_populate_kfunc_set()
7736 tab->sets[hook] = add_set; in btf_populate_kfunc_set()
7749 if (set_cnt > U32_MAX - add_set->cnt) { in btf_populate_kfunc_set()
7754 if (set_cnt + add_set->cnt > BTF_KFUNC_SET_MAX_CNT) { in btf_populate_kfunc_set()
7761 offsetof(struct btf_id_set8, pairs[set_cnt + add_set->cnt]), in btf_populate_kfunc_set()
7774 memcpy(set->pairs + set->cnt, add_set->pairs, add_set->cnt * sizeof(set->pairs[0])); in btf_populate_kfunc_set()
7775 set->cnt += add_set->cnt; in btf_populate_kfunc_set()