Searched refs:bpm (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/net/bridge/ |
H A D | br_mdb.c | 387 struct br_port_msg *bpm; in br_mdb_dump() local 392 cb->nlh->nlmsg_seq, RTM_GETMDB, sizeof(*bpm), in br_mdb_dump() 397 bpm = nlmsg_data(nlh); in br_mdb_dump() 398 memset(bpm, 0, sizeof(*bpm)); in br_mdb_dump() 399 bpm->ifindex = dev->ifindex; in br_mdb_dump() 423 struct br_port_msg *bpm; in nlmsg_populate_mdb_fill() local 426 nlh = nlmsg_put(skb, 0, 0, type, sizeof(*bpm), 0); in nlmsg_populate_mdb_fill() 430 bpm = nlmsg_data(nlh); in nlmsg_populate_mdb_fill() 431 memset(bpm, 0, sizeof(*bpm)); in nlmsg_populate_mdb_fill() 432 bpm->family = AF_BRIDGE; in nlmsg_populate_mdb_fill() [all …]
|
/openbmc/linux/drivers/net/vxlan/ |
H A D | vxlan_mdb.c | 273 struct br_port_msg *bpm; in vxlan_mdb_dump() local 282 cb->nlh->nlmsg_seq, RTM_NEWMDB, sizeof(*bpm), in vxlan_mdb_dump() 287 bpm = nlmsg_data(nlh); in vxlan_mdb_dump() 288 memset(bpm, 0, sizeof(*bpm)); in vxlan_mdb_dump() 289 bpm->family = AF_BRIDGE; in vxlan_mdb_dump() 290 bpm->ifindex = dev->ifindex; in vxlan_mdb_dump() 981 struct br_port_msg *bpm; in vxlan_mdb_nlmsg_fill() local 984 nlh = nlmsg_put(skb, 0, 0, type, sizeof(*bpm), 0); in vxlan_mdb_nlmsg_fill() 988 bpm = nlmsg_data(nlh); in vxlan_mdb_nlmsg_fill() 989 memset(bpm, 0, sizeof(*bpm)); in vxlan_mdb_nlmsg_fill() [all …]
|
/openbmc/linux/sound/core/seq/ |
H A D | seq_queue.c | 736 int i, bpm; in snd_seq_info_queues_read() local 749 bpm = 60000000 / tmr->tempo; in snd_seq_info_queues_read() 751 bpm = 0; in snd_seq_info_queues_read() 766 snd_iprintf(buffer, "current BPM : %d\n", bpm); in snd_seq_info_queues_read()
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | 6154 struct br_port_msg *bpm; in rtnl_mdb_valid_dump_req() local 6156 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*bpm))) { in rtnl_mdb_valid_dump_req() 6161 bpm = nlmsg_data(nlh); in rtnl_mdb_valid_dump_req() 6162 if (bpm->ifindex) { in rtnl_mdb_valid_dump_req() 6166 if (nlmsg_attrlen(nlh, sizeof(*bpm))) { in rtnl_mdb_valid_dump_req() 6289 struct br_port_msg *bpm; in rtnl_mdb_add() local 6293 err = nlmsg_parse_deprecated(nlh, sizeof(*bpm), tb, in rtnl_mdb_add() 6298 bpm = nlmsg_data(nlh); in rtnl_mdb_add() 6299 if (!bpm->ifindex) { in rtnl_mdb_add() 6304 dev = __dev_get_by_index(net, bpm->ifindex); in rtnl_mdb_add() [all …]
|