Home
last modified time | relevance | path

Searched refs:prf (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_vcap_debugfs.c84 out->prf(out->dst, " port[%02d] (%s): ", port->portno, in sparx5_vcap_is0_port_keys()
87 out->prf(out->dst, "\n Lookup %d: ", lookup); in sparx5_vcap_is0_port_keys()
92 out->prf(out->dst, "\n state: "); in sparx5_vcap_is0_port_keys()
94 out->prf(out->dst, "on"); in sparx5_vcap_is0_port_keys()
96 out->prf(out->dst, "off"); in sparx5_vcap_is0_port_keys()
98 out->prf(out->dst, "\n etype: %s", in sparx5_vcap_is0_port_keys()
101 out->prf(out->dst, "\n ipv4: %s", in sparx5_vcap_is0_port_keys()
104 out->prf(out->dst, "\n ipv6: %s", in sparx5_vcap_is0_port_keys()
107 out->prf(out->dst, "\n mpls_uc: %s", in sparx5_vcap_is0_port_keys()
110 out->prf(out->dst, "\n mpls_mc: %s", in sparx5_vcap_is0_port_keys()
[all …]
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vcap_debugfs.c15 out->prf(out->dst, " port[%d] (%s): ", port->chip_port, in lan966x_vcap_is1_port_keys()
19 out->prf(out->dst, "\n state: "); in lan966x_vcap_is1_port_keys()
21 out->prf(out->dst, "on"); in lan966x_vcap_is1_port_keys()
23 out->prf(out->dst, "off"); in lan966x_vcap_is1_port_keys()
26 out->prf(out->dst, "\n Lookup %d: ", l); in lan966x_vcap_is1_port_keys()
30 out->prf(out->dst, "\n other: "); in lan966x_vcap_is1_port_keys()
33 out->prf(out->dst, "normal"); in lan966x_vcap_is1_port_keys()
36 out->prf(out->dst, "7tuple"); in lan966x_vcap_is1_port_keys()
39 out->prf(out->dst, "dbl_vid"); in lan966x_vcap_is1_port_keys()
42 out->prf(out->dst, "dmac_vid"); in lan966x_vcap_is1_port_keys()
[all …]
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_debugfs.c32 out->prf(out->dst, " %s: W%d: ", vcap_keyfield_name(vctrl, key), in vcap_debugfs_show_rule_keyfield()
37 out->prf(out->dst, "%d/%d", data->u1.value, data->u1.mask); in vcap_debugfs_show_rule_keyfield()
44 out->prf(out->dst, "%pI4h/%pI4h", &data->u32.value, in vcap_debugfs_show_rule_keyfield()
55 out->prf(out->dst, "%u/%u", data->u32.value & fmsk, in vcap_debugfs_show_rule_keyfield()
63 out->prf(out->dst, "%pMR/%pMR", data->u48.value, in vcap_debugfs_show_rule_keyfield()
98 out->prf(out->dst, "%pI6/%pI6", nvalue, nmask); in vcap_debugfs_show_rule_keyfield()
106 out->prf(out->dst, "0x"); in vcap_debugfs_show_rule_keyfield()
108 out->prf(out->dst, "%02x", value[bytes - idx - 1]); in vcap_debugfs_show_rule_keyfield()
109 out->prf(out->dst, "/0x"); in vcap_debugfs_show_rule_keyfield()
111 out->prf(out->dst, "%02x", mask[bytes - idx - 1]); in vcap_debugfs_show_rule_keyfield()
[all …]
H A Dvcap_api_debugfs_kunit.c366 .prf = (void *)test_prf, in vcap_api_show_admin_raw_test()
414 .prf = (void *)test_prf, in vcap_api_show_admin_test()
525 .prf = (void *)test_prf, in vcap_api_show_admin_rule_test()
H A Dvcap_api.h215 void (*prf)(void *out, const char *fmt, ...);
/linux/arch/x86/mm/
H A Dpf_in.c73 static int skip_prefix(unsigned char *addr, struct prefix_bits *prf) in skip_prefix() argument
77 prf->shorted = 0; in skip_prefix()
78 prf->enlarged = 0; in skip_prefix()
79 prf->rexr = 0; in skip_prefix()
80 prf->rex = 0; in skip_prefix()
86 prf->shorted = 1; in skip_prefix()
89 prf->enlarged = 1; in skip_prefix()
91 prf->rexr = 1; in skip_prefix()
93 prf->rex = 1; in skip_prefix()
131 struct prefix_bits prf; in get_ins_type() local
[all …]
/linux/net/ipv4/
H A Dfib_trie.c2801 __be32 prf = htonl(n->key); in fib_trie_seq_show() local
2805 &prf, KEYLENGTH - n->pos - n->bits, n->bits, in fib_trie_seq_show()