state_change 4904 drivers/block/drbd/drbd_nl.c struct drbd_state_change *state_change = state_change 4906 drivers/block/drbd/drbd_nl.c list_del(&state_change->list); state_change 4907 drivers/block/drbd/drbd_nl.c forget_state_change(state_change); state_change 4911 drivers/block/drbd/drbd_nl.c static unsigned int notifications_for_state_change(struct drbd_state_change *state_change) state_change 4914 drivers/block/drbd/drbd_nl.c state_change->n_connections + state_change 4915 drivers/block/drbd/drbd_nl.c state_change->n_devices + state_change 4916 drivers/block/drbd/drbd_nl.c state_change->n_devices * state_change->n_connections; state_change 4921 drivers/block/drbd/drbd_nl.c struct drbd_state_change *state_change = (struct drbd_state_change *)cb->args[0]; state_change 4940 drivers/block/drbd/drbd_nl.c notify_resource_state_change(skb, seq, state_change->resource, state_change 4945 drivers/block/drbd/drbd_nl.c if (n < state_change->n_connections) { state_change 4946 drivers/block/drbd/drbd_nl.c notify_connection_state_change(skb, seq, &state_change->connections[n], state_change 4950 drivers/block/drbd/drbd_nl.c n -= state_change->n_connections; state_change 4951 drivers/block/drbd/drbd_nl.c if (n < state_change->n_devices) { state_change 4952 drivers/block/drbd/drbd_nl.c notify_device_state_change(skb, seq, &state_change->devices[n], state_change 4956 drivers/block/drbd/drbd_nl.c n -= state_change->n_devices; state_change 4957 drivers/block/drbd/drbd_nl.c if (n < state_change->n_devices * state_change->n_connections) { state_change 4958 drivers/block/drbd/drbd_nl.c notify_peer_device_state_change(skb, seq, &state_change->peer_devices[n], state_change 4966 drivers/block/drbd/drbd_nl.c list_entry(state_change->list.next, state_change 4985 drivers/block/drbd/drbd_nl.c struct drbd_state_change *state_change = state_change 4989 drivers/block/drbd/drbd_nl.c list_add(&head, &state_change->list); state_change 4998 drivers/block/drbd/drbd_nl.c struct drbd_state_change *state_change; state_change 5000 drivers/block/drbd/drbd_nl.c state_change = remember_old_state(resource, GFP_KERNEL); state_change 5001 drivers/block/drbd/drbd_nl.c if (!state_change) { state_change 5007 drivers/block/drbd/drbd_nl.c copy_old_to_new_state_change(state_change); state_change 5008 drivers/block/drbd/drbd_nl.c list_add_tail(&state_change->list, &head); state_change 5009 drivers/block/drbd/drbd_nl.c cb->args[5] += notifications_for_state_change(state_change); state_change 5014 drivers/block/drbd/drbd_nl.c struct drbd_state_change *state_change = state_change 5016 drivers/block/drbd/drbd_nl.c cb->args[0] = (long)state_change; state_change 5017 drivers/block/drbd/drbd_nl.c cb->args[3] = notifications_for_state_change(state_change); state_change 685 drivers/block/drbd/drbd_receiver.c void (*state_change)(struct sock *sk); state_change 687 drivers/block/drbd/drbd_receiver.c state_change = ad->original_sk_state_change; state_change 690 drivers/block/drbd/drbd_receiver.c state_change(sk); state_change 29 drivers/block/drbd/drbd_state.c struct drbd_state_change *state_change; state_change 60 drivers/block/drbd/drbd_state.c struct drbd_state_change *state_change; state_change 67 drivers/block/drbd/drbd_state.c state_change = kmalloc(size, gfp); state_change 68 drivers/block/drbd/drbd_state.c if (!state_change) state_change 70 drivers/block/drbd/drbd_state.c state_change->n_devices = n_devices; state_change 71 drivers/block/drbd/drbd_state.c state_change->n_connections = n_connections; state_change 72 drivers/block/drbd/drbd_state.c state_change->devices = (void *)(state_change + 1); state_change 73 drivers/block/drbd/drbd_state.c state_change->connections = (void *)&state_change->devices[n_devices]; state_change 74 drivers/block/drbd/drbd_state.c state_change->peer_devices = (void *)&state_change->connections[n_connections]; state_change 75 drivers/block/drbd/drbd_state.c state_change->resource->resource = NULL; state_change 77 drivers/block/drbd/drbd_state.c state_change->devices[n].device = NULL; state_change 79 drivers/block/drbd/drbd_state.c state_change->connections[n].connection = NULL; state_change 80 drivers/block/drbd/drbd_state.c return state_change; state_change 85 drivers/block/drbd/drbd_state.c struct drbd_state_change *state_change; state_change 99 drivers/block/drbd/drbd_state.c state_change = alloc_state_change(n_devices, n_connections, gfp); state_change 100 drivers/block/drbd/drbd_state.c if (!state_change) state_change 104 drivers/block/drbd/drbd_state.c state_change->resource->resource = resource; state_change 105 drivers/block/drbd/drbd_state.c state_change->resource->role[OLD] = state_change 107 drivers/block/drbd/drbd_state.c state_change->resource->susp[OLD] = resource->susp; state_change 108 drivers/block/drbd/drbd_state.c state_change->resource->susp_nod[OLD] = resource->susp_nod; state_change 109 drivers/block/drbd/drbd_state.c state_change->resource->susp_fen[OLD] = resource->susp_fen; state_change 111 drivers/block/drbd/drbd_state.c connection_state_change = state_change->connections; state_change 122 drivers/block/drbd/drbd_state.c device_state_change = state_change->devices; state_change 123 drivers/block/drbd/drbd_state.c peer_device_state_change = state_change->peer_devices; state_change 152 drivers/block/drbd/drbd_state.c return state_change; state_change 155 drivers/block/drbd/drbd_state.c static void remember_new_state(struct drbd_state_change *state_change) state_change 161 drivers/block/drbd/drbd_state.c if (!state_change) state_change 164 drivers/block/drbd/drbd_state.c resource_state_change = &state_change->resource[0]; state_change 173 drivers/block/drbd/drbd_state.c for (n = 0; n < state_change->n_devices; n++) { state_change 175 drivers/block/drbd/drbd_state.c &state_change->devices[n]; state_change 181 drivers/block/drbd/drbd_state.c for (n = 0; n < state_change->n_connections; n++) { state_change 183 drivers/block/drbd/drbd_state.c &state_change->connections[n]; state_change 192 drivers/block/drbd/drbd_state.c for (n = 0; n < state_change->n_devices * state_change->n_connections; n++) { state_change 194 drivers/block/drbd/drbd_state.c &state_change->peer_devices[n]; state_change 211 drivers/block/drbd/drbd_state.c void copy_old_to_new_state_change(struct drbd_state_change *state_change) state_change 213 drivers/block/drbd/drbd_state.c struct drbd_resource_state_change *resource_state_change = &state_change->resource[0]; state_change 224 drivers/block/drbd/drbd_state.c for (n_connection = 0; n_connection < state_change->n_connections; n_connection++) { state_change 226 drivers/block/drbd/drbd_state.c &state_change->connections[n_connection]; state_change 232 drivers/block/drbd/drbd_state.c for (n_device = 0; n_device < state_change->n_devices; n_device++) { state_change 234 drivers/block/drbd/drbd_state.c &state_change->devices[n_device]; state_change 239 drivers/block/drbd/drbd_state.c n_peer_devices = state_change->n_devices * state_change->n_connections; state_change 242 drivers/block/drbd/drbd_state.c &state_change->peer_devices[n_peer_device]; state_change 254 drivers/block/drbd/drbd_state.c void forget_state_change(struct drbd_state_change *state_change) state_change 258 drivers/block/drbd/drbd_state.c if (!state_change) state_change 261 drivers/block/drbd/drbd_state.c if (state_change->resource->resource) state_change 262 drivers/block/drbd/drbd_state.c kref_put(&state_change->resource->resource->kref, drbd_destroy_resource); state_change 263 drivers/block/drbd/drbd_state.c for (n = 0; n < state_change->n_devices; n++) { state_change 264 drivers/block/drbd/drbd_state.c struct drbd_device *device = state_change->devices[n].device; state_change 269 drivers/block/drbd/drbd_state.c for (n = 0; n < state_change->n_connections; n++) { state_change 271 drivers/block/drbd/drbd_state.c state_change->connections[n].connection; state_change 276 drivers/block/drbd/drbd_state.c kfree(state_change); state_change 1270 drivers/block/drbd/drbd_state.c struct drbd_state_change *state_change; state_change 1326 drivers/block/drbd/drbd_state.c state_change = remember_old_state(device->resource, GFP_ATOMIC); state_change 1338 drivers/block/drbd/drbd_state.c remember_new_state(state_change); state_change 1477 drivers/block/drbd/drbd_state.c ascw->state_change = state_change; state_change 1493 drivers/block/drbd/drbd_state.c after_state_ch(device, ascw->os, ascw->ns, ascw->flags, ascw->state_change); state_change 1494 drivers/block/drbd/drbd_state.c forget_state_change(ascw->state_change); state_change 1600 drivers/block/drbd/drbd_state.c static void broadcast_state_change(struct drbd_state_change *state_change) state_change 1602 drivers/block/drbd/drbd_state.c struct drbd_resource_state_change *resource_state_change = &state_change->resource[0]; state_change 1632 drivers/block/drbd/drbd_state.c for (n_connection = 0; n_connection < state_change->n_connections; n_connection++) { state_change 1634 drivers/block/drbd/drbd_state.c &state_change->connections[n_connection]; state_change 1642 drivers/block/drbd/drbd_state.c for (n_device = 0; n_device < state_change->n_devices; n_device++) { state_change 1644 drivers/block/drbd/drbd_state.c &state_change->devices[n_device]; state_change 1651 drivers/block/drbd/drbd_state.c n_peer_devices = state_change->n_devices * state_change->n_connections; state_change 1654 drivers/block/drbd/drbd_state.c &state_change->peer_devices[n_peer_device]; state_change 1702 drivers/block/drbd/drbd_state.c struct drbd_state_change *state_change) state_change 1709 drivers/block/drbd/drbd_state.c broadcast_state_change(state_change); state_change 2034 drivers/block/drbd/drbd_state.c struct drbd_state_change *state_change; state_change 2047 drivers/block/drbd/drbd_state.c broadcast_state_change(acscw->state_change); state_change 2048 drivers/block/drbd/drbd_state.c forget_state_change(acscw->state_change); state_change 2292 drivers/block/drbd/drbd_state.c struct drbd_state_change *state_change; state_change 2338 drivers/block/drbd/drbd_state.c state_change = remember_old_state(connection->resource, GFP_ATOMIC); state_change 2343 drivers/block/drbd/drbd_state.c remember_new_state(state_change); state_change 2354 drivers/block/drbd/drbd_state.c acscw->state_change = state_change; state_change 46 drivers/crypto/chelsio/chcr_core.c .state_change = chcr_uld_state_change, state_change 557 drivers/crypto/chelsio/chtls/chtls_main.c .state_change = chtls_uld_state_change, state_change 1507 drivers/infiniband/hw/cxgb4/device.c .state_change = c4iw_uld_state_change, state_change 320 drivers/media/cec/cec-adap.c ev.state_change.phys_addr = adap->phys_addr; state_change 321 drivers/media/cec/cec-adap.c ev.state_change.log_addr_mask = adap->log_addrs.log_addr_mask; state_change 579 drivers/media/cec/cec-api.c ev.state_change.phys_addr = adap->phys_addr; state_change 580 drivers/media/cec/cec-api.c ev.state_change.log_addr_mask = adap->log_addrs.log_addr_mask; state_change 2253 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->uld[i].state_change(adap->uld[i].handle, state_change 2270 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->uld[i].state_change(adap->uld[i].handle, state_change 718 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c adap->uld[uld].state_change(handle, CXGB4_STATE_UP); state_change 379 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h int (*state_change)(void *handle, enum cxgb4_state new_state); state_change 96 drivers/nvme/host/tcp.c void (*state_change)(struct sock *); state_change 831 drivers/nvme/host/tcp.c queue->state_change(sk); state_change 1386 drivers/nvme/host/tcp.c queue->state_change = queue->sock->sk->sk_state_change; state_change 1419 drivers/nvme/host/tcp.c sock->sk->sk_state_change = queue->state_change; state_change 128 drivers/nvme/target/tcp.c void (*state_change)(struct sock *); state_change 1305 drivers/nvme/target/tcp.c sock->sk->sk_state_change = queue->state_change; state_change 1458 drivers/nvme/target/tcp.c queue->state_change = sock->sk->sk_state_change; state_change 728 drivers/s390/net/qeth_core_mpc.h struct qeth_sbp_state_change state_change; state_change 1197 drivers/s390/net/qeth_l2_main.c &cmd->data.sbp.data.state_change; state_change 98 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c .state_change = t4_uld_state_change, state_change 691 drivers/target/iscsi/cxgbit/cxgbit_main.c .state_change = cxgbit_uld_state_change, state_change 465 fs/gfs2/glock.c state_change(gl, state); state_change 608 fs/ocfs2/cluster/tcp.c void (*state_change)(struct sock *sk); state_change 614 fs/ocfs2/cluster/tcp.c state_change = sk->sk_state_change; state_change 620 fs/ocfs2/cluster/tcp.c state_change = sc->sc_state_change; state_change 639 fs/ocfs2/cluster/tcp.c state_change(sk); state_change 615 include/net/bluetooth/l2cap.h void (*state_change) (struct l2cap_chan *chan, state_change 199 include/net/bluetooth/rfcomm.h void (*state_change)(struct rfcomm_dlc *d, int err); state_change 429 include/uapi/linux/cec.h struct cec_event_state_change state_change; state_change 892 net/bluetooth/6lowpan.c .state_change = chan_state_change_cb, state_change 738 net/bluetooth/a2mp.c .state_change = a2mp_chan_state_change_cb, state_change 272 net/bluetooth/l2cap_core.c chan->ops->state_change(chan, state, 0); state_change 279 net/bluetooth/l2cap_core.c chan->ops->state_change(chan, chan->state, err); state_change 284 net/bluetooth/l2cap_core.c chan->ops->state_change(chan, chan->state, err); state_change 1476 net/bluetooth/l2cap_sock.c .state_change = l2cap_sock_state_change_cb, state_change 493 net/bluetooth/rfcomm/core.c d->state_change(d, err); state_change 1185 net/bluetooth/rfcomm/core.c d->state_change(d, 0); state_change 1296 net/bluetooth/rfcomm/core.c d->state_change(d, 0); state_change 1314 net/bluetooth/rfcomm/core.c d->state_change(d, 0); state_change 1868 net/bluetooth/rfcomm/core.c d->state_change(d, 0); state_change 293 net/bluetooth/rfcomm/sock.c d->state_change = rfcomm_sk_state_change; state_change 294 net/bluetooth/rfcomm/tty.c dlc->state_change = rfcomm_dev_state_change; state_change 3158 net/bluetooth/smp.c .state_change = l2cap_chan_no_state_change, state_change 3204 net/bluetooth/smp.c .state_change = l2cap_chan_no_state_change, state_change 42 net/rds/tcp_connect.c void (*state_change)(struct sock *sk); state_change 49 net/rds/tcp_connect.c state_change = sk->sk_state_change; state_change 53 net/rds/tcp_connect.c state_change = tc->t_orig_state_change; state_change 86 net/rds/tcp_connect.c state_change(sk);