Home
last modified time | relevance | path

Searched full:writeback (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/linux/drivers/gpu/drm/
H A Ddrm_writeback.c27 * Writeback connectors are used to expose hardware which can write the output
31 * * Writeback connectors don't provide a way to output visually to the user.
33 * * Writeback connectors are visible to userspace only when the client sets
36 * * Writeback connectors don't have EDID.
38 * A framebuffer may only be attached to a writeback connector when the
43 * Unlike with planes, when a writeback framebuffer is removed by userspace DRM
45 * because no method is provided to abort a writeback operation, and in any
46 * case making a new commit whilst a writeback is ongoing is undefined (see
47 * WRITEBACK_OUT_FENCE_PTR below). As soon as the current writeback is finished,
53 * Writeback connectors have some additional properties, which userspace
[all …]
/linux/include/linux/
H A Dwriteback.h3 * include/linux/writeback.h
31 * fs/fs-writeback.c
39 * A control structure which tells the writeback code what to do. These are
59 unsigned for_kupdate:1; /* A kupdate writeback */
60 unsigned for_background:1; /* A background writeback */
63 unsigned for_sync:1; /* sync(2) WB_SYNC_ALL writeback */
67 * When writeback IOs are bounced through async layers, only the
80 struct bdi_writeback *wb; /* wb this writeback is issued under */
123 * Scale the writeback cache size proportional to the relative
127 * on page writeback completions [end_page_writeback()]. Those
[all …]
H A Dbacking-dev-defs.h26 WB_writeback_running, /* Writeback is in progress */
42 * why some writeback work was initiated
67 unsigned long wait_start; /* The jiffies when waiting for the writeback work to finish */
86 * Each wb (bdi_writeback) can perform writeback operations, is measured
87 * and throttled, independently. Without cgroup writeback, each bdi
91 * using memcg's page ownership for attributing writeback IOs, and every
114 struct list_head b_io; /* parked for writeback */
115 struct list_head b_more_io; /* parked for more writeback */
119 atomic_t writeback_inodes; /* number of inodes under writeback */
143 struct delayed_work dwork; /* work item used for writeback */
[all...]
H A Dbacking-dev.h16 #include <linux/writeback.h>
109 * BDI_CAP_WRITEBACK: Supports dirty page writeback, and dirty pages
121 * writeback_in_progress - determine whether there is writeback in progress
124 * Determine whether there is writeback waiting to be handled against a
150 * inode_cgwb_enabled - test whether cgroup writeback is enabled on an inode
153 * Cgroup writeback requires support from the filesystem. Also, both memcg and
253 * If wbc does not have inode attached, it means cgroup writeback was in inode_to_wb_wbc()
/linux/fs/
H A Dfs-writeback.c3 * fs/fs-writeback.c
9 * pages against inodes. ie: data writeback. Writeout of the
14 * Additions for address_space-based writeback
27 #include <linux/writeback.h>
46 unsigned int for_sync:1; /* sync(2) WB_SYNC_ALL writeback */
48 enum wb_reason reason; /* why was writeback initiated? */
77 #include <trace/events/writeback.h>
205 pr_info("INFO: The task %s:%d has been waiting for writeback " in wb_wait_for_completion_cb()
239 * The current cgroup writeback is built on the assumption that multiple
429 * folios actually under writeback. in inode_do_switch_wbs()
[all …]
/linux/Documentation/admin-guide/blockdev/
H A Dzram.rst51 and writeback simultaneously).
324 not used pages). This feature is useful for e.g. zram writeback and
340 writeback section in Optional Feature
350 If admin wants to use incompressible page writeback, they could do it via::
352 echo huge > /sys/block/zramX/writeback
354 Admin can request writeback of idle pages at right timing via::
356 echo idle > /sys/block/zramX/writeback
358 With the command, zram will writeback idle pages from memory to the storage.
360 Additionally, if a user choose to writeback only huge and idle pages
363 echo huge_idle > /sys/block/zramX/writeback
[all …]
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_writeback.c3 * R-Car Display Unit Writeback Support
22 * struct rcar_du_wb_conn_state - Driver-specific writeback connector state
24 * @format: format of the writeback framebuffer
35 * struct rcar_du_wb_job - Driver-private data for writeback jobs
183 * and can't convert to YUV separately for writeback.
203 struct drm_writeback_connector *wb_conn = &rcrtc->writeback; in rcar_du_writeback_init()
225 state = rcrtc->writeback.base.state; in rcar_du_writeback_setup()
240 drm_writeback_queue_job(&rcrtc->writeback, state); in rcar_du_writeback_setup()
245 drm_writeback_signal_completion(&rcrtc->writeback, 0); in rcar_du_writeback_complete()
H A Drcar_du_crtc.h45 * @writeback: the writeback connector
75 struct drm_writeback_connector writeback; member
79 #define wb_to_rcar_crtc(c) container_of(c, struct rcar_du_crtc, writeback)
/linux/Documentation/admin-guide/device-mapper/
H A Dwritecache.rst27 start writeback when the number of used blocks reach this
30 stop writeback when the number of used blocks drops below
34 writeback. Setting this value reduces writeback
60 writes) and it will gradually writeback any cached
74 pause writeback if there was some write I/O redirected to
82 4. the number of blocks under writeback
/linux/mm/
H A Dpage-writeback.c3 * mm/page-writeback.c
24 #include <linux/writeback.h>
42 #include <trace/events/writeback.h>
66 * will look to see if it needs to force writeback or throttling.
73 * Start background writeback (via writeback threads) at this percentage
90 * The generator of dirty data starts writeback at this percentage
232 * requiring writeback.
421 * global_dirty_limits - background-writeback and dirty-throttling thresholds
855 * decide whether to put more under writeback.
866 unsigned long filepages = 0, headroom = 0, writeback = 0; in domain_dirty_avail() local
[all …]
H A Dzswap.c33 #include <linux/writeback.h>
67 /* Load or writeback failed due to decompression failure */
150 * when a zswap_entry is taken off the lru for writeback, in that case it
182 * writeback logic. The entry is only reclaimed by the writeback
892 * of writebacks. If writeback is disabled, reject the page since it in zswap_compress()
986 * writeback code
993 * This can be thought of as a "resumed writeback" of the folio
995 * writeback path that was intercepted with the zswap_store()
1025 * shrinker. We generally writeback cold folios from zswap, and in zswap_writeback_entry()
1069 /* start writeback */ in zswap_writeback_entry()
[all …]
/linux/drivers/gpu/drm/vkms/
H A Dvkms_config.h63 * @writeback: If true, a writeback buffer can be attached to the CRTC
73 bool writeback; member
198 * @enable_writeback: Create or not a writeback connector
352 * vkms_config_crtc_get_writeback() - If a writeback connector will be created
353 * @crtc_cfg: CRTC with or without a writeback connector
358 return crtc_cfg->writeback; in vkms_config_crtc_get_writeback()
362 * vkms_config_crtc_set_writeback() - If a writeback connector will be created
364 * @writeback: Enable or disable the writeback connector
368 bool writeback) in vkms_config_crtc_set_writeback() argument
370 crtc_cfg->writeback = writeback; in vkms_config_crtc_set_writeback()
H A Dvkms_output.c17 int writeback; in vkms_output_init() local
43 /* Initialize the writeback component */ in vkms_output_init()
45 writeback = vkms_enable_writeback_connector(vkmsdev, crtc_cfg->crtc); in vkms_output_init()
46 if (writeback) in vkms_output_init()
47 DRM_ERROR("Failed to init writeback connector\n"); in vkms_output_init()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_catalog.h98 * @DPU_WB_LINE_MODE Writeback module supports line/linear mode
99 * @DPU_WB_BLOCK_MODE Writeback module supports block mode read
100 * @DPU_WB_CHROMA_DOWN, Writeback chroma down block,
101 * @DPU_WB_DOWNSCALE, Writeback integer downscaler,
103 * @DPU_WB_TRAFFIC_SHAPER, Writeback traffic shaper bloc
104 * @DPU_WB_UBWC, Writeback Universal bandwidth compression
105 * @DPU_WB_YUV_CONFIG Writeback supports output of YUV colorspace
106 * @DPU_WB_PIPE_ALPHA Writeback supports pipe alpha
107 * @DPU_WB_XY_ROI_OFFSET Writeback supports x/y-offset of out ROI in
109 * @DPU_WB_QOS, Writeback supports QoS control, danger/safe/creq
[all …]
/linux/tools/testing/selftests/cgroup/
H A Dtest_zswap.c252 * Attempt writeback with the following steps:
260 this will either trigger writeback if it's enabled, or reclamation
261 will fail if writeback is disabled as there isn't enough zswap space.
308 * If writeback is enabled, trying to reclaim memory now will trigger a in attempt_writeback()
309 * writeback as zswap.max is half of what was needed when reclaim ran the first time. in attempt_writeback()
310 * If writeback is disabled, memory reclaim will fail as zswap is limited and in attempt_writeback()
311 * it can't writeback to swap. in attempt_writeback()
335 /* Verify that zswap writeback occurred only if writeback was enabled */ in test_zswap_writeback_one()
349 /* Test to verify the zswap writeback path */
355 if (cg_read_strcmp(root, "memory.zswap.writeback", "1")) in test_zswap_writeback()
[all …]
/linux/Documentation/filesystems/fuse/
H A Dfuse-io.rst12 + writeback-cache
27 writeback-cache mode may be selected by the FUSE_WRITEBACK_CACHE flag in the
35 In writeback-cache mode (enabled by the FUSE_WRITEBACK_CACHE flag) writes go to
37 fast. Dirty pages are written back implicitly (background writeback or page
/linux/Documentation/filesystems/iomap/
H A Doperations.rst32 mapping, managing uptodate and dirty state, or writeback of pagecache
95 can take folio locks, fault on userspace pages, initiate writeback
103 For the pagecache, races can happen if writeback doesn't take
109 fsdax does not need this revalidation because there's no writeback
257 because writeback will not consume the reservation.
267 to the same region and triggers writeback to flush the dirty data out to
305 Pagecache Writeback
315 writeback.
319 ``->writeback_range`` machinery described below even if the writeback fails.
363 If this succeeds, iomap_finish_folio_write() must be called once writeback
[all …]
/linux/arch/arm/mm/
H A Dabort-lv4t.S62 tst r8, #1 << 21 @ check writeback bit
63 beq do_DataAbort @ no writeback -> no fixup
87 tst r8, #1 << 21 @ Check writeback bit
88 beq do_DataAbort @ No writeback -> no fixup
107 tst r8, #1 << 21 @ check writeback bit
108 beq do_DataAbort @ no writeback -> no fixup
123 tst r8, #1 << 21 @ check writeback bit
124 beq do_DataAbort @ no writeback -> no fixup
/linux/arch/arc/mm/
H A Ddma.c41 * TO_DEV | writeback writeback | none none
43 * BIDIR | writeback+inv writeback+inv | invalidate invalidate
/linux/fs/afs/
H A Dwrite.c12 #include <linux/writeback.h>
31 * Find a key to use for the writeback. We cached the keys used to author the
32 * writes on the vnode. wreq->netfs_priv2 will contain the last writeback key
180 * Writeback calls this when it finds a folio that needs uploading. This isn't
181 * called if writeback only has copy-to-cache to deal with.
191 * available writeback keys.
284 * Prune the keys cached for writeback. The caller must hold vnode->wb_lock.
/linux/drivers/md/bcache/
H A Drequest.c14 #include "writeback.h"
176 if (op->writeback) in bch_data_insert_endio()
224 op->writeback)) in CLOSURE_CALLBACK()
232 if (op->writeback) { in CLOSURE_CALLBACK()
255 /* bch_alloc_sectors() blocks if s->writeback = true */ in CLOSURE_CALLBACK()
256 BUG_ON(op->writeback); in CLOSURE_CALLBACK()
259 * But if it's not a writeback write we'd rather just bail out if in CLOSURE_CALLBACK()
293 * be from a normal write, or a writeback write, or a write to a flash only
313 op->writeback, op->bypass); in CLOSURE_CALLBACK()
660 * If a bio has REQ_PREFLUSH for writeback mode, it is in backing_request_endio()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_shrinker.c97 * Try shrinking idle objects without writeback first, then if not sufficient,
99 * add writeback. This avoids stalls and explicit writebacks with light or
112 save_flags.writeback = false; in xe_shrinker_walk()
128 if (flags.writeback) { in xe_shrinker_walk()
211 /* Don't request writeback without __GFP_IO. */ in xe_shrinker_scan()
212 .writeback = !ctx.no_wait_gpu && (sc->gfp_mask & __GFP_IO), in xe_shrinker_scan()
/linux/Documentation/gpu/
H A Dkomeda-kms.rst46 Writeback Layer (wb_layer)
48 Writeback layer does the opposite things of Layer, which connects to compiz
73 Similar to Layer Split, but Splitter is used for writeback, which splits the
250 Writeback(output) pipeline
253 :alt: writeback digraph
254 :caption: Writeback(output) data flow
269 :alt: split writeback digraph
270 :caption: Writeback(output) Split data flow
364 - Wb_connector: `Writeback(output) pipeline`_
/linux/arch/sparc/include/asm/
H A Destate.h18 * 2) writeback 2) copyout. The AFSR bits associated with these traps are
29 * 3) As the result of store merge completion, writeback, or copyout will
43 * during store merge, writeback, and copyout operations.
/linux/fs/btrfs/
H A Dsubpage.h17 * For subpage we pack all uptodate/dirty/writeback/ordered bitmaps into
38 * delalloc can unlock its range and mark blocks writeback at random
56 * This will need a rework on the async extent lifespan (mark writeback
183 DECLARE_BTRFS_SUBPAGE_OPS(writeback);
189 * with writeback started and finished.

12345678910>>...24