Lines Matching refs:port_num
58 u8 port_num; member
73 u8 port_num, in ib_get_cached_gid() argument
81 if (port_num < start_port(device) || port_num > end_port(device)) in ib_get_cached_gid()
86 cache = device->cache.gid_cache[port_num - start_port(device)]; in ib_get_cached_gid()
101 u8 *port_num, in ib_find_cached_gid() argument
109 *port_num = -1; in ib_find_cached_gid()
119 *port_num = p + start_port(device); in ib_find_cached_gid()
135 u8 port_num, in ib_get_cached_pkey() argument
143 if (port_num < start_port(device) || port_num > end_port(device)) in ib_get_cached_pkey()
148 cache = device->cache.pkey_cache[port_num - start_port(device)]; in ib_get_cached_pkey()
162 u8 port_num, in ib_find_cached_pkey() argument
172 if (port_num < start_port(device) || port_num > end_port(device)) in ib_find_cached_pkey()
177 cache = device->cache.pkey_cache[port_num - start_port(device)]; in ib_find_cached_pkey()
203 u8 port_num, in ib_find_exact_cached_pkey() argument
212 if (port_num < start_port(device) || port_num > end_port(device)) in ib_find_exact_cached_pkey()
217 cache = device->cache.pkey_cache[port_num - start_port(device)]; in ib_find_exact_cached_pkey()
235 u8 port_num, in ib_get_cached_lmc() argument
241 if (port_num < start_port(device) || port_num > end_port(device)) in ib_get_cached_lmc()
245 *lmc = device->cache.lmc_cache[port_num - start_port(device)]; in ib_get_cached_lmc()
332 ib_cache_update(work->device, work->port_num); in ib_cache_task()
352 work->port_num = event->element.port_num; in ib_cache_event()