Searched refs:ws (Results 26 - 50 of 103) sorted by relevance

12345

/linux-master/drivers/md/
H A Ddm-era-target.c49 static void writeset_free(struct writeset *ws) argument
51 vfree(ws->bits);
52 ws->bits = NULL;
75 static int writeset_alloc(struct writeset *ws, dm_block_t nr_blocks) argument
77 ws->bits = vzalloc(bitset_size(nr_blocks));
78 if (!ws->bits) {
89 static int writeset_init(struct dm_disk_bitset *info, struct writeset *ws, argument
94 memset(ws->bits, 0, bitset_size(nr_blocks));
96 ws->md.nr_bits = nr_blocks;
97 r = setup_on_disk_bitset(info, ws
106 writeset_marked(struct writeset *ws, dm_block_t block) argument
136 writeset_test_and_set(struct dm_disk_bitset *info, struct writeset *ws, uint32_t block) argument
973 struct writeset *ws; local
1269 struct writeset *ws = era->md->current_writeset; local
1356 do_work(struct work_struct *ws) argument
[all...]
H A Ddm-cache-target.c49 struct work_struct ws; member in struct:continuation
56 INIT_WORK(&k->ws, fn);
63 queue_work(wq, &k->ws);
104 struct work_struct *ws, *tmp; local
124 list_for_each_entry_safe(ws, tmp, &work_items, entry) {
125 k = container_of(ws, struct continuation, ws);
127 INIT_LIST_HEAD(&ws->entry); /* to avoid a WARN_ON */
128 queue_work(b->wq, ws);
171 list_add_tail(&k->ws
1076 ws_to_mg(struct work_struct *ws) argument
1228 mg_success(struct work_struct *ws) argument
1235 mg_update_metadata(struct work_struct *ws) argument
1297 mg_update_metadata_after_copy(struct work_struct *ws) argument
1310 mg_upgrade_lock(struct work_struct *ws) argument
1338 mg_full_copy(struct work_struct *ws) argument
1355 mg_copy(struct work_struct *ws) argument
1470 invalidate_completed(struct work_struct *ws) argument
1502 invalidate_remove(struct work_struct *ws) argument
1806 process_deferred_bios(struct work_struct *ws) argument
1860 do_waker(struct work_struct *ws) argument
1870 check_migrations(struct work_struct *ws) argument
[all...]
H A Ddm-ebs-target.c27 struct work_struct ws; /* Work item used for ^. */ member in struct:ebs_c
177 static void __ebs_process_bios(struct work_struct *ws) argument
182 struct ebs_c *ec = container_of(ws, struct ebs_c, ws);
334 INIT_WORK(&ec->ws, &__ebs_process_bios);
382 queue_work(ec->wq, &ec->ws);
/linux-master/arch/xtensa/include/asm/
H A Dprocessor.h115 #define MAKE_RA_FOR_CALL(ra,ws) (((ra) & 0x3fffffff) | (ws) << 30)
127 #define MAKE_RA_FOR_CALL(ra, ws) (ra)
/linux-master/fs/btrfs/
H A Dlzo.c73 void lzo_free_workspace(struct list_head *ws) argument
75 struct workspace *workspace = list_entry(ws, struct workspace, list);
212 int lzo_compress_folios(struct list_head *ws, struct address_space *mapping, argument
216 struct workspace *workspace = list_entry(ws, struct workspace, list);
331 int lzo_decompress_bio(struct list_head *ws, struct compressed_bio *cb) argument
333 struct workspace *workspace = list_entry(ws, struct workspace, list);
428 int lzo_decompress(struct list_head *ws, const u8 *data_in, argument
432 struct workspace *workspace = list_entry(ws, struct workspace, list);
/linux-master/fs/
H A Deventpoll.c168 struct wakeup_source __rcu *ws; member in struct:epitem
211 struct wakeup_source *ws; member in struct:eventpoll
670 return rcu_dereference_check(epi->ws, lockdep_is_held(&epi->ep->mtx));
676 struct wakeup_source *ws = ep_wakeup_source(epi); local
678 if (ws)
679 __pm_stay_awake(ws);
684 return rcu_access_pointer(epi->ws) ? true : false;
690 struct wakeup_source *ws; local
693 ws = rcu_dereference(epi->ws);
1547 struct wakeup_source *ws; local
1569 struct wakeup_source *ws = ep_wakeup_source(epi); local
1843 struct wakeup_source *ws; local
[all...]
/linux-master/arch/powerpc/sysdev/
H A Dfsl_mpic_timer_wakeup.c26 static void fsl_free_resource(struct work_struct *ws) argument
29 container_of(ws, struct fsl_mpic_timer_wakeup, free_work);
/linux-master/drivers/base/power/
H A Dpower.h129 struct wakeup_source *ws);
130 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
/linux-master/drivers/clk/meson/
H A Dclk-phase.c146 /* Get phase and sync the inverted value to ws */
148 meson_parm_write(clk->map, &tph->ws, val ? 0 : 1);
172 meson_parm_write(clk->map, &tph->ws, val ? 0 : 1);
/linux-master/drivers/tty/hvc/
H A Dhvc_console.c568 struct winsize ws; local
577 ws = hp->ws;
580 tty_do_resize(tty, &ws);
771 * @ws: Terminal window size structure
778 void __hvc_resize(struct hvc_struct *hp, struct winsize ws) argument
780 hp->ws = ws;
/linux-master/arch/mips/include/asm/
H A Dasmmacro.h339 .macro copy_s_w ws, n
344 copy_s.w $1, $w\ws[\n]
348 .macro copy_s_d ws, n
353 copy_s.d $1, $w\ws[\n]
479 .macro copy_s_w ws, n
483 insn_if_mips 0x78b00059 | (\n << 16) | (\ws << 11)
484 insn32_if_mm 0x58b00056 | (\n << 16) | (\ws << 11)
488 .macro copy_s_d ws, n
492 insn_if_mips 0x78b80059 | (\n << 16) | (\ws << 11)
493 insn32_if_mm 0x58b80056 | (\n << 16) | (\ws << 1
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Datom.c62 uint32_t *ps, *ws; member in struct:__anon494
267 val = ctx->ws[idx];
544 ctx->ws[idx] = val;
1173 int len, ws, ps, ptr; local
1182 ws = CU8(base + ATOM_CT_WS_PTR);
1186 SDEBUG(">> execute %04X (len %d, WS %d, PS %d)\n", base, len, ws, ps);
1195 if (ws) {
1196 ectx.ws = kcalloc(4, ws, GFP_KERNEL);
1197 ectx.ws_size = ws;
[all...]
/linux-master/block/
H A Dblk-mq-tag.c137 struct sbq_wait_state *ws; local
161 ws = bt_wait_ptr(bt, data->hctx);
180 sbitmap_prepare_to_wait(bt, ws, &wait, TASK_UNINTERRUPTIBLE);
189 sbitmap_finish_wait(bt, ws, &wait);
208 ws = bt_wait_ptr(bt, data->hctx);
211 sbitmap_finish_wait(bt, ws, &wait);
H A Dkyber-iosched.c713 struct sbq_wait_state *ws; local
724 ws = sbq_wait_ptr(domain_tokens,
726 khd->domain_ws[sched_domain] = ws;
727 sbitmap_add_wait_queue(domain_tokens, ws, wait);
744 ws = khd->domain_ws[sched_domain];
745 spin_lock_irq(&ws->wait.lock);
747 spin_unlock_irq(&ws->wait.lock);
/linux-master/sound/soc/sh/rcar/
H A Dadg.c98 int ws = id; local
105 ws = 0;
108 ws = 3;
111 ws = 7;
117 * Thus SSI9 is using ws = 8
120 ws = 8;
123 return (0x6 + ws) << 8;
/linux-master/lib/zstd/compress/
H A Dzstd_compress.c120 ZSTD_cwksp ws; local
124 ZSTD_cwksp_init(&ws, workspace, workspaceSize, ZSTD_cwksp_static_alloc);
126 cctx = (ZSTD_CCtx*)ZSTD_cwksp_reserve_object(&ws, sizeof(ZSTD_CCtx));
130 ZSTD_cwksp_move(&cctx->workspace, &ws);
1643 ZSTD_cwksp* ws,
1663 ZSTD_cwksp_mark_tables_dirty(ws);
1670 assert(!ZSTD_cwksp_reserve_failed(ws)); /* check that allocation hasn't already failed */
1672 ZSTD_cwksp_clear_tables(ws);
1676 ms->hashTable = (U32*)ZSTD_cwksp_reserve_table(ws, hSize * sizeof(U32));
1677 ms->chainTable = (U32*)ZSTD_cwksp_reserve_table(ws, chainSiz
1642 ZSTD_reset_matchState(ZSTD_matchState_t* ms, ZSTD_cwksp* ws, const ZSTD_compressionParameters* cParams, const ZSTD_paramSwitch_e useRowMatchFinder, const ZSTD_compResetPolicy_e crp, const ZSTD_indexResetPolicy_e forceResetIndex, const ZSTD_resetTarget_e forWho) argument
1755 ZSTD_cwksp* const ws = &zc->workspace; local
3810 ZSTD_overflowCorrectIfNeeded(ZSTD_matchState_t* ms, ZSTD_cwksp* ws, ZSTD_CCtx_params const* params, void const* ip, void const* iend) argument
4109 ZSTD_loadDictionaryContent(ZSTD_matchState_t* ms, ldmState_t* ls, ZSTD_cwksp* ws, ZSTD_CCtx_params const* params, const void* src, size_t srcSize, ZSTD_dictTableLoadMethod_e dtlm) argument
4324 ZSTD_loadZstdDictionary(ZSTD_compressedBlockState_t* bs, ZSTD_matchState_t* ms, ZSTD_cwksp* ws, ZSTD_CCtx_params const* params, const void* dict, size_t dictSize, ZSTD_dictTableLoadMethod_e dtlm, void* workspace) argument
4356 ZSTD_compress_insertDictionary(ZSTD_compressedBlockState_t* bs, ZSTD_matchState_t* ms, ldmState_t* ls, ZSTD_cwksp* ws, const ZSTD_CCtx_params* params, const void* dict, size_t dictSize, ZSTD_dictContentType_e dictContentType, ZSTD_dictTableLoadMethod_e dtlm, void* workspace) argument
4738 ZSTD_cwksp ws; local
4894 ZSTD_cwksp ws; local
[all...]
/linux-master/arch/s390/crypto/
H A Dprng.c333 struct prno_ws_s ws; local
335 memset(&ws, 0, sizeof(ws));
339 &ws, NULL, 0, seed, sizeof(seed));
342 if (memcmp(ws.V, V0, sizeof(V0)) != 0
343 || memcmp(ws.C, C0, sizeof(C0)) != 0) {
352 &ws, buf, sizeof(buf), NULL, 0);
354 &ws, buf, sizeof(buf), NULL, 0);
/linux-master/tools/bpf/bpftool/
H A Dmain.c278 static const char ws[] = " \t\r\n"; local
284 cp += strspn(cp, ws);
310 cp += strcspn(cp, ws);
/linux-master/include/linux/
H A Dclosure.h324 #define CLOSURE_CALLBACK(name) void name(struct work_struct *ws)
326 struct closure *cl = container_of(ws, struct closure, work); \
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Datom.c64 uint32_t *ps, *ws; member in struct:__anon172
269 val = ctx->ws[idx];
545 ctx->ws[idx] = val;
1224 int len, ws, ps, ptr; local
1233 ws = CU8(base + ATOM_CT_WS_PTR);
1237 SDEBUG(">> execute %04X (len %d, WS %d, PS %d)\n", base, len, ws, ps);
1247 if (ws) {
1248 ectx.ws = kcalloc(4, ws, GFP_KERNEL);
1249 ectx.ws_size = ws;
[all...]
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_validate_shaders.c395 bool ws = inst & QPU_WS; local
396 bool is_b = is_mul ^ ws;
491 bool ws = inst & QPU_WS; local
503 lri_add = waddr_to_live_reg_index(waddr_add, ws);
504 lri_mul = waddr_to_live_reg_index(waddr_mul, !ws);
/linux-master/arch/mips/mm/
H A Dc-r4k.c235 unsigned long ws, addr; local
239 for (ws = 0; ws < ws_end; ws += ws_inc)
242 addr | ws, 32);
245 for (ws = 0; ws < ws_end; ws += ws_inc)
248 addr | ws, 32);
/linux-master/arch/xtensa/kernel/
H A Dsignal.c59 const unsigned long ws = regs->windowstart; local
73 wm = (ws >> wb) | (ws << (XCHAL_NUM_AREGS / 4 - wb));
/linux-master/drivers/isdn/mISDN/
H A Dhwchannel.c14 dchannel_bh(struct work_struct *ws) argument
16 struct dchannel *dch = container_of(ws, struct dchannel, workq);
37 bchannel_bh(struct work_struct *ws) argument
39 struct bchannel *bch = container_of(ws, struct bchannel, workq);
/linux-master/drivers/firmware/efi/libstub/
H A Dvsprintf.c506 const u16 *ws = (const u16 *)s; local
509 u32 c32 = utf16_to_utf32(&ws);

Completed in 503 milliseconds

12345