Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
464 if (iter->ml.cookie == unlock->cookie && in dlm_unlock_lock_handler()
465 iter->ml.node == unlock->node_idx) { in dlm_unlock_lock_handler()
485 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
/linux-6.6.21/drivers/input/
Dff-memless.c109 static void ml_schedule_timer(struct ml_device *ml) in ml_schedule_timer() argument
122 state = &ml->states[i]; in ml_schedule_timer()
139 del_timer(&ml->timer); in ml_schedule_timer()
142 mod_timer(&ml->timer, earliest); in ml_schedule_timer()
323 static int ml_get_combo_effect(struct ml_device *ml, in ml_get_combo_effect() argument
338 state = &ml->states[i]; in ml_get_combo_effect()
352 effect_type = get_compatible_type(ml->dev->ff, effect->type); in ml_get_combo_effect()
380 ml_combine_effects(combo_effect, state, ml->gain); in ml_get_combo_effect()
387 static void ml_play_effects(struct ml_device *ml) in ml_play_effects() argument
394 while (ml_get_combo_effect(ml, handled_bm, &effect)) in ml_play_effects()
[all …]
/linux-6.6.21/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-6.6.21/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.c3658 struct packet_mclist *ml; in packet_dev_mclist_delete() local
3660 while ((ml = *mlp) != NULL) { in packet_dev_mclist_delete()
3661 if (ml->ifindex == dev->ifindex) { in packet_dev_mclist_delete()
3662 packet_dev_mc(dev, ml, -1); in packet_dev_mclist_delete()
3663 *mlp = ml->next; in packet_dev_mclist_delete()
3664 kfree(ml); in packet_dev_mclist_delete()
3666 mlp = &ml->next; in packet_dev_mclist_delete()
3673 struct packet_mclist *ml, *i; in packet_mc_add() local
3694 for (ml = po->mclist; ml; ml = ml->next) { in packet_mc_add()
3695 if (ml->ifindex == mreq->mr_ifindex && in packet_mc_add()
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/lib/zstd/compress/
Dzstd_lazy.c516 size_t ZSTD_dedicatedDictSearch_lazy_search(size_t* offsetPtr, size_t ml, U32 nbAttempts, in ZSTD_dedicatedDictSearch_lazy_search() argument
549 return ml; in ZSTD_dedicatedDictSearch_lazy_search()
562 if (currentMl > ml) { in ZSTD_dedicatedDictSearch_lazy_search()
563 ml = currentMl; in ZSTD_dedicatedDictSearch_lazy_search()
567 return ml; in ZSTD_dedicatedDictSearch_lazy_search()
599 if (currentMl > ml) { in ZSTD_dedicatedDictSearch_lazy_search()
600 ml = currentMl; in ZSTD_dedicatedDictSearch_lazy_search()
606 return ml; in ZSTD_dedicatedDictSearch_lazy_search()
671 size_t ml=4-1; in ZSTD_HcFindBestMatch() local
694 if (match[ml] == ip[ml]) /* potentially better */ in ZSTD_HcFindBestMatch()
[all …]
Dzstd_opt.c167 { unsigned ml; in ZSTD_rescaleFreqs() local
171 for (ml=0; ml<=MaxML; ml++) { in ZSTD_rescaleFreqs()
173 U32 const bitCost = FSE_getMaxNbBits(mlstate.symbolTT, ml); in ZSTD_rescaleFreqs()
175 … optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
176 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml]; in ZSTD_rescaleFreqs()
211 { unsigned ml; in ZSTD_rescaleFreqs() local
212 for (ml=0; ml<=MaxML; ml++) in ZSTD_rescaleFreqs()
213 optPtr->matchLengthFreq[ml] = 1; in ZSTD_rescaleFreqs()
/linux-6.6.21/drivers/s390/crypto/
Dap_card.c233 int comp_type, unsigned int functions, int ml) in ap_card_create() argument
247 ac->maxmsgsize = ml > 0 ? in ap_card_create()
248 ml * AP_TAPQ_ML_FIELD_CHUNK_SIZE : AP_DEFAULT_MAX_MSG_SIZE; in ap_card_create()
Dap_bus.c396 *q_ml = tapq_info.ml; in ap_queue_info()
1805 int rc, dom, depth, type, ml; in ap_scan_domains() local
1834 &ml, &decfg, &chkstop); in ap_scan_domains()
1961 int rc, dom, depth, type, comp_type, ml; in ap_scan_adapter() local
1996 &ml, &decfg, &chkstop) > 0) in ap_scan_adapter()
2076 ac = ap_card_create(ap, depth, type, comp_type, func, ml); in ap_scan_adapter()
Dap_bus.h293 int comp_type, unsigned int functions, int ml);
/linux-6.6.21/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-6.6.21/arch/sparc/kernel/
Dchmc.c404 const void *ml; in jbusmc_probe() local
453 ml = of_get_property(op->dev.of_node, "memory-layout", &p->layout_len); in jbusmc_probe()
454 if (!ml) { in jbusmc_probe()
463 memcpy(&p->layout, ml, p->layout_len); in jbusmc_probe()
/linux-6.6.21/init/
Dinitramfs.c367 int ml = maybe_link(); in do_name() local
368 if (ml >= 0) { in do_name()
370 if (ml != 1) in do_name()
/linux-6.6.21/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-6.6.21/drivers/crypto/
Dsa2ul.c1045 size_t ml, pl; in sa_aes_dma_in_callback() local
1053 &ml); in sa_aes_dma_in_callback()
1090 size_t pl, ml, split_size; in sa_run() local
1274 mdptr = (u32 *)dmaengine_desc_get_metadata_ptr(tx_out, &pl, &ml); in sa_run()
1280 ml = sa_ctx->cmdl_size + (SA_PSDATA_CTX_WORDS * sizeof(u32)); in sa_run()
1360 size_t ml, pl; in sa_sha_dma_in_callback() local
1369 mdptr = (__be32 *)dmaengine_desc_get_metadata_ptr(rxd->tx_in, &pl, &ml); in sa_sha_dma_in_callback()
1699 size_t pl, ml; in sa_aead_dma_in_callback() local
1710 mdptr = (u32 *)dmaengine_desc_get_metadata_ptr(rxd->tx_in, &pl, &ml); in sa_aead_dma_in_callback()
/linux-6.6.21/arch/s390/include/asm/
Dap.h111 unsigned int ml : 4; /* apxl ml */ member

12