Home
last modified time | relevance | path

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

/linux-4.1.27/fs/ocfs2/dlm/
Ddlmthread.c57 #define dlm_lock_is_remote(dlm, lock) ((lock)->ml.node != (dlm)->node_num)
313 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
321 if (!dlm_lock_compatible(lock->ml.type, in dlm_shuffle_lists()
322 target->ml.convert_type)) { in dlm_shuffle_lists()
325 if (lock->ml.highest_blocked == LKM_IVMODE) { in dlm_shuffle_lists()
330 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
331 lock->ml.highest_blocked = in dlm_shuffle_lists()
332 target->ml.convert_type; in dlm_shuffle_lists()
339 if (!dlm_lock_compatible(lock->ml.type, in dlm_shuffle_lists()
340 target->ml.convert_type)) { in dlm_shuffle_lists()
[all …]
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 …]
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.c1066 if (lock->ml.node == dead_node) { in dlm_move_reco_locks_to_list()
1202 if (lock->ml.type != LKM_EXMODE && lock->ml.type != LKM_PRMODE) in dlm_prepare_lvb_for_migration()
1216 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_prepare_lvb_for_migration()
1217 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_prepare_lvb_for_migration()
1219 lock->ml.node); in dlm_prepare_lvb_for_migration()
1229 struct dlm_migratable_lock *ml; in dlm_add_lock_to_array() local
1232 ml = &(mres->ml[lock_num]); in dlm_add_lock_to_array()
1233 ml->cookie = lock->ml.cookie; in dlm_add_lock_to_array()
1234 ml->type = lock->ml.type; in dlm_add_lock_to_array()
1235 ml->convert_type = lock->ml.convert_type; in dlm_add_lock_to_array()
[all …]
Ddlmlock.c97 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
102 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
104 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
105 lock->ml.type)) in dlm_can_grant_new_lock()
126 mlog(0, "type=%d\n", lock->ml.type); in dlmlock_master()
133 lock->ml.node != dlm->node_num) { in dlmlock_master()
162 lock->ml.node); in dlmlock_master()
173 lock->ml.node); in dlmlock_master()
223 lock->ml.type, res->lockname.len, in dlmlock_remote()
311 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()
508 list_type, lock->ml.type, lock->ml.convert_type, in dump_lock()
509 lock->ml.node, in dump_lock()
510 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dump_lock()
511 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dump_lock()
Ddlmcommon.h248 struct dlm_mig_lockres_priv ml; member
356 struct dlm_migratable_lock ml; member
591 struct dlm_migratable_lock ml[0]; // 16 bytes each, begins at byte 112 member
Ddlmmaster.c2443 if (lock->ml.node != dlm->node_num) { in dlm_is_lockres_migrateable()
2447 cookie = be64_to_cpu(lock->ml.cookie); in dlm_is_lockres_migrateable()
2869 if (lock->ml.node != dlm->node_num) { in dlm_remove_nonlocal_locks()
2871 lock->ml.node); in dlm_remove_nonlocal_locks()
2878 lock->ml.node); in dlm_remove_nonlocal_locks()
2926 if (lock->ml.node == dlm->node_num) in dlm_pick_migration_target()
2928 if (test_bit(lock->ml.node, dlm->exit_domain_map)) in dlm_pick_migration_target()
2930 nodenum = lock->ml.node; in dlm_pick_migration_target()
/linux-4.1.27/lib/lz4/
Dlz4hc_compress.c133 size_t repl = 0, ml = 0; in lz4hc_insertandfindbestmatch() local
145 repl = ml = lz4hc_commonlength(ip + MINMATCH, in lz4hc_insertandfindbestmatch()
154 if (*(ref + ml) == *(ip + ml)) { in lz4hc_insertandfindbestmatch()
159 if (mlt > ml) { in lz4hc_insertandfindbestmatch()
160 ml = mlt; in lz4hc_insertandfindbestmatch()
187 return (int)ml; in lz4hc_insertandfindbestmatch()
270 int ml, const u8 *ref) in lz4_encodesequence() argument
294 len = (int)(ml - MINMATCH); in lz4_encodesequence()
311 *ip += ml; in lz4_encodesequence()
330 int ml, ml2, ml3, ml0; in lz4_compresshcctx() local
[all …]
/linux-4.1.27/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-4.1.27/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.c3163 struct packet_mclist *ml; in packet_dev_mclist_delete() local
3165 while ((ml = *mlp) != NULL) { in packet_dev_mclist_delete()
3166 if (ml->ifindex == dev->ifindex) { in packet_dev_mclist_delete()
3167 packet_dev_mc(dev, ml, -1); in packet_dev_mclist_delete()
3168 *mlp = ml->next; in packet_dev_mclist_delete()
3169 kfree(ml); in packet_dev_mclist_delete()
3171 mlp = &ml->next; in packet_dev_mclist_delete()
3178 struct packet_mclist *ml, *i; in packet_mc_add() local
3199 for (ml = po->mclist; ml; ml = ml->next) { in packet_mc_add()
3200 if (ml->ifindex == mreq->mr_ifindex && in packet_mc_add()
[all …]
/linux-4.1.27/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-4.1.27/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-4.1.27/crypto/
Dvmac.c190 #define poly_step(ah, al, kh, kl, mh, ml) \ argument
209 ADD128(ah, al, mh, ml); \
238 const u64 *mh, const u64 *ml) in poly_step_func() argument
266 p += (u64)(((u32 *)ml)[INDEX_LOW]); in poly_step_func()
275 p += (u64)(((u32 *)ml)[INDEX_HIGH]); in poly_step_func()
296 #define poly_step(ah, al, kh, kl, mh, ml) \ argument
297 poly_step_func(&(ah), &(al), &(kh), &(kl), &(mh), &(ml))
/linux-4.1.27/arch/s390/kernel/vdso64/
Dgettimeofday.S50 ml %r0,8(%r5)
/linux-4.1.27/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-4.1.27/init/
Dinitramfs.c336 int ml = maybe_link(); in do_name() local
337 if (ml >= 0) { in do_name()
339 if (ml != 1) in do_name()
/linux-4.1.27/net/openvswitch/
Dflow_table.c652 struct list_head *ml; in flow_mask_find() local
654 list_for_each(ml, &tbl->mask_list) { in flow_mask_find()
656 m = container_of(ml, struct sw_flow_mask, list); in flow_mask_find()
/linux-4.1.27/lib/
Dinflate.c601 unsigned ml, md; /* masks for bl and bd bits */ in inflate_codes() local
612 ml = mask_bits[bl]; /* precompute masks for speed */ in inflate_codes()
617 if ((e = (t = tl + ((unsigned)b & ml))->e) > 16) in inflate_codes()
/linux-4.1.27/arch/arm/mach-omap2/
Domap_hwmod.c2754 static int __init _alloc_links(struct omap_hwmod_link **ml, in _alloc_links() argument
2760 *ml = &linkspace[free_ls++]; in _alloc_links()
2768 *ml = memblock_virt_alloc(sz, 0); in _alloc_links()
2770 *sl = (void *)(*ml) + sizeof(struct omap_hwmod_link); in _alloc_links()
2792 struct omap_hwmod_link *ml, *sl; in _add_link() local
2797 _alloc_links(&ml, &sl); in _add_link()
2799 ml->ocp_if = oi; in _add_link()
2800 list_add(&ml->node, &oi->master->master_ports); in _add_link()
/linux-4.1.27/arch/mips/include/asm/txx9/
Dtx3927.h87 endian_def_b4(ml, mg, ip, il);
/linux-4.1.27/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-4.1.27/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))
/linux-4.1.27/drivers/gpio/
DMakefile57 obj-$(CONFIG_GPIO_ML_IOH) += gpio-ml-ioh.o
/linux-4.1.27/arch/sh/
DMakefile75 cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml
/linux-4.1.27/Documentation/
Dstatic-keys.txt51 http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01556.html
/linux-4.1.27/drivers/scsi/
Dhpsa.c4570 int ml = 0; in hpsa_eh_abort_handler() local
4589 ml += sprintf(msg+ml, "ABORT REQUEST on C%d:B%d:T%d:L%llu ", in hpsa_eh_abort_handler()
4613 ml += sprintf(msg+ml, "Tag:0x%08x:%08x ", tagupper, taglower); in hpsa_eh_abort_handler()
4616 ml += sprintf(msg+ml, "Command:0x%x SN:0x%lx ", in hpsa_eh_abort_handler()
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-pci-defs.h527 uint32_t ml:8; member
535 uint32_t ml:8;
/linux-4.1.27/Documentation/filesystems/
Dcoda.txt859 44..1111.. ssyymmlliinnkk
/linux-4.1.27/
DMAINTAINERS7833 L: linuxpps@ml.enneenne.com (subscribers-only)