Lines Matching defs:sx
1010 struct ahci_xfer *sx;
1016 sx = kmem_intr_alloc(sizeof(*sx), KM_NOSLEEP);
1017 if (sx == NULL)
1019 memset(sx, 0, sizeof(*sx));
1020 sx->sx_xfer = xfer;
1021 xfer->ux_hcpriv = sx;
1024 callout_init(&sx->sx_callout_t, 0);
1025 callout_reset(&sx->sx_callout_t,
1027 ahci_poll_device, sx);
1039 struct ahci_xfer *sx = (struct ahci_xfer *)arg;
1040 struct usbd_xfer *xfer = sx->sx_xfer;
1049 callout_reset(&sx->sx_callout_t,
1051 ahci_poll_device, sx);
1076 struct ahci_xfer *sx;
1080 sx = xfer->ux_hcpriv;
1081 if (sx) {
1082 callout_stop(&sx->sx_callout_t);
1083 kmem_intr_free(sx, sizeof(*sx));
1086 printf("%s: sx == NULL!\n", __func__);