Searched refs:sc_attr (Results 1 – 3 of 3) sorted by relevance
268 bool ExtractScopedAllocatorAttr(const std::vector<int>& sc_attr, in ExtractScopedAllocatorAttr() argument271 DCHECK_LE(2, sc_attr.size()); in ExtractScopedAllocatorAttr()272 for (int i = 0; i < sc_attr.size(); i += 2) { in ExtractScopedAllocatorAttr()273 if (sc_attr[i] == output_index) { in ExtractScopedAllocatorAttr()275 alloc_attr->scope_id = sc_attr[i + 1]; in ExtractScopedAllocatorAttr()
279 bool ExtractScopedAllocatorAttr(const std::vector<int>& sc_attr, in ExtractScopedAllocatorAttr() argument282 DCHECK_LE(2, sc_attr.size()); in ExtractScopedAllocatorAttr()283 for (int i = 0; i < sc_attr.size(); i += 2) { in ExtractScopedAllocatorAttr()284 if (sc_attr[i] == output_index) { in ExtractScopedAllocatorAttr()286 alloc_attr->scope_id = sc_attr[i + 1]; in ExtractScopedAllocatorAttr()
936 struct rtattr *sc_attr[MACSEC_RXSC_ATTR_MAX + 1]; in process() local938 parse_rtattr_nested(sc_attr, MACSEC_RXSC_ATTR_MAX + 1, c); in process()940 rta_getattr_u64(sc_attr[MACSEC_RXSC_ATTR_SCI]), in process()941 rta_getattr_u32(sc_attr[MACSEC_RXSC_ATTR_ACTIVE]), in process()942 sc_attr[MACSEC_RXSC_ATTR_STATS], in process()943 sc_attr[MACSEC_RXSC_ATTR_SA_LIST]); in process()