Home
last modified time | relevance | path

Searched full:reference (Results 1 – 25 of 2863) sorted by relevance

12345678910>>...115

/linux/include/linux/
H A Dfile_ref.h10 * 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 Dcgroup_refcnt.h2 * 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 Dskbuff_ref.h13 * __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/include/media/
H A Dv4l2-h264.h16 * 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 Drcuref.c4 * 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 Dfsl,imx25-gcq.yaml28 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 Dadi,max11410.yaml44 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 Dadi,ad4130.yaml60 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/drivers/acpi/acpica/
H A Dexresolv.c36 * 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 Dexdebug.c180 /* 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 Dutdelete.c4 * 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 Dexstore.c38 * 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 Ddspkginit.c183 * A method reference "looks" to the parser to be a method in acpi_ds_build_internal_package_obj()
227 /* Existing package, get existing reference count */ in acpi_ds_build_internal_package_obj()
319 * DESCRIPTION: Resolve a named reference element within a package object
353 /* We are only interested in reference objects/elements */ in acpi_ds_init_package_element()
357 /* Attempt to resolve the (named) reference to a namespace node */ in acpi_ds_init_package_element()
371 * PARAMETERS: element_ptr - Pointer to a reference object
375 * DESCRIPTION: Resolve a package element that is a reference to a named
394 /* Check if reference element is already resolved */ in acpi_ds_resolve_package_element()
396 if (element->reference.resolved) { in acpi_ds_resolve_package_element()
404 /* Element must be a reference object of correct type */ in acpi_ds_resolve_package_element()
[all …]
H A Ddbobject.c246 /* Decode the reference */ in acpi_db_display_internal_object()
248 switch (obj_desc->reference.class) { in acpi_db_display_internal_object()
252 obj_desc->reference.value); in acpi_db_display_internal_object()
255 [obj_desc->reference.value].object; in acpi_db_display_internal_object()
265 obj_desc->reference.value); in acpi_db_display_internal_object()
268 [obj_desc->reference.value].object; in acpi_db_display_internal_object()
277 switch (obj_desc->reference.target_type) { in acpi_db_display_internal_object()
281 obj_desc->reference. in acpi_db_display_internal_object()
284 (obj_desc->reference.object); in acpi_db_display_internal_object()
290 obj_desc->reference. in acpi_db_display_internal_object()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dglobal_data.c19 { "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/Documentation/admin-guide/media/
H A Ddvb-usb-dib0700-cardlist.rst29 * - 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 Dfsl-imx25-gcq.h9 #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 Dxlnx,versal-clk.yaml61 - 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
H A Dsamsung,exynos850-clock.yaml73 - description: External reference clock (26 MHz)
89 - description: External reference clock (26 MHz)
107 - description: External reference clock (26 MHz)
125 - description: External reference clock (26 MHz)
143 - description: External reference clock (26 MHz)
167 - description: External reference clock (26 MHz)
187 - description: External reference clock (26 MHz)
207 - description: External reference clock (26 MHz)
225 - description: External reference clock (26 MHz)
243 - description: External reference clock (26 MHz)
[all …]
/linux/drivers/md/
H A Ddm-builtin.c8 * 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/Documentation/devicetree/bindings/iio/
H A Dmount-matrix.txt17 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/drivers/usb/gadget/udc/
H A Dpch_udc.c275 * @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 …]
/linux/Documentation/hwmon/
H A Dads7828.rst36 * 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 Dpnfs.rst2 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/tools/lib/perf/include/internal/
H A Drc_check.h9 * 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.

12345678910>>...115