| /OK3568_Linux_fs/kernel/mm/ |
| H A D | backing-dev.c | 49 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 …]
|
| H A D | page-writeback.c | 137 struct bdi_writeback *wb; member 145 unsigned long wb_dirty; /* per-wb counterparts */ 161 #define GDTC_INIT(__wb) .wb = (__wb), \ 167 #define MDTC_INIT(__wb, __gdtc) .wb = (__wb), \ 187 static struct fprop_local_percpu *wb_memcg_completions(struct bdi_writeback *wb) in wb_memcg_completions() argument 189 return &wb->memcg_completions; in wb_memcg_completions() 192 static void wb_min_max_ratio(struct bdi_writeback *wb, in wb_min_max_ratio() argument 195 unsigned long this_bw = wb->avg_write_bandwidth; in wb_min_max_ratio() 196 unsigned long tot_bw = atomic_long_read(&wb->bdi->tot_write_bandwidth); in wb_min_max_ratio() 197 unsigned long long min = wb->bdi->min_ratio; in wb_min_max_ratio() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | fs-writeback.c | 85 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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | backing-dev.h | 41 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 …]
|
| H A D | backing-dev-defs.h | 90 * Each wb (bdi_writeback) can perform writeback operations, is measured 92 * (bdi_writeback) is served by its embedded bdi->wb. 96 * memcg - blkcg combination can be served by its own wb by assigning a 97 * dedicated wb to each memcg, which enables isolation across different 101 * A cgroup wb is indexed on its bdi by the ID of the associated memcg, 104 * change as blkcg is disabled and enabled higher up in the hierarchy, a wb 106 * that a new wb for the combination can be created. 152 struct percpu_ref refcnt; /* used only for !root wb's */ 187 struct bdi_writeback wb; /* the root writeback info for this bdi */ member 191 struct mutex cgwb_release_mutex; /* protect shutdown of wb structs */ [all …]
|
| H A D | writeback.h | 84 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 …]
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | writeback.h | 150 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/ia64/ |
| H A D | aliasing.rst | 19 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | qca,ath79-cpu-intc.txt | 5 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>;
|
| /OK3568_Linux_fs/kernel/arch/arm/mm/ |
| H A D | proc-arm1020.S | 86 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 …]
|
| H A D | proc-feroceon.S | 69 mcr p15, 0, r0, c7, c10, 4 @ drain WB 92 mcr p15, 0, ip, c7, c10, 4 @ drain WB 158 mcrne p15, 0, ip, c7, c10, 4 @ drain WB 187 mcrne p15, 0, ip, c7, c10, 4 @ drain WB 221 mcr p15, 0, r0, c7, c10, 4 @ drain WB 243 mcr p15, 0, r0, c7, c10, 4 @ drain WB 257 mcr p15, 0, r0, c7, c10, 4 @ drain WB 284 mcr p15, 0, r0, c7, c10, 4 @ drain WB 320 mcr p15, 0, r0, c7, c10, 4 @ drain WB 333 mcr p15, 0, r0, c7, c10, 4 @ drain WB [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/ |
| H A D | spi.c | 239 static int wilc_spi_tx_rx(struct wilc *wilc, u8 *wb, u8 *rb, u32 rlen) in wilc_spi_tx_rx() argument 248 .tx_buf = wb, in wilc_spi_tx_rx() 360 u8 wb[32], rb[32]; in wilc_spi_single_read() local 366 memset(wb, 0x0, sizeof(wb)); in wilc_spi_single_read() 368 c = (struct wilc_spi_cmd *)wb; in wilc_spi_single_read() 388 c->u.simple_cmd.crc[0] = wilc_get_crc7(wb, cmd_len); in wilc_spi_single_read() 393 if (cmd_len + resp_len > ARRAY_SIZE(wb)) { in wilc_spi_single_read() 396 cmd_len, resp_len, ARRAY_SIZE(wb)); in wilc_spi_single_read() 400 if (wilc_spi_tx_rx(wilc, wb, rb, cmd_len + resp_len)) { in wilc_spi_single_read() 439 u8 wb[32], rb[32]; in wilc_spi_write_cmd() local [all …]
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | extract-cert.c | 81 static BIO *wb; variable 89 if (!wb) { in write_cert() 90 wb = BIO_new_file(cert_dst, "wb"); in write_cert() 91 ERR(!wb, "%s", cert_dst); in write_cert() 94 ERR(!i2d_X509_bio(wb, x509), "%s", cert_dst); in write_cert() 119 FILE *f = fopen(cert_dst, "wb"); in main() 160 if (wb && !x509) { in main() 173 BIO_free(wb); in main()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/wb/wb_1.0/ |
| H A D | ia_css_wb.host.c | 59 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | xr_usb_serial_common.c | 157 struct xr_usb_serial_wb *wb; in xr_usb_serial_wb_alloc() local 162 wb = &xr_usb_serial->wb[wbn]; in xr_usb_serial_wb_alloc() 163 if (!wb->use) { in xr_usb_serial_wb_alloc() 164 wb->use = 1; in xr_usb_serial_wb_alloc() 181 n -= xr_usb_serial->wb[i].use; in xr_usb_serial_wb_is_avail() 189 …tic void xr_usb_serial_write_done(struct xr_usb_serial *xr_usb_serial, struct xr_usb_serial_wb *wb) in xr_usb_serial_write_done() argument 191 wb->use = 0; in xr_usb_serial_write_done() 202 static int xr_usb_serial_start_wb(struct xr_usb_serial *xr_usb_serial, struct xr_usb_serial_wb *wb) in xr_usb_serial_start_wb() argument 208 wb->urb->transfer_buffer = wb->buf; in xr_usb_serial_start_wb() 209 wb->urb->transfer_dma = wb->dmah; in xr_usb_serial_start_wb() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/class/ |
| H A D | cdc-acm.c | 156 usb_poison_urb(acm->wb[i].urb); in acm_poison_urbs() 168 usb_unpoison_urb(acm->wb[i].urb); in acm_unpoison_urbs() 181 struct acm_wb *wb; in acm_wb_alloc() local 186 wb = &acm->wb[wbn]; in acm_wb_alloc() 187 if (!wb->use) { in acm_wb_alloc() 188 wb->use = true; in acm_wb_alloc() 189 wb->len = 0; in acm_wb_alloc() 206 if(acm->wb[i].use) in acm_wb_is_avail() 215 static void acm_write_done(struct acm *acm, struct acm_wb *wb) in acm_write_done() argument 217 wb->use = false; in acm_write_done() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | r600_dma.c | 56 if (rdev->wb.enabled) in r600_dma_get_rptr() 57 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr() 142 /* set the wb address whether it's enabled or not */ in r600_dma_resume() 144 upper_32_bits(rdev->wb.gpu_addr + R600_WB_DMA_RPTR_OFFSET) & 0xFF); in r600_dma_resume() 146 ((rdev->wb.gpu_addr + R600_WB_DMA_RPTR_OFFSET) & 0xFFFFFFFC)); in r600_dma_resume() 148 if (rdev->wb.enabled) in r600_dma_resume() 244 gpu_addr = rdev->wb.gpu_addr + index; in r600_dma_ring_test() 247 rdev->wb.wb[index/4] = cpu_to_le32(tmp); in r600_dma_ring_test() 261 tmp = le32_to_cpu(rdev->wb.wb[index/4]); in r600_dma_ring_test() 351 gpu_addr = rdev->wb.gpu_addr + index; in r600_dma_ib_test() [all …]
|
| H A D | radeon_device.c | 423 rdev->wb.enabled = false; in radeon_wb_disable() 437 if (rdev->wb.wb_obj) { in radeon_wb_fini() 438 if (!radeon_bo_reserve(rdev->wb.wb_obj, false)) { in radeon_wb_fini() 439 radeon_bo_kunmap(rdev->wb.wb_obj); in radeon_wb_fini() 440 radeon_bo_unpin(rdev->wb.wb_obj); in radeon_wb_fini() 441 radeon_bo_unreserve(rdev->wb.wb_obj); in radeon_wb_fini() 443 radeon_bo_unref(&rdev->wb.wb_obj); in radeon_wb_fini() 444 rdev->wb.wb = NULL; in radeon_wb_fini() 445 rdev->wb.wb_obj = NULL; in radeon_wb_fini() 462 if (rdev->wb.wb_obj == NULL) { in radeon_wb_init() [all …]
|
| /OK3568_Linux_fs/kernel/security/apparmor/ |
| H A D | match.c | 673 #define inc_wb_pos(wb) \ argument 675 wb->pos = (wb->pos + 1) & (WB_HISTORY_SIZE - 1); \ 676 wb->len = (wb->len + 1) & (WB_HISTORY_SIZE - 1); \ 680 static bool is_loop(struct match_workbuf *wb, unsigned int state, in is_loop() argument 683 unsigned int pos = wb->pos; in is_loop() 686 if (wb->history[pos] < state) in is_loop() 689 for (i = 0; i <= wb->len; i++) { in is_loop() 690 if (wb->history[pos] == state) { in is_loop() 704 const char *str, struct match_workbuf *wb, in leftmatch_fb() argument 715 AA_BUG(!wb); in leftmatch_fb() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | amr-wb.c | 1 /* File format: AMR-WB (c) 2007 robs@users.sourceforge.net 30 static char const amrwb_magic[] = "#!AMR-WB\n"; 42 #define AMR_NAMES "amr-wb", "awb" 44 #define AMR_DESC "3GPP Adaptive Multi Rate Wide-Band (AMR-WB) lossy speech compressor" 71 #define AMR_OPENCORE_DESC "amr-wb OpenCore library" 105 #define AMR_VO_DESC "amr-wb VisualOn library"
|
| /OK3568_Linux_fs/external/linux-rga/samples/im2d_slt/third-party/libdrm/include/ |
| H A D | demo.h | 95 int rGain; //wb rgain 96 int bGain; //wb bgain 97 int grGain; //wb grgain 98 int gbGain; //wb gbgain 99 int dGain; //wb gbgain
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/include/ |
| H A D | demo.h | 95 int rGain; //wb rgain 96 int bGain; //wb bgain 97 int grGain; //wb grgain 98 int gbGain; //wb gbgain 99 int dGain; //wb gbgain
|
| /OK3568_Linux_fs/external/linux-rga/samples/utils/3rdparty/libdrm/include/ |
| H A D | demo.h | 95 int rGain; //wb rgain 96 int bGain; //wb bgain 97 int grGain; //wb grgain 98 int gbGain; //wb gbgain 99 int dGain; //wb gbgain
|
| /OK3568_Linux_fs/kernel/drivers/irqchip/ |
| H A D | irq-ath79-cpu.c | 63 node, "qca,ddr-wb-channels", "#qca,ddr-wb-channel-cells"); in ar79_cpu_intc_of_init() 70 node, "qca,ddr-wb-channel-interrupts", i, &irq); in ar79_cpu_intc_of_init() 75 node, "qca,ddr-wb-channels", in ar79_cpu_intc_of_init() 76 "#qca,ddr-wb-channel-cells", in ar79_cpu_intc_of_init()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tidss/ |
| H A D | tidss_irq.h | 18 * bit group |dev|wb |mrg0|mrg1|mrg2|mrg3|plane0-3| <unused> | 23 * WB bits: f = frame done wb, o = wb buffer overflow, 24 * u = wb buffer uncomplete
|