Home
last modified time | relevance | path

Searched refs:ml (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v5.15/fs/ocfs2/dlm/
Ddlmast.c52 if (lock->ml.highest_blocked == LKM_IVMODE) in dlm_should_cancel_bast()
54 BUG_ON(lock->ml.highest_blocked == LKM_NLMODE); in dlm_should_cancel_bast()
61 if (lock->ml.type == LKM_EXMODE) in dlm_should_cancel_bast()
64 else if (lock->ml.type == LKM_NLMODE) in dlm_should_cancel_bast()
67 else if (lock->ml.highest_blocked != LKM_EXMODE) in dlm_should_cancel_bast()
89 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
90 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
91 lock->ast_pending, lock->ml.type); in __dlm_queue_ast()
97 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
98 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
[all …]
Ddlmthread.c365 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
373 if (!dlm_lock_compatible(lock->ml.type, in dlm_shuffle_lists()
374 target->ml.convert_type)) { in dlm_shuffle_lists()
377 if (lock->ml.highest_blocked == LKM_IVMODE) { in dlm_shuffle_lists()
382 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
383 lock->ml.highest_blocked = in dlm_shuffle_lists()
384 target->ml.convert_type; in dlm_shuffle_lists()
391 if (!dlm_lock_compatible(lock->ml.type, in dlm_shuffle_lists()
392 target->ml.convert_type)) { in dlm_shuffle_lists()
394 if (lock->ml.highest_blocked == LKM_IVMODE) { in dlm_shuffle_lists()
[all …]
Ddlmconvert.c114 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master()
119 if (lock->ml.convert_type != LKM_IVMODE) { in __dlmconvert_master()
135 switch (lock->ml.type) { in __dlmconvert_master()
139 dlm_lock_mode_name(lock->ml.type), in __dlmconvert_master()
149 dlm_lock_mode_name(lock->ml.type), in __dlmconvert_master()
155 dlm_lock_mode_name(lock->ml.type), in __dlmconvert_master()
165 if (type <= lock->ml.type) in __dlmconvert_master()
173 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
178 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
181 if (!dlm_lock_compatible(tmplock->ml.convert_type, type)) in __dlmconvert_master()
[all …]
Ddlmrecovery.c1049 if (lock->ml.node == dead_node) { in dlm_move_reco_locks_to_list()
1124 struct_size(mres, ml, mres->num_locks), in dlm_send_mig_lockres_msg()
1183 if (lock->ml.type != LKM_EXMODE && lock->ml.type != LKM_PRMODE) in dlm_prepare_lvb_for_migration()
1197 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_prepare_lvb_for_migration()
1198 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_prepare_lvb_for_migration()
1200 lock->ml.node); in dlm_prepare_lvb_for_migration()
1210 struct dlm_migratable_lock *ml; in dlm_add_lock_to_array() local
1213 ml = &(mres->ml[lock_num]); in dlm_add_lock_to_array()
1214 ml->cookie = lock->ml.cookie; in dlm_add_lock_to_array()
1215 ml->type = lock->ml.type; in dlm_add_lock_to_array()
[all …]
Ddlmlock.c79 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
84 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
86 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
87 lock->ml.type)) in dlm_can_grant_new_lock()
108 mlog(0, "type=%d\n", lock->ml.type); in dlmlock_master()
115 lock->ml.node != dlm->node_num) { in dlmlock_master()
144 lock->ml.node); in dlmlock_master()
155 lock->ml.node); in dlmlock_master()
205 lock->ml.type, res->lockname.len, in dlmlock_remote()
293 create.requested_type = lock->ml.type; in dlm_send_remote_lock_request()
[all …]
Ddlmunlock.c218 lock->ml.convert_type = LKM_IVMODE; in dlmunlock_common()
227 BUG_ON(lock->ml.convert_type != LKM_IVMODE); in dlmunlock_common()
229 BUG_ON(lock->ml.convert_type == LKM_IVMODE); in dlmunlock_common()
250 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlmunlock_common()
251 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlmunlock_common()
277 lock->ml.convert_type = LKM_IVMODE; in dlm_commit_pending_cancel()
336 unlock.cookie = lock->ml.cookie; in dlm_send_remote_unlock_request()
465 if (lock->ml.cookie == unlock->cookie && in dlm_unlock_lock_handler()
466 lock->ml.node == unlock->node_idx) { in dlm_unlock_lock_handler()
486 lock->ml.type != LKM_EXMODE) in dlm_unlock_lock_handler()
[all …]
Ddlmdebug.c64 lock->ml.type, lock->ml.convert_type, lock->ml.node, in __dlm_print_lock()
65 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock()
66 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock()
471 list_type, lock->ml.type, lock->ml.convert_type, in dump_lock()
472 lock->ml.node, in dump_lock()
473 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dump_lock()
474 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dump_lock()
Ddlmcommon.h228 struct dlm_mig_lockres_priv ml; member
337 struct dlm_migratable_lock ml; member
562 struct dlm_migratable_lock ml[]; // 16 bytes each, begins at byte 112 member
Ddlmmaster.c2508 if (lock->ml.node != dlm->node_num) { in dlm_is_lockres_migratable()
2512 cookie = be64_to_cpu(lock->ml.cookie); in dlm_is_lockres_migratable()
2935 if (lock->ml.node != dlm->node_num) { in dlm_remove_nonlocal_locks()
2937 lock->ml.node); in dlm_remove_nonlocal_locks()
2944 lock->ml.node); in dlm_remove_nonlocal_locks()
2992 if (lock->ml.node == dlm->node_num) in dlm_pick_migration_target()
2994 if (test_bit(lock->ml.node, dlm->exit_domain_map)) in dlm_pick_migration_target()
2996 nodenum = lock->ml.node; in dlm_pick_migration_target()
/Linux-v5.15/drivers/input/
Dff-memless.c112 static void ml_schedule_timer(struct ml_device *ml) in ml_schedule_timer() argument
125 state = &ml->states[i]; in ml_schedule_timer()
142 del_timer(&ml->timer); in ml_schedule_timer()
145 mod_timer(&ml->timer, earliest); in ml_schedule_timer()
326 static int ml_get_combo_effect(struct ml_device *ml, in ml_get_combo_effect() argument
341 state = &ml->states[i]; in ml_get_combo_effect()
355 effect_type = get_compatible_type(ml->dev->ff, effect->type); in ml_get_combo_effect()
383 ml_combine_effects(combo_effect, state, ml->gain); in ml_get_combo_effect()
390 static void ml_play_effects(struct ml_device *ml) in ml_play_effects() argument
397 while (ml_get_combo_effect(ml, handled_bm, &effect)) in ml_play_effects()
[all …]
/Linux-v5.15/lib/lz4/
Dlz4hc_compress.c116 size_t ml = 0; in LZ4HC_InsertAndFindBestMatch() local
128 if (*(match + ml) == *(ip + ml) in LZ4HC_InsertAndFindBestMatch()
133 if (mlt > ml) { in LZ4HC_InsertAndFindBestMatch()
134 ml = mlt; in LZ4HC_InsertAndFindBestMatch()
155 if (mlt > ml) { in LZ4HC_InsertAndFindBestMatch()
157 ml = mlt; in LZ4HC_InsertAndFindBestMatch()
165 return (int)ml; in LZ4HC_InsertAndFindBestMatch()
358 int ml, ml2, ml3, ml0; in LZ4HC_compress_generic() local
379 ml = LZ4HC_InsertAndFindBestMatch(ctx, ip, in LZ4HC_compress_generic()
381 if (!ml) { in LZ4HC_compress_generic()
[all …]
/Linux-v5.15/net/packet/
Ddiag.c41 struct packet_mclist *ml; in pdiag_put_mclist() local
48 for (ml = po->mclist; ml; ml = ml->next) { in pdiag_put_mclist()
58 dml->pdmc_index = ml->ifindex; in pdiag_put_mclist()
59 dml->pdmc_type = ml->type; in pdiag_put_mclist()
60 dml->pdmc_alen = ml->alen; in pdiag_put_mclist()
61 dml->pdmc_count = ml->count; in pdiag_put_mclist()
62 BUILD_BUG_ON(sizeof(dml->pdmc_addr) != sizeof(ml->addr)); in pdiag_put_mclist()
63 memcpy(dml->pdmc_addr, ml->addr, sizeof(ml->addr)); in pdiag_put_mclist()
Daf_packet.c3580 struct packet_mclist *ml; in packet_dev_mclist_delete() local
3582 while ((ml = *mlp) != NULL) { in packet_dev_mclist_delete()
3583 if (ml->ifindex == dev->ifindex) { in packet_dev_mclist_delete()
3584 packet_dev_mc(dev, ml, -1); in packet_dev_mclist_delete()
3585 *mlp = ml->next; in packet_dev_mclist_delete()
3586 kfree(ml); in packet_dev_mclist_delete()
3588 mlp = &ml->next; in packet_dev_mclist_delete()
3595 struct packet_mclist *ml, *i; in packet_mc_add() local
3616 for (ml = po->mclist; ml; ml = ml->next) { in packet_mc_add()
3617 if (ml->ifindex == mreq->mr_ifindex && in packet_mc_add()
[all …]
/Linux-v5.15/arch/arm/vfp/
Dvfp.h44 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in add128() argument
51 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in add128()
57 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in sub128() argument
64 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in sub128()
72 u32 nh, nl, mh, ml; in mul64to128() local
76 ml = m; in mul64to128()
77 rl = (u64)nl * ml; in mul64to128()
80 rma = (u64)nh * ml; in mul64to128()
112 u64 mh, ml, remh, reml, termh, terml, z; in vfp_estimate_div128to64() local
126 ml = m << 32; in vfp_estimate_div128to64()
[all …]
/Linux-v5.15/arch/sh/kernel/cpu/sh2a/
Dfpu.c154 unsigned long long ml, int n) in rshift64() argument
158 return (mh << (64 - n)) | (ml >> n); in rshift64()
164 unsigned long long mh, ml, nh, nl; in denormal_muld() local
175 mult64(ix, iy, &mh, &ml); in denormal_muld()
177 nl = ml; in denormal_muld()
188 ix = (rshift64(mh, ml, w - 52) & 0x000fffffffffffffLL) in denormal_muld()
191 ix = rshift64(mh, ml, w - 51 - exp) & 0x000fffffffffffffLL; in denormal_muld()
/Linux-v5.15/drivers/s390/crypto/
Dap_card.c223 int comp_type, unsigned int functions, int ml) in ap_card_create() argument
237 ac->maxmsgsize = ml > 0 ? in ap_card_create()
238 ml * AP_TAPQ_ML_FIELD_CHUNK_SIZE : AP_DEFAULT_MAX_MSG_SIZE; in ap_card_create()
Dap_bus.c323 unsigned int ml : 4; /* apxl ml */ in ap_queue_info() member
354 *q_ml = tapq_info.tapq_gr2.ml; in ap_queue_info()
1522 int rc, dom, depth, type, ml; in ap_scan_domains() local
1546 if (!ap_queue_info(qid, &type, &func, &depth, &ml, &decfg)) { in ap_scan_domains()
1645 int rc, dom, depth, type, comp_type, ml; in ap_scan_adapter() local
1675 &depth, &ml, &decfg)) in ap_scan_adapter()
1744 ac = ap_card_create(ap, depth, type, comp_type, func, ml); in ap_scan_adapter()
Dap_bus.h290 int comp_type, unsigned int functions, int ml);
/Linux-v5.15/crypto/
Dvmac.c228 #define poly_step(ah, al, kh, kl, mh, ml) \ argument
247 ADD128(ah, al, mh, ml); \
276 const u64 *mh, const u64 *ml) in poly_step_func() argument
304 p += (u64)(((u32 *)ml)[INDEX_LOW]); in poly_step_func()
313 p += (u64)(((u32 *)ml)[INDEX_HIGH]); in poly_step_func()
334 #define poly_step(ah, al, kh, kl, mh, ml) \ argument
335 poly_step_func(&(ah), &(al), &(kh), &(kl), &(mh), &(ml))
/Linux-v5.15/arch/sparc/kernel/
Dchmc.c403 const void *ml; in jbusmc_probe() local
452 ml = of_get_property(op->dev.of_node, "memory-layout", &p->layout_len); in jbusmc_probe()
453 if (!ml) { in jbusmc_probe()
462 memcpy(&p->layout, ml, p->layout_len); in jbusmc_probe()
/Linux-v5.15/init/
Dinitramfs.c347 int ml = maybe_link(); in do_name() local
348 if (ml >= 0) { in do_name()
350 if (ml != 1) in do_name()
/Linux-v5.15/lib/
Dinflate.c602 unsigned ml, md; /* masks for bl and bd bits */ in inflate_codes() local
613 ml = mask_bits[bl]; /* precompute masks for speed */ in inflate_codes()
618 if ((e = (t = tl + ((unsigned)b & ml))->e) > 16) in inflate_codes()
/Linux-v5.15/drivers/crypto/
Dsa2ul.c1044 size_t ml, pl; in sa_aes_dma_in_callback() local
1052 &ml); in sa_aes_dma_in_callback()
1089 size_t pl, ml, split_size; in sa_run() local
1273 mdptr = (u32 *)dmaengine_desc_get_metadata_ptr(tx_out, &pl, &ml); in sa_run()
1279 ml = sa_ctx->cmdl_size + (SA_PSDATA_CTX_WORDS * sizeof(u32)); in sa_run()
1359 size_t ml, pl; in sa_sha_dma_in_callback() local
1368 mdptr = (__be32 *)dmaengine_desc_get_metadata_ptr(rxd->tx_in, &pl, &ml); in sa_sha_dma_in_callback()
1698 size_t pl, ml; in sa_aead_dma_in_callback() local
1709 mdptr = (u32 *)dmaengine_desc_get_metadata_ptr(rxd->tx_in, &pl, &ml); in sa_aead_dma_in_callback()
/Linux-v5.15/Documentation/ide/
DChangeLog.ide-cd.1994-200425 * 2.04b May 30, 1995 -- Fix to match changes in ide.c version 3.16 -ml
86 * problem with "hde=cdrom" with no drive present. -ml
145 * 4.06 Dec 17, 1997 -- fixed endless "tray open" messages -ml
/Linux-v5.15/arch/mips/include/asm/txx9/
Dtx3927.h87 endian_def_b4(ml, mg, ip, il);

12