Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/ntb/hw/idt/
Dntb_hw_idt.c501 ndev->peer_cnt = 0; in idt_scan_ports()
521 ndev->peers[ndev->peer_cnt].port = port; in idt_scan_ports()
522 ndev->peers[ndev->peer_cnt].part = part; in idt_scan_ports()
524 ndev->port_idx_map[port] = ndev->peer_cnt; in idt_scan_ports()
525 ndev->part_idx_map[part] = ndev->peer_cnt; in idt_scan_ports()
526 ndev->peer_cnt++; in idt_scan_ports()
531 ndev->port, ndev->peer_cnt); in idt_scan_ports()
534 if (ndev->peer_cnt == 0) { in idt_scan_ports()
567 return ndev->peer_cnt; in idt_ntb_peer_port_count()
581 if (pidx < 0 || ndev->peer_cnt <= pidx) in idt_ntb_peer_port_number()
[all …]
Dntb_hw_idt.h1131 unsigned char peer_cnt; member
/Linux-v5.10/net/tipc/
Dmonitor.c89 int peer_cnt; member
176 return mon->peer_cnt > tn->mon_threshold; in tipc_mon_is_active()
251 member_cnt = dom_size(mon->peer_cnt) - 1; in mon_update_local_domain()
283 dz = dom_size(mon->peer_cnt); in mon_update_neighbors()
341 mon->peer_cnt--; in tipc_mon_remove_peer()
387 mon->peer_cnt++; in tipc_mon_add_peer()
602 int best_member_cnt = dom_size(mon->peer_cnt) - 1; in mon_timeout()
636 mon->peer_cnt = 1; in tipc_mon_create()
823 if (nla_put_u32(msg->skb, TIPC_NLA_MON_PEERCNT, mon->peer_cnt)) in __tipc_nl_add_monitor()
/Linux-v5.10/drivers/ntb/test/
Dntb_tool.c263 int peer_cnt; member
448 tc->peer_cnt = ntb_peer_port_count(tc->ntb); in tool_init_peers()
449 tc->peers = devm_kcalloc(&tc->ntb->dev, tc->peer_cnt, in tool_init_peers()
454 for (pidx = 0; pidx < tc->peer_cnt; pidx++) { in tool_init_peers()
981 for (pidx = 0; pidx < tc->peer_cnt; pidx++) { in tool_init_mws()
1018 for (pidx = 0; pidx < tc->peer_cnt; pidx++) in tool_clear_mws()
1254 for (pidx = 0; pidx < tc->peer_cnt; pidx++) { in tool_init_spads()
1418 for (pidx = 0; pidx < tc->peer_cnt; pidx++) { in tool_init_msgs()
1553 for (pidx = 0; pidx < tc->peer_cnt; pidx++) { in tool_setup_dbgfs()