Home
last modified time | relevance | path

Searched refs:ws (Results 1 - 25 of 209) sorted by relevance

123456789

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_cwksp.h161 MEM_STATIC size_t ZSTD_cwksp_available_space(ZSTD_cwksp* ws);
163 MEM_STATIC void ZSTD_cwksp_assert_internal_consistency(ZSTD_cwksp* ws) { in ZSTD_cwksp_assert_internal_consistency() argument
164 (void)ws; in ZSTD_cwksp_assert_internal_consistency()
165 assert(ws->workspace <= ws->objectEnd); in ZSTD_cwksp_assert_internal_consistency()
166 assert(ws->objectEnd <= ws->tableEnd); in ZSTD_cwksp_assert_internal_consistency()
167 assert(ws->objectEnd <= ws->tableValidEnd); in ZSTD_cwksp_assert_internal_consistency()
168 assert(ws in ZSTD_cwksp_assert_internal_consistency()
245 ZSTD_cwksp_reserve_internal_buffer_space(ZSTD_cwksp* ws, size_t const bytes) ZSTD_cwksp_reserve_internal_buffer_space() argument
273 ZSTD_cwksp_internal_advance_phase(ZSTD_cwksp* ws, ZSTD_cwksp_alloc_phase_e phase) ZSTD_cwksp_internal_advance_phase() argument
315 ZSTD_cwksp_owns_buffer(const ZSTD_cwksp* ws, const void* ptr) ZSTD_cwksp_owns_buffer() argument
324 ZSTD_cwksp_reserve_internal(ZSTD_cwksp* ws, size_t bytes, ZSTD_cwksp_alloc_phase_e phase) ZSTD_cwksp_reserve_internal() argument
341 ZSTD_cwksp_reserve_buffer(ZSTD_cwksp* ws, size_t bytes) ZSTD_cwksp_reserve_buffer() argument
349 ZSTD_cwksp_reserve_aligned(ZSTD_cwksp* ws, size_t bytes) ZSTD_cwksp_reserve_aligned() argument
362 ZSTD_cwksp_reserve_table(ZSTD_cwksp* ws, size_t bytes) ZSTD_cwksp_reserve_table() argument
398 ZSTD_cwksp_reserve_object(ZSTD_cwksp* ws, size_t bytes) ZSTD_cwksp_reserve_object() argument
425 ZSTD_cwksp_mark_tables_dirty(ZSTD_cwksp* ws) ZSTD_cwksp_mark_tables_dirty() argument
436 ZSTD_cwksp_mark_tables_clean(ZSTD_cwksp* ws) ZSTD_cwksp_mark_tables_clean() argument
449 ZSTD_cwksp_clean_tables(ZSTD_cwksp* ws) ZSTD_cwksp_clean_tables() argument
463 ZSTD_cwksp_clear_tables(ZSTD_cwksp* ws) ZSTD_cwksp_clear_tables() argument
475 ZSTD_cwksp_clear(ZSTD_cwksp* ws) ZSTD_cwksp_clear() argument
494 ZSTD_cwksp_init(ZSTD_cwksp* ws, void* start, size_t size, ZSTD_cwksp_static_alloc_e isStatic) ZSTD_cwksp_init() argument
508 ZSTD_cwksp_create(ZSTD_cwksp* ws, size_t size, ZSTD_customMem customMem) ZSTD_cwksp_create() argument
516 ZSTD_cwksp_free(ZSTD_cwksp* ws, ZSTD_customMem customMem) ZSTD_cwksp_free() argument
532 ZSTD_cwksp_sizeof(const ZSTD_cwksp* ws) ZSTD_cwksp_sizeof() argument
536 ZSTD_cwksp_used(const ZSTD_cwksp* ws) ZSTD_cwksp_used() argument
541 ZSTD_cwksp_reserve_failed(const ZSTD_cwksp* ws) ZSTD_cwksp_reserve_failed() argument
553 ZSTD_cwksp_estimated_space_within_bounds(const ZSTD_cwksp* const ws, size_t const estimatedSpace, int resizedWorkspace) ZSTD_cwksp_estimated_space_within_bounds() argument
567 ZSTD_cwksp_available_space(ZSTD_cwksp* ws) ZSTD_cwksp_available_space() argument
571 ZSTD_cwksp_check_available(ZSTD_cwksp* ws, size_t additionalNeededSpace) ZSTD_cwksp_check_available() argument
575 ZSTD_cwksp_check_too_large(ZSTD_cwksp* ws, size_t additionalNeededSpace) ZSTD_cwksp_check_too_large() argument
580 ZSTD_cwksp_check_wasteful(ZSTD_cwksp* ws, size_t additionalNeededSpace) ZSTD_cwksp_check_wasteful() argument
585 ZSTD_cwksp_bump_oversized_duration( ZSTD_cwksp* ws, size_t additionalNeededSpace) ZSTD_cwksp_bump_oversized_duration() argument
[all...]
/kernel/linux/linux-5.10/drivers/base/power/
H A Dwakeup.c87 struct wakeup_source *ws; in wakeup_source_create() local
91 ws = kzalloc(sizeof(*ws), GFP_KERNEL); in wakeup_source_create()
92 if (!ws) in wakeup_source_create()
98 ws->name = ws_name; in wakeup_source_create()
103 ws->id = id; in wakeup_source_create()
105 return ws; in wakeup_source_create()
108 kfree_const(ws->name); in wakeup_source_create()
110 kfree(ws); in wakeup_source_create()
119 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record() argument
144 wakeup_source_free(struct wakeup_source *ws) wakeup_source_free() argument
157 wakeup_source_destroy(struct wakeup_source *ws) wakeup_source_destroy() argument
172 wakeup_source_add(struct wakeup_source *ws) wakeup_source_add() argument
193 wakeup_source_remove(struct wakeup_source *ws) wakeup_source_remove() argument
222 struct wakeup_source *ws; wakeup_source_register() local
244 wakeup_source_unregister(struct wakeup_source *ws) wakeup_source_unregister() argument
301 wakeup_sources_walk_next(struct wakeup_source *ws) wakeup_sources_walk_next() argument
317 device_wakeup_attach(struct device *dev, struct wakeup_source *ws) device_wakeup_attach() argument
339 struct wakeup_source *ws; device_wakeup_enable() local
374 struct wakeup_source *ws; device_wakeup_attach_irq() local
396 struct wakeup_source *ws; device_wakeup_detach_irq() local
410 struct wakeup_source *ws; device_wakeup_arm_wake_irqs() local
426 struct wakeup_source *ws; device_wakeup_disarm_wake_irqs() local
443 struct wakeup_source *ws; device_wakeup_detach() local
461 struct wakeup_source *ws; device_wakeup_disable() local
547 wakeup_source_not_registered(struct wakeup_source *ws) wakeup_source_not_registered() argument
592 wakeup_source_activate(struct wakeup_source *ws) wakeup_source_activate() argument
617 wakeup_source_report_event(struct wakeup_source *ws, bool hard) wakeup_source_report_event() argument
637 __pm_stay_awake(struct wakeup_source *ws) __pm_stay_awake() argument
679 update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) update_prevent_sleep_time() argument
685 update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) update_prevent_sleep_time() argument
697 wakeup_source_deactivate(struct wakeup_source *ws) wakeup_source_deactivate() argument
754 __pm_relax(struct wakeup_source *ws) __pm_relax() argument
797 struct wakeup_source *ws = from_timer(ws, t, timer); pm_wakeup_timer_fn() local
824 pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) pm_wakeup_ws_event() argument
878 struct wakeup_source *ws; pm_print_active_wakeup_sources() local
1055 struct wakeup_source *ws; pm_wakep_autosleep_enabled() local
1082 print_wakeup_source_stats(struct seq_file *m, struct wakeup_source *ws) print_wakeup_source_stats() argument
1128 struct wakeup_source *ws; wakeup_sources_stats_seq_start() local
1150 struct wakeup_source *ws = v; wakeup_sources_stats_seq_next() local
1180 struct wakeup_source *ws = v; wakeup_sources_stats_seq_show() local
[all...]
H A Dwakeup_stats.c27 struct wakeup_source *ws = dev_get_drvdata(dev); \
29 return sysfs_emit(buf, "%lu\n", ws->_name); \
41 struct wakeup_source *ws = dev_get_drvdata(dev); in active_time_ms_show() local
43 ws->active ? ktime_sub(ktime_get(), ws->last_time) : 0; in active_time_ms_show()
52 struct wakeup_source *ws = dev_get_drvdata(dev); in total_time_ms_show() local
54 ktime_t total_time = ws->total_time; in total_time_ms_show()
56 if (ws->active) { in total_time_ms_show()
57 active_time = ktime_sub(ktime_get(), ws->last_time); in total_time_ms_show()
68 struct wakeup_source *ws in max_time_ms_show() local
85 struct wakeup_source *ws = dev_get_drvdata(dev); last_change_ms_show() local
94 struct wakeup_source *ws = dev_get_drvdata(dev); name_show() local
104 struct wakeup_source *ws = dev_get_drvdata(dev); prevent_suspend_time_ms_show() local
136 wakeup_source_device_create(struct device *parent, struct wakeup_source *ws) wakeup_source_device_create() argument
177 wakeup_source_sysfs_add(struct device *parent, struct wakeup_source *ws) wakeup_source_sysfs_add() argument
206 wakeup_source_sysfs_remove(struct wakeup_source *ws) wakeup_source_sysfs_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/base/power/
H A Dwakeup.c82 struct wakeup_source *ws; in wakeup_source_create() local
86 ws = kzalloc(sizeof(*ws), GFP_KERNEL); in wakeup_source_create()
87 if (!ws) in wakeup_source_create()
93 ws->name = ws_name; in wakeup_source_create()
98 ws->id = id; in wakeup_source_create()
100 return ws; in wakeup_source_create()
103 kfree_const(ws->name); in wakeup_source_create()
105 kfree(ws); in wakeup_source_create()
114 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record() argument
139 wakeup_source_free(struct wakeup_source *ws) wakeup_source_free() argument
152 wakeup_source_destroy(struct wakeup_source *ws) wakeup_source_destroy() argument
167 wakeup_source_add(struct wakeup_source *ws) wakeup_source_add() argument
188 wakeup_source_remove(struct wakeup_source *ws) wakeup_source_remove() argument
217 struct wakeup_source *ws; wakeup_source_register() local
239 wakeup_source_unregister(struct wakeup_source *ws) wakeup_source_unregister() argument
296 wakeup_sources_walk_next(struct wakeup_source *ws) wakeup_sources_walk_next() argument
312 device_wakeup_attach(struct device *dev, struct wakeup_source *ws) device_wakeup_attach() argument
334 struct wakeup_source *ws; device_wakeup_enable() local
369 struct wakeup_source *ws; device_wakeup_attach_irq() local
391 struct wakeup_source *ws; device_wakeup_detach_irq() local
405 struct wakeup_source *ws; device_wakeup_arm_wake_irqs() local
421 struct wakeup_source *ws; device_wakeup_disarm_wake_irqs() local
438 struct wakeup_source *ws; device_wakeup_detach() local
456 struct wakeup_source *ws; device_wakeup_disable() local
513 wakeup_source_not_registered(struct wakeup_source *ws) wakeup_source_not_registered() argument
558 wakeup_source_activate(struct wakeup_source *ws) wakeup_source_activate() argument
583 wakeup_source_report_event(struct wakeup_source *ws, bool hard) wakeup_source_report_event() argument
603 __pm_stay_awake(struct wakeup_source *ws) __pm_stay_awake() argument
645 update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) update_prevent_sleep_time() argument
651 update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) update_prevent_sleep_time() argument
663 wakeup_source_deactivate(struct wakeup_source *ws) wakeup_source_deactivate() argument
720 __pm_relax(struct wakeup_source *ws) __pm_relax() argument
763 struct wakeup_source *ws = from_timer(ws, t, timer); pm_wakeup_timer_fn() local
790 pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) pm_wakeup_ws_event() argument
844 struct wakeup_source *ws; pm_print_active_wakeup_sources() local
1024 struct wakeup_source *ws; pm_wakep_autosleep_enabled() local
1051 print_wakeup_source_stats(struct seq_file *m, struct wakeup_source *ws) print_wakeup_source_stats() argument
1097 struct wakeup_source *ws; wakeup_sources_stats_seq_start() local
1119 struct wakeup_source *ws = v; wakeup_sources_stats_seq_next() local
1149 struct wakeup_source *ws = v; wakeup_sources_stats_seq_show() local
[all...]
H A Dwakeup_stats.c27 struct wakeup_source *ws = dev_get_drvdata(dev); \
29 return sysfs_emit(buf, "%lu\n", ws->_name); \
41 struct wakeup_source *ws = dev_get_drvdata(dev); in active_time_ms_show() local
43 ws->active ? ktime_sub(ktime_get(), ws->last_time) : 0; in active_time_ms_show()
52 struct wakeup_source *ws = dev_get_drvdata(dev); in total_time_ms_show() local
54 ktime_t total_time = ws->total_time; in total_time_ms_show()
56 if (ws->active) { in total_time_ms_show()
57 active_time = ktime_sub(ktime_get(), ws->last_time); in total_time_ms_show()
68 struct wakeup_source *ws in max_time_ms_show() local
85 struct wakeup_source *ws = dev_get_drvdata(dev); last_change_ms_show() local
94 struct wakeup_source *ws = dev_get_drvdata(dev); name_show() local
104 struct wakeup_source *ws = dev_get_drvdata(dev); prevent_suspend_time_ms_show() local
136 wakeup_source_device_create(struct device *parent, struct wakeup_source *ws) wakeup_source_device_create() argument
177 wakeup_source_sysfs_add(struct device *parent, struct wakeup_source *ws) wakeup_source_sysfs_add() argument
206 wakeup_source_sysfs_remove(struct wakeup_source *ws) wakeup_source_sysfs_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H A Dpanel-widechips-ws2401.c104 static void ws2401_read_mtp_id(struct ws2401 *ws) in ws2401_read_mtp_id() argument
106 struct mipi_dbi *dbi = &ws->dbi; in ws2401_read_mtp_id()
112 dev_err(ws->dev, "unable to read MTP ID 1\n"); in ws2401_read_mtp_id()
117 dev_err(ws->dev, "unable to read MTP ID 2\n"); in ws2401_read_mtp_id()
122 dev_err(ws->dev, "unable to read MTP ID 3\n"); in ws2401_read_mtp_id()
125 dev_info(ws->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in ws2401_read_mtp_id()
128 static int ws2401_power_on(struct ws2401 *ws) in ws2401_power_on() argument
130 struct mipi_dbi *dbi = &ws->dbi; in ws2401_power_on()
134 ret = regulator_bulk_enable(ARRAY_SIZE(ws->regulators), in ws2401_power_on()
135 ws in ws2401_power_on()
223 ws2401_power_off(struct ws2401 *ws) ws2401_power_off() argument
233 struct ws2401 *ws = to_ws2401(panel); ws2401_unprepare() local
246 struct ws2401 *ws = to_ws2401(panel); ws2401_disable() local
262 struct ws2401 *ws = to_ws2401(panel); ws2401_enable() local
278 struct ws2401 *ws = to_ws2401(panel); ws2401_get_modes() local
320 struct ws2401 *ws = bl_get_data(bl); ws2401_set_brightness() local
347 struct ws2401 *ws; ws2401_probe() local
412 struct ws2401 *ws = spi_get_drvdata(spi); ws2401_remove() local
[all...]
/kernel/linux/linux-5.10/lib/reed_solomon/
H A Dtest_rslib.c98 static void free_ws(struct wspace *ws) in free_ws() argument
100 if (!ws) in free_ws()
103 kfree(ws->errlocs); in free_ws()
104 kfree(ws->c); in free_ws()
105 kfree(ws); in free_ws()
111 struct wspace *ws; in alloc_ws() local
114 ws = kzalloc(sizeof(*ws), GFP_KERNEL); in alloc_ws()
115 if (!ws) in alloc_ws()
118 ws in alloc_ws()
151 get_rcw_we(struct rs_control *rs, struct wspace *ws, int len, int errs, int eras) get_rcw_we() argument
260 test_uc(struct rs_control *rs, int len, int errs, int eras, int trials, struct estat *stat, struct wspace *ws, int method) test_uc() argument
313 ex_rs_helper(struct rs_control *rs, struct wspace *ws, int len, int trials, int method) ex_rs_helper() argument
349 exercise_rs(struct rs_control *rs, struct wspace *ws, int len, int trials) exercise_rs() argument
366 test_bc(struct rs_control *rs, int len, int errs, int eras, int trials, struct bcstat *stat, struct wspace *ws) test_bc() argument
407 exercise_rs_bc(struct rs_control *rs, struct wspace *ws, int len, int trials) exercise_rs_bc() argument
450 struct wspace *ws; run_exercise() local
[all...]
/kernel/linux/linux-6.6/lib/reed_solomon/
H A Dtest_rslib.c98 static void free_ws(struct wspace *ws) in free_ws() argument
100 if (!ws) in free_ws()
103 kfree(ws->errlocs); in free_ws()
104 kfree(ws->c); in free_ws()
105 kfree(ws); in free_ws()
111 struct wspace *ws; in alloc_ws() local
114 ws = kzalloc(sizeof(*ws), GFP_KERNEL); in alloc_ws()
115 if (!ws) in alloc_ws()
118 ws in alloc_ws()
151 get_rcw_we(struct rs_control *rs, struct wspace *ws, int len, int errs, int eras) get_rcw_we() argument
260 test_uc(struct rs_control *rs, int len, int errs, int eras, int trials, struct estat *stat, struct wspace *ws, int method) test_uc() argument
313 ex_rs_helper(struct rs_control *rs, struct wspace *ws, int len, int trials, int method) ex_rs_helper() argument
349 exercise_rs(struct rs_control *rs, struct wspace *ws, int len, int trials) exercise_rs() argument
366 test_bc(struct rs_control *rs, int len, int errs, int eras, int trials, struct bcstat *stat, struct wspace *ws) test_bc() argument
407 exercise_rs_bc(struct rs_control *rs, struct wspace *ws, int len, int trials) exercise_rs_bc() argument
450 struct wspace *ws; run_exercise() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dpm_wakeup.h66 #define for_each_wakeup_source(ws) \
67 for ((ws) = wakeup_sources_walk_start(); \
68 (ws); \
69 (ws) = wakeup_sources_walk_next((ws)))
94 extern void wakeup_source_destroy(struct wakeup_source *ws);
95 extern void wakeup_source_add(struct wakeup_source *ws);
96 extern void wakeup_source_remove(struct wakeup_source *ws);
99 extern void wakeup_source_unregister(struct wakeup_source *ws);
103 extern struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws);
133 wakeup_source_destroy(struct wakeup_source *ws) wakeup_source_destroy() argument
135 wakeup_source_add(struct wakeup_source *ws) wakeup_source_add() argument
137 wakeup_source_remove(struct wakeup_source *ws) wakeup_source_remove() argument
145 wakeup_source_unregister(struct wakeup_source *ws) wakeup_source_unregister() argument
179 __pm_stay_awake(struct wakeup_source *ws) __pm_stay_awake() argument
183 __pm_relax(struct wakeup_source *ws) __pm_relax() argument
187 pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) pm_wakeup_ws_event() argument
195 __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) __pm_wakeup_event() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dpm_wakeup.h66 #define for_each_wakeup_source(ws) \
67 for ((ws) = wakeup_sources_walk_start(); \
68 (ws); \
69 (ws) = wakeup_sources_walk_next((ws)))
99 extern void wakeup_source_destroy(struct wakeup_source *ws);
100 extern void wakeup_source_add(struct wakeup_source *ws);
101 extern void wakeup_source_remove(struct wakeup_source *ws);
104 extern void wakeup_source_unregister(struct wakeup_source *ws);
108 extern struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws);
137 wakeup_source_destroy(struct wakeup_source *ws) wakeup_source_destroy() argument
139 wakeup_source_add(struct wakeup_source *ws) wakeup_source_add() argument
141 wakeup_source_remove(struct wakeup_source *ws) wakeup_source_remove() argument
149 wakeup_source_unregister(struct wakeup_source *ws) wakeup_source_unregister() argument
181 __pm_stay_awake(struct wakeup_source *ws) __pm_stay_awake() argument
185 __pm_relax(struct wakeup_source *ws) __pm_relax() argument
189 pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) pm_wakeup_ws_event() argument
207 __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) __pm_wakeup_event() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dterm.c8 void get_term_dimensions(struct winsize *ws) in get_term_dimensions() argument
13 ws->ws_row = atoi(s); in get_term_dimensions()
16 ws->ws_col = atoi(s); in get_term_dimensions()
17 if (ws->ws_row && ws->ws_col) in get_term_dimensions()
22 if (ioctl(1, TIOCGWINSZ, ws) == 0 && in get_term_dimensions()
23 ws->ws_row && ws->ws_col) in get_term_dimensions()
26 ws->ws_row = 25; in get_term_dimensions()
27 ws in get_term_dimensions()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dterm.c8 void get_term_dimensions(struct winsize *ws) in get_term_dimensions() argument
13 ws->ws_row = atoi(s); in get_term_dimensions()
16 ws->ws_col = atoi(s); in get_term_dimensions()
17 if (ws->ws_row && ws->ws_col) in get_term_dimensions()
22 if (ioctl(1, TIOCGWINSZ, ws) == 0 && in get_term_dimensions()
23 ws->ws_row && ws->ws_col) in get_term_dimensions()
26 ws->ws_row = 25; in get_term_dimensions()
27 ws in get_term_dimensions()
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dcompression.c65 static int compression_compress_pages(int type, struct list_head *ws, in compression_compress_pages() argument
72 return zlib_compress_pages(ws, mapping, start, pages, in compression_compress_pages()
75 return lzo_compress_pages(ws, mapping, start, pages, in compression_compress_pages()
78 return zstd_compress_pages(ws, mapping, start, pages, in compression_compress_pages()
96 static int compression_decompress_bio(int type, struct list_head *ws, in compression_decompress_bio() argument
100 case BTRFS_COMPRESS_ZLIB: return zlib_decompress_bio(ws, cb); in compression_decompress_bio()
101 case BTRFS_COMPRESS_LZO: return lzo_decompress_bio(ws, cb); in compression_decompress_bio()
102 case BTRFS_COMPRESS_ZSTD: return zstd_decompress_bio(ws, cb); in compression_decompress_bio()
113 static int compression_decompress(int type, struct list_head *ws, in compression_decompress() argument
118 case BTRFS_COMPRESS_ZLIB: return zlib_decompress(ws, data_i in compression_decompress()
835 free_heuristic_ws(struct list_head *ws) free_heuristic_ws() argument
849 struct heuristic_ws *ws; alloc_heuristic_ws() local
902 free_workspace(int type, struct list_head *ws) free_workspace() argument
947 struct list_head *ws; btrfs_cleanup_workspace_manager() local
1063 btrfs_put_workspace(int type, struct list_head *ws) btrfs_put_workspace() argument
1094 put_workspace(int type, struct list_head *ws) put_workspace() argument
1361 shannon_entropy(struct heuristic_ws *ws) shannon_entropy() argument
1497 byte_core_set_size(struct heuristic_ws *ws) byte_core_set_size() argument
1535 byte_set_size(const struct heuristic_ws *ws) byte_set_size() argument
1561 sample_repeated_patterns(struct heuristic_ws *ws) sample_repeated_patterns() argument
1569 heuristic_collect_sample(struct inode *inode, u64 start, u64 end, struct heuristic_ws *ws) heuristic_collect_sample() argument
1639 struct heuristic_ws *ws; btrfs_compress_heuristic() local
[all...]
H A Dcompression.h125 void btrfs_put_workspace(int type, struct list_head *ws);
147 int zlib_compress_pages(struct list_head *ws, struct address_space *mapping,
150 int zlib_decompress_bio(struct list_head *ws, struct compressed_bio *cb);
151 int zlib_decompress(struct list_head *ws, unsigned char *data_in,
155 void zlib_free_workspace(struct list_head *ws);
158 int lzo_compress_pages(struct list_head *ws, struct address_space *mapping,
161 int lzo_decompress_bio(struct list_head *ws, struct compressed_bio *cb);
162 int lzo_decompress(struct list_head *ws, unsigned char *data_in,
166 void lzo_free_workspace(struct list_head *ws);
168 int zstd_compress_pages(struct list_head *ws, struc
[all...]
H A Dzstd.c94 void zstd_free_workspace(struct list_head *ws);
172 struct list_head *ws; in zstd_init_workspace_manager() local
186 ws = zstd_alloc_workspace(ZSTD_BTRFS_MAX_LEVEL); in zstd_init_workspace_manager()
187 if (IS_ERR(ws)) { in zstd_init_workspace_manager()
192 list_add(ws, &wsm.idle_ws[ZSTD_BTRFS_MAX_LEVEL - 1]); in zstd_init_workspace_manager()
229 struct list_head *ws; in zstd_find_workspace() local
236 ws = wsm.idle_ws[i].next; in zstd_find_workspace()
237 workspace = list_to_workspace(ws); in zstd_find_workspace()
238 list_del_init(ws); in zstd_find_workspace()
246 return ws; in zstd_find_workspace()
265 struct list_head *ws; zstd_get_workspace() local
304 zstd_put_workspace(struct list_head *ws) zstd_put_workspace() argument
334 zstd_free_workspace(struct list_head *ws) zstd_free_workspace() argument
369 zstd_compress_pages(struct list_head *ws, struct address_space *mapping, u64 start, struct page **pages, unsigned long *out_pages, unsigned long *total_in, unsigned long *total_out) zstd_compress_pages() argument
546 zstd_decompress_bio(struct list_head *ws, struct compressed_bio *cb) zstd_decompress_bio() argument
624 zstd_decompress(struct list_head *ws, unsigned char *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) zstd_decompress() argument
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dcompression.c94 static int compression_compress_pages(int type, struct list_head *ws, in compression_compress_pages() argument
101 return zlib_compress_pages(ws, mapping, start, pages, in compression_compress_pages()
104 return lzo_compress_pages(ws, mapping, start, pages, in compression_compress_pages()
107 return zstd_compress_pages(ws, mapping, start, pages, in compression_compress_pages()
125 static int compression_decompress_bio(struct list_head *ws, in compression_decompress_bio() argument
129 case BTRFS_COMPRESS_ZLIB: return zlib_decompress_bio(ws, cb); in compression_decompress_bio()
130 case BTRFS_COMPRESS_LZO: return lzo_decompress_bio(ws, cb); in compression_decompress_bio()
131 case BTRFS_COMPRESS_ZSTD: return zstd_decompress_bio(ws, cb); in compression_decompress_bio()
142 static int compression_decompress(int type, struct list_head *ws, in compression_decompress() argument
147 case BTRFS_COMPRESS_ZLIB: return zlib_decompress(ws, data_i in compression_decompress()
593 free_heuristic_ws(struct list_head *ws) free_heuristic_ws() argument
607 struct heuristic_ws *ws; alloc_heuristic_ws() local
660 free_workspace(int type, struct list_head *ws) free_workspace() argument
705 struct list_head *ws; btrfs_cleanup_workspace_manager() local
821 btrfs_put_workspace(int type, struct list_head *ws) btrfs_put_workspace() argument
852 put_workspace(int type, struct list_head *ws) put_workspace() argument
1093 shannon_entropy(struct heuristic_ws *ws) shannon_entropy() argument
1229 byte_core_set_size(struct heuristic_ws *ws) byte_core_set_size() argument
1267 byte_set_size(const struct heuristic_ws *ws) byte_set_size() argument
1293 sample_repeated_patterns(struct heuristic_ws *ws) sample_repeated_patterns() argument
1301 heuristic_collect_sample(struct inode *inode, u64 start, u64 end, struct heuristic_ws *ws) heuristic_collect_sample() argument
1371 struct heuristic_ws *ws; btrfs_compress_heuristic() local
[all...]
H A Dcompression.h119 void btrfs_put_workspace(int type, struct list_head *ws);
141 int zlib_compress_pages(struct list_head *ws, struct address_space *mapping,
144 int zlib_decompress_bio(struct list_head *ws, struct compressed_bio *cb);
145 int zlib_decompress(struct list_head *ws, const u8 *data_in,
149 void zlib_free_workspace(struct list_head *ws);
152 int lzo_compress_pages(struct list_head *ws, struct address_space *mapping,
155 int lzo_decompress_bio(struct list_head *ws, struct compressed_bio *cb);
156 int lzo_decompress(struct list_head *ws, const u8 *data_in,
160 void lzo_free_workspace(struct list_head *ws);
162 int zstd_compress_pages(struct list_head *ws, struc
[all...]
H A Dzstd.c94 void zstd_free_workspace(struct list_head *ws);
176 struct list_head *ws; in zstd_init_workspace_manager() local
190 ws = zstd_alloc_workspace(ZSTD_BTRFS_MAX_LEVEL); in zstd_init_workspace_manager()
191 if (IS_ERR(ws)) { in zstd_init_workspace_manager()
196 list_add(ws, &wsm.idle_ws[ZSTD_BTRFS_MAX_LEVEL - 1]); in zstd_init_workspace_manager()
233 struct list_head *ws; in zstd_find_workspace() local
240 ws = wsm.idle_ws[i].next; in zstd_find_workspace()
241 workspace = list_to_workspace(ws); in zstd_find_workspace()
242 list_del_init(ws); in zstd_find_workspace()
250 return ws; in zstd_find_workspace()
269 struct list_head *ws; zstd_get_workspace() local
308 zstd_put_workspace(struct list_head *ws) zstd_put_workspace() argument
338 zstd_free_workspace(struct list_head *ws) zstd_free_workspace() argument
373 zstd_compress_pages(struct list_head *ws, struct address_space *mapping, u64 start, struct page **pages, unsigned long *out_pages, unsigned long *total_in, unsigned long *total_out) zstd_compress_pages() argument
542 zstd_decompress_bio(struct list_head *ws, struct compressed_bio *cb) zstd_decompress_bio() argument
618 zstd_decompress(struct list_head *ws, const u8 *data_in, struct page *dest_page, unsigned long start_byte, size_t srclen, size_t destlen) zstd_decompress() argument
[all...]
/kernel/linux/linux-5.10/lib/
H A Dsbitmap.c381 sbq->ws = kzalloc_node(SBQ_WAIT_QUEUES * sizeof(*sbq->ws), flags, node); in sbitmap_queue_init_node()
382 if (!sbq->ws) { in sbitmap_queue_init_node()
389 init_waitqueue_head(&sbq->ws[i].wait); in sbitmap_queue_init_node()
390 atomic_set(&sbq->ws[i].wait_cnt, sbq->wake_batch); in sbitmap_queue_init_node()
413 atomic_set(&sbq->ws[i].wait_cnt, 1); in sbitmap_queue_update_wake_batch()
500 struct sbq_wait_state *ws = &sbq->ws[wake_index]; in sbq_wake_ptr() local
502 if (waitqueue_active(&ws->wait)) { in sbq_wake_ptr()
505 return ws; in sbq_wake_ptr()
516 struct sbq_wait_state *ws; __sbq_wake_up() local
603 struct sbq_wait_state *ws = &sbq->ws[wake_index]; sbitmap_queue_wake_all() local
636 struct sbq_wait_state *ws = &sbq->ws[i]; sbitmap_queue_show() local
649 sbitmap_add_wait_queue(struct sbitmap_queue *sbq, struct sbq_wait_state *ws, struct sbq_wait *sbq_wait) sbitmap_add_wait_queue() argument
671 sbitmap_prepare_to_wait(struct sbitmap_queue *sbq, struct sbq_wait_state *ws, struct sbq_wait *sbq_wait, int state) sbitmap_prepare_to_wait() argument
683 sbitmap_finish_wait(struct sbitmap_queue *sbq, struct sbq_wait_state *ws, struct sbq_wait *sbq_wait) sbitmap_finish_wait() argument
[all...]
/kernel/linux/linux-5.10/kernel/power/
H A Dwakelock.c30 struct wakeup_source *ws; member
48 if (wl->ws->active == show_active) in pm_show_wakelocks()
112 spin_lock_irq(&wl->ws->lock); in __wakelocks_gc()
113 idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws->last_time)); in __wakelocks_gc()
114 active = wl->ws->active; in __wakelocks_gc()
115 spin_unlock_irq(&wl->ws->lock); in __wakelocks_gc()
121 wakeup_source_unregister(wl->ws); in __wakelocks_gc()
188 wl->ws = wakeup_source_register(NULL, wl->name); in wakelock_lookup_add()
189 if (!wl->ws) { in wakelock_lookup_add()
194 wl->ws in wakelock_lookup_add()
[all...]
/kernel/linux/linux-6.6/kernel/power/
H A Dwakelock.c30 struct wakeup_source *ws; member
48 if (wl->ws->active == show_active) in pm_show_wakelocks()
112 spin_lock_irq(&wl->ws->lock); in __wakelocks_gc()
113 idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws->last_time)); in __wakelocks_gc()
114 active = wl->ws->active; in __wakelocks_gc()
115 spin_unlock_irq(&wl->ws->lock); in __wakelocks_gc()
121 wakeup_source_unregister(wl->ws); in __wakelocks_gc()
188 wl->ws = wakeup_source_register(NULL, wl->name); in wakelock_lookup_add()
189 if (!wl->ws) { in wakelock_lookup_add()
194 wl->ws in wakelock_lookup_add()
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dr4kcache.h215 unsigned long ws, addr; \
217 for (ws = 0; ws < ws_end; ws += ws_inc) \
220 addr | ws, lsize); \
242 unsigned long ws, addr; \
244 for (ws = 0; ws < ws_end; ws += ws_inc) \
247 addr | ws, lsiz
[all...]
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dr4kcache.h205 unsigned long ws, addr; \
207 for (ws = 0; ws < ws_end; ws += ws_inc) \
210 addr | ws, lsize); \
232 unsigned long ws, addr; \
234 for (ws = 0; ws < ws_end; ws += ws_inc) \
237 addr | ws, lsiz
[all...]
/kernel/linux/linux-5.10/sound/core/
H A Dpcm_iec958.c15 unsigned int fs, ws; in create_iec958_consumer() local
49 ws = IEC958_AES4_CON_WORDLEN_20_16; in create_iec958_consumer()
52 ws = IEC958_AES4_CON_WORDLEN_22_18; in create_iec958_consumer()
55 ws = IEC958_AES4_CON_WORDLEN_20_16 | in create_iec958_consumer()
60 ws = IEC958_AES4_CON_WORDLEN_24_20 | in create_iec958_consumer()
77 cs[4] = ws; in create_iec958_consumer()
/kernel/liteos_m/tools/
H A Dmem_analysis.py61 ws = wb.active
63 c = ws.cell(row=base_address + 1, column=1)
65 c = ws.cell(row=base_address + 1, column=2)
67 c = ws.cell(row=base_address + 1, column=3)
69 c = ws.cell(row=base_address + 1, column=4)
71 c = ws.cell(row=base_address + 1, column=5)
73 c = ws.cell(row=base_address + 1, column=6)
75 c = ws.cell(row=base_address + 1, column=7)
118 ws = wb.active
123 c = ws
[all...]

Completed in 14 milliseconds

123456789