Lines Matching refs:n_rrs
49 unsigned n_rrs, n_allocated;
87 return a ? a->n_rrs : 0;
96 (kk) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].rr : NULL; \
99 (a) && (UNIQ_T(i, q) < (a)->n_rrs); \
100 UNIQ_T(i, q)++, (kk) = (UNIQ_T(i, q) < (a)->n_rrs ? (a)->items[UNIQ_T(i, q)].rr : NULL))
106 (kk) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].rr : NULL; \
107 (ifi) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].ifindex : 0; \
110 (a) && (UNIQ_T(i, q) < (a)->n_rrs); \
112 (kk) = ((UNIQ_T(i, q) < (a)->n_rrs) ? (a)->items[UNIQ_T(i, q)].rr : NULL), \
113 (ifi) = ((UNIQ_T(i, q) < (a)->n_rrs) ? (a)->items[UNIQ_T(i, q)].ifindex : 0))
119 (kk) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].rr : NULL; \
120 (fl) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].flags : 0; \
123 (a) && (UNIQ_T(i, q) < (a)->n_rrs); \
125 (kk) = ((UNIQ_T(i, q) < (a)->n_rrs) ? (a)->items[UNIQ_T(i, q)].rr : NULL), \
126 (fl) = ((UNIQ_T(i, q) < (a)->n_rrs) ? (a)->items[UNIQ_T(i, q)].flags : 0))
132 (kk) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].rr : NULL; \
133 (ifi) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].ifindex : 0; \
134 (fl) = ((a) && (a)->n_rrs > 0) ? (a)->items[0].flags : 0; \
137 (a) && (UNIQ_T(i, q) < (a)->n_rrs); \
139 (kk) = ((UNIQ_T(i, q) < (a)->n_rrs) ? (a)->items[UNIQ_T(i, q)].rr : NULL), \
140 (ifi) = ((UNIQ_T(i, q) < (a)->n_rrs) ? (a)->items[UNIQ_T(i, q)].ifindex : 0), \
141 (fl) = ((UNIQ_T(i, q) < (a)->n_rrs) ? (a)->items[UNIQ_T(i, q)].flags : 0))