Home
last modified time | relevance | path

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

12

/Linux-v4.19/fs/ocfs2/dlm/
Ddlmast.c69 if (lock->ml.highest_blocked == LKM_IVMODE) in dlm_should_cancel_bast()
71 BUG_ON(lock->ml.highest_blocked == LKM_NLMODE); in dlm_should_cancel_bast()
78 if (lock->ml.type == LKM_EXMODE) in dlm_should_cancel_bast()
81 else if (lock->ml.type == LKM_NLMODE) in dlm_should_cancel_bast()
84 else if (lock->ml.highest_blocked != LKM_EXMODE) in dlm_should_cancel_bast()
106 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
107 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
108 lock->ast_pending, lock->ml.type); in __dlm_queue_ast()
114 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
115 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
[all …]
Ddlmthread.c57 #define dlm_lock_is_remote(dlm, lock) ((lock)->ml.node != (dlm)->node_num)
384 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
392 if (!dlm_lock_compatible(lock->ml.type, in dlm_shuffle_lists()
393 target->ml.convert_type)) { in dlm_shuffle_lists()
396 if (lock->ml.highest_blocked == LKM_IVMODE) { in dlm_shuffle_lists()
401 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
402 lock->ml.highest_blocked = in dlm_shuffle_lists()
403 target->ml.convert_type; in dlm_shuffle_lists()
410 if (!dlm_lock_compatible(lock->ml.type, in dlm_shuffle_lists()
411 target->ml.convert_type)) { in dlm_shuffle_lists()
[all …]
Ddlmconvert.c131 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master()
136 if (lock->ml.convert_type != LKM_IVMODE) { in __dlmconvert_master()
152 switch (lock->ml.type) { in __dlmconvert_master()
156 dlm_lock_mode_name(lock->ml.type), in __dlmconvert_master()
166 dlm_lock_mode_name(lock->ml.type), in __dlmconvert_master()
172 dlm_lock_mode_name(lock->ml.type), in __dlmconvert_master()
182 if (type <= lock->ml.type) in __dlmconvert_master()
190 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
195 if (!dlm_lock_compatible(tmplock->ml.type, type)) in __dlmconvert_master()
198 if (!dlm_lock_compatible(tmplock->ml.convert_type, type)) in __dlmconvert_master()
[all …]
Ddlmrecovery.c1073 if (lock->ml.node == dead_node) { in dlm_move_reco_locks_to_list()
1209 if (lock->ml.type != LKM_EXMODE && lock->ml.type != LKM_PRMODE) in dlm_prepare_lvb_for_migration()
1223 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_prepare_lvb_for_migration()
1224 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_prepare_lvb_for_migration()
1226 lock->ml.node); in dlm_prepare_lvb_for_migration()
1236 struct dlm_migratable_lock *ml; in dlm_add_lock_to_array() local
1239 ml = &(mres->ml[lock_num]); in dlm_add_lock_to_array()
1240 ml->cookie = lock->ml.cookie; in dlm_add_lock_to_array()
1241 ml->type = lock->ml.type; in dlm_add_lock_to_array()
1242 ml->convert_type = lock->ml.convert_type; in dlm_add_lock_to_array()
[all …]
Ddlmlock.c96 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
101 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
103 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
104 lock->ml.type)) in dlm_can_grant_new_lock()
125 mlog(0, "type=%d\n", lock->ml.type); in dlmlock_master()
132 lock->ml.node != dlm->node_num) { in dlmlock_master()
161 lock->ml.node); in dlmlock_master()
172 lock->ml.node); in dlmlock_master()
222 lock->ml.type, res->lockname.len, in dlmlock_remote()
310 create.requested_type = lock->ml.type; in dlm_send_remote_lock_request()
[all …]
Ddlmunlock.c231 lock->ml.convert_type = LKM_IVMODE; in dlmunlock_common()
240 BUG_ON(lock->ml.convert_type != LKM_IVMODE); in dlmunlock_common()
242 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.c81 lock->ml.type, lock->ml.convert_type, lock->ml.node, in __dlm_print_lock()
82 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock()
83 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock()
488 list_type, lock->ml.type, lock->ml.convert_type, in dump_lock()
489 lock->ml.node, in dump_lock()
490 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dump_lock()
491 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dump_lock()
Ddlmcommon.h249 struct dlm_mig_lockres_priv ml; member
358 struct dlm_migratable_lock ml; member
583 struct dlm_migratable_lock ml[0]; // 16 bytes each, begins at byte 112 member
Ddlmmaster.c2525 if (lock->ml.node != dlm->node_num) { in dlm_is_lockres_migratable()
2529 cookie = be64_to_cpu(lock->ml.cookie); in dlm_is_lockres_migratable()
2955 if (lock->ml.node != dlm->node_num) { in dlm_remove_nonlocal_locks()
2957 lock->ml.node); in dlm_remove_nonlocal_locks()
2964 lock->ml.node); in dlm_remove_nonlocal_locks()
3012 if (lock->ml.node == dlm->node_num) in dlm_pick_migration_target()
3014 if (test_bit(lock->ml.node, dlm->exit_domain_map)) in dlm_pick_migration_target()
3016 nodenum = lock->ml.node; in dlm_pick_migration_target()
/Linux-v4.19/drivers/input/
Dff-memless.c124 static void ml_schedule_timer(struct ml_device *ml) in ml_schedule_timer() argument
137 state = &ml->states[i]; in ml_schedule_timer()
154 del_timer(&ml->timer); in ml_schedule_timer()
157 mod_timer(&ml->timer, earliest); in ml_schedule_timer()
338 static int ml_get_combo_effect(struct ml_device *ml, in ml_get_combo_effect() argument
353 state = &ml->states[i]; in ml_get_combo_effect()
367 effect_type = get_compatible_type(ml->dev->ff, effect->type); in ml_get_combo_effect()
395 ml_combine_effects(combo_effect, state, ml->gain); in ml_get_combo_effect()
402 static void ml_play_effects(struct ml_device *ml) in ml_play_effects() argument
409 while (ml_get_combo_effect(ml, handled_bm, &effect)) in ml_play_effects()
[all …]
/Linux-v4.19/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-v4.19/net/packet/
Ddiag.c40 struct packet_mclist *ml; in pdiag_put_mclist() local
47 for (ml = po->mclist; ml; ml = ml->next) { in pdiag_put_mclist()
57 dml->pdmc_index = ml->ifindex; in pdiag_put_mclist()
58 dml->pdmc_type = ml->type; in pdiag_put_mclist()
59 dml->pdmc_alen = ml->alen; in pdiag_put_mclist()
60 dml->pdmc_count = ml->count; in pdiag_put_mclist()
61 BUILD_BUG_ON(sizeof(dml->pdmc_addr) != sizeof(ml->addr)); in pdiag_put_mclist()
62 memcpy(dml->pdmc_addr, ml->addr, sizeof(ml->addr)); in pdiag_put_mclist()
Daf_packet.c3480 struct packet_mclist *ml; in packet_dev_mclist_delete() local
3482 while ((ml = *mlp) != NULL) { in packet_dev_mclist_delete()
3483 if (ml->ifindex == dev->ifindex) { in packet_dev_mclist_delete()
3484 packet_dev_mc(dev, ml, -1); in packet_dev_mclist_delete()
3485 *mlp = ml->next; in packet_dev_mclist_delete()
3486 kfree(ml); in packet_dev_mclist_delete()
3488 mlp = &ml->next; in packet_dev_mclist_delete()
3495 struct packet_mclist *ml, *i; in packet_mc_add() local
3516 for (ml = po->mclist; ml; ml = ml->next) { in packet_mc_add()
3517 if (ml->ifindex == mreq->mr_ifindex && in packet_mc_add()
[all …]
/Linux-v4.19/arch/arm/vfp/
Dvfp.h47 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in add128() argument
54 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in add128()
60 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in sub128() argument
67 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in sub128()
75 u32 nh, nl, mh, ml; in mul64to128() local
79 ml = m; in mul64to128()
80 rl = (u64)nl * ml; in mul64to128()
83 rma = (u64)nh * ml; in mul64to128()
115 u64 mh, ml, remh, reml, termh, terml, z; in vfp_estimate_div128to64() local
129 ml = m << 32; in vfp_estimate_div128to64()
[all …]
/Linux-v4.19/arch/sh/kernel/cpu/sh2a/
Dfpu.c157 unsigned long long ml, int n) in rshift64() argument
161 return (mh << (64 - n)) | (ml >> n); in rshift64()
167 unsigned long long mh, ml, nh, nl; in denormal_muld() local
178 mult64(ix, iy, &mh, &ml); in denormal_muld()
180 nl = ml; in denormal_muld()
191 ix = (rshift64(mh, ml, w - 52) & 0x000fffffffffffffLL) in denormal_muld()
194 ix = rshift64(mh, ml, w - 51 - exp) & 0x000fffffffffffffLL; in denormal_muld()
/Linux-v4.19/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-v4.19/arch/sparc/kernel/
Dchmc.c402 const void *ml; in jbusmc_probe() local
451 ml = of_get_property(op->dev.of_node, "memory-layout", &p->layout_len); in jbusmc_probe()
452 if (!ml) { in jbusmc_probe()
461 memcpy(&p->layout, ml, p->layout_len); in jbusmc_probe()
/Linux-v4.19/arch/s390/kernel/vdso64/
Dgettimeofday.S59 ml %r0,8(%r5)
/Linux-v4.19/init/
Dinitramfs.c328 int ml = maybe_link(); in do_name() local
329 if (ml >= 0) { in do_name()
331 if (ml != 1) in do_name()
/Linux-v4.19/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-v4.19/net/openvswitch/
Dflow_table.c649 struct list_head *ml; in flow_mask_find() local
651 list_for_each(ml, &tbl->mask_list) { in flow_mask_find()
653 m = container_of(ml, struct sw_flow_mask, list); in flow_mask_find()
/Linux-v4.19/drivers/iio/
Dindustrialio-buffer.c1243 int ml = indio_dev->masklength; in iio_buffer_alloc_sysfs_and_mask() local
1246 ml = max(ml, channels[i].scan_index + 1); in iio_buffer_alloc_sysfs_and_mask()
1247 indio_dev->masklength = ml; in iio_buffer_alloc_sysfs_and_mask()
/Linux-v4.19/arch/mips/include/asm/txx9/
Dtx3927.h87 endian_def_b4(ml, mg, ip, il);
/Linux-v4.19/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-v4.19/sound/drivers/vx/
Dvx_mixer.c59 u8 ml; member
69 u8 ml; member
77 #define SET_CDC_DATA_REG(di,r) ((di).b.ml = (u8) (r))

12