Home
last modified time | relevance | path

Searched full:wb (Results 1 – 25 of 821) sorted by relevance

12345678910>>...33

/kernel/linux/linux-5.10/mm/
Dbacking-dev.c49 struct bdi_writeback *wb = &bdi->wb; in bdi_debug_stats_show() local
57 spin_lock(&wb->list_lock); in bdi_debug_stats_show()
58 list_for_each_entry(inode, &wb->b_dirty, i_io_list) in bdi_debug_stats_show()
60 list_for_each_entry(inode, &wb->b_io, i_io_list) in bdi_debug_stats_show()
62 list_for_each_entry(inode, &wb->b_more_io, i_io_list) in bdi_debug_stats_show()
64 list_for_each_entry(inode, &wb->b_dirty_time, i_io_list) in bdi_debug_stats_show()
67 spin_unlock(&wb->list_lock); in bdi_debug_stats_show()
70 wb_thresh = wb_calc_thresh(wb, dirty_thresh); in bdi_debug_stats_show()
88 (unsigned long) K(wb_stat(wb, WB_WRITEBACK)), in bdi_debug_stats_show()
89 (unsigned long) K(wb_stat(wb, WB_RECLAIMABLE)), in bdi_debug_stats_show()
[all …]
Dpage-writeback.c129 struct bdi_writeback *wb; member
137 unsigned long wb_dirty; /* per-wb counterparts */
153 #define GDTC_INIT(__wb) .wb = (__wb), \
159 #define MDTC_INIT(__wb, __gdtc) .wb = (__wb), \
179 static struct fprop_local_percpu *wb_memcg_completions(struct bdi_writeback *wb) in wb_memcg_completions() argument
181 return &wb->memcg_completions; in wb_memcg_completions()
184 static void wb_min_max_ratio(struct bdi_writeback *wb, in wb_min_max_ratio() argument
187 unsigned long this_bw = wb->avg_write_bandwidth; in wb_min_max_ratio()
188 unsigned long tot_bw = atomic_long_read(&wb->bdi->tot_write_bandwidth); in wb_min_max_ratio()
189 unsigned long long min = wb->bdi->min_ratio; in wb_min_max_ratio()
[all …]
/kernel/linux/linux-6.6/mm/
Dbacking-dev.c52 struct bdi_writeback *wb = &bdi->wb; in bdi_debug_stats_show() local
60 spin_lock(&wb->list_lock); in bdi_debug_stats_show()
61 list_for_each_entry(inode, &wb->b_dirty, i_io_list) in bdi_debug_stats_show()
63 list_for_each_entry(inode, &wb->b_io, i_io_list) in bdi_debug_stats_show()
65 list_for_each_entry(inode, &wb->b_more_io, i_io_list) in bdi_debug_stats_show()
67 list_for_each_entry(inode, &wb->b_dirty_time, i_io_list) in bdi_debug_stats_show()
70 spin_unlock(&wb->list_lock); in bdi_debug_stats_show()
73 wb_thresh = wb_calc_thresh(wb, dirty_thresh); in bdi_debug_stats_show()
90 (unsigned long) K(wb_stat(wb, WB_WRITEBACK)), in bdi_debug_stats_show()
91 (unsigned long) K(wb_stat(wb, WB_RECLAIMABLE)), in bdi_debug_stats_show()
[all …]
Dpage-writeback.c129 struct bdi_writeback *wb; member
137 unsigned long wb_dirty; /* per-wb counterparts */
153 #define GDTC_INIT(__wb) .wb = (__wb), \
159 #define MDTC_INIT(__wb, __gdtc) .wb = (__wb), \
179 static struct fprop_local_percpu *wb_memcg_completions(struct bdi_writeback *wb) in wb_memcg_completions() argument
181 return &wb->memcg_completions; in wb_memcg_completions()
184 static void wb_min_max_ratio(struct bdi_writeback *wb, in wb_min_max_ratio() argument
187 unsigned long this_bw = READ_ONCE(wb->avg_write_bandwidth); in wb_min_max_ratio()
188 unsigned long tot_bw = atomic_long_read(&wb->bdi->tot_write_bandwidth); in wb_min_max_ratio()
189 unsigned long long min = wb->bdi->min_ratio; in wb_min_max_ratio()
[all …]
/kernel/linux/linux-6.6/fs/
Dfs-writeback.c85 static bool wb_io_lists_populated(struct bdi_writeback *wb) in wb_io_lists_populated() argument
87 if (wb_has_dirty_io(wb)) { in wb_io_lists_populated()
90 set_bit(WB_has_dirty_io, &wb->state); in wb_io_lists_populated()
91 WARN_ON_ONCE(!wb->avg_write_bandwidth); in wb_io_lists_populated()
92 atomic_long_add(wb->avg_write_bandwidth, in wb_io_lists_populated()
93 &wb->bdi->tot_write_bandwidth); in wb_io_lists_populated()
98 static void wb_io_lists_depopulated(struct bdi_writeback *wb) in wb_io_lists_depopulated() argument
100 if (wb_has_dirty_io(wb) && list_empty(&wb->b_dirty) && in wb_io_lists_depopulated()
101 list_empty(&wb->b_io) && list_empty(&wb->b_more_io)) { in wb_io_lists_depopulated()
102 clear_bit(WB_has_dirty_io, &wb->state); in wb_io_lists_depopulated()
[all …]
/kernel/linux/linux-6.6/include/linux/
Dbacking-dev-defs.h84 * Each wb (bdi_writeback) can perform writeback operations, is measured
86 * (bdi_writeback) is served by its embedded bdi->wb.
90 * memcg - blkcg combination can be served by its own wb by assigning a
91 * dedicated wb to each memcg, which enables isolation across different
95 * A cgroup wb is indexed on its bdi by the ID of the associated memcg,
98 * change as blkcg is disabled and enabled higher up in the hierarchy, a wb
100 * that a new wb for the combination can be created.
147 struct percpu_ref refcnt; /* used only for !root wb's */
186 struct bdi_writeback wb; /* the root writeback info for this bdi */ member
190 struct mutex cgwb_release_mutex; /* protect shutdown of wb structs */
[all …]
Dbacking-dev.h39 void wb_start_background_writeback(struct bdi_writeback *wb);
41 void wb_wakeup_delayed(struct bdi_writeback *wb);
50 static inline bool wb_has_dirty_io(struct bdi_writeback *wb) in wb_has_dirty_io() argument
52 return test_bit(WB_has_dirty_io, &wb->state); in wb_has_dirty_io()
64 static inline void wb_stat_mod(struct bdi_writeback *wb, in wb_stat_mod() argument
67 percpu_counter_add_batch(&wb->stat[item], amount, WB_STAT_BATCH); in wb_stat_mod()
70 static inline void inc_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in inc_wb_stat() argument
72 wb_stat_mod(wb, item, 1); in inc_wb_stat()
75 static inline void dec_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in dec_wb_stat() argument
77 wb_stat_mod(wb, item, -1); in dec_wb_stat()
[all …]
Dwriteback.h81 struct bdi_writeback *wb; /* wb this writeback is issued under */ member
85 int wb_id; /* current wb id */
86 int wb_lcand_id; /* last foreign candidate wb id */
87 int wb_tcand_id; /* this foreign candidate wb id */
88 size_t wb_bytes; /* bytes written by current wb */
108 ((wbc)->wb ? (wbc)->wb->blkcg_css : blkcg_root_css)
114 * A wb_domain represents a domain that wb's (bdi_writeback's) belong to
116 * domain, global_wb_domain, that every wb in the system is a member of.
117 * This allows measuring the relative bandwidth of each wb to distribute
215 bool cleanup_offline_cgwb(struct bdi_writeback *wb);
[all …]
/kernel/linux/linux-5.10/fs/
Dfs-writeback.c85 static bool wb_io_lists_populated(struct bdi_writeback *wb) in wb_io_lists_populated() argument
87 if (wb_has_dirty_io(wb)) { in wb_io_lists_populated()
90 set_bit(WB_has_dirty_io, &wb->state); in wb_io_lists_populated()
91 WARN_ON_ONCE(!wb->avg_write_bandwidth); in wb_io_lists_populated()
92 atomic_long_add(wb->avg_write_bandwidth, in wb_io_lists_populated()
93 &wb->bdi->tot_write_bandwidth); in wb_io_lists_populated()
98 static void wb_io_lists_depopulated(struct bdi_writeback *wb) in wb_io_lists_depopulated() argument
100 if (wb_has_dirty_io(wb) && list_empty(&wb->b_dirty) && in wb_io_lists_depopulated()
101 list_empty(&wb->b_io) && list_empty(&wb->b_more_io)) { in wb_io_lists_depopulated()
102 clear_bit(WB_has_dirty_io, &wb->state); in wb_io_lists_depopulated()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dbacking-dev.h41 void wb_start_background_writeback(struct bdi_writeback *wb);
43 void wb_wakeup_delayed(struct bdi_writeback *wb);
53 static inline bool wb_has_dirty_io(struct bdi_writeback *wb) in wb_has_dirty_io() argument
55 return test_bit(WB_has_dirty_io, &wb->state); in wb_has_dirty_io()
67 static inline void __add_wb_stat(struct bdi_writeback *wb, in __add_wb_stat() argument
70 percpu_counter_add_batch(&wb->stat[item], amount, WB_STAT_BATCH); in __add_wb_stat()
73 static inline void inc_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in inc_wb_stat() argument
75 __add_wb_stat(wb, item, 1); in inc_wb_stat()
78 static inline void dec_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in dec_wb_stat() argument
80 __add_wb_stat(wb, item, -1); in dec_wb_stat()
[all …]
Dbacking-dev-defs.h89 * Each wb (bdi_writeback) can perform writeback operations, is measured
91 * (bdi_writeback) is served by its embedded bdi->wb.
95 * memcg - blkcg combination can be served by its own wb by assigning a
96 * dedicated wb to each memcg, which enables isolation across different
100 * A cgroup wb is indexed on its bdi by the ID of the associated memcg,
103 * change as blkcg is disabled and enabled higher up in the hierarchy, a wb
105 * that a new wb for the combination can be created.
151 struct percpu_ref refcnt; /* used only for !root wb's */
183 struct bdi_writeback wb; /* the root writeback info for this bdi */ member
187 struct mutex cgwb_release_mutex; /* protect shutdown of wb structs */
[all …]
Dwriteback.h84 struct bdi_writeback *wb; /* wb this writeback is issued under */ member
88 int wb_id; /* current wb id */
89 int wb_lcand_id; /* last foreign candidate wb id */
90 int wb_tcand_id; /* this foreign candidate wb id */
91 size_t wb_bytes; /* bytes written by current wb */
116 if (wbc->wb) in wbc_blkcg_css()
117 return wbc->wb->blkcg_css; in wbc_blkcg_css()
123 * A wb_domain represents a domain that wb's (bdi_writeback's) belong to
125 * domain, global_wb_domain, that every wb in the system is a member of.
126 * This allows measuring the relative bandwidth of each wb to distribute
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dwriteback.h150 static inline ino_t __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup() argument
152 return cgroup_ino(wb->memcg_css->cgroup); in __trace_wb_assign_cgroup()
157 if (wbc->wb) in __trace_wbc_assign_cgroup()
158 return __trace_wb_assign_cgroup(wbc->wb); in __trace_wbc_assign_cgroup()
164 static inline ino_t __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup() argument
238 TP_PROTO(struct page *page, struct bdi_writeback *wb),
240 TP_ARGS(page, wb),
255 strscpy_pad(__entry->name, bdi_dev_name(wb->bdi), 32);
256 __entry->bdi_id = wb->bdi->id;
258 __entry->memcg_id = wb->memcg_css->id;
[all …]
/kernel/linux/linux-6.6/include/trace/events/
Dwriteback.h151 static inline ino_t __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup() argument
153 return cgroup_ino(wb->memcg_css->cgroup); in __trace_wb_assign_cgroup()
158 if (wbc->wb) in __trace_wbc_assign_cgroup()
159 return __trace_wb_assign_cgroup(wbc->wb); in __trace_wbc_assign_cgroup()
165 static inline ino_t __trace_wb_assign_cgroup(struct bdi_writeback *wb) in __trace_wb_assign_cgroup() argument
239 TP_PROTO(struct folio *folio, struct bdi_writeback *wb),
241 TP_ARGS(folio, wb),
256 strscpy_pad(__entry->name, bdi_dev_name(wb->bdi), 32);
257 __entry->bdi_id = wb->bdi->id;
259 __entry->memcg_id = wb->memcg_css->id;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dqca,ath79-cpu-intc.txt5 qca,ddr-wb-channels and qca,ddr-wb-channel-interrupts properties.
20 - qca,ddr-wb-channel-interrupts: List of the interrupts needing a write
22 - qca,ddr-wb-channels: List of phandles to the write buffer channels for
23 each interrupt. If qca,ddr-wb-channel-interrupts is not present the interrupt
34 qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>;
35 qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>,
43 #qca,ddr-wb-channel-cells = <1>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
Dqca,ath79-cpu-intc.txt5 qca,ddr-wb-channels and qca,ddr-wb-channel-interrupts properties.
20 - qca,ddr-wb-channel-interrupts: List of the interrupts needing a write
22 - qca,ddr-wb-channels: List of phandles to the write buffer channels for
23 each interrupt. If qca,ddr-wb-channel-interrupts is not present the interrupt
34 qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>;
35 qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>,
43 #qca,ddr-wb-channel-cells = <1>;
/kernel/linux/linux-6.6/Documentation/arch/ia64/
Daliasing.rst19 WB Write-back (cacheable)
24 System memory typically uses the WB attribute. The UC attribute is
34 support either WB or UC access to main memory, while others support
35 only WB access.
82 and WB regions.
100 mappings may be either WB or UC. If the region being mapped
163 WB, we should use that (granules that are partially reserved
166 If the granule contains non-WB memory, but we can cover the
182 succeed. It may create either WB or UC user mappings, depending
191 0x00000-0x9FFFF WB only
[all …]
/kernel/linux/linux-5.10/Documentation/ia64/
Daliasing.rst19 WB Write-back (cacheable)
24 System memory typically uses the WB attribute. The UC attribute is
34 support either WB or UC access to main memory, while others support
35 only WB access.
82 and WB regions.
100 mappings may be either WB or UC. If the region being mapped
163 WB, we should use that (granules that are partially reserved
166 If the granule contains non-WB memory, but we can cover the
182 succeed. It may create either WB or UC user mappings, depending
191 0x00000-0x9FFFF WB only
[all …]
/kernel/linux/linux-6.6/arch/arm/mm/
Dproc-arm1020.S86 mcr p15, 0, ip, c7, c10, 4 @ drain WB
141 mcr p15, 0, ip, c7, c10, 4 @ drain WB
145 mcr p15, 0, ip, c7, c10, 4 @ drain WB
155 mcrne p15, 0, ip, c7, c10, 4 @ drain WB
177 mcr p15, 0, ip, c7, c10, 4 @ drain WB
186 mcrne p15, 0, ip, c7, c10, 4 @ drain WB
219 mcr p15, 0, ip, c7, c10, 4 @ drain WB
227 mcr p15, 0, ip, c7, c10, 4 @ drain WB
245 mcr p15, 0, ip, c7, c10, 4 @ drain WB
250 mcr p15, 0, ip, c7, c10, 4 @ drain WB
[all …]
/kernel/linux/linux-5.10/arch/arm/mm/
Dproc-arm1020.S86 mcr p15, 0, ip, c7, c10, 4 @ drain WB
141 mcr p15, 0, ip, c7, c10, 4 @ drain WB
145 mcr p15, 0, ip, c7, c10, 4 @ drain WB
155 mcrne p15, 0, ip, c7, c10, 4 @ drain WB
177 mcr p15, 0, ip, c7, c10, 4 @ drain WB
186 mcrne p15, 0, ip, c7, c10, 4 @ drain WB
219 mcr p15, 0, ip, c7, c10, 4 @ drain WB
227 mcr p15, 0, ip, c7, c10, 4 @ drain WB
245 mcr p15, 0, ip, c7, c10, 4 @ drain WB
250 mcr p15, 0, ip, c7, c10, 4 @ drain WB
[all …]
/kernel/linux/linux-5.10/scripts/
Dextract-cert.c79 static BIO *wb; variable
87 if (!wb) { in write_cert()
88 wb = BIO_new_file(cert_dst, "wb"); in write_cert()
89 ERR(!wb, "%s", cert_dst); in write_cert()
92 ERR(!i2d_X509_bio(wb, x509), "%s", cert_dst); in write_cert()
117 FILE *f = fopen(cert_dst, "wb"); in main()
153 if (wb && !x509) { in main()
166 BIO_free(wb); in main()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/wb/wb_1.0/
Dia_css_wb.host.c59 const struct sh_css_isp_wb_params *wb, in ia_css_wb_dump() argument
62 if (!wb) return; in ia_css_wb_dump()
65 "wb_gain_shift", wb->gain_shift); in ia_css_wb_dump()
67 "wb_gain_gr", wb->gain_gr); in ia_css_wb_dump()
69 "wb_gain_r", wb->gain_r); in ia_css_wb_dump()
71 "wb_gain_b", wb->gain_b); in ia_css_wb_dump()
73 "wb_gain_gb", wb->gain_gb); in ia_css_wb_dump()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/wb/wb_1.0/
Dia_css_wb.host.c59 const struct sh_css_isp_wb_params *wb, in ia_css_wb_dump() argument
62 if (!wb) return; in ia_css_wb_dump()
65 "wb_gain_shift", wb->gain_shift); in ia_css_wb_dump()
67 "wb_gain_gr", wb->gain_gr); in ia_css_wb_dump()
69 "wb_gain_r", wb->gain_r); in ia_css_wb_dump()
71 "wb_gain_b", wb->gain_b); in ia_css_wb_dump()
73 "wb_gain_gb", wb->gain_gb); in ia_css_wb_dump()
/kernel/linux/linux-6.6/certs/
Dextract-cert.c47 static BIO *wb; variable
55 if (!wb) { in write_cert()
56 wb = BIO_new_file(cert_dst, "wb"); in write_cert()
57 ERR(!wb, "%s", cert_dst); in write_cert()
60 ERR(!i2d_X509_bio(wb, x509), "%s", cert_dst); in write_cert()
148 FILE *f = fopen(cert_dst, "wb"); in main()
166 if (wb && !x509) { in main()
179 BIO_free(wb); in main()
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_wb.h26 * struct dpu_hw_wb_ops : Interface to the wb hw driver functions
36 struct dpu_hw_wb_cfg *wb);
39 struct dpu_hw_wb_cfg *wb);
42 struct dpu_hw_wb_cfg *wb);
56 * struct dpu_hw_wb : WB driver object
65 /* wb path */

12345678910>>...33