Home
last modified time | relevance | path

Searched defs:ws (Results 1 – 25 of 170) sorted by relevance

1234567

/kernel/linux/linux-6.6/lib/zstd/compress/
Dzstd_cwksp.h163 MEM_STATIC void ZSTD_cwksp_assert_internal_consistency(ZSTD_cwksp* ws) { in ZSTD_cwksp_assert_internal_consistency()
245 ZSTD_cwksp_reserve_internal_buffer_space(ZSTD_cwksp* ws, size_t const bytes) in ZSTD_cwksp_reserve_internal_buffer_space()
273 ZSTD_cwksp_internal_advance_phase(ZSTD_cwksp* ws, ZSTD_cwksp_alloc_phase_e phase) in ZSTD_cwksp_internal_advance_phase()
315 MEM_STATIC int ZSTD_cwksp_owns_buffer(const ZSTD_cwksp* ws, const void* ptr) in ZSTD_cwksp_owns_buffer()
324 ZSTD_cwksp_reserve_internal(ZSTD_cwksp* ws, size_t bytes, ZSTD_cwksp_alloc_phase_e phase) in ZSTD_cwksp_reserve_internal()
341 MEM_STATIC BYTE* ZSTD_cwksp_reserve_buffer(ZSTD_cwksp* ws, size_t bytes) in ZSTD_cwksp_reserve_buffer()
349 MEM_STATIC void* ZSTD_cwksp_reserve_aligned(ZSTD_cwksp* ws, size_t bytes) in ZSTD_cwksp_reserve_aligned()
362 MEM_STATIC void* ZSTD_cwksp_reserve_table(ZSTD_cwksp* ws, size_t bytes) in ZSTD_cwksp_reserve_table()
398 MEM_STATIC void* ZSTD_cwksp_reserve_object(ZSTD_cwksp* ws, size_t bytes) in ZSTD_cwksp_reserve_object()
425 MEM_STATIC void ZSTD_cwksp_mark_tables_dirty(ZSTD_cwksp* ws) in ZSTD_cwksp_mark_tables_dirty()
[all …]
/kernel/linux/linux-6.6/drivers/base/power/
Dwakeup.c82 struct wakeup_source *ws; in wakeup_source_create() local
114 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
139 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free()
152 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
167 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
188 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
217 struct wakeup_source *ws; in wakeup_source_register() local
239 void wakeup_source_unregister(struct wakeup_source *ws) in wakeup_source_unregister()
296 struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws) in wakeup_sources_walk_next()
312 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()
[all …]
Dwakeup_stats.c41 struct wakeup_source *ws = dev_get_drvdata(dev); in active_time_ms_show() local
52 struct wakeup_source *ws = dev_get_drvdata(dev); in total_time_ms_show() local
68 struct wakeup_source *ws = dev_get_drvdata(dev); in max_time_ms_show() local
85 struct wakeup_source *ws = dev_get_drvdata(dev); in last_change_ms_show() local
94 struct wakeup_source *ws = dev_get_drvdata(dev); in name_show() local
104 struct wakeup_source *ws = dev_get_drvdata(dev); in prevent_suspend_time_ms_show() local
137 struct wakeup_source *ws) in wakeup_source_device_create()
177 int wakeup_source_sysfs_add(struct device *parent, struct wakeup_source *ws) in wakeup_source_sysfs_add()
206 void wakeup_source_sysfs_remove(struct wakeup_source *ws) in wakeup_source_sysfs_remove()
/kernel/linux/linux-5.10/drivers/base/power/
Dwakeup.c87 struct wakeup_source *ws; in wakeup_source_create() local
119 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
144 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free()
157 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
172 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
193 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
222 struct wakeup_source *ws; in wakeup_source_register() local
244 void wakeup_source_unregister(struct wakeup_source *ws) in wakeup_source_unregister()
301 struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws) in wakeup_sources_walk_next()
317 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()
[all …]
Dwakeup_stats.c41 struct wakeup_source *ws = dev_get_drvdata(dev); in active_time_ms_show() local
52 struct wakeup_source *ws = dev_get_drvdata(dev); in total_time_ms_show() local
68 struct wakeup_source *ws = dev_get_drvdata(dev); in max_time_ms_show() local
85 struct wakeup_source *ws = dev_get_drvdata(dev); in last_change_ms_show() local
94 struct wakeup_source *ws = dev_get_drvdata(dev); in name_show() local
104 struct wakeup_source *ws = dev_get_drvdata(dev); in prevent_suspend_time_ms_show() local
137 struct wakeup_source *ws) in wakeup_source_device_create()
177 int wakeup_source_sysfs_add(struct device *parent, struct wakeup_source *ws) in wakeup_source_sysfs_add()
206 void wakeup_source_sysfs_remove(struct wakeup_source *ws) in wakeup_source_sysfs_remove()
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
Dpanel-widechips-ws2401.c104 static void ws2401_read_mtp_id(struct ws2401 *ws) in ws2401_read_mtp_id()
128 static int ws2401_power_on(struct ws2401 *ws) in ws2401_power_on()
223 static int ws2401_power_off(struct ws2401 *ws) in ws2401_power_off()
233 struct ws2401 *ws = to_ws2401(panel); in ws2401_unprepare() local
246 struct ws2401 *ws = to_ws2401(panel); in ws2401_disable() local
262 struct ws2401 *ws = to_ws2401(panel); in ws2401_enable() local
278 struct ws2401 *ws = to_ws2401(panel); in ws2401_get_modes() local
320 struct ws2401 *ws = bl_get_data(bl); in ws2401_set_brightness() local
347 struct ws2401 *ws; in ws2401_probe() local
412 struct ws2401 *ws = spi_get_drvdata(spi); in ws2401_remove() local
/kernel/linux/linux-5.10/include/linux/
Dpm_wakeup.h66 #define for_each_wakeup_source(ws) \ argument
133 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy()
135 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add()
137 static inline void wakeup_source_remove(struct wakeup_source *ws) {} in wakeup_source_remove()
145 static inline void wakeup_source_unregister(struct wakeup_source *ws) {} in wakeup_source_unregister()
179 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake()
183 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax()
187 static inline void pm_wakeup_ws_event(struct wakeup_source *ws, in pm_wakeup_ws_event()
195 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event()
/kernel/linux/linux-6.6/include/linux/
Dpm_wakeup.h66 #define for_each_wakeup_source(ws) \ argument
137 static inline void wakeup_source_destroy(struct wakeup_source *ws) {} in wakeup_source_destroy()
139 static inline void wakeup_source_add(struct wakeup_source *ws) {} in wakeup_source_add()
141 static inline void wakeup_source_remove(struct wakeup_source *ws) {} in wakeup_source_remove()
149 static inline void wakeup_source_unregister(struct wakeup_source *ws) {} in wakeup_source_unregister()
181 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake()
185 static inline void __pm_relax(struct wakeup_source *ws) {} in __pm_relax()
189 static inline void pm_wakeup_ws_event(struct wakeup_source *ws, in pm_wakeup_ws_event()
207 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event()
/kernel/linux/linux-6.6/fs/btrfs/
Dcompression.c94 static int compression_compress_pages(int type, struct list_head *ws, in compression_compress_pages()
125 static int compression_decompress_bio(struct list_head *ws, in compression_decompress_bio()
142 static int compression_decompress(int type, struct list_head *ws, in compression_decompress()
593 static void free_heuristic_ws(struct list_head *ws) in free_heuristic_ws()
607 struct heuristic_ws *ws; in alloc_heuristic_ws() local
660 static void free_workspace(int type, struct list_head *ws) in free_workspace()
705 struct list_head *ws; in btrfs_cleanup_workspace_manager() local
821 void btrfs_put_workspace(int type, struct list_head *ws) in btrfs_put_workspace()
852 static void put_workspace(int type, struct list_head *ws) in put_workspace()
1093 static u32 shannon_entropy(struct heuristic_ws *ws) in shannon_entropy()
[all …]
Dzstd.c176 struct list_head *ws; in zstd_init_workspace_manager() local
233 struct list_head *ws; in zstd_find_workspace() local
269 struct list_head *ws; in zstd_get_workspace() local
308 void zstd_put_workspace(struct list_head *ws) in zstd_put_workspace()
338 void zstd_free_workspace(struct list_head *ws) in zstd_free_workspace()
373 int zstd_compress_pages(struct list_head *ws, struct address_space *mapping, in zstd_compress_pages()
542 int zstd_decompress_bio(struct list_head *ws, struct compressed_bio *cb) in zstd_decompress_bio()
618 int zstd_decompress(struct list_head *ws, const u8 *data_in, in zstd_decompress()
Dzlib.c38 struct list_head *ws = btrfs_get_workspace(BTRFS_COMPRESS_ZLIB, level); in zlib_get_workspace() local
46 void zlib_free_workspace(struct list_head *ws) in zlib_free_workspace()
94 int zlib_compress_pages(struct list_head *ws, struct address_space *mapping, in zlib_compress_pages()
271 int zlib_decompress_bio(struct list_head *ws, struct compressed_bio *cb) in zlib_decompress_bio()
356 int zlib_decompress(struct list_head *ws, const u8 *data_in, in zlib_decompress()
Dlzo.c73 void lzo_free_workspace(struct list_head *ws) in lzo_free_workspace()
212 int lzo_compress_pages(struct list_head *ws, struct address_space *mapping, in lzo_compress_pages()
330 int lzo_decompress_bio(struct list_head *ws, struct compressed_bio *cb) in lzo_decompress_bio()
427 int lzo_decompress(struct list_head *ws, const u8 *data_in, in lzo_decompress()
/kernel/linux/linux-5.10/fs/btrfs/
Dzstd.c172 struct list_head *ws; in zstd_init_workspace_manager() local
229 struct list_head *ws; in zstd_find_workspace() local
265 struct list_head *ws; in zstd_get_workspace() local
304 void zstd_put_workspace(struct list_head *ws) in zstd_put_workspace()
334 void zstd_free_workspace(struct list_head *ws) in zstd_free_workspace()
369 int zstd_compress_pages(struct list_head *ws, struct address_space *mapping, in zstd_compress_pages()
546 int zstd_decompress_bio(struct list_head *ws, struct compressed_bio *cb) in zstd_decompress_bio()
624 int zstd_decompress(struct list_head *ws, unsigned char *data_in, in zstd_decompress()
Dcompression.c65 static int compression_compress_pages(int type, struct list_head *ws, in compression_compress_pages()
96 static int compression_decompress_bio(int type, struct list_head *ws, in compression_decompress_bio()
113 static int compression_decompress(int type, struct list_head *ws, in compression_decompress()
835 static void free_heuristic_ws(struct list_head *ws) in free_heuristic_ws()
849 struct heuristic_ws *ws; in alloc_heuristic_ws() local
902 static void free_workspace(int type, struct list_head *ws) in free_workspace()
947 struct list_head *ws; in btrfs_cleanup_workspace_manager() local
1063 void btrfs_put_workspace(int type, struct list_head *ws) in btrfs_put_workspace()
1094 static void put_workspace(int type, struct list_head *ws) in put_workspace()
1361 static u32 shannon_entropy(struct heuristic_ws *ws) in shannon_entropy()
[all …]
Dzlib.c38 struct list_head *ws = btrfs_get_workspace(BTRFS_COMPRESS_ZLIB, level); in zlib_get_workspace() local
46 void zlib_free_workspace(struct list_head *ws) in zlib_free_workspace()
94 int zlib_compress_pages(struct list_head *ws, struct address_space *mapping, in zlib_compress_pages()
277 int zlib_decompress_bio(struct list_head *ws, struct compressed_bio *cb) in zlib_decompress_bio()
368 int zlib_decompress(struct list_head *ws, unsigned char *data_in, in zlib_decompress()
Dlzo.c66 void lzo_free_workspace(struct list_head *ws) in lzo_free_workspace()
114 int lzo_compress_pages(struct list_head *ws, struct address_space *mapping, in lzo_compress_pages()
282 int lzo_decompress_bio(struct list_head *ws, struct compressed_bio *cb) in lzo_decompress_bio()
423 int lzo_decompress(struct list_head *ws, unsigned char *data_in, in lzo_decompress()
/kernel/linux/linux-5.10/lib/reed_solomon/
Dtest_rslib.c98 static void free_ws(struct wspace *ws) in free_ws()
111 struct wspace *ws; in alloc_ws() local
151 static int get_rcw_we(struct rs_control *rs, struct wspace *ws, in get_rcw_we()
262 struct wspace *ws, int method) in test_uc()
313 static int ex_rs_helper(struct rs_control *rs, struct wspace *ws, in ex_rs_helper()
349 static int exercise_rs(struct rs_control *rs, struct wspace *ws, in exercise_rs()
368 struct wspace *ws) in test_bc()
407 static int exercise_rs_bc(struct rs_control *rs, struct wspace *ws, in exercise_rs_bc()
450 struct wspace *ws; in run_exercise() local
/kernel/linux/linux-6.6/lib/reed_solomon/
Dtest_rslib.c98 static void free_ws(struct wspace *ws) in free_ws()
111 struct wspace *ws; in alloc_ws() local
151 static int get_rcw_we(struct rs_control *rs, struct wspace *ws, in get_rcw_we()
262 struct wspace *ws, int method) in test_uc()
313 static int ex_rs_helper(struct rs_control *rs, struct wspace *ws, in ex_rs_helper()
349 static int exercise_rs(struct rs_control *rs, struct wspace *ws, in exercise_rs()
368 struct wspace *ws) in test_bc()
407 static int exercise_rs_bc(struct rs_control *rs, struct wspace *ws, in exercise_rs_bc()
450 struct wspace *ws; in run_exercise() local
/kernel/linux/linux-5.10/lib/
Dsbitmap.c500 struct sbq_wait_state *ws = &sbq->ws[wake_index]; in sbq_wake_ptr() local
516 struct sbq_wait_state *ws; in __sbq_wake_up() local
603 struct sbq_wait_state *ws = &sbq->ws[wake_index]; in sbitmap_queue_wake_all() local
636 struct sbq_wait_state *ws = &sbq->ws[i]; in sbitmap_queue_show() local
650 struct sbq_wait_state *ws, in sbitmap_add_wait_queue()
672 struct sbq_wait_state *ws, in sbitmap_prepare_to_wait()
683 void sbitmap_finish_wait(struct sbitmap_queue *sbq, struct sbq_wait_state *ws, in sbitmap_finish_wait()
/kernel/linux/linux-6.6/lib/
Dsbitmap.c560 struct sbq_wait_state *ws = &sbq->ws[wake_index]; in __sbitmap_queue_wake_up() local
682 struct sbq_wait_state *ws = &sbq->ws[wake_index]; in sbitmap_queue_wake_all() local
715 struct sbq_wait_state *ws = &sbq->ws[i]; in sbitmap_queue_show() local
727 struct sbq_wait_state *ws, in sbitmap_add_wait_queue()
749 struct sbq_wait_state *ws, in sbitmap_prepare_to_wait()
760 void sbitmap_finish_wait(struct sbitmap_queue *sbq, struct sbq_wait_state *ws, in sbitmap_finish_wait()
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvc_console.h47 struct winsize ws; member
89 static inline void hvc_resize(struct hvc_struct *hp, struct winsize ws) in hvc_resize()
/kernel/linux/linux-6.6/drivers/tty/hvc/
Dhvc_console.h47 struct winsize ws; member
89 static inline void hvc_resize(struct hvc_struct *hp, struct winsize ws) in hvc_resize()
/kernel/linux/linux-5.10/tools/perf/util/
Dterm.c8 void get_term_dimensions(struct winsize *ws) in get_term_dimensions()
/kernel/linux/linux-6.6/tools/perf/util/
Dterm.c8 void get_term_dimensions(struct winsize *ws) in get_term_dimensions()
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dhwchannel.c14 dchannel_bh(struct work_struct *ws) in dchannel_bh()
37 bchannel_bh(struct work_struct *ws) in bchannel_bh()

1234567