Lines Matching defs:ret
580 int ret, pos = 0;
584 ret = sscanf(path, "uverbs%d%n/", arg,
588 ret = sscanf(path, "device%n/", &pos);
591 ret = sscanf(path, "%d%n/", arg, &pos);
594 ret = sscanf(path, "gids%n/", &pos);
597 ret = sscanf(path, "pkeys%n/", &pos);
600 ret = sscanf(path, "ports%n/", &pos);
603 ret = sscanf(path, "umad%d%n/", arg, &pos);
606 ret = sscanf(path, "%n/", &pos);
609 ret = sscanf(path, "sys%n/", &pos);
612 ret = sscanf(path, "class%n/", &pos);
615 ret = sscanf(path, "infiniband_verbs%n/", &pos);
618 ret = sscanf(path, "infiniband%n/", &pos);
621 ret = sscanf(path, "infiniband_mad%n/", &pos);
624 ret = sscanf(path, "misc%n/", &pos);
627 ret = sscanf(path, "rdma_cm%n/", &pos);
690 int i, num_dev, rv, ret = 1;
761 ret = 0;
779 return (ret);
1520 int ret;
1535 ret = ibv_cmd_query_device(&context, attr, &raw_fw_ver, &cmd,
1538 if (ret)
1539 return (ret);