Symbol: restore
bin/ksh/trap.c
399
setexecsig(Trap *p, int restore)
bin/ksh/trap.c
408
switch (restore & SS_RESTORE_MASK) {
games/adventure/extern.h
73
int restore(const char *);
games/adventure/main.c
129
i = restore(argv[1]); /* See what we've got */
games/battlestar/extern.h
357
void restore(const char *);
games/battlestar/init.c
70
restore(savefile);
games/mille/mille.c
103
if (!restore)
games/mille/mille.c
105
if (!restore || On_exit) {
games/mille/mille.c
110
if (restore)
games/mille/mille.c
120
restore = On_exit = FALSE;
games/mille/mille.c
50
bool restore;
games/mille/mille.c
60
restore = FALSE;
games/mille/mille.c
64
restore = TRUE;
games/mille/mille.c
93
if (!restore || (Player[PLAYER].total >= 5000
games/monop/execute.c
262
restore();
games/monop/monop.c
60
restore();
games/monop/monop.h
143
void restore(void);
regress/usr.sbin/syslogd/ttylog.c
141
restore();
regress/usr.sbin/syslogd/ttylog.c
200
restore();
regress/usr.sbin/syslogd/ttylog.c
208
restore();
regress/usr.sbin/syslogd/ttylog.c
235
restore();
regress/usr.sbin/syslogd/ttylog.c
37
void restore(void);
sys/arch/sparc64/include/asm.h
77
or %o0,%lo(1b),%o0; restore
sys/dev/acpi/pchgpio.c
844
int restore = 0;
sys/dev/acpi/pchgpio.c
861
restore = 1;
sys/dev/acpi/pchgpio.c
874
restore = 1;
sys/dev/acpi/pchgpio.c
876
if (restore) {
sys/dev/dt/dt_prov_kprobe.c
140
db_prologue_patch(vaddr_t addr, int restore)
sys/dev/dt/dt_prov_kprobe.c
147
if (restore) {
sys/dev/dt/dt_prov_kprobe.c
176
db_epilogue_patch(vaddr_t addr, int restore)
sys/dev/dt/dt_prov_kprobe.c
183
if (restore) {
sys/dev/dt/dt_prov_kprobe.c
216
db_prologue_patch(vaddr_t addr, int restore)
sys/dev/dt/dt_prov_kprobe.c
223
if (restore) {
sys/dev/dt/dt_prov_kprobe.c
255
db_epilogue_patch(vaddr_t addr, int restore)
sys/dev/dt/dt_prov_kprobe.c
262
if (restore) {
sys/dev/ic/qwx.c
5484
.offset = offsetof(struct qmi_wlanfw_mem_seg_resp_s_v01, restore),
sys/dev/ic/qwxreg.h
6662
uint8_t restore;
sys/dev/ic/qwz.c
2834
.offset = offsetof(struct qmi_wlanfw_mem_seg_resp_s_v01, restore),
sys/dev/ic/qwzreg.h
6787
uint8_t restore;
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
3019
.restore = pm_sleep_ptr(amdgpu_pmops_restore),
sys/dev/pci/drm/amd/amdgpu/amdgpu_userq.c
131
r = userq_funcs->restore(uq_mgr, queue);
sys/dev/pci/drm/amd/amdgpu/amdgpu_userq.h
90
int (*restore)(struct amdgpu_userq_mgr *uq_mgr,
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
7170
static int gfx_v10_0_kcq_init_queue(struct amdgpu_ring *ring, bool restore)
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
7176
if (!restore && !amdgpu_in_reset(adev) && !adev->in_suspend) {
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3878
static int gfx_v9_0_kcq_init_queue(struct amdgpu_ring *ring, bool restore)
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3890
if (!restore && (!tmp_mqd->cp_hqd_pq_control ||
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
2157
static int gfx_v9_4_3_xcc_kcq_init_queue(struct amdgpu_ring *ring, int xcc_id, bool restore)
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
2169
if (!restore && (!tmp_mqd->cp_hqd_pq_control ||
sys/dev/pci/drm/amd/amdgpu/mes_userqueue.c
495
.restore = mes_userq_restore,
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
686
static void sdma_v4_4_2_gfx_resume(struct amdgpu_device *adev, unsigned int i, bool restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
714
if (!restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
729
if (restore) {
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
792
static void sdma_v4_4_2_page_resume(struct amdgpu_device *adev, unsigned int i, bool restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
817
if (restore) {
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
841
if (!restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
967
uint32_t inst_mask, bool restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
978
if (!restore && adev->firmware.load_type != AMDGPU_FW_LOAD_PSP &&
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
997
sdma_v4_4_2_gfx_resume(adev, i, restore);
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
999
sdma_v4_4_2_page_resume(adev, i, restore);
sys/dev/pci/drm/amd/amdgpu/sdma_v5_0.c
688
static int sdma_v5_0_gfx_resume_instance(struct amdgpu_device *adev, int i, bool restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v5_0.c
716
if (restore) {
sys/dev/pci/drm/amd/amdgpu/sdma_v5_0.c
754
if (!restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v5_2.c
537
static int sdma_v5_2_gfx_resume_instance(struct amdgpu_device *adev, int i, bool restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v5_2.c
565
if (restore) {
sys/dev/pci/drm/amd/amdgpu/sdma_v5_2.c
602
if (!restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v6_0.c
482
static int sdma_v6_0_gfx_resume_instance(struct amdgpu_device *adev, int i, bool restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v6_0.c
509
if (restore) {
sys/dev/pci/drm/amd/amdgpu/sdma_v6_0.c
540
if (!restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v7_0.c
475
static int sdma_v7_0_gfx_resume_instance(struct amdgpu_device *adev, int i, bool restore)
sys/dev/pci/drm/amd/amdgpu/sdma_v7_0.c
501
if (restore) {
sys/dev/pci/drm/amd/amdgpu/sdma_v7_0.c
536
if (!restore)
sys/dev/pci/drm/clients/drm_fbdev_client.c
92
.restore = drm_fbdev_client_restore,
sys/dev/pci/drm/drm_client_event.c
114
if (!client->funcs || !client->funcs->restore)
sys/dev/pci/drm/drm_client_event.c
117
ret = client->funcs->restore(client);
sys/dev/pci/drm/drm_mipi_dsi.c
94
.restore = pm_generic_restore,
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
22
display->restore.saveSWF0[i] = intel_de_read(display, SWF0(display, i));
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
23
display->restore.saveSWF1[i] = intel_de_read(display, SWF1(display, i));
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
26
display->restore.saveSWF3[i] = intel_de_read(display, SWF3(display, i));
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
29
display->restore.saveSWF1[i] = intel_de_read(display, SWF1(display, i));
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
32
display->restore.saveSWF0[i] = intel_de_read(display, SWF0(display, i));
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
33
display->restore.saveSWF1[i] = intel_de_read(display, SWF1(display, i));
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
36
display->restore.saveSWF3[i] = intel_de_read(display, SWF3(display, i));
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
47
intel_de_write(display, SWF0(display, i), display->restore.saveSWF0[i]);
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
48
intel_de_write(display, SWF1(display, i), display->restore.saveSWF1[i]);
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
51
intel_de_write(display, SWF3(display, i), display->restore.saveSWF3[i]);
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
54
intel_de_write(display, SWF1(display, i), display->restore.saveSWF1[i]);
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
57
intel_de_write(display, SWF0(display, i), display->restore.saveSWF0[i]);
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
58
intel_de_write(display, SWF1(display, i), display->restore.saveSWF1[i]);
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
61
intel_de_write(display, SWF3(display, i), display->restore.saveSWF3[i]);
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
74
display->restore.saveDSPARB = intel_de_read(display, DSPARB(display));
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
77
pci_read_config_word(pdev, GCDGMBUS, &display->restore.saveGCDGMBUS);
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
92
pci_write_config_word(pdev, GCDGMBUS, display->restore.saveGCDGMBUS);
sys/dev/pci/drm/i915/display/i9xx_display_sr.c
96
intel_de_write(display, DSPARB(display), display->restore.saveDSPARB);
sys/dev/pci/drm/i915/display/intel_display_core.h
534
} restore;
sys/dev/pci/drm/i915/display/intel_display_driver.c
735
display->restore.modeset_state = state;
sys/dev/pci/drm/i915/display/intel_display_driver.c
786
struct drm_atomic_state *state = display->restore.modeset_state;
sys/dev/pci/drm/i915/display/intel_display_driver.c
796
display->restore.modeset_state = NULL;
sys/dev/pci/drm/i915/display/intel_display_reset.c
27
struct drm_modeset_acquire_ctx *ctx = &display->restore.reset_ctx;
sys/dev/pci/drm/i915/display/intel_display_reset.c
34
if (atomic_read(&display->restore.pending_fb_pin)) {
sys/dev/pci/drm/i915/display/intel_display_reset.c
73
display->restore.modeset_state = state;
sys/dev/pci/drm/i915/display/intel_display_reset.c
82
struct drm_modeset_acquire_ctx *ctx = &display->restore.reset_ctx;
sys/dev/pci/drm/i915/display/intel_display_reset.c
89
state = fetch_and_zero(&display->restore.modeset_state);
sys/dev/pci/drm/i915/display/intel_dpt.c
141
atomic_inc(&display->restore.pending_fb_pin);
sys/dev/pci/drm/i915/display/intel_dpt.c
171
atomic_dec(&display->restore.pending_fb_pin);
sys/dev/pci/drm/i915/display/intel_fb_pin.c
104
atomic_dec(&display->restore.pending_fb_pin);
sys/dev/pci/drm/i915/display/intel_fb_pin.c
144
atomic_inc(&display->restore.pending_fb_pin);
sys/dev/pci/drm/i915/display/intel_fb_pin.c
220
atomic_dec(&display->restore.pending_fb_pin);
sys/dev/pci/drm/i915/display/intel_fb_pin.c
49
atomic_inc(&display->restore.pending_fb_pin);
sys/dev/pci/drm/i915/display/intel_overlay.c
816
atomic_inc(&display->restore.pending_fb_pin);
sys/dev/pci/drm/i915/display/intel_overlay.c
904
atomic_dec(&display->restore.pending_fb_pin);
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1065
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1081
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1092
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1118
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1137
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1157
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1160
restore:
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1675
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1690
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1715
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1733
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1744
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1753
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1761
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
1776
restore:
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
747
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
763
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
792
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
802
goto restore;
sys/dev/pci/drm/i915/gt/selftest_hangcheck.c
808
restore:
sys/dev/pci/drm/i915/gt/selftest_mocs.c
417
goto restore;
sys/dev/pci/drm/i915/gt/selftest_mocs.c
427
restore:
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
1275
goto restore;
sys/dev/pci/drm/i915/gt/selftest_workarounds.c
1347
restore:
sys/dev/pci/drm/i915/i915_driver.c
1719
.restore = i915_pm_restore,
sys/dev/pci/drm/include/drm/drm_client.h
55
int (*restore)(struct drm_client_dev *client);
sys/dev/pci/drm/include/drm/ttm/ttm_tt.h
130
struct ttm_pool_tt_restore *restore;
sys/dev/pci/drm/radeon/radeon_drv.c
510
.restore = radeon_pmops_resume,
sys/dev/pci/drm/ttm/ttm_pool.c
1003
if (!tt->restore) {
sys/dev/pci/drm/ttm/ttm_pool.c
1010
tt->restore = kzalloc(sizeof(*tt->restore), gfp);
sys/dev/pci/drm/ttm/ttm_pool.c
1011
if (!tt->restore)
sys/dev/pci/drm/ttm/ttm_pool.c
1014
tt->restore->snapshot_alloc = alloc;
sys/dev/pci/drm/ttm/ttm_pool.c
1015
tt->restore->pool = pool;
sys/dev/pci/drm/ttm/ttm_pool.c
1016
tt->restore->restored_pages = 1;
sys/dev/pci/drm/ttm/ttm_pool.c
1018
struct ttm_pool_tt_restore *restore = tt->restore;
sys/dev/pci/drm/ttm/ttm_pool.c
1021
alloc = restore->snapshot_alloc;
sys/dev/pci/drm/ttm/ttm_pool.c
1022
if (ttm_pool_restore_valid(tt->restore)) {
sys/dev/pci/drm/ttm/ttm_pool.c
1023
ret = ttm_pool_restore_commit(restore, tt->backup, ctx, &alloc);
sys/dev/pci/drm/ttm/ttm_pool.c
1031
return __ttm_pool_alloc(pool, tt, ctx, &alloc, tt->restore);
sys/dev/pci/drm/ttm/ttm_pool.c
1060
struct ttm_pool_tt_restore *restore;
sys/dev/pci/drm/ttm/ttm_pool.c
1065
restore = tt->restore;
sys/dev/pci/drm/ttm/ttm_pool.c
1072
if (ttm_pool_restore_valid(restore)) {
sys/dev/pci/drm/ttm/ttm_pool.c
1073
dma_addr_t *dma_addr = tt->dma_address ? &restore->first_dma : NULL;
sys/dev/pci/drm/ttm/ttm_pool.c
1075
ttm_pool_unmap_and_free(restore->pool, restore->alloced_page,
sys/dev/pci/drm/ttm/ttm_pool.c
1076
dma_addr, restore->page_caching, restore->order);
sys/dev/pci/drm/ttm/ttm_pool.c
1077
restore->restored_pages = 1UL << restore->order;
sys/dev/pci/drm/ttm/ttm_pool.c
1084
if (restore) {
sys/dev/pci/drm/ttm/ttm_pool.c
1085
pgoff_t mid = restore->snapshot_alloc.caching_divide - tt->pages;
sys/dev/pci/drm/ttm/ttm_pool.c
1087
start_page = restore->alloced_pages;
sys/dev/pci/drm/ttm/ttm_pool.c
1090
ttm_pool_free_range(restore->pool, tt, tt->caching,
sys/dev/pci/drm/ttm/ttm_pool.c
1093
ttm_pool_free_range(restore->pool, tt, ttm_cached,
sys/dev/pci/drm/ttm/ttm_pool.c
1094
mid, restore->alloced_pages);
sys/dev/pci/drm/ttm/ttm_pool.c
1095
kfree(restore);
sys/dev/pci/drm/ttm/ttm_pool.c
1096
tt->restore = NULL;
sys/dev/pci/drm/ttm/ttm_pool.c
589
static bool ttm_pool_restore_valid(const struct ttm_pool_tt_restore *restore)
sys/dev/pci/drm/ttm/ttm_pool.c
591
return restore && restore->restored_pages < (1 << restore->order);
sys/dev/pci/drm/ttm/ttm_pool.c
660
static int ttm_pool_restore_commit(struct ttm_pool_tt_restore *restore,
sys/dev/pci/drm/ttm/ttm_pool.c
669
pgoff_t i, nr = 1UL << restore->order;
sys/dev/pci/drm/ttm/ttm_pool.c
674
for (i = restore->restored_pages; i < nr; ++i) {
sys/dev/pci/drm/ttm/ttm_pool.c
686
restore->restored_pages++;
sys/dev/pci/drm/ttm/ttm_pool.c
690
ret = ttm_backup_copy_page(backup, restore->alloced_page + i,
sys/dev/pci/drm/ttm/ttm_pool.c
704
ttm_pool_split_for_swap(restore->pool, p);
sys/dev/pci/drm/ttm/ttm_pool.c
705
copy_highpage(restore->alloced_page + i, p);
sys/dev/pci/drm/ttm/ttm_pool.c
709
restore->restored_pages++;
sys/dev/pci/drm/ttm/ttm_pool.c
714
if (!restore->restored_pages) {
sys/dev/pci/drm/ttm/ttm_pool.c
715
dma_addr_t *dma_addr = alloc->dma_addr ? &restore->first_dma : NULL;
sys/dev/pci/drm/ttm/ttm_pool.c
717
ttm_pool_unmap_and_free(restore->pool, restore->alloced_page,
sys/dev/pci/drm/ttm/ttm_pool.c
718
dma_addr, restore->page_caching);
sys/dev/pci/drm/ttm/ttm_pool.c
719
restore->restored_pages = nr;
sys/dev/pci/drm/ttm/ttm_pool.c
724
ttm_pool_allocated_page_commit(restore->alloced_page, restore->first_dma,
sys/dev/pci/drm/ttm/ttm_pool.c
726
if (restore->page_caching == alloc->tt_caching || PageHighMem(restore->alloced_page))
sys/dev/pci/drm/ttm/ttm_pool.c
728
restore->snapshot_alloc = *alloc;
sys/dev/pci/drm/ttm/ttm_pool.c
729
restore->alloced_pages += nr;
sys/dev/pci/drm/ttm/ttm_pool.c
741
struct ttm_pool_tt_restore *restore,
sys/dev/pci/drm/ttm/ttm_pool.c
744
restore->pool = pool;
sys/dev/pci/drm/ttm/ttm_pool.c
745
restore->order = order;
sys/dev/pci/drm/ttm/ttm_pool.c
746
restore->restored_pages = 0;
sys/dev/pci/drm/ttm/ttm_pool.c
747
restore->page_caching = page_caching;
sys/dev/pci/drm/ttm/ttm_pool.c
748
restore->first_dma = first_dma;
sys/dev/pci/drm/ttm/ttm_pool.c
749
restore->alloced_page = p;
sys/dev/pci/drm/ttm/ttm_pool.c
750
restore->snapshot_alloc = *alloc;
sys/dev/pci/drm/ttm/ttm_pool.c
763
struct ttm_pool_tt_restore *restore)
sys/dev/pci/drm/ttm/ttm_pool.c
783
if (restore) {
sys/dev/pci/drm/ttm/ttm_pool.c
785
first_dma, restore, alloc);
sys/dev/pci/drm/ttm/ttm_pool.c
859
struct ttm_pool_tt_restore *restore)
sys/dev/pci/drm/ttm/ttm_pool.c
921
restore);
sys/dev/pci/drm/ttm/ttm_pool.c
925
if (ttm_pool_restore_valid(restore)) {
sys/dev/pci/drm/ttm/ttm_pool.c
926
r = ttm_pool_restore_commit(restore, tt->backup, ctx, alloc);
sys/dev/pci/drm/ttm/ttm_pool.c
936
kfree(tt->restore);
sys/dev/pci/drm/ttm/ttm_pool.c
937
tt->restore = NULL;
sys/dev/pci/drm/ttm/ttm_pool.c
945
if (tt->restore)
sys/dev/pci/drm/ttm/ttm_tt.c
172
ttm->restore = NULL;
sys/dev/usb/dwc2/dwc2_core.c
145
bool restore)
sys/dev/usb/dwc2/dwc2_core.c
158
restore);
sys/dev/usb/dwc2/dwc2_core.c
160
return dwc2_gadget_exit_partial_power_down(hsotg, restore);
sys/dev/usb/dwc2/dwc2_core.h
1347
bool restore);
sys/dev/usb/dwc2/dwc2_core.h
1461
bool restore);
sys/dev/usb/dwc2/dwc2_core.h
1504
bool restore)
sys/dev/usb/dwc2/dwc2_core.h
1536
int rem_wakeup, bool restore);
sys/dev/usb/dwc2/dwc2_core.h
1574
int rem_wakeup, bool restore)
sys/dev/usb/dwc2/dwc2_hcd.c
5849
int rem_wakeup, bool restore)
sys/dev/usb/dwc2/dwc2_hcd.c
5872
if (restore) {
usr.bin/nm/nm.c
370
off_t restore;
usr.bin/nm/nm.c
372
restore = ftello(fp);
usr.bin/nm/nm.c
411
fseeko(fp, restore, SEEK_SET);
usr.sbin/watchdogd/watchdogd.c
128
goto restore;
usr.sbin/watchdogd/watchdogd.c
137
goto restore;
usr.sbin/watchdogd/watchdogd.c
142
goto restore;
usr.sbin/watchdogd/watchdogd.c
166
restore: sysctl(mib, 3, NULL, 0, &speriod, sizeof(speriod));