| /linux/include/linux/ |
| H A D | rcuref.h | 20 * rcuref_init - Initialize a rcuref reference count with the given reference count 21 * @ref: Pointer to the reference count 22 * @cnt: The initial reference count typically '1' 30 * rcuref_read - Read the number of held reference counts of a rcuref 31 * @ref: Pointer to the reference count 34 * indicate that it is safe to schedule the object, protected by this reference 36 * If you want to know if the reference counter has been marked DEAD (as 49 * @ref: Pointer to the reference count 52 * invocation of rcuref_put() returned true on this reference counter meaning 66 * rcuref_get - Acquire one reference on a rcuref reference count [all …]
|
| H A D | file_ref.h | 10 * file_ref is a reference count implementation specifically for use by 55 * file_ref_init - Initialize a file reference count 56 * @ref: Pointer to the reference count 57 * @cnt: The initial reference count typically '1' 67 * file_ref_get - Acquire one reference on a file 68 * @ref: Pointer to the reference count 74 * Return: False if the attempt to acquire a reference failed. This happens 75 * when the last reference has been put already. True if a reference 81 * Unconditionally increase the reference count with full in file_ref_get() 87 * Hence, unconditionally altering the file reference count to in file_ref_get() [all …]
|
| H A D | cgroup_refcnt.h | 2 * css_get - obtain a reference on the specified css 5 * The caller must already have a reference. 20 * The caller must already have a reference. in CGROUP_REF_EXPORT() 31 * css_tryget - try to obtain a reference on the specified css in CGROUP_REF_EXPORT() 34 * Obtain a reference on @css unless it already has reached zero and is in CGROUP_REF_EXPORT() 37 * but doesn't have to be holding a reference on it - IOW, RCU protected in CGROUP_REF_EXPORT() 38 * access is good enough for this function. Returns %true if a reference in CGROUP_REF_EXPORT() 51 * css_tryget_online - try to obtain a reference on the specified css if online in CGROUP_REF_EXPORT() 54 * Obtain a reference on @css if it's online. The caller naturally needs in CGROUP_REF_EXPORT() 56 * reference on it - IOW, RCU protected access is good enough for this in CGROUP_REF_EXPORT() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_ref_tracking.c | 111 __description("reference tracking: leak potential reference") 112 __failure __msg("Unreleased reference") 117 " r6 = r0; /* leak reference */ \ in reference_tracking_leak_potential_reference() 126 __description("reference tracking: leak potential reference to sock_common") 127 __failure __msg("Unreleased reference") 132 " r6 = r0; /* leak reference */ \ in potential_reference_to_sock_common_1() 141 __description("reference tracking: leak potential reference on stack") 142 __failure __msg("Unreleased reference") 159 __description("reference tracking: leak potential reference on stack 2") 160 __failure __msg("Unreleased reference") [all …]
|
| /linux/include/media/ |
| H A D | v4l2-h264.h | 16 * struct v4l2_h264_reflist_builder - Reference list builder object 20 * @refs.frame_num: reference frame number 21 * @refs.longterm: set to true for a long term reference 29 * This object stores the context of the P/B0/B1 reference list builder. 30 * This procedure is described in section '8.2.4 Decoding process for reference 55 * v4l2_h264_build_b_ref_lists() - Build the B0/B1 reference lists 57 * @builder: reference list builder context 58 * @b0_reflist: 32 sized array used to store the B0 reference list. Each entry 60 * @b1_reflist: 32 sized array used to store the B1 reference list. Each entry 63 * This functions builds the B0/B1 reference lists. This procedure is described [all …]
|
| /linux/lib/ |
| H A D | rcuref.c | 4 * rcuref - A scalable reference count implementation for RCU managed objects 6 * rcuref is provided to replace open coded reference count implementations 8 * be visible even after the last reference has been dropped and the object 43 * rcuref uses an unsigned integer reference counter. As long as the 45 * than RCUREF_MAXREF the reference is alive: 55 * If the reference count is saturated or dead, then the increments and 56 * decrements are not harmful as the reference count still stays in the 61 * Once the last reference is dropped the reference count becomes 63 * slowpath then tries to set the reference count from RCUREF_NOREF to 65 * concurrent rcuref_get() can acquire the reference count and bring it [all …]
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | fsl,imx25-gcq.yaml | 28 The regulator supplying the ADC reference voltage. 29 Required when at least one subnode uses the this reference. 33 The regulator supplying the ADC reference voltage on pin XP. 34 Required when at least one subnode uses this reference. 38 The regulator supplying the ADC reference voltage on pin YP. 39 Required when at least one subnode uses this reference. 61 Child nodes used to define the reference voltages used for each channel 82 Specifies the positive reference input as defined in 84 0: YP voltage reference 85 1: XP voltage reference [all …]
|
| H A D | adi,ad4170-4.yaml | 22 reference-buffer: 24 Enable precharge buffer, full buffer, or skip reference buffering of 25 the positive/negative voltage reference. Because the output impedance 26 of the source driving the voltage reference inputs may be dynamic, 28 errors if the reference inputs go unbuffered into the ADC. Enable 29 reference buffering if the provided reference source has dynamic high 31 inputs is from AVSS - 50 mV to AVDD + 50 mV when the reference buffers are 32 disabled but narrows to AVSS to AVDD when reference buffering is enabled 47 Reference voltage supply for AVSS. A −2.625V minimum and 0V maximum supply 56 description: 1.7V to 5.25V reference supply to the serial interface (IOVDD). [all …]
|
| H A D | adi,max11410.yaml | 44 description: Optional avdd supply. Used as reference when no explicit reference supplied. 47 description: vref0p supply can be used as reference for conversion. 50 description: vref1p supply can be used as reference for conversion. 53 description: vref2p supply can be used as reference for conversion. 56 description: vref0n supply can be used as reference for conversion. 59 description: vref1n supply can be used as reference for conversion. 62 description: vref2n supply can be used as reference for conversion. 79 adi,reference: 81 Select the reference source to use when converting on 112 description: Enable buffered mode for positive reference. [all …]
|
| H A D | adi,ad4130.yaml | 60 description: refin1 supply. Can be used as reference for conversion. 63 description: refin2 supply. Can be used as reference for conversion. 66 description: AVDD voltage supply. Can be used as reference for conversion. 114 18: Internal reference 130 adi,reference-select: 132 Select the reference source to use when converting on the 136 2: REFOUT/AVSS (Internal reference) 220 adi,reference-select = <2>; 229 adi,reference-select = <2>; 238 adi,reference-select = <2>; [all …]
|
| /linux/rust/kernel/sync/ |
| H A D | aref.rs | 3 //! Internal reference counting support. 5 //! Many C types already have their own reference counting mechanism (e.g. by storing a 6 //! `refcount_t`). This module provides support for directly using their internal reference count 7 //! from Rust; instead of making users have to use an additional Rust-reference count in the form of 12 //! implementation of the `get_` and `put_` pattern used in C for reference counting. 15 //! for accessing the internal reference count of an object of the `MyType` type. 22 /// Types that are _always_ reference counted. 25 /// Additionally, it allows users to convert from a shared reference `&T` to an owned reference 29 /// Rust code, the recommendation is to use [`Arc`](crate::sync::Arc) to create reference [all...] |
| /linux/drivers/acpi/acpica/ |
| H A D | exresolv.c | 36 * DESCRIPTION: Convert Reference objects to values 97 * DESCRIPTION: Retrieve the value from an internal object. The Reference type 120 ref_type = stack_desc->reference.class; in acpi_ex_resolve_object_to_value() 127 * Note: this increments the local's object reference count in acpi_ex_resolve_object_to_value() 131 reference.value, in acpi_ex_resolve_object_to_value() 140 stack_desc->reference.value, in acpi_ex_resolve_object_to_value() 144 * Now we can delete the original Reference Object and in acpi_ex_resolve_object_to_value() 153 switch (stack_desc->reference.target_type) { in acpi_ex_resolve_object_to_value() 172 obj_desc = *stack_desc->reference.where; in acpi_ex_resolve_object_to_value() 196 /* Invalid reference object */ in acpi_ex_resolve_object_to_value() [all …]
|
| H A D | exdebug.c | 180 /* Decode the reference */ in acpi_ex_do_debug_object() 182 switch (source_desc->reference.class) { in acpi_ex_do_debug_object() 185 acpi_os_printf("0x%X\n", source_desc->reference.value); in acpi_ex_do_debug_object() 193 source_desc->reference.value); in acpi_ex_do_debug_object() 205 if (source_desc->reference.node) { in acpi_ex_do_debug_object() 207 (source_desc->reference.node) != in acpi_ex_do_debug_object() 211 source_desc->reference.node); in acpi_ex_do_debug_object() 214 source_desc->reference.node, in acpi_ex_do_debug_object() 215 (source_desc->reference.node)-> in acpi_ex_do_debug_object() 218 switch ((source_desc->reference.node)->type) { in acpi_ex_do_debug_object() [all …]
|
| H A D | utdelete.c | 4 * Module Name: utdelete - object deletion and reference count utilities 31 * DESCRIPTION: Low level object deletion, after reference counts have been 32 * updated (All reference counts, including sub-objects!) 358 * RETURN: None. Sets new reference count within the object 360 * DESCRIPTION: Modify the reference count for an internal acpi object 379 * Always get the reference count lock. Note: Interpreter and/or in acpi_ut_update_ref_count() 385 /* Perform the reference count action (increment, decrement) */ in acpi_ut_update_ref_count() 394 /* The current reference count should never be zero here */ in acpi_ut_update_ref_count() 398 "Obj %p, Reference Count was zero before increment\n", in acpi_ut_update_ref_count() 412 /* The current reference count must be non-zero */ in acpi_ut_update_ref_count() [all …]
|
| H A D | exstore.c | 38 * Reference; 84 /* Destination object must be a Reference or a Constant object */ in acpi_ex_store() 103 /* Destination is not a Reference object */ in acpi_ex_store() 106 "Target is not a Reference or Constant object - [%s] %p", in acpi_ex_store() 114 * Examine the Reference class. These cases are handled: in acpi_ex_store() 121 switch (ref_desc->reference.class) { in acpi_ex_store() 127 ref_desc->reference. in acpi_ex_store() 147 acpi_ds_store_object_to_local(ref_desc->reference.class, in acpi_ex_store() 148 ref_desc->reference.value, in acpi_ex_store() 167 ACPI_ERROR((AE_INFO, "Unknown Reference Class 0x%2.2X", in acpi_ex_store() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | global_data.c | 19 { "relocate .bss reference", 0, 0 }, in test_global_data_number() 20 { "relocate .data reference", 1, 42 }, in test_global_data_number() 21 { "relocate .rodata reference", 2, 24 }, in test_global_data_number() 22 { "relocate .bss reference", 3, 0 }, in test_global_data_number() 23 { "relocate .data reference", 4, 0xffeeff }, in test_global_data_number() 24 { "relocate .rodata reference", 5, 0xabab }, in test_global_data_number() 25 { "relocate .bss reference", 6, 1234 }, in test_global_data_number() 26 { "relocate .bss reference", 7, 0 }, in test_global_data_number() 27 { "relocate .rodata reference", 8, 0xab }, in test_global_data_number() 28 { "relocate .rodata reference", 9, 0x1111111111111111 }, in test_global_data_number() [all …]
|
| /linux/kernel/ |
| H A D | nscommon.c | 115 * The active reference count works by having each namespace that gets 116 * created take a single active reference on its owning user namespace. 117 * That single reference is only released once the child namespace's 122 * + : adding active reference 123 * - : dropping active reference 142 * If both net_ns and pid_ns put their last active reference on 144 * reference and dropping one active reference on user_ns2: 191 * The active reference count works by having each namespace that gets 192 * created take a single active reference on its owning user namespace. 193 * That single reference is only released once the child namespace's [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | intel_runtime_pm.c | 258 * intel_runtime_pm_get_raw - grab a raw runtime pm reference 264 * This function grabs a device-level runtime pm reference (mostly used for 268 * Any runtime pm reference obtained by this function must have a symmetric 269 * call to intel_runtime_pm_put_raw() to release the reference again. 280 * intel_runtime_pm_get - grab a runtime pm reference 283 * This function grabs a device-level runtime pm reference (mostly used for GEM 286 * Any runtime pm reference obtained by this function must have a symmetric 287 * call to intel_runtime_pm_put() to release the reference again. 297 * __intel_runtime_pm_get_if_active - grab a runtime pm reference if device is active 301 * This function grabs a device-level runtime pm reference if the device is [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | dvb-usb-dib0700-cardlist.rst | 29 * - DiBcom NIM7090 reference design 31 * - DiBcom NIM8096MD reference design 33 * - DiBcom NIM9090MD reference design 35 * - DiBcom STK7070P reference design 37 * - DiBcom STK7070PD reference design 39 * - DiBcom STK7700D reference design 41 * - DiBcom STK7700P reference design 43 * - DiBcom STK7770P reference design 45 * - DiBcom STK807xP reference design 47 * - DiBcom STK807xPVR reference design [all …]
|
| /linux/drivers/dpll/zl3073x/ |
| H A D | ref.h | 15 * struct zl3073x_ref - input reference state 23 * @config: reference config 24 * @sync_ctrl: reference sync control 25 * @mon_status: reference monitor status 63 * zl3073x_ref_freq_get - get given input reference frequency 66 * Return: frequency of the given input reference 76 * zl3073x_ref_freq_set - set given input reference frequency 101 * zl3073x_ref_is_diff - check if the given input reference is differential 104 * Return: true if reference is differential, false if reference is single-ended 113 * zl3073x_ref_is_enabled - check if the given input reference is enabled [all …]
|
| /linux/Documentation/gpu/ |
| H A D | drm-kms-helpers.rst | 36 Modeset Helper Reference for Common Vtables 47 Atomic Modeset Helper Functions Reference 62 Helper Functions Reference 77 Atomic State Helper Reference 83 GEM Atomic Helper Reference 95 VBLANK Helper Reference 107 Simple KMS Helper Reference 119 fbdev Helper Functions Reference 131 format Helper Functions Reference 137 Framebuffer DMA Helper Functions Reference [all …]
|
| /linux/include/dt-bindings/iio/adc/ |
| H A D | fsl-imx25-gcq.h | 9 #define MX25_ADC_REFP_YP 0 /* YP voltage reference */ 10 #define MX25_ADC_REFP_XP 1 /* XP voltage reference */ 11 #define MX25_ADC_REFP_EXT 2 /* External voltage reference */ 12 #define MX25_ADC_REFP_INT 3 /* Internal voltage reference */ 14 #define MX25_ADC_REFN_XN 0 /* XN ground reference */ 15 #define MX25_ADC_REFN_YN 1 /* YN ground reference */ 16 #define MX25_ADC_REFN_NGND 2 /* Internal ground reference */ 17 #define MX25_ADC_REFN_NGND2 3 /* External ground reference */
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | xlnx,versal-clk.yaml | 61 - description: reference clock 62 - description: alternate reference clock for programmable logic 80 - description: reference clock 81 - description: alternate reference clock for programmable logic 82 - description: alternate reference clock 102 - description: PS reference clock 103 - description: reference clock for video system 104 - description: alternative PS reference clock 105 - description: auxiliary reference clock 106 - description: transceiver reference clock
|
| /linux/drivers/cpufreq/ |
| H A D | amd_freq_sensitivity.c | 33 u64 reference; member 45 struct msr actual, reference; in amd_powersave_bias_target() local 57 &reference.l, &reference.h); in amd_powersave_bias_target() 59 reference.h &= 0x00ffffff; in amd_powersave_bias_target() 62 if (actual.q < data->actual || reference.q < data->reference) { in amd_powersave_bias_target() 68 d_reference = reference.q - data->reference; in amd_powersave_bias_target() 105 data->reference = reference.q; in amd_powersave_bias_target()
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | pch_udc.c | 275 * @dev: reference to device struct 317 * @driver: reference to gadget driver bound 318 * @pdev: reference to the PCI device 452 * @dev: Reference to pch_udc_dev structure 468 * @dev: Reference to pch_udc_dev structure 484 * @dev: Reference to pch_udc_dev structure 501 * @dev: Reference to pch_udc_dev structure 512 * @dev: Reference to pch_udc_dev structure 523 * @dev: Reference to pch_udc_regs structure 532 * @dev: Reference to pch_udc_regs structure [all …]
|