Searched refs:cinfo (Results 1 – 4 of 4) sorted by relevance
/net/rds/ |
D | connection.c | 473 struct rds_info_connection *cinfo = buffer; in rds_conn_info_visitor() local 475 cinfo->next_tx_seq = conn->c_next_tx_seq; in rds_conn_info_visitor() 476 cinfo->next_rx_seq = conn->c_next_rx_seq; in rds_conn_info_visitor() 477 cinfo->laddr = conn->c_laddr; in rds_conn_info_visitor() 478 cinfo->faddr = conn->c_faddr; in rds_conn_info_visitor() 479 strncpy(cinfo->transport, conn->c_trans->t_name, in rds_conn_info_visitor() 480 sizeof(cinfo->transport)); in rds_conn_info_visitor() 481 cinfo->flags = 0; in rds_conn_info_visitor() 483 rds_conn_info_set(cinfo->flags, test_bit(RDS_IN_XMIT, &conn->c_flags), in rds_conn_info_visitor() 486 rds_conn_info_set(cinfo->flags, in rds_conn_info_visitor() [all …]
|
/net/bluetooth/rfcomm/ |
D | sock.c | 739 struct rfcomm_conninfo cinfo; in rfcomm_sock_getsockopt_old() local 783 memset(&cinfo, 0, sizeof(cinfo)); in rfcomm_sock_getsockopt_old() 784 cinfo.hci_handle = conn->hcon->handle; in rfcomm_sock_getsockopt_old() 785 memcpy(cinfo.dev_class, conn->hcon->dev_class, 3); in rfcomm_sock_getsockopt_old() 787 len = min_t(unsigned int, len, sizeof(cinfo)); in rfcomm_sock_getsockopt_old() 788 if (copy_to_user(optval, (char *) &cinfo, len)) in rfcomm_sock_getsockopt_old()
|
/net/bluetooth/ |
D | sco.c | 773 struct sco_conninfo cinfo; in sco_sock_getsockopt_old() local 806 memset(&cinfo, 0, sizeof(cinfo)); in sco_sock_getsockopt_old() 807 cinfo.hci_handle = sco_pi(sk)->conn->hcon->handle; in sco_sock_getsockopt_old() 808 memcpy(cinfo.dev_class, sco_pi(sk)->conn->hcon->dev_class, 3); in sco_sock_getsockopt_old() 810 len = min_t(unsigned int, len, sizeof(cinfo)); in sco_sock_getsockopt_old() 811 if (copy_to_user(optval, (char *)&cinfo, len)) in sco_sock_getsockopt_old()
|
D | l2cap_sock.c | 285 struct l2cap_conninfo cinfo; in l2cap_sock_getsockopt_old() local 348 memset(&cinfo, 0, sizeof(cinfo)); in l2cap_sock_getsockopt_old() 349 cinfo.hci_handle = chan->conn->hcon->handle; in l2cap_sock_getsockopt_old() 350 memcpy(cinfo.dev_class, chan->conn->hcon->dev_class, 3); in l2cap_sock_getsockopt_old() 352 len = min_t(unsigned int, len, sizeof(cinfo)); in l2cap_sock_getsockopt_old() 353 if (copy_to_user(optval, (char *) &cinfo, len)) in l2cap_sock_getsockopt_old()
|