Symbol: dm_device
drivers/hv/hv_balloon.c
1253
unsigned int num_pages = dm_device.balloon_wrk.num_pages;
drivers/hv/hv_balloon.c
1289
num_ballooned = alloc_balloon_pages(&dm_device, num_pages,
drivers/hv/hv_balloon.c
1299
num_pages, dm_device.balloon_wrk.num_pages);
drivers/hv/hv_balloon.c
1303
dm_device.state = DM_INITIALIZED;
drivers/hv/hv_balloon.c
1314
ret = vmbus_sendpacket(dm_device.dev->channel,
drivers/hv/hv_balloon.c
1322
post_status(&dm_device);
drivers/hv/hv_balloon.c
1332
free_balloon_pages(&dm_device,
drivers/hv/hv_balloon.c
1351
complete(&dm_device.config_event);
drivers/hv/hv_balloon.c
1365
vmbus_sendpacket(dm_device.dev->channel, &resp,
drivers/hv/hv_balloon.c
1380
wait_for_completion_interruptible_timeout(&dm_device.config_event,
drivers/hv/hv_balloon.c
1386
reinit_completion(&dm_device.config_event);
drivers/hv/hv_balloon.c
1518
dm_device.balloon_wrk.num_pages = bal_msg->num_pages;
drivers/hv/hv_balloon.c
1519
schedule_work(&dm_device.balloon_wrk.wrk);
drivers/hv/hv_balloon.c
1559
schedule_work(&dm_device.ha_wrk.wrk);
drivers/hv/hv_balloon.c
1661
dm_device.pr_dev_info.report = hv_free_page_report;
drivers/hv/hv_balloon.c
1666
dm_device.pr_dev_info.order = PAGE_REPORTING_ORDER_UNSPECIFIED;
drivers/hv/hv_balloon.c
1667
ret = page_reporting_register(&dm_device.pr_dev_info);
drivers/hv/hv_balloon.c
1669
dm_device.pr_dev_info.report = NULL;
drivers/hv/hv_balloon.c
1679
if (dm_device.pr_dev_info.report) {
drivers/hv/hv_balloon.c
1680
page_reporting_unregister(&dm_device.pr_dev_info);
drivers/hv/hv_balloon.c
1681
dm_device.pr_dev_info.report = NULL;
drivers/hv/hv_balloon.c
1748
dm_device.version = version_req.version.version;
drivers/hv/hv_balloon.c
1756
t = wait_for_completion_timeout(&dm_device.host_event, secs_to_jiffies(5));
drivers/hv/hv_balloon.c
1766
if (dm_device.state == DM_INIT_ERROR) {
drivers/hv/hv_balloon.c
1772
DYNMEM_MAJOR_VERSION(dm_device.version),
drivers/hv/hv_balloon.c
1773
DYNMEM_MINOR_VERSION(dm_device.version));
drivers/hv/hv_balloon.c
1814
t = wait_for_completion_timeout(&dm_device.host_event, secs_to_jiffies(5));
drivers/hv/hv_balloon.c
1824
if (dm_device.state == DM_INIT_ERROR) {
drivers/hv/hv_balloon.c
1965
dm_device.dev = dev;
drivers/hv/hv_balloon.c
1966
dm_device.state = DM_INITIALIZING;
drivers/hv/hv_balloon.c
1967
dm_device.next_version = DYNMEM_PROTOCOL_VERSION_WIN8;
drivers/hv/hv_balloon.c
1968
init_completion(&dm_device.host_event);
drivers/hv/hv_balloon.c
1969
init_completion(&dm_device.config_event);
drivers/hv/hv_balloon.c
1970
INIT_LIST_HEAD(&dm_device.ha_region_list);
drivers/hv/hv_balloon.c
1971
spin_lock_init(&dm_device.ha_lock);
drivers/hv/hv_balloon.c
1972
INIT_WORK(&dm_device.balloon_wrk.wrk, balloon_up);
drivers/hv/hv_balloon.c
1973
INIT_WORK(&dm_device.ha_wrk.wrk, hot_add_req);
drivers/hv/hv_balloon.c
1974
dm_device.host_specified_ha_region = false;
drivers/hv/hv_balloon.c
1978
init_completion(&dm_device.ol_waitevent);
drivers/hv/hv_balloon.c
1982
hv_set_drvdata(dev, &dm_device);
drivers/hv/hv_balloon.c
1989
dm_device.state = DM_INITIALIZED;
drivers/hv/hv_balloon.c
1991
dm_device.thread =
drivers/hv/hv_balloon.c
1992
kthread_run(dm_thread_func, &dm_device, "hv_balloon");
drivers/hv/hv_balloon.c
1993
if (IS_ERR(dm_device.thread)) {
drivers/hv/hv_balloon.c
1994
ret = PTR_ERR(dm_device.thread);
drivers/hv/hv_balloon.c
1998
hv_balloon_debugfs_init(&dm_device);
drivers/hv/hv_balloon.c
2003
dm_device.state = DM_INIT_ERROR;
drivers/hv/hv_balloon.c
2004
dm_device.thread = NULL;
drivers/hv/hv_balloon.c
2036
if (dm_device.state != DM_INIT_ERROR) {
drivers/hv/hv_balloon.c
2045
guard(spinlock_irqsave)(&dm_device.ha_lock);
drivers/hv/hv_balloon.c
2080
dm_device.state = DM_INITIALIZING;
drivers/hv/hv_balloon.c
2087
dm_device.thread =
drivers/hv/hv_balloon.c
2088
kthread_run(dm_thread_func, &dm_device, "hv_balloon");
drivers/hv/hv_balloon.c
2089
if (IS_ERR(dm_device.thread)) {
drivers/hv/hv_balloon.c
2090
ret = PTR_ERR(dm_device.thread);
drivers/hv/hv_balloon.c
2091
dm_device.thread = NULL;
drivers/hv/hv_balloon.c
2095
dm_device.state = DM_INITIALIZED;
drivers/hv/hv_balloon.c
2100
dm_device.state = DM_INIT_ERROR;
drivers/hv/hv_balloon.c
573
static struct hv_dynmem_device dm_device;
drivers/hv/hv_balloon.c
613
list_for_each_entry(has, &dm_device.ha_region_list, list) {
drivers/hv/hv_balloon.c
645
complete(&dm_device.ol_waitevent);
drivers/hv/hv_balloon.c
649
scoped_guard(spinlock_irqsave, &dm_device.ha_lock) {
drivers/hv/hv_balloon.c
652
if (pfn_count <= dm_device.num_pages_onlined) {
drivers/hv/hv_balloon.c
653
dm_device.num_pages_onlined -= pfn_count;
drivers/hv/hv_balloon.c
662
dm_device.num_pages_onlined = 0;
drivers/hv/hv_balloon.c
692
lockdep_assert_held(&dm_device.ha_lock);
drivers/hv/hv_balloon.c
693
dm_device.num_pages_onlined++;
drivers/hv/hv_balloon.c
719
scoped_guard(spinlock_irqsave, &dm_device.ha_lock) {
drivers/hv/hv_balloon.c
726
reinit_completion(&dm_device.ol_waitevent);
drivers/hv/hv_balloon.c
744
scoped_guard(spinlock_irqsave, &dm_device.ha_lock) {
drivers/hv/hv_balloon.c
759
wait_for_completion_timeout(&dm_device.ol_waitevent, secs_to_jiffies(5));
drivers/hv/hv_balloon.c
760
post_status(&dm_device);
drivers/hv/hv_balloon.c
769
scoped_guard(spinlock_irqsave, &dm_device.ha_lock) {
drivers/hv/hv_balloon.c
770
list_for_each_entry(has, &dm_device.ha_region_list, list) {
drivers/hv/hv_balloon.c
790
guard(spinlock_irqsave)(&dm_device.ha_lock);
drivers/hv/hv_balloon.c
791
list_for_each_entry(has, &dm_device.ha_region_list, list) {
drivers/hv/hv_balloon.c
849
spin_lock_irqsave(&dm_device.ha_lock, flags);
drivers/hv/hv_balloon.c
850
list_for_each_entry(has, &dm_device.ha_region_list, list) {
drivers/hv/hv_balloon.c
899
spin_unlock_irqrestore(&dm_device.ha_lock, flags);
drivers/hv/hv_balloon.c
901
spin_lock_irqsave(&dm_device.ha_lock, flags);
drivers/hv/hv_balloon.c
910
spin_unlock_irqrestore(&dm_device.ha_lock, flags);
drivers/hv/hv_balloon.c
926
if (!dm_device.host_specified_ha_region) {
drivers/hv/hv_balloon.c
953
scoped_guard(spinlock_irqsave, &dm_device.ha_lock) {
drivers/hv/hv_balloon.c
954
list_add_tail(&ha_region->list, &dm_device.ha_region_list);
drivers/hv/hv_balloon.c
975
struct hv_dynmem_device *dm = &dm_device;
drivers/md/dm-init.c
111
static char __init *dm_parse_table_entry(struct dm_device *dev, char *str)
drivers/md/dm-init.c
162
static int __init dm_parse_table(struct dm_device *dev, char *str)
drivers/md/dm-init.c
192
static char __init *dm_parse_device_entry(struct dm_device *dev, char *str)
drivers/md/dm-init.c
242
struct dm_device *dev;
drivers/md/dm-init.c
273
struct dm_device *dev;
drivers/md/dm-init.c
66
struct dm_device *dev, *tmp;