Lines Matching refs:val
80 unsigned long val;
676 static inline struct meta_ops *meta_ops(struct meta_value *val)
678 return &__meta_ops[meta_type(val)][meta_id(val)];
699 dst->val = (unsigned long)kmemdup(nla_data(nla), len, GFP_KERNEL);
700 if (dst->val == 0UL)
708 kfree((void *) v->val);
722 if (v->val && v->len &&
723 nla_put(skb, tlv, v->len, (void *) v->val))
751 dst->val = *(unsigned long *) nla_data(nla);
754 dst->val = nla_get_u32(nla);
768 if (v->val)
769 dst->value &= v->val;
775 if (nla_put(skb, tlv, sizeof(unsigned long), &v->val))
778 if (nla_put_u32(skb, tlv, v->val))
831 dst->value = v->val;
897 static inline int meta_is_supported(struct meta_value *val)
899 return !meta_id(val) || meta_ops(val)->get;