Home
last modified time | relevance | path

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

12

/drivers/lguest/
Dlguest_user.c222 if (lg->dead) { in read()
226 if (IS_ERR(lg->dead)) in read()
227 return PTR_ERR(lg->dead); in read()
230 len = min(size, strlen(lg->dead)+1); in read()
231 if (copy_to_user(user, lg->dead, len) != 0) in read()
426 if (lg->dead) in write()
490 if (!IS_ERR(lg->dead)) in close()
491 kfree(lg->dead); in close()
Dlg.h116 const char *dead; member
251 if (!(cpu)->lg->dead) { \
252 (cpu)->lg->dead = kasprintf(GFP_ATOMIC, fmt); \
253 if (!(cpu)->lg->dead) \
254 (cpu)->lg->dead = ERR_PTR(-ENOMEM); \
Dcore.c215 while (!cpu->lg->dead) { in run_guest()
264 if (cpu->lg->dead) in run_guest()
301 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.c43 bool dead; member
94 if (serio_raw->dead) { in serio_raw_open()
171 if (serio_raw->dead) in serio_raw_read()
193 serio_raw->dead); in serio_raw_read()
214 if (serio_raw->dead) { in serio_raw_write()
251 mask = serio_raw->dead ? POLLHUP | POLLERR : POLLOUT | POLLWRNORM; in serio_raw_poll()
402 serio_raw->dead = true; in serio_raw_disconnect()
/drivers/usb/host/
Duhci-hcd.c153 uhci->dead = 1; in uhci_hc_died()
355 if (uhci->dead) in suspend_rh()
418 if (uhci->dead) in wakeup_rh()
710 if (HCD_HW_ACCESSIBLE(hcd) && !uhci->dead) in uhci_stop()
729 else if (uhci->dead) in uhci_rh_suspend()
756 else if (!uhci->dead) in uhci_rh_resume()
Duhci-hub.c195 if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead) in uhci_hub_status_data()
253 if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead) in uhci_hub_control()
Duhci-pci.c174 if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead) in uhci_pci_suspend()
Duhci-hcd.h414 unsigned int dead:1; /* Controller has died */ member
/drivers/mmc/host/
Dsdhci-acpi.c274 int dead; in sdhci_acpi_remove() local
282 dead = (sdhci_readl(c->host, SDHCI_INT_STATUS) == ~0); in sdhci_acpi_remove()
283 sdhci_remove_host(c->host, dead); in sdhci_acpi_remove()
Dsdhci-spear.c278 int dead = 0; in sdhci_remove() local
284 dead = 1; in sdhci_remove()
286 sdhci_remove_host(host, dead); in sdhci_remove()
Dsdhci-bcm2835.c182 int dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff); in bcm2835_sdhci_remove() local
184 sdhci_remove_host(host, dead); in bcm2835_sdhci_remove()
Dsdhci-pltfm.c227 int dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff); in sdhci_pltfm_unregister() local
229 sdhci_remove_host(host, dead); in sdhci_pltfm_unregister()
Dsdhci-pci.c552 static void jmicron_remove_slot(struct sdhci_pci_slot *slot, int dead) in jmicron_remove_slot() argument
554 if (dead) in jmicron_remove_slot()
1372 int dead; in sdhci_pci_remove_slot() local
1377 dead = 0; in sdhci_pci_remove_slot()
1380 dead = 1; in sdhci_pci_remove_slot()
1382 sdhci_remove_host(slot->host, dead); in sdhci_pci_remove_slot()
1388 slot->chip->fixes->remove_slot(slot, dead); in sdhci_pci_remove_slot()
Dsdhci-tegra.c292 int dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff); in sdhci_tegra_remove() local
294 sdhci_remove_host(host, dead); in sdhci_tegra_remove()
Dsdhci-esdhc-imx.c649 int dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff); in sdhci_esdhc_imx_remove() local
651 sdhci_remove_host(host, dead); in sdhci_esdhc_imx_remove()
Dsdhci.h394 extern void sdhci_remove_host(struct sdhci_host *host, int dead);
/drivers/tty/
Dn_gsm.c151 int dead; /* Refuse re-open */ member
239 int dead; /* Has the mux been shut down */ member
1203 dlci->dead = 1; in gsm_control_message()
1204 gsm->dead = 1; in gsm_control_message()
1424 dlci->gsm->dead = 1; in gsm_dlci_close()
1774 if (dlci->dead) in gsm_queue()
2028 gsm->dead = 1; in gsm_cleanup_mux()
2050 dlci->dead = 1; in gsm_cleanup_mux()
2108 gsm->dead = 0; /* Tty opens are now permissible */ in gsm_activate_mux()
2183 gsm->dead = 1; /* Avoid early tty opens */ in gsm_alloc_mux()
[all …]
/drivers/staging/vt6655/
DTODO7 - remove dead code
/drivers/gpu/drm/nouveau/core/core/
Dobject.c182 int dead = atomic_dec_and_test(&(*ref)->refcount); in nouveau_object_ref() local
184 if (dead) in nouveau_object_ref()
/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/matrox/
Dmatroxfb_base.c319 if (minfo->dead) in matrox_pan_var()
365 minfo->dead = 1; in matroxfb_remove()
394 if (minfo->dead) { in matroxfb_open()
415 if (!(--minfo->usecount) && minfo->dead) { in matroxfb_release()
745 if (minfo->dead) { in matroxfb_check_var()
764 if (minfo->dead) { in matroxfb_set_par()
888 if (minfo->dead) { in matroxfb_ioctl()
1186 if (minfo->dead) in matroxfb_blank()
2038 minfo->dead = 0; in matroxfb_probe()
/drivers/net/ppp/
Dppp_generic.c88 int dead; /* unit/channel has been shut down */ member
433 if (pf->dead) in ppp_read()
525 if (pf->dead) in ppp_poll()
2323 pch->file.dead = 1; in ppp_unregister_channel()
2770 ppp->file.dead = 1; in ppp_shutdown_interface()
2786 if (!ppp->file.dead || ppp->n_channels) { in ppp_destroy_interface()
2790 ppp, ppp->file.dead, ppp->n_channels); in ppp_destroy_interface()
2933 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