Home
last modified time | relevance | path

Searched refs:wb (Results 1 – 25 of 165) sorted by relevance

1234567

/linux-6.3-rc2/mm/
A Dbacking-dev.c54 struct bdi_writeback *wb = &bdi->wb; in bdi_debug_stats_show() local
414 memset(wb, 0, sizeof(*wb)); in wb_init()
582 if (wb && wb->blkcg_css != blkcg_css) { in cgwb_create()
584 wb = NULL; in cgwb_create()
587 if (wb) in cgwb_create()
591 wb = kmalloc(sizeof(*wb), gfp); in cgwb_create()
592 if (!wb) { in cgwb_create()
653 kfree(wb); in cgwb_create()
692 if (wb) { in wb_get_lookup()
703 return wb; in wb_get_lookup()
[all …]
A Dpage-writeback.c129 struct bdi_writeback *wb; member
1003 struct bdi_writeback *wb = dtc->wb; in wb_position_ratio() local
1288 struct bdi_writeback *wb = dtc->wb; in wb_update_dirty_ratelimit() local
1446 struct bdi_writeback *wb = gdtc->wb; in __wb_update_bandwidth() local
1503 wb->dirtied_stamp = wb_stat(wb, WB_DIRTIED); in wb_bandwidth_estimate_start()
1504 wb->written_stamp = wb_stat(wb, WB_WRITTEN); in wb_bandwidth_estimate_start()
1623 struct bdi_writeback *wb = dtc->wb; in wb_dirty_limits() local
1924 wb->dirty_sleep = now; in balance_dirty_pages()
2007 if (!wb) in balance_dirty_pages_ratelimited_flags()
2008 wb = &bdi->wb; in balance_dirty_pages_ratelimited_flags()
[all …]
/linux-6.3-rc2/fs/
A Dfs-writeback.c100 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()
259 if (!wb) in __inode_attach_wb()
260 wb = &bdi->wb; in __inode_attach_wb()
287 if (wb != &wb->bdi->wb) in inode_cgwb_move_to_attached()
765 struct bdi_writeback *wb = wbc->wb; in wbc_detach_inode() local
771 if (!wb) in wbc_detach_inode()
1048 if (!wb) { in cgroup_writeback_by_id()
1152 return wb; in locked_inode_to_wb_and_lock_list()
1436 list_splice_init(&wb->b_more_io, &wb->b_io); in queue_io()
[all …]
/linux-6.3-rc2/include/linux/
A Dbacking-dev-defs.h216 if (wb != &wb->bdi->wb) in wb_tryget()
217 return percpu_ref_tryget(&wb->refcnt); in wb_tryget()
225 static inline void wb_get(struct bdi_writeback *wb) in wb_get() argument
227 if (wb != &wb->bdi->wb) in wb_get()
228 percpu_ref_get(&wb->refcnt); in wb_get()
238 if (WARN_ON_ONCE(!wb->bdi)) { in wb_put_many()
246 if (wb != &wb->bdi->wb) in wb_put_many()
247 percpu_ref_put_many(&wb->refcnt, nr); in wb_put_many()
254 static inline void wb_put(struct bdi_writeback *wb) in wb_put() argument
256 wb_put_many(wb, 1); in wb_put()
[all …]
A Dbacking-dev.h73 wb_stat_mod(wb, item, 1); in inc_wb_stat()
199 return &bdi->wb; in wb_find_current()
207 if (likely(wb && wb->blkcg_css == task_css(current, io_cgrp_id))) in wb_find_current()
208 return wb; in wb_find_current()
228 if (wb && unlikely(!wb_tryget(wb))) in wb_get_create_current()
229 wb = NULL; in wb_get_create_current()
232 if (unlikely(!wb)) { in wb_get_create_current()
239 return wb; in wb_get_create_current()
269 return wbc->wb ? wbc->wb : &inode_to_bdi(inode)->wb; in inode_to_wb_wbc()
331 return &bdi->wb; in wb_find_current()
[all …]
A Dwriteback.h83 struct bdi_writeback *wb; /* wb this writeback is issued under */ member
113 ((wbc)->wb ? (wbc)->wb->blkcg_css : blkcg_root_css)
220 bool cleanup_offline_cgwb(struct bdi_writeback *wb);
287 if (wbc->wb) in wbc_init_bio()
288 bio_associate_blkg_from_css(bio, wbc->wb->blkcg_css); in wbc_init_bio()
356 unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh);
358 void wb_update_bandwidth(struct bdi_writeback *wb);
367 bool wb_over_bg_thresh(struct bdi_writeback *wb);
/linux-6.3-rc2/include/trace/events/
A Dwriteback.h158 if (wbc->wb) in __trace_wbc_assign_cgroup()
241 TP_ARGS(folio, wb),
257 __entry->bdi_id = wb->bdi->id;
349 TP_ARGS(wb, work),
388 TP_ARGS(wb, work))
408 TP_PROTO(struct bdi_writeback *wb),
409 TP_ARGS(wb),
426 TP_ARGS(wb))
499 TP_PROTO(struct bdi_writeback *wb,
577 TP_PROTO(struct bdi_writeback *wb,
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/isp/kernels/wb/wb_1.0/
A 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()
A Dia_css_wb.host.h32 const struct sh_css_isp_wb_params *wb,
37 const struct ia_css_wb_config *wb,
/linux-6.3-rc2/Documentation/devicetree/bindings/interrupt-controller/
A 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>;
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dr600_dma.c55 if (rdev->wb.enabled) in r600_dma_get_rptr()
56 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr()
143 upper_32_bits(rdev->wb.gpu_addr + R600_WB_DMA_RPTR_OFFSET) & 0xFF); in r600_dma_resume()
145 ((rdev->wb.gpu_addr + R600_WB_DMA_RPTR_OFFSET) & 0xFFFFFFFC)); in r600_dma_resume()
147 if (rdev->wb.enabled) in r600_dma_resume()
243 gpu_addr = rdev->wb.gpu_addr + index; in r600_dma_ring_test()
246 rdev->wb.wb[index/4] = cpu_to_le32(tmp); in r600_dma_ring_test()
260 tmp = le32_to_cpu(rdev->wb.wb[index/4]); in r600_dma_ring_test()
350 gpu_addr = rdev->wb.gpu_addr + index; in r600_dma_ib_test()
381 tmp = le32_to_cpu(rdev->wb.wb[index/4]); in r600_dma_ib_test()
[all …]
A Dradeon_device.c424 rdev->wb.enabled = false; in radeon_wb_disable()
438 if (rdev->wb.wb_obj) { in radeon_wb_fini()
445 rdev->wb.wb = NULL; in radeon_wb_fini()
446 rdev->wb.wb_obj = NULL; in radeon_wb_fini()
466 &rdev->wb.wb_obj); in radeon_wb_init()
477 &rdev->wb.gpu_addr); in radeon_wb_init()
484 r = radeon_bo_kmap(rdev->wb.wb_obj, (void **)&rdev->wb.wb); in radeon_wb_init()
494 memset((char *)rdev->wb.wb, 0, RADEON_GPU_PAGE_SIZE); in radeon_wb_init()
499 rdev->wb.enabled = false; in radeon_wb_init()
508 rdev->wb.enabled = true; in radeon_wb_init()
[all …]
A Dcik_sdma.c67 if (rdev->wb.enabled) { in cik_sdma_get_rptr()
68 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
138 if (rdev->wb.enabled) { in cik_sdma_ring_ib_execute()
402 ((rdev->wb.gpu_addr + wb_offset) & 0xFFFFFFFC)); in cik_sdma_gfx_resume()
404 if (rdev->wb.enabled) in cik_sdma_gfx_resume()
658 gpu_addr = rdev->wb.gpu_addr + index; in cik_sdma_ring_test()
661 rdev->wb.wb[index/4] = cpu_to_le32(tmp); in cik_sdma_ring_test()
676 tmp = le32_to_cpu(rdev->wb.wb[index/4]); in cik_sdma_ring_test()
715 gpu_addr = rdev->wb.gpu_addr + index; in cik_sdma_ib_test()
718 rdev->wb.wb[index/4] = cpu_to_le32(tmp); in cik_sdma_ib_test()
[all …]
A Dni_dma.c57 if (rdev->wb.enabled) { in cayman_dma_get_rptr()
58 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_dma_get_rptr()
127 if (rdev->wb.enabled) { in cayman_dma_ring_ib_execute()
222 upper_32_bits(rdev->wb.gpu_addr + wb_offset) & 0xFF); in cayman_dma_resume()
224 ((rdev->wb.gpu_addr + wb_offset) & 0xFFFFFFFC)); in cayman_dma_resume()
226 if (rdev->wb.enabled) in cayman_dma_resume()
/linux-6.3-rc2/security/apparmor/
A Dmatch.c671 #define inc_wb_pos(wb) \ argument
673 wb->pos = (wb->pos + 1) & (WB_HISTORY_SIZE - 1); \
674 wb->len = (wb->len + 1) & (WB_HISTORY_SIZE - 1); \
681 aa_state_t pos = wb->pos; in is_loop()
684 if (wb->history[pos] < state) in is_loop()
713 AA_BUG(!wb); in leftmatch_fb()
728 wb->history[wb->pos] = state; in leftmatch_fb()
739 inc_wb_pos(wb); in leftmatch_fb()
747 wb->history[wb->pos] = state; in leftmatch_fb()
758 inc_wb_pos(wb); in leftmatch_fb()
[all …]
/linux-6.3-rc2/certs/
A 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()
156 if (wb && !x509) { in main()
169 BIO_free(wb); in main()
/linux-6.3-rc2/drivers/net/wireless/microchip/wilc1000/
A Dspi.c371 .tx_buf = wb, in wilc_spi_tx_rx()
486 u8 wb[32], rb[32]; in wilc_spi_single_read() local
493 memset(wb, 0x0, sizeof(wb)); in wilc_spi_single_read()
495 c = (struct wilc_spi_cmd *)wb; in wilc_spi_single_read()
581 u8 wb[32], rb[32]; in wilc_spi_write_cmd() local
586 memset(wb, 0x0, sizeof(wb)); in wilc_spi_write_cmd()
588 c = (struct wilc_spi_cmd *)wb; in wilc_spi_write_cmd()
656 u8 wb[32], rb[32]; in wilc_spi_dma_rw() local
663 memset(wb, 0x0, sizeof(wb)); in wilc_spi_dma_rw()
782 u8 wb[32], rb[32]; in wilc_spi_special_cmd() local
[all …]
/linux-6.3-rc2/drivers/usb/class/
A Dcdc-acm.c186 wb = &acm->wb[wbn]; in acm_wb_alloc()
187 if (!wb->use) { in acm_wb_alloc()
189 wb->len = 0; in acm_wb_alloc()
234 wb->urb->transfer_buffer = wb->buf; in acm_start_wb()
235 wb->urb->transfer_dma = wb->dmah; in acm_start_wb()
236 wb->urb->transfer_buffer_length = wb->len; in acm_start_wb()
812 wb = &acm->wb[wbn]; in acm_tty_write()
1107 for (wb = &acm->wb[0], i = 0; i < ACM_NW; i++, wb++) in acm_write_buffers_free()
1126 for (wb = &acm->wb[0], i = 0; i < ACM_NW; i++, wb++) { in acm_write_buffers_alloc()
1132 --wb; in acm_write_buffers_alloc()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_hw_wb.c55 static const struct dpu_wb_cfg *_wb_offset(enum dpu_wb wb, in _wb_offset() argument
62 if (wb == m->wb[i].id) { in _wb_offset()
63 b->blk_addr = addr + m->wb[i].base; in _wb_offset()
64 return &m->wb[i]; in _wb_offset()
138 static void dpu_hw_wb_roi(struct dpu_hw_wb *ctx, struct dpu_hw_wb_cfg *wb) in dpu_hw_wb_roi() argument
143 image_size = (wb->dest.height << 16) | wb->dest.width; in dpu_hw_wb_roi()
145 out_size = (drm_rect_height(&wb->roi) << 16) | drm_rect_width(&wb->roi); in dpu_hw_wb_roi()
A Ddpu_hw_wb.h58 struct dpu_hw_wb_cfg *wb);
61 struct dpu_hw_wb_cfg *wb);
64 struct dpu_hw_wb_cfg *wb);
A Ddpu_hw_ctl.c257 enum dpu_wb wb) in dpu_hw_ctl_update_pending_flush_wb() argument
259 switch (wb) { in dpu_hw_ctl_update_pending_flush_wb()
271 enum dpu_wb wb) in dpu_hw_ctl_update_pending_flush_wb_v1() argument
273 ctx->pending_wb_flush_mask |= BIT(wb - WB_0); in dpu_hw_ctl_update_pending_flush_wb_v1()
497 if (cfg->wb) in dpu_hw_ctl_intf_cfg_v1()
498 wb_active |= BIT(cfg->wb - WB_0); in dpu_hw_ctl_intf_cfg_v1()
526 if (cfg->wb) in dpu_hw_ctl_intf_cfg()
527 intf_cfg |= (cfg->wb & 0x3) + 2; in dpu_hw_ctl_intf_cfg()
577 if (cfg->wb) { in dpu_hw_ctl_reset_intf_cfg_v1()
579 wb_active &= ~BIT(cfg->wb - WB_0); in dpu_hw_ctl_reset_intf_cfg_v1()
/linux-6.3-rc2/Documentation/devicetree/bindings/memory-controllers/
A Dqca,ath79-ddr-controller.yaml29 "#qca,ddr-wb-channel-cells":
41 - "#qca,ddr-wb-channel-cells"
53 #qca,ddr-wb-channel-cells = <1>;
58 qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>;
59 qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>,
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_txrx_lib.h68 if (likely(ice_test_staterr(rx_desc->wb.status_error0, ICE_RXD_EOF))) in ice_is_non_eop()
100 if (ice_test_staterr(rx_desc->wb.status_error0, stat_err_bits)) in ice_get_vlan_tag_from_rx_desc()
101 return le16_to_cpu(rx_desc->wb.l2tag1); in ice_get_vlan_tag_from_rx_desc()
104 if (ice_test_staterr(rx_desc->wb.status_error1, stat_err_bits)) in ice_get_vlan_tag_from_rx_desc()
105 return le16_to_cpu(rx_desc->wb.l2tag2_2nd); in ice_get_vlan_tag_from_rx_desc()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ih.c97 ih->wptr_addr = adev->wb.gpu_addr + wptr_offs * 4; in amdgpu_ih_ring_init()
98 ih->wptr_cpu = &adev->wb.wb[wptr_offs]; in amdgpu_ih_ring_init()
99 ih->rptr_addr = adev->wb.gpu_addr + rptr_offs * 4; in amdgpu_ih_ring_init()
100 ih->rptr_cpu = &adev->wb.wb[rptr_offs]; in amdgpu_ih_ring_init()
/linux-6.3-rc2/scripts/
A Dkallsyms.c819 int wa, wb; in compare_symbols() local
829 wb = (sb->sym[0] == 'w') || (sb->sym[0] == 'W'); in compare_symbols()
830 if (wa != wb) in compare_symbols()
831 return wa - wb; in compare_symbols()
835 wb = may_be_linker_script_provide_symbol(sb); in compare_symbols()
836 if (wa != wb) in compare_symbols()
837 return wa - wb; in compare_symbols()
841 wb = strspn(sym_name(sb), "_"); in compare_symbols()
842 if (wa != wb) in compare_symbols()
843 return wa - wb; in compare_symbols()

Completed in 57 milliseconds

1234567