Home
last modified time | relevance | path

Searched refs:strong (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/android/binder/
H A Dnode.rs146 strong: CountState, field
225 strong: CountState::new(), in new()
268 inner.strong.has_count, in full_debug_print()
270 inner.strong.count, in full_debug_print()
354 let strong = inner.strong.count > 0; in inc_ref_done_locked() localVariable
355 let has_strong = inner.strong.has_count; in inc_ref_done_locked()
356 let weak = strong || inner.weak.count > 0; in inc_ref_done_locked()
360 let should_drop_strong = !strong && has_strong; in inc_ref_done_locked()
381 strong: bool, in update_refcount_locked()
389 let state = if strong { in update_refcount_locked()
[all …]
H A Dprocess.rs222 strong: bool, in update_node_refcount()
226 let push = node.update_refcount_locked(inc, strong, count, self); in update_node_refcount()
244 strong: bool, in new_node_ref()
247 self.update_node_refcount(&node, true, strong, 1, thread); in new_node_ref()
248 let strong_count = if strong { 1 } else { 0 }; in new_node_ref()
255 strong: bool, in new_node_ref_with_thread()
261 .incr_refcount_allow_zero2one(strong, self)? in new_node_ref_with_thread()
263 Some(wrapper) => node.incr_refcount_allow_zero2one_with_wrapper(strong, wrapper, self), in new_node_ref_with_thread()
268 let strong_count = if strong { 1 } else { 0 }; in new_node_ref_with_thread()
564 let (mut count, mut weak, mut strong) = (0, 0, 0); in debug_print_stats()
[all …]
H A Dallocation.rs372 strong: bool, in transfer_binder_object()
381 newobj.hdr.type_ = if strong { in transfer_binder_object()
392 node.update_refcount(true, 1, strong); in transfer_binder_object()
401 newobj.hdr.type_ = if strong { in transfer_binder_object()
414 .update_ref(handle, false, strong); in transfer_binder_object()
429 let strong = header.type_ == BINDER_TYPE_BINDER; in cleanup_object() localVariable
434 self.alloc.process.update_node(ptr, cookie, strong); in cleanup_object()
439 let strong = header.type_ == BINDER_TYPE_HANDLE; in cleanup_object() localVariable
446 .update_ref(handle, false, strong) in cleanup_object()
H A Dcontext.rs136 pub(crate) fn get_manager_node(&self, strong: bool) -> Result<NodeRef, BinderError> { in get_manager_node()
142 .clone(strong) in get_manager_node()
H A Dthread.rs673 let strong = obj.hdr.type_ == BINDER_TYPE_BINDER; in translate_object() localVariable
682 .get_node(ptr, cookie, flags, strong, self)?; in translate_object()
684 view.transfer_binder_object(offset, obj, strong, node)?; in translate_object()
687 let strong = obj.hdr.type_ == BINDER_TYPE_HANDLE; in translate_object() localVariable
690 let node = self.process.get_node_from_handle(handle, strong)?; in translate_object()
692 view.transfer_binder_object(offset, obj, strong, node)?; in translate_object()
/linux/drivers/hid/
H A Dhid-lg2ff.c27 int weak, strong; in play_effect() local
29 strong = effect->u.rumble.strong_magnitude; in play_effect()
32 if (weak || strong) { in play_effect()
34 strong = strong * 0xff / 0xffff; in play_effect()
38 lg2ff->report->field[0]->value[4] = strong; in play_effect()
/linux/arch/xtensa/boot/lib/
H A DMakefile23 CFLAGS_REMOVE_inflate.o += -fstack-protector -fstack-protector-strong
24 CFLAGS_REMOVE_zmem.o += -fstack-protector -fstack-protector-strong
25 CFLAGS_REMOVE_inftrees.o += -fstack-protector -fstack-protector-strong
26 CFLAGS_REMOVE_inffast.o += -fstack-protector -fstack-protector-strong
/linux/tools/memory-model/
H A Dlinux-kernel.cat65 let strong-fence = mb | gp
67 let nonrw-fence = strong-fence | po-rel | acq-po
97 (* Propagation: Ordering from release operations and strong fences. *)
100 let cumul-fence = [Marked] ; (A-cumul(strong-fence | po-rel) | wmb |
116 (* Propagation: Each non-rf link needs a strong fence. *)
117 let pb = prop ; strong-fence ; hb* ; [Marked]
140 * The synchronize_rcu() strong fence is special in that it can order not
149 * inter-CPU strong fence.
166 let strong-fence = strong
[all...]
/linux/drivers/media/dvb-frontends/
H A Dau8522_dig.c696 u16 strong; in au8522_led_status() local
705 strong = led_config->qam256_strong; in au8522_led_status()
707 strong = led_config->qam64_strong; in au8522_led_status()
709 strong = led_config->vsb8_strong; in au8522_led_status()
711 if (*snr >= strong) in au8522_led_status()
717 (((strong < *snr) ? (*snr - strong) : (strong - *snr)) <= 10)) in au8522_led_status()
/linux/Documentation/w1/slaves/
H A Dw1_therm.rst45 powered devices are detected on the bus (and strong pullup is enabled
57 A strong pullup will be applied during the conversion if required.
100 strong pullup, 1 to enable autodetection or 2 to force strong pullup.
103 If so, it will activate the master's strong pullup.
105 (seems to be the case with some DS18S20) the strong pullup can
108 If the strong pullup is enabled, the master's strong pullup will be
110 does support the strong pullup (or it falls back to a pullup
113 sufficient. The strong pullup is designed to provide the additional
H A Dw1_ds28e04.rst22 attribute "crccheck". The strong pull-up can optionally be enabled/disabled
/linux/drivers/android/
H A Dbinder.c820 static int binder_inc_node_nilocked(struct binder_node *node, int strong, in binder_inc_node_nilocked() argument
829 if (strong) { in binder_inc_node_nilocked()
860 static int binder_inc_node(struct binder_node *node, int strong, int internal, in binder_inc_node() argument
866 ret = binder_inc_node_nilocked(node, strong, internal, target_list); in binder_inc_node()
873 int strong, int internal) in binder_dec_node_nilocked() argument
880 if (strong) { in binder_dec_node_nilocked()
932 static void binder_dec_node(struct binder_node *node, int strong, int internal) in binder_dec_node() argument
937 free_node = binder_dec_node_nilocked(node, strong, internal); in binder_dec_node()
1032 } else if (need_strong_ref && !ref->data.strong) { in binder_get_ref_olocked()
1198 if (ref->data.strong) in binder_cleanup_ref_olocked()
[all …]
/linux/Documentation/locking/
H A Dlockdep-design.rst512 Dependency types and strong dependency paths:
571 "strong" path, which indicates the strong dependency throughout each dependency
573 -(xR)-> and -(Sx)->. In other words, a "strong" path is a path from a lock
579 We will see why the path is called "strong" in next section.
588 If there is a closed strong path (i.e. a strong circle), then there is a
589 combination of locking sequences that causes deadlock. I.e. a strong circle is
594 If there is no closed strong path (i.e. strong circle), then there is no
595 combination of locking sequences that could cause deadlock. I.e. strong
598 With these two Lemmas, we can easily say a closed strong path is both sufficient
599 and necessary for deadlocks, therefore a closed strong path is equivalent to
[all …]
/linux/drivers/input/
H A Dff-memless.c246 unsigned int strong, weak, i; in ml_combine_effects() local
270 strong = (u32)new->u.rumble.strong_magnitude * gain / 0xffff; in ml_combine_effects()
273 if (effect->u.rumble.strong_magnitude + strong) in ml_combine_effects()
277 new->direction, strong); in ml_combine_effects()
286 min(strong + effect->u.rumble.strong_magnitude, in ml_combine_effects()
/linux/kernel/entry/
H A DMakefile12 CFLAGS_REMOVE_common.o = -fstack-protector -fstack-protector-strong
/linux/tools/thermal/tmon/
H A DMakefile11 override CFLAGS+= $(call cc-option,-fstack-protector-strong)
/linux/tools/tracing/rtla/
H A DMakefile.rtla18 FOPTS := -flto=auto -ffat-lto-objects -fexceptions -fstack-protector-strong \
/linux/tools/verification/rv/
H A DMakefile.rv18 FOPTS :=-flto=auto -ffat-lto-objects -fexceptions -fstack-protector-strong \
/linux/Documentation/w1/masters/
H A Dds2490.rst25 - The 5V strong pullup is supported with a minimum of 5.9mA and a
35 buffer, and strong pullup all in one command, instead of the current
/linux/arch/x86/purgatory/
H A DMakefile53 PURGATORY_CFLAGS_REMOVE += -fstack-protector-strong
/linux/arch/riscv/purgatory/
H A DMakefile80 PURGATORY_CFLAGS_REMOVE += -fstack-protector-strong
/linux/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c44 int strong; member
470 if (temp != state->strong) { in af9005_fe_read_status()
472 state->strong = temp; in af9005_fe_read_status()
1212 state->strong = -1; in af9005_fe_set_frontend()
/linux/drivers/input/joystick/
H A Dxpad.c1534 __u16 strong; in xpad_play_effect() local
1540 strong = effect->u.rumble.strong_magnitude; in xpad_play_effect()
1550 packet->data[3] = strong / 256; /* left actuator */ in xpad_play_effect()
1561 packet->data[3] = strong / 256; /* left actuator? */ in xpad_play_effect()
1576 packet->data[5] = strong / 256; in xpad_play_effect()
1596 packet->data[8] = strong / 512; /* left actuator */ in xpad_play_effect()
/linux/tools/memory-model/Documentation/
H A Dexplanation.txt864 Any store which propagates to C before a strong fence is
867 the strong fence are executed on C.
869 The propagation ordering enforced by release fences and strong fences
873 strong fences are A-cumulative. By contrast, smp_wmb() fences are not
885 The fences which affect propagation order (i.e., strong, release, and
896 A strong fence event occurs between some X and F in program
1039 at least as strong as atomic updates with release-barrier semantics.)
1056 A strong (smp_mb() or synchronize_rcu()) fence occurs between
1229 The LKMM requires that smp_rmb(), acquire fences, and strong fences
1233 case of a strong fence, the CPU first has to wait for all of its
[all …]
/linux/drivers/pinctrl/spacemit/
H A Dpinctrl-k1.c706 u32 normal, strong; in spacemit_pinconf_dbg_pull() local
717 strong = FIELD_GET(PAD_STRONG_PULL, value); in spacemit_pinconf_dbg_pull()
719 if (normal && strong) in spacemit_pinconf_dbg_pull()

12