| /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 o [all...] |
| /linux/include/linux/ |
| 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/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 …]
|
| /linux/drivers/dpll/zl3073x/ |
| H A D | chan.h | 19 * @mode_refsel: mode and reference selection register value 20 * @ref_prio: reference priority registers (4 bits per ref, P/N packed) 22 * @refsel_status: reference selection status register value 23 * @df_offset: frequency offset vs tracked reference in 2^-48 steps 63 * zl3073x_chan_df_offset_get - get cached df_offset vs tracked reference 78 * Return: reference selection mode of the given DPLL channel 86 * zl3073x_chan_ref_get - get manually selected reference 89 * Return: reference selected in forced reference lock mode 107 * zl3073x_chan_ref_set - set manually selected reference 109 * @ref: reference to set [all …]
|
| H A D | ref.c | 55 * zl3073x_ref_state_update - update input reference status from HW 57 * @index: input reference index 70 * zl3073x_ref_state_fetch - fetch input reference state from hardware 72 * @index: input reference index to fetch state for 74 * Function fetches state for the given input reference from hardware and 84 /* For differential type inputs the N-pin reference shares in zl3073x_ref_state_fetch() 97 /* Read reference status */ in zl3073x_ref_state_fetch() 104 /* Read reference configuration */ in zl3073x_ref_state_fetch() 159 * zl3073x_ref_state_get - get current input reference state 161 * @index: input reference index to get state for [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/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. 32 /// Types that are _always_ reference counted. 35 /// Additionally, it allows users to convert from a shared reference `&T` to an owned reference 39 /// Rust code, the recommendation is to use [`Arc`](crate::sync::Arc) to create reference [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/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/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/drivers/acpi/acpica/ |
| 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/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/drivers/cpufreq/ |
| H A D | amd_freq_sensitivity.c | 32 u64 reference; member 44 struct msr actual, reference; in amd_powersave_bias_target() local 54 rdmsrq_on_cpu(policy->cpu, MSR_AMD64_FREQ_SENSITIVITY_REFERENCE, &reference.q); in amd_powersave_bias_target() 56 reference.h &= 0x00ffffff; in amd_powersave_bias_target() 59 if (actual.q < data->actual || reference.q < data->reference) { in amd_powersave_bias_target() 65 d_reference = reference.q - data->reference; in amd_powersave_bias_target() 102 data->reference = reference.q; in amd_powersave_bias_target()
|
| /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 …]
|
| /linux/Documentation/devicetree/bindings/remoteproc/ |
| H A D | qcom,q6v5.txt | 27 Definition: reference to the interrupts that match interrupt-names 37 Definition: reference to the clocks that match clock-names 54 Definition: reference to the list of 3 reset-controllers for the 66 Definition: reference to wcss reserved-memory region. 73 Definition: reference to the regulators to be held on behalf of the 79 Definition: reference to the smem state for requesting the Hexagon to 90 Definition: a phandle reference to a syscon representing TCSR followed 97 Definition: reference to the reserved-memory for the region
|
| /linux/tools/lib/perf/include/internal/ |
| H A D | rc_check.h | 9 * Enable reference count checking implicitly with leak checking, which is 21 * Shared reference count checking macros. 23 * Reference count checking is an approach to sanitizing the use of reference 25 * are paired with a put. Reference count checking adds a malloc-ed layer of 36 /* Declare a reference counted struct variable. */ 41 * reference counted struct. 70 /* Declare a reference counted struct variable. */ 75 * reference counted struct.
|
| /linux/security/apparmor/include/ |
| H A D | policy_unpack.h | 134 * aa_get_i_loaddata - get a reference count from a counted data reference 135 * @data: reference to get a count on 137 * Returns: pointer to reference 138 * Requires: @data to have a valid reference count on it. It is a bug 152 * aa_get_profile_loaddata - get a profile reference count on loaddata 153 * @data: reference to get a count on 155 * Returns: pointer to reference 156 * Requires: @data to have a valid reference count on it. 167 * aa_get_profile_loaddata_not0 - get a profile reference count if not zero 168 * @data: reference to get a count on [all …]
|