Symbol: iso_pi
net/bluetooth/iso.c
1004
iso_pi(sk)->bc_sid = sa->iso_bc->bc_sid;
net/bluetooth/iso.c
1009
iso_pi(sk)->bc_num_bis = sa->iso_bc->bc_num_bis;
net/bluetooth/iso.c
1011
for (i = 0; i < iso_pi(sk)->bc_num_bis; i++)
net/bluetooth/iso.c
1016
memcpy(iso_pi(sk)->bc_bis, sa->iso_bc->bc_bis,
net/bluetooth/iso.c
1017
iso_pi(sk)->bc_num_bis);
net/bluetooth/iso.c
1028
if (!test_bit(BT_SK_PA_SYNC, &iso_pi(sk)->flags))
net/bluetooth/iso.c
1036
iso_pi(sk)->bc_num_bis = sa->iso_bc->bc_num_bis;
net/bluetooth/iso.c
1038
for (int i = 0; i < iso_pi(sk)->bc_num_bis; i++)
net/bluetooth/iso.c
1045
memcpy(iso_pi(sk)->bc_bis, sa->iso_bc->bc_bis,
net/bluetooth/iso.c
1046
iso_pi(sk)->bc_num_bis);
net/bluetooth/iso.c
106
iso_pi(conn->sk)->conn = NULL;
net/bluetooth/iso.c
1072
if (sk->sk_type != SOCK_SEQPACKET || !iso_pi(sk)->conn)
net/bluetooth/iso.c
1082
if (!bacmp(&iso_pi(sk)->dst, &sa->iso_bc->bc_bdaddr) ||
net/bluetooth/iso.c
1090
hdev = iso_conn_get_hdev(iso_pi(sk)->conn);
net/bluetooth/iso.c
1094
bis = iso_pi(sk)->conn->hcon;
net/bluetooth/iso.c
1104
if (!iso_pi(sk)->conn || iso_pi(sk)->conn->hcon != bis) {
net/bluetooth/iso.c
1163
bacpy(&iso_pi(sk)->src, &sa->iso_bdaddr);
net/bluetooth/iso.c
1164
iso_pi(sk)->src_type = sa->iso_bdaddr_type;
net/bluetooth/iso.c
1205
bacpy(&iso_pi(sk)->dst, &sa->iso_bdaddr);
net/bluetooth/iso.c
1206
iso_pi(sk)->dst_type = sa->iso_bdaddr_type;
net/bluetooth/iso.c
1239
bacpy(&src, &iso_pi(sk)->src);
net/bluetooth/iso.c
1240
bacpy(&dst, &iso_pi(sk)->dst);
net/bluetooth/iso.c
1241
src_type = iso_pi(sk)->src_type;
net/bluetooth/iso.c
1242
bc_sid = iso_pi(sk)->bc_sid;
net/bluetooth/iso.c
1265
if (iso_pi(sk)->qos_user_set && !check_bcast_qos(&iso_pi(sk)->qos)) {
net/bluetooth/iso.c
1266
iso_pi(sk)->qos = default_qos;
net/bluetooth/iso.c
1271
hcon = hci_pa_create_sync(hdev, &iso_pi(sk)->dst,
net/bluetooth/iso.c
1272
le_addr_type(iso_pi(sk)->dst_type),
net/bluetooth/iso.c
1273
iso_pi(sk)->bc_sid, &iso_pi(sk)->qos);
net/bluetooth/iso.c
1303
BT_DBG("%pMR", &iso_pi(sk)->src);
net/bluetooth/iso.c
1307
if (__iso_get_sock_listen_by_addr(&iso_pi(sk)->src, &iso_pi(sk)->dst))
net/bluetooth/iso.c
1335
if (!bacmp(&iso_pi(sk)->dst, BDADDR_ANY)) {
net/bluetooth/iso.c
1425
if (test_bit(BT_SK_PA_SYNC, &iso_pi(sk)->flags)) {
net/bluetooth/iso.c
1430
for (int i = 0; i < iso_pi(sk)->bc_num_bis; i++) {
net/bluetooth/iso.c
1431
if (iso_pi(sk)->bc_bis[i] > 0) {
net/bluetooth/iso.c
1432
iso_pi(sk)->bc_bis[i] = 0;
net/bluetooth/iso.c
1433
iso_pi(sk)->bc_num_bis--;
net/bluetooth/iso.c
1438
if (iso_pi(sk)->bc_num_bis == 0) {
net/bluetooth/iso.c
1450
clear_bit(BT_SK_BIG_SYNC, &iso_pi(sk)->flags);
net/bluetooth/iso.c
1472
struct hci_conn *hcon = iso_pi(sk)->conn ?
net/bluetooth/iso.c
1473
iso_pi(sk)->conn->hcon : NULL;
net/bluetooth/iso.c
1475
bacpy(&sa->iso_bdaddr, &iso_pi(sk)->dst);
net/bluetooth/iso.c
1476
sa->iso_bdaddr_type = iso_pi(sk)->dst_type;
net/bluetooth/iso.c
1479
sa->iso_bc->bc_sid = iso_pi(sk)->bc_sid;
net/bluetooth/iso.c
1480
sa->iso_bc->bc_num_bis = iso_pi(sk)->bc_num_bis;
net/bluetooth/iso.c
1481
memcpy(sa->iso_bc->bc_bis, iso_pi(sk)->bc_bis,
net/bluetooth/iso.c
1486
bacpy(&sa->iso_bdaddr, &iso_pi(sk)->src);
net/bluetooth/iso.c
1487
sa->iso_bdaddr_type = iso_pi(sk)->src_type;
net/bluetooth/iso.c
1526
mtu = iso_pi(sk)->conn->hcon->mtu;
net/bluetooth/iso.c
1598
bacpy(&src, &iso_pi(sk)->src);
net/bluetooth/iso.c
1599
bacpy(&dst, &iso_pi(sk)->dst);
net/bluetooth/iso.c
1600
src_type = iso_pi(sk)->src_type;
net/bluetooth/iso.c
1621
conn = iso_pi(sk)->conn;
net/bluetooth/iso.c
1625
if (!test_and_set_bit(BT_SK_BIG_SYNC, &iso_pi(sk)->flags)) {
net/bluetooth/iso.c
1627
&iso_pi(sk)->qos,
net/bluetooth/iso.c
1628
iso_pi(sk)->sync_handle,
net/bluetooth/iso.c
1629
iso_pi(sk)->bc_num_bis,
net/bluetooth/iso.c
1630
iso_pi(sk)->bc_bis);
net/bluetooth/iso.c
1645
struct iso_pinfo *pi = iso_pi(sk);
net/bluetooth/iso.c
1675
if (test_bit(BT_SK_PA_SYNC, &iso_pi(sk)->flags)) {
net/bluetooth/iso.c
183
if (!iso_pi(sk)->conn)
net/bluetooth/iso.c
1851
(!test_bit(BT_SK_PA_SYNC, &iso_pi(sk)->flags) ||
net/bluetooth/iso.c
1861
iso_pi(sk)->qos = qos;
net/bluetooth/iso.c
1862
iso_pi(sk)->qos_user_set = true;
net/bluetooth/iso.c
187
cancel_delayed_work(&iso_pi(sk)->conn->timeout_work);
net/bluetooth/iso.c
1873
if (optlen > sizeof(iso_pi(sk)->base)) {
net/bluetooth/iso.c
1878
err = copy_safe_from_sockptr(iso_pi(sk)->base, optlen, optval,
net/bluetooth/iso.c
188
schedule_delayed_work(&iso_pi(sk)->conn->timeout_work, timeout);
net/bluetooth/iso.c
1883
iso_pi(sk)->base_len = optlen;
net/bluetooth/iso.c
193
if (!iso_pi(sk)->conn)
net/bluetooth/iso.c
1943
!bacmp(&iso_pi(sk)->dst, BDADDR_ANY)) {
net/bluetooth/iso.c
1944
base_len = iso_pi(sk)->conn->hcon->le_per_adv_data_len;
net/bluetooth/iso.c
1945
base = iso_pi(sk)->conn->hcon->le_per_adv_data;
net/bluetooth/iso.c
1947
base_len = iso_pi(sk)->base_len;
net/bluetooth/iso.c
1948
base = iso_pi(sk)->base;
net/bluetooth/iso.c
197
cancel_delayed_work(&iso_pi(sk)->conn->timeout_work);
net/bluetooth/iso.c
2054
return ev->handle == iso_pi(sk)->qos.bcast.big;
net/bluetooth/iso.c
2061
return hcon->iso_qos.bcast.big == iso_pi(sk)->qos.bcast.big;
net/bluetooth/iso.c
2066
return test_bit(BT_SK_PA_SYNC, &iso_pi(sk)->flags);
net/bluetooth/iso.c
2071
return !bacmp(&iso_pi(sk)->dst, (bdaddr_t *)data);
net/bluetooth/iso.c
2100
iso_pi(sk)->src_type = BDADDR_LE_RANDOM;
net/bluetooth/iso.c
2101
bacpy(&iso_pi(sk)->src, &adv->random_addr);
net/bluetooth/iso.c
2174
bacpy(&iso_pi(sk)->src, &hcon->src);
net/bluetooth/iso.c
2178
iso_pi(sk)->src_type = BDADDR_LE_PUBLIC;
net/bluetooth/iso.c
2180
iso_pi(sk)->src_type = BDADDR_LE_RANDOM;
net/bluetooth/iso.c
2188
bacpy(&hcon->dst, &iso_pi(parent)->dst);
net/bluetooth/iso.c
2189
hcon->dst_type = le_addr_type(iso_pi(parent)->dst_type);
net/bluetooth/iso.c
2193
iso_pi(sk)->qos = iso_pi(parent)->qos;
net/bluetooth/iso.c
2194
hcon->iso_qos = iso_pi(sk)->qos;
net/bluetooth/iso.c
2195
iso_pi(sk)->bc_sid = iso_pi(parent)->bc_sid;
net/bluetooth/iso.c
2196
iso_pi(sk)->bc_num_bis = iso_pi(parent)->bc_num_bis;
net/bluetooth/iso.c
2197
memcpy(iso_pi(sk)->bc_bis, iso_pi(parent)->bc_bis,
net/bluetooth/iso.c
2199
set_bit(BT_SK_PA_SYNC, &iso_pi(sk)->flags);
net/bluetooth/iso.c
2202
bacpy(&iso_pi(sk)->dst, &hcon->dst);
net/bluetooth/iso.c
2206
iso_pi(sk)->dst_type = BDADDR_LE_PUBLIC;
net/bluetooth/iso.c
2208
iso_pi(sk)->dst_type = BDADDR_LE_RANDOM;
net/bluetooth/iso.c
2210
iso_pi(sk)->sync_handle = iso_pi(parent)->sync_handle;
net/bluetooth/iso.c
2211
memcpy(iso_pi(sk)->base, iso_pi(parent)->base, iso_pi(parent)->base_len);
net/bluetooth/iso.c
2212
iso_pi(sk)->base_len = iso_pi(parent)->base_len;
net/bluetooth/iso.c
2241
if (iso_pi(sk)->bc_sid == HCI_SID_INVALID)
net/bluetooth/iso.c
2244
return ev->sid == iso_pi(sk)->bc_sid;
net/bluetooth/iso.c
2251
if (iso_pi(sk)->bc_sid == HCI_SID_INVALID)
net/bluetooth/iso.c
2254
return ev->sid == iso_pi(sk)->bc_sid;
net/bluetooth/iso.c
2261
return le16_to_cpu(ev->sync_handle) == iso_pi(sk)->sync_handle;
net/bluetooth/iso.c
2268
return le16_to_cpu(ev->sync_handle) == iso_pi(sk)->sync_handle;
net/bluetooth/iso.c
2304
iso_pi(sk)->sync_handle = le16_to_cpu(ev1->handle);
net/bluetooth/iso.c
2305
iso_pi(sk)->bc_sid = ev1->sid;
net/bluetooth/iso.c
2318
iso_pi(sk)->sync_handle = le16_to_cpu(ev1a->sync_handle);
net/bluetooth/iso.c
2319
iso_pi(sk)->bc_sid = ev1a->sid;
net/bluetooth/iso.c
2353
hcon = iso_pi(sk)->conn->hcon;
net/bluetooth/iso.c
2354
iso_pi(sk)->qos.bcast.encryption = ev2->encryption;
net/bluetooth/iso.c
2356
if (ev2->num_bis < iso_pi(sk)->bc_num_bis)
net/bluetooth/iso.c
2357
iso_pi(sk)->bc_num_bis = ev2->num_bis;
net/bluetooth/iso.c
2360
!test_and_set_bit(BT_SK_BIG_SYNC, &iso_pi(sk)->flags);
net/bluetooth/iso.c
2364
&iso_pi(sk)->qos,
net/bluetooth/iso.c
2365
iso_pi(sk)->sync_handle,
net/bluetooth/iso.c
2366
iso_pi(sk)->bc_num_bis,
net/bluetooth/iso.c
2367
iso_pi(sk)->bc_bis);
net/bluetooth/iso.c
239
conn = iso_pi(sk)->conn;
net/bluetooth/iso.c
2393
hcon = iso_pi(sk)->conn->hcon;
net/bluetooth/iso.c
240
iso_pi(sk)->conn = NULL;
net/bluetooth/iso.c
2430
memcpy(iso_pi(sk)->base, base, base_len);
net/bluetooth/iso.c
2431
iso_pi(sk)->base_len = base_len;
net/bluetooth/iso.c
2691
seq_printf(f, "%pMR %pMR %d\n", &iso_pi(sk)->src,
net/bluetooth/iso.c
2692
&iso_pi(sk)->dst, sk->sk_state);
net/bluetooth/iso.c
299
if (iso_pi(sk)->conn == conn && conn->sk == sk)
net/bluetooth/iso.c
307
iso_pi(sk)->conn = conn;
net/bluetooth/iso.c
346
bacpy(&src, &iso_pi(sk)->src);
net/bluetooth/iso.c
347
bacpy(&dst, &iso_pi(sk)->dst);
net/bluetooth/iso.c
348
src_type = iso_pi(sk)->src_type;
net/bluetooth/iso.c
349
bc_sid = iso_pi(sk)->bc_sid;
net/bluetooth/iso.c
367
if (iso_pi(sk)->qos_user_set && !check_bcast_qos(&iso_pi(sk)->qos)) {
net/bluetooth/iso.c
368
iso_pi(sk)->qos = default_qos;
net/bluetooth/iso.c
374
if (!iso_pi(sk)->qos.bcast.out.phys) {
net/bluetooth/iso.c
381
hcon = hci_bind_bis(hdev, &iso_pi(sk)->dst, iso_pi(sk)->bc_sid,
net/bluetooth/iso.c
382
&iso_pi(sk)->qos, iso_pi(sk)->base_len,
net/bluetooth/iso.c
383
iso_pi(sk)->base,
net/bluetooth/iso.c
390
hcon = hci_connect_bis(hdev, &iso_pi(sk)->dst,
net/bluetooth/iso.c
391
le_addr_type(iso_pi(sk)->dst_type),
net/bluetooth/iso.c
392
iso_pi(sk)->bc_sid, &iso_pi(sk)->qos,
net/bluetooth/iso.c
393
iso_pi(sk)->base_len, iso_pi(sk)->base,
net/bluetooth/iso.c
401
if (iso_pi(sk)->bc_sid == HCI_SID_INVALID)
net/bluetooth/iso.c
402
iso_pi(sk)->bc_sid = hcon->sid;
net/bluetooth/iso.c
417
bacpy(&iso_pi(sk)->src, &hcon->src);
net/bluetooth/iso.c
447
bacpy(&src, &iso_pi(sk)->src);
net/bluetooth/iso.c
448
bacpy(&dst, &iso_pi(sk)->dst);
net/bluetooth/iso.c
449
src_type = iso_pi(sk)->src_type;
net/bluetooth/iso.c
467
if (iso_pi(sk)->qos_user_set && !check_ucast_qos(&iso_pi(sk)->qos)) {
net/bluetooth/iso.c
468
iso_pi(sk)->qos = default_qos;
net/bluetooth/iso.c
474
if (!iso_pi(sk)->qos.ucast.in.phys && !iso_pi(sk)->qos.ucast.out.phys) {
net/bluetooth/iso.c
480
if (iso_pi(sk)->qos.ucast.out.sdu && !hci_iso_count(hdev) &&
net/bluetooth/iso.c
488
hcon = hci_bind_cis(hdev, &iso_pi(sk)->dst,
net/bluetooth/iso.c
489
le_addr_type(iso_pi(sk)->dst_type),
net/bluetooth/iso.c
490
&iso_pi(sk)->qos,
net/bluetooth/iso.c
497
hcon = hci_connect_cis(hdev, &iso_pi(sk)->dst,
net/bluetooth/iso.c
498
le_addr_type(iso_pi(sk)->dst_type),
net/bluetooth/iso.c
499
&iso_pi(sk)->qos,
net/bluetooth/iso.c
519
bacpy(&iso_pi(sk)->src, &hcon->src);
net/bluetooth/iso.c
542
return &iso_pi(sk)->conn->hcon->iso_qos;
net/bluetooth/iso.c
544
return &iso_pi(sk)->qos;
net/bluetooth/iso.c
550
struct iso_conn *conn = iso_pi(sk)->conn;
net/bluetooth/iso.c
614
if (bacmp(&iso_pi(sk)->dst, dst))
net/bluetooth/iso.c
617
if (!bacmp(&iso_pi(sk)->src, src))
net/bluetooth/iso.c
633
if (bacmp(&iso_pi(sk)->src, ba))
net/bluetooth/iso.c
636
if (bacmp(&iso_pi(sk)->dst, bc))
net/bluetooth/iso.c
639
if (iso_pi(sk)->bc_sid == sid)
net/bluetooth/iso.c
666
if (bacmp(dst, BDADDR_ANY) && bacmp(&iso_pi(sk)->dst, dst)) {
net/bluetooth/iso.c
675
if (bacmp(&iso_pi(sk)->dst, &irk1->bdaddr)) {
net/bluetooth/iso.c
680
&iso_pi(sk)->dst);
net/bluetooth/iso.c
691
if (!bacmp(&iso_pi(sk)->src, src)) {
net/bluetooth/iso.c
697
if (!bacmp(&iso_pi(sk)->src, BDADDR_ANY)) {
net/bluetooth/iso.c
733
if (bacmp(&iso_pi(sk)->dst, dst))
net/bluetooth/iso.c
737
if (iso_pi(sk)->qos.bcast.big != big)
net/bluetooth/iso.c
741
if (bacmp(&iso_pi(sk)->src, src))
net/bluetooth/iso.c
757
iso_conn_put(iso_pi(sk)->conn);
net/bluetooth/iso.c
779
if (iso_pi(parent)->conn && iso_pi(parent)->conn->hcon) {
net/bluetooth/iso.c
800
if (iso_pi(sk)->conn) {
net/bluetooth/iso.c
801
iso_conn_lock(iso_pi(sk)->conn);
net/bluetooth/iso.c
802
iso_pi(sk)->conn->sk = NULL;
net/bluetooth/iso.c
803
iso_conn_unlock(iso_pi(sk)->conn);
net/bluetooth/iso.c
815
struct hci_conn *hcon = iso_pi(sk)->conn->hcon;
net/bluetooth/iso.c
818
bis_sk = iso_get_sock_big(sk, &iso_pi(sk)->src,
net/bluetooth/iso.c
819
&iso_pi(sk)->dst,
net/bluetooth/iso.c
820
iso_pi(sk)->qos.bcast.big);
net/bluetooth/iso.c
829
iso_pi(sk)->conn->hcon = NULL;
net/bluetooth/iso.c
838
iso_conn_lock(iso_pi(sk)->conn);
net/bluetooth/iso.c
839
hci_conn_drop(iso_pi(sk)->conn->hcon);
net/bluetooth/iso.c
840
iso_pi(sk)->conn->hcon = NULL;
net/bluetooth/iso.c
841
iso_conn_unlock(iso_pi(sk)->conn);
net/bluetooth/iso.c
856
if (iso_pi(sk)->conn->hcon)
net/bluetooth/iso.c
863
if (iso_pi(sk)->conn->hcon &&
net/bluetooth/iso.c
864
(test_bit(HCI_CONN_PA_SYNC, &iso_pi(sk)->conn->hcon->flags) ||
net/bluetooth/iso.c
865
test_bit(HCI_CONN_PA_SYNC_FAILED, &iso_pi(sk)->conn->hcon->flags)))
net/bluetooth/iso.c
949
iso_pi(sk)->src_type = BDADDR_LE_PUBLIC;
net/bluetooth/iso.c
951
iso_pi(sk)->qos = default_qos;
net/bluetooth/iso.c
952
iso_pi(sk)->sync_handle = -1;
net/bluetooth/iso.c
993
bacpy(&iso_pi(sk)->dst, &sa->iso_bc->bc_bdaddr);
net/bluetooth/iso.c
999
iso_pi(sk)->dst_type = sa->iso_bc->bc_bdaddr_type;