Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/input/
H A Dff-memless.c395 ml->play_effect(ml->dev, ml->private, &effect); in ml_play_effects()
402 struct ml_device *ml = from_timer(ml, t, timer); in ml_effect_timer() local
408 ml_play_effects(ml); in ml_effect_timer()
419 ml->gain = gain; in ml_ff_set_gain()
424 ml_play_effects(ml); in ml_ff_set_gain()
494 kfree(ml->private); in ml_ff_destroy()
510 struct ml_device *ml __free(kfree) = kzalloc(sizeof(*ml), GFP_KERNEL); in input_ff_create_memless()
511 if (!ml) in input_ff_create_memless()
514 ml->dev = dev; in input_ff_create_memless()
515 ml->private = data; in input_ff_create_memless()
[all …]
/linux-6.15/fs/ocfs2/dlm/
H A Ddlmast.c61 if (lock->ml.type == LKM_EXMODE) in dlm_should_cancel_bast()
64 else if (lock->ml.type == LKM_NLMODE) in dlm_should_cancel_bast()
112 lock->ml.highest_blocked = LKM_IVMODE; in __dlm_queue_ast()
348 if (lock->ml.cookie == cookie) in dlm_proxy_ast_handler()
360 if (lock->ml.cookie == cookie) { in dlm_proxy_ast_handler()
387 lock->ml.type, lock->ml.convert_type); in dlm_proxy_ast_handler()
390 lock->ml.type = lock->ml.convert_type; in dlm_proxy_ast_handler()
441 past.cookie = lock->ml.cookie; in dlm_send_proxy_ast_msg()
453 lock->ml.node, &status); in dlm_send_proxy_ast_msg()
457 lock->ml.node); in dlm_send_proxy_ast_msg()
[all …]
H A Ddlmthread.c382 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
398 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
415 target->ml.convert_type, target->ml.node); in dlm_shuffle_lists()
417 target->ml.type = target->ml.convert_type; in dlm_shuffle_lists()
440 if (!dlm_lock_compatible(lock->ml.type, target->ml.type)) { in dlm_shuffle_lists()
446 if (lock->ml.highest_blocked < target->ml.type) in dlm_shuffle_lists()
447 lock->ml.highest_blocked = target->ml.type; in dlm_shuffle_lists()
460 if (lock->ml.highest_blocked < target->ml.type) in dlm_shuffle_lists()
461 lock->ml.highest_blocked = target->ml.type; in dlm_shuffle_lists()
476 target->ml.type, target->ml.node); in dlm_shuffle_lists()
[all …]
H A Ddlmconvert.c114 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master()
135 switch (lock->ml.type) { in __dlmconvert_master()
165 if (type <= lock->ml.type) in __dlmconvert_master()
194 lock->ml.type = type; in __dlmconvert_master()
212 lock->ml.type, type); in __dlmconvert_master()
219 lock->ml.convert_type = type; in __dlmconvert_master()
275 lock->ml.convert_type); in dlmconvert_remote()
280 if (lock->ml.type == type && lock->ml.convert_type == LKM_IVMODE) { in dlmconvert_remote()
287 lock->ml.type, lock->ml.convert_type); in dlmconvert_remote()
297 lock->ml.convert_type = type; in dlmconvert_remote()
[all …]
H A Ddlmrecovery.c1212 ml = &(mres->ml[lock_num]); in dlm_add_lock_to_array()
1213 ml->cookie = lock->ml.cookie; in dlm_add_lock_to_array()
1214 ml->type = lock->ml.type; in dlm_add_lock_to_array()
1222 ml->node = lock->ml.node; in dlm_add_lock_to_array()
1803 ml = &(mres->ml[i]); in dlm_process_recovery_data()
1837 if (lock->ml.cookie == ml->cookie) in dlm_process_recovery_data()
1855 ml->node, ml->list, ml->flags, ml->type, in dlm_process_recovery_data()
1861 if (lock->ml.node != ml->node) { in dlm_process_recovery_data()
1875 ml->node, ml->list, ml->flags, ml->type, in dlm_process_recovery_data()
1991 if (lock->ml.cookie == ml->cookie) { in dlm_process_recovery_data()
[all …]
H A 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()
87 lock->ml.type)) in dlm_can_grant_new_lock()
144 lock->ml.node); in dlmlock_master()
155 lock->ml.node); in dlmlock_master()
294 create.cookie = lock->ml.cookie; in dlm_send_remote_lock_request()
383 newlock->ml.type = type; in dlm_init_lock()
386 newlock->ml.node = node; in dlm_init_lock()
387 newlock->ml.pad1 = 0; in dlm_init_lock()
388 newlock->ml.list = 0; in dlm_init_lock()
[all …]
H A 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 …]
H A Ddlmdebug.c65 lock->ml.type, lock->ml.convert_type, lock->ml.node, in __dlm_print_lock()
66 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock()
67 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock()
419 list_type, lock->ml.type, lock->ml.convert_type, in dump_lock()
420 lock->ml.node, in dump_lock()
421 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dump_lock()
422 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dump_lock()
H A 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.15/lib/lz4/
H A Dlz4hc_compress.c115 size_t ml = 0; in LZ4HC_InsertAndFindBestMatch() local
127 if (*(match + ml) == *(ip + ml) in LZ4HC_InsertAndFindBestMatch()
133 ml = mlt; in LZ4HC_InsertAndFindBestMatch()
156 ml = mlt; in LZ4HC_InsertAndFindBestMatch()
380 if (!ml) { in LZ4HC_compress_generic()
388 ml0 = ml; in LZ4HC_compress_generic()
397 ml2 = ml; in LZ4HC_compress_generic()
412 ml = ml0; in LZ4HC_compress_generic()
419 ml = ml2; in LZ4HC_compress_generic()
502 ml = ml3; in LZ4HC_compress_generic()
[all …]
/linux-6.15/net/packet/
H A 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()
H A Daf_packet.c3723 *mlp = ml->next; in packet_dev_mclist_delete()
3724 kfree(ml); in packet_dev_mclist_delete()
3726 mlp = &ml->next; in packet_dev_mclist_delete()
3754 for (ml = po->mclist; ml; ml = ml->next) { in packet_mc_add()
3758 memcmp(ml->addr, mreq->mr_address, ml->alen) == 0) { in packet_mc_add()
3759 ml->count++; in packet_mc_add()
3791 for (mlp = &pkt_sk(sk)->mclist; (ml = *mlp) != NULL; mlp = &ml->next) { in packet_mc_drop()
3795 memcmp(ml->addr, mreq->mr_address, ml->alen) == 0) { in packet_mc_drop()
3798 *mlp = ml->next; in packet_mc_drop()
3802 kfree(ml); in packet_mc_drop()
[all …]
/linux-6.15/arch/arm/vfp/
H A 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.15/arch/sh/kernel/cpu/sh2a/
H A 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.15/lib/zstd/compress/
H A Dzstd_lazy.c563 return ml; in ZSTD_dedicatedDictSearch_lazy_search()
576 if (currentMl > ml) { in ZSTD_dedicatedDictSearch_lazy_search()
577 ml = currentMl; in ZSTD_dedicatedDictSearch_lazy_search()
581 return ml; in ZSTD_dedicatedDictSearch_lazy_search()
620 return ml; in ZSTD_dedicatedDictSearch_lazy_search()
691 size_t ml=4-1; in ZSTD_HcFindBestMatch() local
726 ml = currentMl; in ZSTD_HcFindBestMatch()
737 ml = ZSTD_dedicatedDictSearch_lazy_search(offsetPtr, ml, nbAttempts, dms, in ZSTD_HcFindBestMatch()
773 return ml; in ZSTD_HcFindBestMatch()
1171 size_t ml=4-1; in ZSTD_RowFindBestMatch() local
[all …]
H A Dzstd_opt.c189 { unsigned ml; in ZSTD_rescaleFreqs() local
193 for (ml=0; ml<=MaxML; ml++) { in ZSTD_rescaleFreqs()
195 U32 const bitCost = FSE_getMaxNbBits(mlstate.symbolTT, ml); in ZSTD_rescaleFreqs()
197 … optPtr->matchLengthFreq[ml] = bitCost ? 1 << (scaleLog-bitCost) : 1 /*minimum to calculate cost*/; in ZSTD_rescaleFreqs()
198 optPtr->matchLengthSum += optPtr->matchLengthFreq[ml]; in ZSTD_rescaleFreqs()
234 { unsigned ml; in ZSTD_rescaleFreqs() local
235 for (ml=0; ml<=MaxML; ml++) in ZSTD_rescaleFreqs()
236 optPtr->matchLengthFreq[ml] = 1; in ZSTD_rescaleFreqs()
/linux-6.15/drivers/s390/crypto/
H A Dap_card.c245 ac->maxmsgsize = hwinfo.ml > 0 ? in ap_card_create()
246 hwinfo.ml * AP_TAPQ_ML_FIELD_CHUNK_SIZE : AP_DEFAULT_MAX_MSG_SIZE; in ap_card_create()
/linux-6.15/arch/sparc/kernel/
H A 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.15/init/
H A Dinitramfs.c378 int ml = maybe_link(); in do_name() local
379 if (ml >= 0) { in do_name()
381 if (ml != 1) in do_name()
/linux-6.15/net/wireless/
H A Dmlme.c383 const struct element *ml; in cfg80211_mlme_check_mlo() local
395 ml = cfg80211_find_ext_elem(WLAN_EID_EXT_EHT_MULTI_LINK, in cfg80211_mlme_check_mlo()
397 if (!ml) { in cfg80211_mlme_check_mlo()
403 if (!ieee80211_mle_type_ok(ml->data + 1, in cfg80211_mlme_check_mlo()
405 ml->datalen - 1)) { in cfg80211_mlme_check_mlo()
411 mles[i] = (const void *)(ml->data + 1); in cfg80211_mlme_check_mlo()
/linux-6.15/lib/
H A 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.15/drivers/crypto/
H A 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.15/net/mac80211/
H A Dparse.c828 const struct ieee80211_multi_link_elem *ml = elems->ml_basic; in ieee80211_mle_get_sta_prof() local
832 for_each_mle_subelement(sub, (u8 *)ml, ml_len) { in ieee80211_mle_get_sta_prof()
856 (u8 *)ml, ml_len, in ieee80211_mle_get_sta_prof()
/linux-6.15/drivers/net/wireless/ath/ath12k/
H A Dwmi.c1095 if (!restart && arg->ml.enabled) { in ath12k_wmi_vdev_start()
1171 le32_encode_bits(arg->ml.link_add, in ath12k_wmi_vdev_start()
1181 arg->ml.num_partner_links * in ath12k_wmi_vdev_start()
1196 arg->ml.partner_info[i].addr); in ath12k_wmi_vdev_start()
2186 if (arg->ml.enabled) in ath12k_wmi_send_peer_assoc_cmd()
2326 if (arg->ml.assoc_link) in ath12k_wmi_send_peer_assoc_cmd()
2329 if (arg->ml.primary_umac) in ath12k_wmi_send_peer_assoc_cmd()
2332 if (arg->ml.logical_link_idx_valid) in ath12k_wmi_send_peer_assoc_cmd()
2336 if (arg->ml.peer_id_valid) in ath12k_wmi_send_peer_assoc_cmd()
2363 len = arg->ml.enabled ? arg->ml.num_partner_links * sizeof(*partner_info) : 0; in ath12k_wmi_send_peer_assoc_cmd()
[all …]
/linux-6.15/arch/s390/include/asm/
H A Dap.h113 unsigned int ml : 4; /* apxl ml */ member

12