/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 46 * rcuref_get - Acquire one reference on a rcuref reference count 47 * @ref: Pointer to the reference count 56 * False if the attempt to acquire a reference failed. This happens 57 * when the last reference has been put already 59 * True if a reference was successfully acquired [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 …]
|
H A D | skbuff_ref.h | 13 * __skb_frag_ref - take an addition reference on a paged fragment. 16 * Takes an additional reference on the paged fragment @frag. 24 * skb_frag_ref - take an addition reference on a paged fragment of an skb. 28 * Takes an additional reference on the @f'th paged fragment of @skb. 47 * __skb_frag_unref - release a reference on a paged fragment. 51 * Releases a reference on the paged fragment @frag 60 * skb_frag_unref - release a reference on a paged fragment of an skb. 64 * Releases a reference on the @f'th paged fragment of @skb.
|
/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,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/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/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 | 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 …]
|
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 …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | intel_runtime_pm.c | 179 * intel_runtime_pm_get_raw - grab a raw runtime pm reference 185 * This function grabs a device-level runtime pm reference (mostly used for 189 * Any runtime pm reference obtained by this function must have a symmetric 190 * call to intel_runtime_pm_put_raw() to release the reference again. 201 * intel_runtime_pm_get - grab a runtime pm reference 204 * This function grabs a device-level runtime pm reference (mostly used for GEM 207 * Any runtime pm reference obtained by this function must have a symmetric 208 * call to intel_runtime_pm_put() to release the reference again. 218 * __intel_runtime_pm_get_if_active - grab a runtime pm reference if device is active 222 * 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/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/md/ |
H A D | dm-builtin.c | 8 * The release method is called when the last reference to the kobject is 10 * reference. 14 * increased module reference count or synchronizing against the release 20 * 1. Some other process takes a reference to dm kobject 23 * because of the other reference taken at step 1 25 * 5. The other process that took the reference in step 1 drops it, 29 * 8. dm_sysfs_exit continues, the dm device is unloaded, module reference 35 * Note that if the process that takes the foreign reference to dm kobject
|
/linux/rust/kernel/ |
H A D | device.rs | 13 /// A reference-counted device. 22 /// A permanent instance is always reference-counted and hence not restricted by any lifetime 35 /// Instances of this type are always reference-counted, that is, a call to `get_device` ensures 44 /// Creates a new reference-counted abstraction instance of an existing `struct device` pointer. 48 /// Callers must ensure that `ptr` is valid, non-null, and has a non-zero reference count, 49 /// i.e. it must be ensured that the reference count of the C `struct device` `ptr` points to 68 /// Callers must ensure that `ptr` is valid, non-null, and has a non-zero reference count, 69 /// i.e. it must be ensured that the reference count of the C `struct device` `ptr` points to 71 /// returned reference exists. 78 // SAFETY: Instances of `Device` are always reference-counted. [all …]
|
/linux/fs/xfs/ |
H A D | xfs_extfree_item.h | 24 * The EFI is reference counted so that it is not freed prior to both the EFI 29 * 1.) an EFI held reference to track EFI AIL insertion 30 * 2.) an EFD held reference to track EFD commit 33 * EFI is added to and dirtied in a transaction, ownership of reference one 34 * transfers to the transaction. The reference is dropped once the EFI is 37 * the EFD reference under all circumstances to this point. The caller has no 42 * Once an EFD is allocated and dirtied in a transaction, reference two 43 * transfers to the transaction. The EFD reference is dropped once it reaches 44 * the unpin handler. Similar to the EFI, the reference also drops in the event
|
/linux/Documentation/hwmon/ |
H A D | ads7828.rst | 36 * ext_vref: (bool) External reference 37 set to true if it operates with an external reference, false for default 38 internal reference. 40 * vref_mv: (unsigned int) Voltage reference 41 if using an external reference, set this to the reference voltage in mV, 46 operation and internal voltage reference (2.5V). 59 The chip also has the facility to use an external voltage reference. This
|
/linux/Documentation/filesystems/nfs/ |
H A D | pnfs.rst | 2 Reference counting in pnfs 6 reference multiple devices, each of which can reference multiple data servers. 9 we need to reference count. 20 We reference the header for the inode pointing to it, across each 26 the reference count, as the layout is kept around by the lseg that 32 lsegs reference device ids, which are resolved per nfs_client and 51 level cache. Its reference is held over the lifetime of the deviceid 57 lseg maintains an extra reference corresponding to the NFS_LSEG_VALID
|
/linux/Documentation/devicetree/bindings/iio/ |
H A D | mount-matrix.txt | 17 reference into the device frame of reference using a translation matrix as 23 relative to some specific device frame of reference. 28 reference to (x,y,z) orientation, with (x,y) corresponding to these axes on the 37 reference. This means that the sensor may be flipped upside-down, left-right, 38 or tilted at any angle relative to the frame of reference. 40 Another frame of reference is how the device with its sensor relates to the 49 - Accelerometers have their world frame of reference toward the center of 54 reference can thus be determined. and users would likely expect a value of 93 - Magnetometers (compasses) have their world frame of reference relative to the 95 respect to the local earth geomagnetic reference frame where (y) is in the [all …]
|