Lines Matching defs:len

249 	int len;
255 len = strlen(device_name);
256 end = &device_name[len - 1];
597 int len;
614 len = strlen(path);
615 memmove(path, &path[pos], (len - pos) + 1);
893 int len = -1;
934 len = 1 + sprintf(buf, "0x%x",
937 len = 1 + sprintf(buf, "0x%x",
941 len = 1 + sprintf(buf, "%s", info_p->ibd_name);
943 len = 1 + sprintf(buf, "%d", info_p->ibd_abi_version);
953 len = 1 + sprintf(buf, "%d", uverbs_abi_version);
958 return (len);
964 int len = -1;
990 len = 1 + sprintf(buf,
1010 len = 1 + sprintf(buf, "0x%04x", pkeys[pkey_num]);
1020 len = 1 + sprintf(buf, "%d", port_attr.lmc);
1022 len = 1 + sprintf(buf, "0x%x", port_attr.sm_lid);
1024 len = 1 + sprintf(buf, "%d", port_attr.sm_sl);
1026 len = 1 + sprintf(buf, "0x%x", port_attr.lid);
1030 len = 1 + sprintf(buf, "%d: NOP",
1034 len = 1 + sprintf(buf, "%d: DOWN",
1038 len = 1 + sprintf(buf, "%d: INIT",
1042 len = 1 + sprintf(buf, "%d: ARMED",
1046 len = 1 + sprintf(buf, "%d: ACTIVE",
1050 len = 1 + sprintf(buf,
1055 len = 1 + sprintf(buf, "%d: INVALID",
1062 len = 1 + sprintf(buf, "%d: Sleep",
1066 len = 1 + sprintf(buf, "%d: Polling",
1070 len = 1 + sprintf(buf, "%d: Disabled",
1074 len = 1 + sprintf(buf,
1079 len = 1 + sprintf(buf, "%d: LinkUp",
1083 len = 1 + sprintf(buf,
1088 len = 1 + sprintf(buf,
1093 len = 1 + sprintf(buf, "%d: <unknown>",
1135 len = 1 + sprintf(buf, "%f", rate);
1137 len = 1 + sprintf(buf, "0x%08x",
1143 len = 1 + sprintf(buf, "%s", "IB");
1146 len =
1150 len = 1 + sprintf(buf, "%s", "Unknown");
1155 return (len);
1161 int len = -1;
1171 len = infiniband_ports(path, buf, size, dev_name);
1173 len = 1 + sprintf(buf, "%d", IBV_NODE_CA);
1179 len = 1 + sprintf(buf, "%s", info->ibd_node_guid_str);
1181 len = 1 + sprintf(buf, "%s",
1184 len = 1 + sprintf(buf, "%s", info->ibd_sys_image_guid);
1186 len = 1 + sprintf(buf, "%s", info->ibd_fw_ver);
1188 len = 1 + sprintf(buf, "%d", info->ibd_hw_rev);
1190 len = 1 + sprintf(buf, "%s", info->ibd_devid_string);
1192 len = 1 + sprintf(buf, "%s", info->ibd_boardid_string);
1196 return (len);
1202 int len = -1;
1233 len = strlcpy(buf, umad_dev_cache[dev_num].umc_ib_dev,
1236 len = 1 + sprintf(buf, "%d",
1244 len =
1248 return (len);
1257 int len = -1;
1282 len = infiniband_verbs(path, buf, size);
1284 len = infiniband(path, buf, size);
1286 len = infiniband_mad(path, buf, size);
1290 len = 1 + sprintf(buf, "%d",
1296 return (len);
1343 knp->value.str.len);