Searched refs:end_port (Results 1 – 5 of 5) sorted by relevance
66 static inline int end_port(struct ib_device *device) in end_port() function81 if (port_num < start_port(device) || port_num > end_port(device)) in ib_get_cached_gid()115 for (p = 0; p <= end_port(device) - start_port(device); ++p) { in ib_find_cached_gid()143 if (port_num < start_port(device) || port_num > end_port(device)) in ib_get_cached_pkey()172 if (port_num < start_port(device) || port_num > end_port(device)) in ib_find_cached_pkey()212 if (port_num < start_port(device) || port_num > end_port(device)) in ib_find_exact_cached_pkey()241 if (port_num < start_port(device) || port_num > end_port(device)) in ib_get_cached_lmc()366 (end_port(device) - start_port(device) + 1), GFP_KERNEL); in ib_cache_setup_one()369 (end_port(device) - start_port(device) + 1), GFP_KERNEL); in ib_cache_setup_one()372 (end_port(device) - in ib_cache_setup_one()[all …]
160 static int end_port(struct ib_device *device) in end_port() function235 num_ports = end_port(device) - start_port(device) + 1; in read_port_table_lengths()578 if (port_num < start_port(device) || port_num > end_port(device)) in ib_query_port()656 if (port_num < start_port(device) || port_num > end_port(device)) in ib_modify_port()679 for (port = start_port(device); port <= end_port(device); ++port) { in ib_find_gid()
73 int end_port; member815 dev->start_port = dev->end_port = 0; in mcast_add_one()818 dev->end_port = device->phys_port_cnt; in mcast_add_one()821 for (i = 0; i <= dev->end_port - dev->start_port; i++) { in mcast_add_one()860 for (i = 0; i <= dev->end_port - dev->start_port; i++) { in mcast_remove_one()
70 int start_port, end_port; member1158 sa_dev->end_port = e; in ib_sa_add_one()1219 for (i = 0; i <= sa_dev->end_port - sa_dev->start_port; ++i) { in ib_sa_remove_one()
100 int start_port, end_port; member1144 umad_dev->end_port = e; in ib_umad_add_one()1172 for (i = 0; i <= umad_dev->end_port - umad_dev->start_port; ++i) in ib_umad_remove_one()