Searched refs:channel_fd (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.h90 int pcp_send_recv(int channel_fd, pcp_msg_t *req_msg, pcp_msg_t *resp_msg,
92 int pcp_close(int channel_fd);
H A Dlibpcp.c63 * int pcp_send_recv(int channel_fd, pcp_msg_t *req_msg, pcp_msg_t *resp_msg,
65 * int pcp_close(int channel_fd);
76 static int pcp_get_prop(int channel_fd, int prop, unsigned int *val);
85 static int pcp_cleanup(int channel_fd);
191 int channel_fd; local
212 if ((channel_fd = open(dev_path, O_RDWR|O_EXCL)) < 0) {
229 if (ioctl(channel_fd, VLDC_IOCTL_OPT_OP, &op) != 0) {
230 (void) close(channel_fd);
240 if (pcp_get_prop(channel_fd, GLVC_XPORT_OPT_MTU_SZ,
242 (void) close(channel_fd);
283 pcp_close(int channel_fd) argument
350 pcp_send_recv(int channel_fd, pcp_msg_t *req_msg, pcp_msg_t *resp_msg, uint32_t timeout) argument
543 pcp_get_prop(int channel_fd, int prop, unsigned int *val) argument
1314 pcp_cleanup(int channel_fd) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/
H A Dpiclsbl.c212 int channel_fd; local
297 if ((channel_fd = (*pcp_init_ptr)(LED_CHANNEL)) < 0) {
303 if ((channel_fd = (*pcp_init_ptr)(LED_CHANNEL)) >= 0)
325 if ((*pcp_send_recv_ptr)(channel_fd, &send_msg, &recv_msg,
330 if ((*pcp_send_recv_ptr)(channel_fd, &send_msg, &recv_msg,
370 (*pcp_close_ptr)(channel_fd);

Completed in 66 milliseconds