Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c40 static struct be_cmd_priv_map cmd_priv_map[] = { variable
102 int num_entries = ARRAY_SIZE(cmd_priv_map); in be_cmd_allowed()
106 if (opcode == cmd_priv_map[i].opcode && in be_cmd_allowed()
107 subsystem == cmd_priv_map[i].subsystem) in be_cmd_allowed()
108 if (!(cmd_privileges & cmd_priv_map[i].priv_mask)) in be_cmd_allowed()