Home | History | Annotate | Download | only in pending

Lines Matching refs:alist

109   struct arglist *alist;
115 for (alist = list; alist->name; alist++)
116 if (!memcmp(str, alist->name, len)) return alist->idx;
122 struct arglist *alist;
125 for (alist = list; alist->name; alist++)
126 if (!strcmp(str, alist->name)) return alist->idx;
132 struct arglist *alist;
135 for (alist = list; alist->name; alist++)
136 if (idx == alist->idx) return alist->name;
214 struct arglist **alist;
218 alist = rt_dsfield;
221 parseRPDB("/etc/iproute2/rt_dsfield", alist, ARRAY_LEN(rt_dsfield));
225 alist = rt_protos;
238 parseRPDB("/etc/iproute2/rt_protos", alist, ARRAY_LEN(rt_protos));
242 alist = rt_realms;
246 parseRPDB("/etc/iproute2/rt_realms", alist, ARRAY_LEN(rt_realms));
250 alist = rt_scope;
258 parseRPDB("/etc/iproute2/rt_scopes", alist, ARRAY_LEN(rt_scope));
262 alist = rt_tables;
268 parseRPDB("/etc/iproute2/rt_tables", alist, ARRAY_LEN(rt_tables));
275 return alist;
284 struct arglist **alist;
291 alist = getlist(whichDB);
293 if (alist[idx] && alist[idx]->name) return alist[idx]->name;
303 struct arglist **alist;
307 for (alist = getlist(whichDB); i < RPDB_ENTRIES; i++) {
308 if (!alist[i] || !alist[i]->name) continue;
309 if (!strcmp(alist[i]->name, name)) return i;