port_count
extern ssize_t port_count(port_id port);
if (gInfo->port_count == 0) {
gInfo->port_count);
for (uint32 i = 0; i < gInfo->port_count; i++) {
for (uint32 i = 0; i < gInfo->port_count; i++) {
gInfo->port_count = 0;
gInfo->ports[gInfo->port_count++] = displayPort;
gInfo->ports[gInfo->port_count++] = ddiPort;
gInfo->ports[gInfo->port_count++] = eDPPort;
gInfo->ports[gInfo->port_count++] = hdmiPort;
gInfo->ports[gInfo->port_count++] = lvdsPort;
gInfo->ports[gInfo->port_count++] = dviPort;
gInfo->ports[gInfo->port_count++] = analogPort;
if (gInfo->port_count == 0)
for (uint32 i = 0; i < gInfo->port_count; i++) {
for (uint32 i = 0; i < gInfo->port_count; i++) {
uint32 port_count;
for (uint32 i = 0; i < gInfo->port_count; i++) {
for (uint32 i = 0; i < gInfo->port_count; i++) {
for (uint32 i = 0; i < gInfo->port_count; i++) {
|| port_count(fReceivePort) > 0;
&& port_count(fMsgPort) <= 0) {
int32 msgCount = port_count(fMsgPort);
if (port_count(fMsgPort) > 0) {
if (direct->Queue()->IsNextMessage(copy) && port_count(port) <= 0) {
int32 count = port_count(fMsgPort);
int32 msgCount = port_count(fMsgPort);
if (port_count(fMsgPort) > 0) {
int32 count = port_count(fPort);
return port_count(port);