Lines Matching refs:key
1181 struct pfr_ktable *p, *q, *r, key;
1190 for (i = 0; i < size; i++, tbl += sizeof (key.pfrkt_t)) {
1191 if (COPYIN(tbl, &key.pfrkt_t, sizeof (key.pfrkt_t), flags))
1193 pfr_table_copyin_cleanup(&key.pfrkt_t);
1194 if (pfr_validate_table(&key.pfrkt_t, PFR_TFLAG_USRMASK,
1197 key.pfrkt_flags |= PFR_TFLAG_ACTIVE;
1198 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
1200 p = pfr_create_ktable(&key.pfrkt_t, tzero, 1);
1209 if (!key.pfrkt_anchor[0])
1213 bzero(key.pfrkt_anchor, sizeof (key.pfrkt_anchor));
1214 r = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
1220 if (!pfr_ktable_compare(&key, q)) {
1225 key.pfrkt_flags = 0;
1226 r = pfr_create_ktable(&key.pfrkt_t, 0, 1);
1233 if (!pfr_ktable_compare(&key, q))
1236 ~PFR_TFLAG_USRMASK) | key.pfrkt_flags;
1260 struct pfr_ktable *p, *q, key;
1267 for (i = 0; i < size; i++, tbl += sizeof (key.pfrkt_t)) {
1268 if (COPYIN(tbl, &key.pfrkt_t, sizeof (key.pfrkt_t), flags))
1270 pfr_table_copyin_cleanup(&key.pfrkt_t);
1271 if (pfr_validate_table(&key.pfrkt_t, 0,
1274 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
1378 struct pfr_ktable *p, key;
1387 for (i = 0; i < size; i++, tbl += sizeof (key.pfrkt_t)) {
1388 if (COPYIN(tbl, &key.pfrkt_t, sizeof (key.pfrkt_t), flags))
1390 pfr_table_copyin_cleanup(&key.pfrkt_t);
1391 if (pfr_validate_table(&key.pfrkt_t, 0, 0))
1393 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
1412 struct pfr_ktable *p, *q, key;
1423 for (i = 0; i < size; i++, tbl += sizeof (key.pfrkt_t)) {
1424 if (COPYIN(tbl, &key.pfrkt_t, sizeof (key.pfrkt_t), flags))
1426 pfr_table_copyin_cleanup(&key.pfrkt_t);
1427 if (pfr_validate_table(&key.pfrkt_t, 0,
1430 p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
1501 struct pfr_ktable *kt, *rt, *shadow, key;
1531 bzero(&key, sizeof (key));
1532 strlcpy(key.pfrkt_name, tbl->pfrt_name,
1533 sizeof (key.pfrkt_name));
1534 rt = RB_FIND(pfr_ktablehead, &pfr_ktables, &key);
1539 rt = pfr_create_ktable(&key.pfrkt_t, 0, 1);