Searched defs:dev_num (Results 1 - 1 of 1) sorted by relevance

/solaris-userland/components/open-fabrics/libibverbs/
H A Dsolaris_compatibility.c400 umad_cache_add(uint_t dev_num, int port, char *ibdev) argument
402 if ((dev_num >= MAX_PORTS) || (umad_cache_cnt >= MAX_PORTS)) {
403 fprintf(stderr, "dev %d: exceeds umad cache size\n", dev_num);
407 umad_dev_cache[dev_num].umc_port = port;
408 strcpy(umad_dev_cache[dev_num].umc_ib_dev, ibdev);
409 umad_dev_cache[dev_num].umc_valid = 1;
1157 unsigned int dev_num; local
1178 if (check_path(path, CP_UMAD, &dev_num)) {
1179 if (dev_num >= MAX_PORTS) {
1183 if (!umad_dev_cache[dev_num]
[all...]

Completed in 432 milliseconds