Home
last modified time | relevance | path

Searched refs:dead (Results 1 – 25 of 37) sorted by relevance

12

/drivers/lguest/
Dlguest_user.c126 if (lg->dead) { in read()
130 if (IS_ERR(lg->dead)) in read()
131 return PTR_ERR(lg->dead); in read()
134 len = min(size, strlen(lg->dead)+1); in read()
135 if (copy_to_user(user, lg->dead, len) != 0) in read()
322 if (lg->dead) in write()
392 if (!IS_ERR(lg->dead)) in close()
393 kfree(lg->dead); in close()
Dlg.h111 const char *dead; member
249 if (!(cpu)->lg->dead) { \
250 (cpu)->lg->dead = kasprintf(GFP_ATOMIC, fmt); \
251 if (!(cpu)->lg->dead) \
252 (cpu)->lg->dead = ERR_PTR(-ENOMEM); \
Dcore.c220 while (!cpu->lg->dead) { in run_guest()
260 if (cpu->lg->dead) in run_guest()
297 if (cpu->lg->dead == ERR_PTR(-ERESTART)) in run_guest()
Dhypercalls.c72 cpu->lg->dead = ERR_PTR(-ERESTART); in do_hcall()
/drivers/input/serio/
Dserio_raw.c42 bool dead; member
93 if (serio_raw->dead) { in serio_raw_open()
170 if (serio_raw->dead) in serio_raw_read()
192 serio_raw->dead); in serio_raw_read()
213 if (serio_raw->dead) { in serio_raw_write()
250 mask = serio_raw->dead ? POLLHUP | POLLERR : POLLOUT | POLLWRNORM; in serio_raw_poll()
401 serio_raw->dead = true; in serio_raw_disconnect()
/drivers/mmc/host/
Dsdhci-spear.c147 int dead = 0; in sdhci_remove() local
152 dead = 1; in sdhci_remove()
154 sdhci_remove_host(host, dead); in sdhci_remove()
Dsdhci-pltfm.c223 int dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff); in sdhci_pltfm_unregister() local
225 sdhci_remove_host(host, dead); in sdhci_pltfm_unregister()
Dsdhci-acpi.c509 int dead; in sdhci_acpi_remove() local
520 dead = (sdhci_readl(c->host, SDHCI_INT_STATUS) == ~0); in sdhci_acpi_remove()
521 sdhci_remove_host(c->host, dead); in sdhci_acpi_remove()
Dsdhci-pci-core.c601 static void jmicron_remove_slot(struct sdhci_pci_slot *slot, int dead) in jmicron_remove_slot() argument
603 if (dead) in jmicron_remove_slot()
1753 int dead; in sdhci_pci_remove_slot() local
1758 dead = 0; in sdhci_pci_remove_slot()
1761 dead = 1; in sdhci_pci_remove_slot()
1763 sdhci_remove_host(slot->host, dead); in sdhci_pci_remove_slot()
1769 slot->chip->fixes->remove_slot(slot, dead); in sdhci_pci_remove_slot()
Dsdhci-msm.c574 int dead = (readl_relaxed(host->ioaddr + SDHCI_INT_STATUS) == in sdhci_msm_remove() local
577 sdhci_remove_host(host, dead); in sdhci_msm_remove()
Dsdhci-esdhc-imx.c1243 int dead; in sdhci_esdhc_imx_remove() local
1246 dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff); in sdhci_esdhc_imx_remove()
1250 sdhci_remove_host(host, dead); in sdhci_esdhc_imx_remove()
/drivers/usb/host/
Duhci-hcd.c156 uhci->dead = 1; in uhci_hc_died()
358 if (uhci->dead) in suspend_rh()
421 if (uhci->dead) in wakeup_rh()
712 if (HCD_HW_ACCESSIBLE(hcd) && !uhci->dead) in uhci_stop()
731 else if (uhci->dead) in uhci_rh_suspend()
758 else if (!uhci->dead) in uhci_rh_resume()
Duhci-hub.c194 if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead) in uhci_hub_status_data()
252 if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead) in uhci_hub_control()
Duhci-pci.c180 if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead) in uhci_pci_suspend()
/drivers/staging/octeon-usb/
DTODO7 - dead code elimination
/drivers/tty/
Dn_gsm.c154 int dead; /* Refuse re-open */ member
243 int dead; /* Has the mux been shut down */ member
1224 dlci->dead = 1; in gsm_control_message()
1225 gsm->dead = 1; in gsm_control_message()
1451 dlci->gsm->dead = 1; in gsm_dlci_close()
1811 if (dlci->dead) in gsm_queue()
2065 gsm->dead = 1; in gsm_cleanup_mux()
2089 dlci->dead = 1; in gsm_cleanup_mux()
2146 gsm->dead = 0; /* Tty opens are now permissible */ in gsm_activate_mux()
2220 gsm->dead = 1; /* Avoid early tty opens */ in gsm_alloc_mux()
[all …]
/drivers/staging/vt6655/
DTODO7 - remove dead code
/drivers/acpi/
Dacpi_ipmi.c52 bool dead; member
179 ipmi_device->dead = true; in __ipmi_dev_kill()
569 if (ipmi_device->dead) { in acpi_ipmi_space_handler()
/drivers/gpu/drm/nouveau/
Dnouveau_fence.h50 int notify_ref, dead; member
Dnouveau_fence.c105 fctx->dead = 1; in nouveau_fence_context_del()
496 return !fctx->dead ? fctx->name : "dead channel"; in nouveau_fence_get_timeline_name()
/drivers/media/pci/pluto2/
Dpluto2.c121 unsigned int dead; member
342 if (pluto->dead == 0) in pluto_irq()
345 pluto->dead = 1; in pluto_irq()
/drivers/video/fbdev/matrox/
Dmatroxfb_base.c319 if (minfo->dead) in matrox_pan_var()
365 minfo->dead = 1; in matroxfb_remove()
391 if (minfo->dead) { in matroxfb_open()
412 if (!(--minfo->usecount) && minfo->dead) { in matroxfb_release()
738 if (minfo->dead) { in matroxfb_check_var()
757 if (minfo->dead) { in matroxfb_set_par()
881 if (minfo->dead) { in matroxfb_ioctl()
1179 if (minfo->dead) in matroxfb_blank()
2064 minfo->dead = 0; in matroxfb_probe()
/drivers/net/ppp/
Dppp_generic.c90 int dead; /* unit/channel has been shut down */ member
439 if (pf->dead) in ppp_read()
535 if (pf->dead) in ppp_poll()
1148 ppp->file.dead = 1; in ppp_dev_uninit()
2420 pch->file.dead = 1; in ppp_unregister_channel()
2864 if (!ppp->file.dead || ppp->n_channels) { in ppp_destroy_interface()
2868 ppp, ppp->file.dead, ppp->n_channels); in ppp_destroy_interface()
3025 if (!pch->file.dead) { in ppp_destroy_channel()
/drivers/atm/
Dambassador.c563 if (test_bit (dead, &dev->flags)) in command_do()
633 if (test_bit (dead, &dev->flags)) in tx_give()
750 if (test_bit (dead, &dev->flags)) in drain_rx_pool()
788 if (test_bit (dead, &dev->flags)) in fill_rx_pool()
1317 if (test_bit (dead, &dev->flags)) in amb_send()
Dambassador.h537 dead enumerator

12