Lines Matching refs:end_port
66 static inline int end_port(struct ib_device *device) in end_port() function
81 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()
383 for (p = 0; p <= end_port(device) - start_port(device); ++p) { in ib_cache_setup_one()
397 for (p = 0; p <= end_port(device) - start_port(device); ++p) { in ib_cache_setup_one()
415 for (p = 0; p <= end_port(device) - start_port(device); ++p) { in ib_cache_cleanup_one()