Home
last modified time | relevance | path

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

12

/linux/drivers/input/
H A Dff-memless.c110 static void ml_schedule_timer(struct ml_device *ml) in ml_schedule_timer() argument
123 state = &ml->states[i]; in ml_schedule_timer()
140 timer_delete(&ml->timer); in ml_schedule_timer()
143 mod_timer(&ml->timer, earliest); in ml_schedule_timer()
324 static int ml_get_combo_effect(struct ml_device *ml, in ml_get_combo_effect() argument
339 state = &ml->states[i]; in ml_get_combo_effect()
353 effect_type = get_compatible_type(ml->dev->ff, effect->type); in ml_get_combo_effect()
381 ml_combine_effects(combo_effect, state, ml->gain); in ml_get_combo_effect()
388 static void ml_play_effects(struct ml_device *ml) in ml_play_effects() argument
395 while (ml_get_combo_effect(ml, handled_bm, &effect)) in ml_play_effects()
[all …]
/linux/fs/ocfs2/dlm/
H A 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 …]
H A 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 …]
H A 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 …]
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()
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 …]
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 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/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/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/lib/zstd/compress/
H A Dzstd_lazy.c530 size_t ZSTD_dedicatedDictSearch_lazy_search(size_t* offsetPtr, size_t ml, U32 nbAttempts, in ZSTD_dedicatedDictSearch_lazy_search() argument
563 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()
613 if (currentMl > ml) { in ZSTD_dedicatedDictSearch_lazy_search()
614 ml = currentMl; in ZSTD_dedicatedDictSearch_lazy_search()
620 return ml; in ZSTD_dedicatedDictSearch_lazy_search()
691 size_t ml=4-1; in ZSTD_HcFindBestMatch() local
715 if (MEM_read32(match + ml - 3) == MEM_read32(ip + ml - 3)) /* potentially better */ in ZSTD_HcFindBestMatch()
[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/net/packet/
H A Daf_packet.c3738 struct packet_mclist *ml; in packet_dev_mclist_delete()
3740 while ((ml = *mlp) != NULL) { in packet_mc_add()
3741 if (ml->ifindex == dev->ifindex) { in packet_mc_add()
3742 list_add(&ml->remove_list, list); in packet_mc_add()
3743 *mlp = ml->next; in packet_mc_add() local
3745 mlp = &ml->next; in packet_mc_add()
3752 struct packet_mclist *ml, *i; in packet_mc_add()
3773 for (ml = po->mclist; ml; ml in packet_mc_add()
3729 struct packet_mclist *ml; packet_dev_mclist_delete() local
3798 struct packet_mclist *ml, **mlp; packet_mc_drop() local
3825 struct packet_mclist *ml; packet_flush_mclist() local
4247 struct packet_mclist *ml, *tmp; packet_notifier() local
[all...]
/linux/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/net/wireless/
H A Dmlme.c445 const struct element *ml; in cfg80211_mlme_check_mlo() local
457 ml = cfg80211_find_ext_elem(WLAN_EID_EXT_EHT_MULTI_LINK, in cfg80211_mlme_check_mlo()
459 if (!ml) { in cfg80211_mlme_check_mlo()
465 if (!ieee80211_mle_type_ok(ml->data + 1, in cfg80211_mlme_check_mlo()
467 ml->datalen - 1)) { in cfg80211_mlme_check_mlo()
473 mles[i] = (const void *)(ml->data + 1); in cfg80211_mlme_check_mlo()
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c1163 if (!restart && arg->ml.enabled) { in ath12k_wmi_vdev_start()
1165 TLV_HDR_SIZE + (arg->ml.num_partner_links * in ath12k_wmi_vdev_start()
1233 ml_params->flags = le32_encode_bits(arg->ml.enabled, in ath12k_wmi_vdev_start()
1235 le32_encode_bits(arg->ml.assoc_link, in ath12k_wmi_vdev_start()
1237 le32_encode_bits(arg->ml.mcast_link, in ath12k_wmi_vdev_start()
1239 le32_encode_bits(arg->ml.link_add, in ath12k_wmi_vdev_start()
1241 le32_encode_bits(arg->ml.assoc_link, in ath12k_wmi_vdev_start()
1245 ml_params->ieee_link_id = cpu_to_le32(arg->ml.ieee_link_id); in ath12k_wmi_vdev_start()
1248 arg->vdev_id, arg->ml.ieee_link_id, in ath12k_wmi_vdev_start()
1255 arg->ml.num_partner_links * in ath12k_wmi_vdev_start()
[all …]
H A Dmac.c3534 struct peer_assoc_mlo_params *ml = &arg->ml; in ath12k_peer_assoc_h_mlo() local
3550 ml->enabled = true; in ath12k_peer_assoc_h_mlo()
3551 ml->assoc_link = arsta->is_assoc_link; in ath12k_peer_assoc_h_mlo()
3554 ml->primary_umac = arsta->is_assoc_link; in ath12k_peer_assoc_h_mlo()
3560 ml->peer_id_valid = ah->host_alloc_ml_id; in ath12k_peer_assoc_h_mlo()
3561 ml->logical_link_idx_valid = true; in ath12k_peer_assoc_h_mlo()
3563 ether_addr_copy(ml->mld_addr, sta->addr); in ath12k_peer_assoc_h_mlo()
3564 ml->logical_link_idx = arsta->link_idx; in ath12k_peer_assoc_h_mlo()
3572 ml->ml_peer_id = ah->host_alloc_ml_id ? in ath12k_peer_assoc_h_mlo()
3574 ml->ieee_link_id = arsta->link_id; in ath12k_peer_assoc_h_mlo()
[all …]
/linux/net/mac80211/
H A Dparse.c895 const struct ieee80211_multi_link_elem *ml = elems->ml_basic; in ieee80211_mle_get_sta_prof() local
899 for_each_mle_subelement(sub, (u8 *)ml, ml_len) { in ieee80211_mle_get_sta_prof()
923 (u8 *)ml, ml_len, in ieee80211_mle_get_sta_prof()
H A Dutil.c1151 struct ieee80211_multi_link_elem ml; in ieee80211_send_auth() member
1157 .ml.control = cpu_to_le16(IEEE80211_ML_CONTROL_TYPE_BASIC), in ieee80211_send_auth()
/linux/Documentation/bpf/
H A Dmap_queue_stack.rst146 https://lwn.net/ml/netdev/153986858555.9127.14517764371945179514.stgit@kernel/
H A Dmap_sk_storage.rst159 https://lwn.net/ml/netdev/20190426171103.61892-1-kafai@fb.com/
H A Dmap_bloom_filter.rst174 https://lwn.net/ml/bpf/20210831225005.2762202-1-joannekoong@fb.com/
/linux/tools/perf/pmu-events/
H A Dintel_metrics.py760 ml = d_ratio(l1d, l1dc)
763 ml, "load_miss_pending/cycle")
/linux/tools/testing/selftests/nolibc/
H A DMakefile.nolibc208 CFLAGS_sh4 = -ml -m4
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pci-defs.h421 uint32_t ml:8; member
429 uint32_t ml:8;
/linux/net/netfilter/ipvs/
H A Dip_vs_core.c185 int ml = roundup_pow_of_two(nr_cpu_ids); in ip_vs_rht_alloc() local
188 scounts = min(scounts, ml); in ip_vs_rht_alloc()

12