Home
last modified time | relevance | path

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

12

/Linux-v5.10/fs/ocfs2/dlm/
Ddlmast.c54 if (lock->ml.highest_blocked == LKM_IVMODE) in dlm_should_cancel_bast()
56 BUG_ON(lock->ml.highest_blocked == LKM_NLMODE); in dlm_should_cancel_bast()
63 if (lock->ml.type == LKM_EXMODE) in dlm_should_cancel_bast()
66 else if (lock->ml.type == LKM_NLMODE) in dlm_should_cancel_bast()
69 else if (lock->ml.highest_blocked != LKM_EXMODE) in dlm_should_cancel_bast()
91 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
92 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
93 lock->ast_pending, lock->ml.type); in __dlm_queue_ast()
99 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
100 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
[all …]
Ddlmthread.c367 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
375 if (!dlm_lock_compatible(lock->ml.type, in dlm_shuffle_lists()
376 target->ml.convert_type)) { in dlm_shuffle_lists()
379 if (lock->ml.highest_blocked == LKM_IVMODE) { in dlm_shuffle_lists()
384 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
385 lock->ml.highest_blocked = in dlm_shuffle_lists()
386 target->ml.convert_type; in dlm_shuffle_lists()
393 if (!dlm_lock_compatible(lock->ml.type, in dlm_shuffle_lists()
394 target->ml.convert_type)) { in dlm_shuffle_lists()
396 if (lock->ml.highest_blocked == LKM_IVMODE) { in dlm_shuffle_lists()
[all …]
Ddlmconvert.c116 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master()
121 if (lock->ml.convert_type != LKM_IVMODE) { in __dlmconvert_master()
137 switch (lock->ml.type) { in __dlmconvert_master()
141 dlm_lock_mode_name(lock->ml.type), in __dlmconvert_master()
151 dlm_lock_mode_name(lock->ml.type), in __dlmconvert_master()
157 dlm_lock_mode_name(lock->ml.type), in __dlmconvert_master()
167 if (type <= lock->ml.type) in __dlmconvert_master()
175 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
180 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
183 if (!dlm_lock_compatible(tmplock->ml.convert_type, type)) in __dlmconvert_master()
[all …]
Ddlmrecovery.c1058 if (lock->ml.node == dead_node) { in dlm_move_reco_locks_to_list()
1133 struct_size(mres, ml, mres->num_locks), in dlm_send_mig_lockres_msg()
1192 if (lock->ml.type != LKM_EXMODE && lock->ml.type != LKM_PRMODE) in dlm_prepare_lvb_for_migration()
1206 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_prepare_lvb_for_migration()
1207 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_prepare_lvb_for_migration()
1209 lock->ml.node); in dlm_prepare_lvb_for_migration()
1219 struct dlm_migratable_lock *ml; in dlm_add_lock_to_array() local
1222 ml = &(mres->ml[lock_num]); in dlm_add_lock_to_array()
1223 ml->cookie = lock->ml.cookie; in dlm_add_lock_to_array()
1224 ml->type = lock->ml.type; in dlm_add_lock_to_array()
[all …]
Ddlmlock.c81 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
86 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
88 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
89 lock->ml.type)) in dlm_can_grant_new_lock()
110 mlog(0, "type=%d\n", lock->ml.type); in dlmlock_master()
117 lock->ml.node != dlm->node_num) { in dlmlock_master()
146 lock->ml.node); in dlmlock_master()
157 lock->ml.node); in dlmlock_master()
207 lock->ml.type, res->lockname.len, in dlmlock_remote()
295 create.requested_type = lock->ml.type; in dlm_send_remote_lock_request()
[all …]
Ddlmunlock.c220 lock->ml.convert_type = LKM_IVMODE; in dlmunlock_common()
229 BUG_ON(lock->ml.convert_type != LKM_IVMODE); in dlmunlock_common()
231 BUG_ON(lock->ml.convert_type == LKM_IVMODE); in dlmunlock_common()
252 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlmunlock_common()
253 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlmunlock_common()
279 lock->ml.convert_type = LKM_IVMODE; in dlm_commit_pending_cancel()
338 unlock.cookie = lock->ml.cookie; in dlm_send_remote_unlock_request()
467 if (lock->ml.cookie == unlock->cookie && in dlm_unlock_lock_handler()
468 lock->ml.node == unlock->node_idx) { in dlm_unlock_lock_handler()
488 lock->ml.type != LKM_EXMODE) in dlm_unlock_lock_handler()
[all …]
Ddlmdebug.c66 lock->ml.type, lock->ml.convert_type, lock->ml.node, in __dlm_print_lock()
67 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock()
68 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock()
473 list_type, lock->ml.type, lock->ml.convert_type, in dump_lock()
474 lock->ml.node, in dump_lock()
475 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dump_lock()
476 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dump_lock()
Ddlmcommon.h233 struct dlm_mig_lockres_priv ml; member
342 struct dlm_migratable_lock ml; member
567 struct dlm_migratable_lock ml[]; // 16 bytes each, begins at byte 112 member
Ddlmmaster.c2510 if (lock->ml.node != dlm->node_num) { in dlm_is_lockres_migratable()
2514 cookie = be64_to_cpu(lock->ml.cookie); in dlm_is_lockres_migratable()
2937 if (lock->ml.node != dlm->node_num) { in dlm_remove_nonlocal_locks()
2939 lock->ml.node); in dlm_remove_nonlocal_locks()
2946 lock->ml.node); in dlm_remove_nonlocal_locks()
2994 if (lock->ml.node == dlm->node_num) in dlm_pick_migration_target()
2996 if (test_bit(lock->ml.node, dlm->exit_domain_map)) in dlm_pick_migration_target()
2998 nodenum = lock->ml.node; in dlm_pick_migration_target()
/Linux-v5.10/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.10/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.10/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.c3553 struct packet_mclist *ml; in packet_dev_mclist_delete() local
3555 while ((ml = *mlp) != NULL) { in packet_dev_mclist_delete()
3556 if (ml->ifindex == dev->ifindex) { in packet_dev_mclist_delete()
3557 packet_dev_mc(dev, ml, -1); in packet_dev_mclist_delete()
3558 *mlp = ml->next; in packet_dev_mclist_delete()
3559 kfree(ml); in packet_dev_mclist_delete()
3561 mlp = &ml->next; in packet_dev_mclist_delete()
3568 struct packet_mclist *ml, *i; in packet_mc_add() local
3589 for (ml = po->mclist; ml; ml = ml->next) { in packet_mc_add()
3590 if (ml->ifindex == mreq->mr_ifindex && in packet_mc_add()
[all …]
/Linux-v5.10/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.10/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.10/crypto/
Dvmac.c227 #define poly_step(ah, al, kh, kl, mh, ml) \ argument
246 ADD128(ah, al, mh, ml); \
275 const u64 *mh, const u64 *ml) in poly_step_func() argument
303 p += (u64)(((u32 *)ml)[INDEX_LOW]); in poly_step_func()
312 p += (u64)(((u32 *)ml)[INDEX_HIGH]); in poly_step_func()
333 #define poly_step(ah, al, kh, kl, mh, ml) \ argument
334 poly_step_func(&(ah), &(al), &(kh), &(kl), &(mh), &(ml))
/Linux-v5.10/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.10/init/
Dinitramfs.c334 int ml = maybe_link(); in do_name() local
335 if (ml >= 0) { in do_name()
337 if (ml != 1) in do_name()
/Linux-v5.10/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.10/drivers/crypto/
Dsa2ul.c1019 size_t ml, pl; in sa_aes_dma_in_callback() local
1027 &ml); in sa_aes_dma_in_callback()
1064 size_t pl, ml, split_size; in sa_run() local
1244 mdptr = (u32 *)dmaengine_desc_get_metadata_ptr(tx_out, &pl, &ml); in sa_run()
1250 ml = sa_ctx->cmdl_size + (SA_PSDATA_CTX_WORDS * sizeof(u32)); in sa_run()
1333 size_t ml, pl; in sa_sha_dma_in_callback() local
1342 mdptr = (__be32 *)dmaengine_desc_get_metadata_ptr(rxd->tx_in, &pl, &ml); in sa_sha_dma_in_callback()
1671 size_t pl, ml; in sa_aead_dma_in_callback() local
1683 mdptr = (u32 *)dmaengine_desc_get_metadata_ptr(rxd->tx_in, &pl, &ml); in sa_aead_dma_in_callback()
/Linux-v5.10/drivers/iio/
Dindustrialio-buffer.c1366 int ml = indio_dev->masklength; in iio_buffer_alloc_sysfs_and_mask() local
1369 ml = max(ml, channels[i].scan_index + 1); in iio_buffer_alloc_sysfs_and_mask()
1370 indio_dev->masklength = ml; in iio_buffer_alloc_sysfs_and_mask()
/Linux-v5.10/arch/mips/include/asm/txx9/
Dtx3927.h87 endian_def_b4(ml, mg, ip, il);
/Linux-v5.10/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.10/sound/drivers/vx/
Dvx_mixer.c46 u8 ml; member
56 u8 ml; member
64 #define SET_CDC_DATA_REG(di,r) ((di).b.ml = (u8) (r))
/Linux-v5.10/arch/sh/
DMakefile74 cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml

12