Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 2 of 2) sorted by relevance

/lib/
Dnlattr.c99 static int nla_validate_int_range(const struct nla_policy *pt, in nla_validate_int_range() argument
106 validate_min = pt->validation_type == NLA_VALIDATE_RANGE || in nla_validate_int_range()
107 pt->validation_type == NLA_VALIDATE_MIN; in nla_validate_int_range()
108 validate_max = pt->validation_type == NLA_VALIDATE_RANGE || in nla_validate_int_range()
109 pt->validation_type == NLA_VALIDATE_MAX; in nla_validate_int_range()
111 switch (pt->type) { in nla_validate_int_range()
135 if ((validate_min && nla_get_u64(nla) < pt->min) || in nla_validate_int_range()
136 (validate_max && nla_get_u64(nla) > pt->max)) { in nla_validate_int_range()
147 if ((validate_min && value < pt->min) || in nla_validate_int_range()
148 (validate_max && value > pt->max)) { in nla_validate_int_range()
[all …]
/lib/crypto/
Ddes.c604 #define T1(x) pt[2 * (x) + 0]
605 #define T2(x) pt[2 * (x) + 1]
606 #define T3(x) pt[2 * (x) + 2]
607 #define T4(x) pt[2 * (x) + 3]
627 const u32 *pt = pc2; in des_ekey() local
655 pt += 512; in des_ekey()
718 const u32 *pt = pc2; in dkey() local
743 pt += 512; in dkey()