Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 2218) sorted by relevance

12345678910>>...89

/linux-6.6.21/lib/
Dpercpu-refcount.c42 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr() argument
45 (ref->percpu_count_ptr & ~__PERCPU_REF_ATOMIC_DEAD); in percpu_count_ptr()
63 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init() argument
71 ref->percpu_count_ptr = (unsigned long) in percpu_ref_init()
73 if (!ref->percpu_count_ptr) in percpu_ref_init()
76 data = kzalloc(sizeof(*ref->data), gfp); in percpu_ref_init()
78 free_percpu((void __percpu *)ref->percpu_count_ptr); in percpu_ref_init()
79 ref->percpu_count_ptr = 0; in percpu_ref_init()
87 ref->percpu_count_ptr |= __PERCPU_REF_ATOMIC; in percpu_ref_init()
94 ref->percpu_count_ptr |= __PERCPU_REF_DEAD; in percpu_ref_init()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_active.c29 struct i915_active *ref; member
77 struct i915_active *ref = addr; in active_debug_hint() local
79 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref; in active_debug_hint()
87 static void debug_active_init(struct i915_active *ref) in debug_active_init() argument
89 debug_object_init(ref, &active_debug_desc); in debug_active_init()
92 static void debug_active_activate(struct i915_active *ref) in debug_active_activate() argument
94 lockdep_assert_held(&ref->tree_lock); in debug_active_activate()
95 debug_object_activate(ref, &active_debug_desc); in debug_active_activate()
98 static void debug_active_deactivate(struct i915_active *ref) in debug_active_deactivate() argument
100 lockdep_assert_held(&ref->tree_lock); in debug_active_deactivate()
[all …]
Di915_active.h152 void __i915_active_init(struct i915_active *ref,
153 int (*active)(struct i915_active *ref),
154 void (*retire)(struct i915_active *ref),
160 #define i915_active_init(ref, active, retire, flags) do { \ argument
164 __i915_active_init(ref, active, retire, flags, &__mkey, &__wkey); \
167 int i915_active_add_request(struct i915_active *ref, struct i915_request *rq);
170 i915_active_set_exclusive(struct i915_active *ref, struct dma_fence *f);
172 int __i915_active_wait(struct i915_active *ref, int state);
173 static inline int i915_active_wait(struct i915_active *ref) in i915_active_wait() argument
175 return __i915_active_wait(ref, TASK_INTERRUPTIBLE); in i915_active_wait()
[all …]
/linux-6.6.21/Documentation/userspace-api/media/dvb/
Dfrontend-property-terrestrial-systems.rst17 - :ref:`DTV_API_VERSION <DTV-API-VERSION>`
19 - :ref:`DTV_DELIVERY_SYSTEM <DTV-DELIVERY-SYSTEM>`
21 - :ref:`DTV_TUNE <DTV-TUNE>`
23 - :ref:`DTV_CLEAR <DTV-CLEAR>`
25 - :ref:`DTV_FREQUENCY <DTV-FREQUENCY>`
27 - :ref:`DTV_MODULATION <DTV-MODULATION>`
29 - :ref:`DTV_BANDWIDTH_HZ <DTV-BANDWIDTH-HZ>`
31 - :ref:`DTV_INVERSION <DTV-INVERSION>`
33 - :ref:`DTV_CODE_RATE_HP <DTV-CODE-RATE-HP>`
35 - :ref:`DTV_CODE_RATE_LP <DTV-CODE-RATE-LP>`
[all …]
Dfrontend-property-satellite-systems.rst17 - :ref:`DTV_API_VERSION <DTV-API-VERSION>`
19 - :ref:`DTV_DELIVERY_SYSTEM <DTV-DELIVERY-SYSTEM>`
21 - :ref:`DTV_TUNE <DTV-TUNE>`
23 - :ref:`DTV_CLEAR <DTV-CLEAR>`
25 - :ref:`DTV_FREQUENCY <DTV-FREQUENCY>`
27 - :ref:`DTV_INVERSION <DTV-INVERSION>`
29 - :ref:`DTV_SYMBOL_RATE <DTV-SYMBOL-RATE>`
31 - :ref:`DTV_INNER_FEC <DTV-INNER-FEC>`
33 - :ref:`DTV_VOLTAGE <DTV-VOLTAGE>`
35 - :ref:`DTV_TONE <DTV-TONE>`
[all …]
Dfrontend-property-cable-systems.rst24 - :ref:`DTV_API_VERSION <DTV-API-VERSION>`
26 - :ref:`DTV_DELIVERY_SYSTEM <DTV-DELIVERY-SYSTEM>`
28 - :ref:`DTV_TUNE <DTV-TUNE>`
30 - :ref:`DTV_CLEAR <DTV-CLEAR>`
32 - :ref:`DTV_FREQUENCY <DTV-FREQUENCY>`
34 - :ref:`DTV_MODULATION <DTV-MODULATION>`
36 - :ref:`DTV_INVERSION <DTV-INVERSION>`
38 - :ref:`DTV_SYMBOL_RATE <DTV-SYMBOL-RATE>`
40 - :ref:`DTV_INNER_FEC <DTV-INNER-FEC>`
42 - :ref:`DTV_LNA <DTV-LNA>`
[all …]
/linux-6.6.21/include/linux/
Dpercpu-refcount.h102 struct percpu_ref *ref; member
121 int __must_check percpu_ref_init(struct percpu_ref *ref,
124 void percpu_ref_exit(struct percpu_ref *ref);
125 void percpu_ref_switch_to_atomic(struct percpu_ref *ref,
127 void percpu_ref_switch_to_atomic_sync(struct percpu_ref *ref);
128 void percpu_ref_switch_to_percpu(struct percpu_ref *ref);
129 void percpu_ref_kill_and_confirm(struct percpu_ref *ref,
131 void percpu_ref_resurrect(struct percpu_ref *ref);
132 void percpu_ref_reinit(struct percpu_ref *ref);
133 bool percpu_ref_is_zero(struct percpu_ref *ref);
[all …]
Drcuref.h24 static inline void rcuref_init(rcuref_t *ref, unsigned int cnt) in rcuref_init() argument
26 atomic_set(&ref->refcnt, cnt - 1); in rcuref_init()
35 static inline unsigned int rcuref_read(rcuref_t *ref) in rcuref_read() argument
37 unsigned int c = atomic_read(&ref->refcnt); in rcuref_read()
43 extern __must_check bool rcuref_get_slowpath(rcuref_t *ref);
61 static inline __must_check bool rcuref_get(rcuref_t *ref) in rcuref_get() argument
67 if (likely(!atomic_add_negative_relaxed(1, &ref->refcnt))) in rcuref_get()
71 return rcuref_get_slowpath(ref); in rcuref_get()
74 extern __must_check bool rcuref_put_slowpath(rcuref_t *ref);
79 static __always_inline __must_check bool __rcuref_put(rcuref_t *ref) in __rcuref_put() argument
[all …]
/linux-6.6.21/arch/arm64/boot/dts/rockchip/
Drk3588s-pinctrl.dtsi15 /omit-if-no-ref/
30 /omit-if-no-ref/
71 /omit-if-no-ref/
80 /omit-if-no-ref/
91 /omit-if-no-ref/
100 /omit-if-no-ref/
111 /omit-if-no-ref/
120 /omit-if-no-ref/
131 /omit-if-no-ref/
138 /omit-if-no-ref/
[all …]
Drk3568-pinctrl.dtsi15 /omit-if-no-ref/
36 /omit-if-no-ref/
43 /omit-if-no-ref/
50 /omit-if-no-ref/
57 /omit-if-no-ref/
64 /omit-if-no-ref/
71 /omit-if-no-ref/
80 /omit-if-no-ref/
103 /omit-if-no-ref/
128 /omit-if-no-ref/
[all …]
Drockchip-pinconf.dtsi7 /omit-if-no-ref/
12 /omit-if-no-ref/
17 /omit-if-no-ref/
22 /omit-if-no-ref/
28 /omit-if-no-ref/
34 /omit-if-no-ref/
40 /omit-if-no-ref/
46 /omit-if-no-ref/
52 /omit-if-no-ref/
58 /omit-if-no-ref/
[all …]
Drk3588-pinctrl.dtsi15 /omit-if-no-ref/
25 /omit-if-no-ref/
35 /omit-if-no-ref/
52 /omit-if-no-ref/
61 /omit-if-no-ref/
70 /omit-if-no-ref/
77 /omit-if-no-ref/
88 /omit-if-no-ref/
99 /omit-if-no-ref/
108 /omit-if-no-ref/
[all …]
/linux-6.6.21/fs/jffs2/
Dxattr.c444 static int verify_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) in verify_xattr_ref() argument
454 if (ref_flags(ref->node) != REF_UNCHECKED) in verify_xattr_ref()
456 offset = ref_offset(ref->node); in verify_xattr_ref()
482 ref->ino = je32_to_cpu(rr.ino); in verify_xattr_ref()
483 ref->xid = je32_to_cpu(rr.xid); in verify_xattr_ref()
484 ref->xseqno = je32_to_cpu(rr.xseqno); in verify_xattr_ref()
485 if (ref->xseqno > c->highest_xseqno) in verify_xattr_ref()
486 c->highest_xseqno = (ref->xseqno & ~XREF_DELETE_MARKER); in verify_xattr_ref()
490 for (raw=ref->node; raw != (void *)ref; raw=raw->next_in_ino) { in verify_xattr_ref()
497 raw->flash_offset = ref_offset(raw) | ((ref->node==raw) ? REF_PRISTINE : REF_NORMAL); in verify_xattr_ref()
[all …]
Dmalloc.c204 struct jffs2_raw_node_ref **p, *ref; in jffs2_prealloc_raw_node_refs() local
210 ref = *p; in jffs2_prealloc_raw_node_refs()
215 if (ref && ref->flash_offset != REF_EMPTY_NODE) in jffs2_prealloc_raw_node_refs()
216 ref++; in jffs2_prealloc_raw_node_refs()
219 if (!ref) { in jffs2_prealloc_raw_node_refs()
221 ref = *p = jffs2_alloc_refblock(); in jffs2_prealloc_raw_node_refs()
222 if (!ref) in jffs2_prealloc_raw_node_refs()
225 if (ref->flash_offset == REF_LINK_NODE) { in jffs2_prealloc_raw_node_refs()
226 p = &ref->next_in_ino; in jffs2_prealloc_raw_node_refs()
227 ref = *p; in jffs2_prealloc_raw_node_refs()
[all …]
/linux-6.6.21/scripts/
Ddocumentation-file-ref-check108 my $ref = $2;
119 $ref =~ s/(txt|rst)\[\d+]$/$1/;
122 $ref =~ s/\].*// if (!($ref =~ m/\[/));
125 $ref =~ s/[\,\.]+$//;
127 my $fulref = "$prefix$ref";
144 next if (grep -e, glob("$ref $fulref"));
151 next if (grep -e, glob("$path/$ref $path/../$ref $path/$fulref"));
160 if (!($ref =~ m/(scripts|Kconfig|Kbuild)/)) {
161 $broken_ref{$ref}++;
177 foreach my $ref (keys %broken_ref) {
[all …]
/linux-6.6.21/fs/smb/client/
Ddfs.h25 struct dfs_ref *ref; member
31 #define ref_walk_cur(w) ((w)->ref)
56 static inline void __ref_walk_free(struct dfs_ref *ref) in __ref_walk_free() argument
58 kfree(ref->path); in __ref_walk_free()
59 kfree(ref->full_path); in __ref_walk_free()
60 dfs_cache_free_tgts(&ref->tl); in __ref_walk_free()
61 memset(ref, 0, sizeof(*ref)); in __ref_walk_free()
66 struct dfs_ref *ref = ref_walk_start(rw); in ref_walk_free() local
68 for (; ref <= ref_walk_end(rw); ref++) in ref_walk_free()
69 __ref_walk_free(ref); in ref_walk_free()
[all …]
/linux-6.6.21/drivers/clk/mxs/
Dclk-ref.c33 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_enable() local
35 writel_relaxed(1 << ((ref->idx + 1) * 8 - 1), ref->reg + CLR); in clk_ref_enable()
42 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_disable() local
44 writel_relaxed(1 << ((ref->idx + 1) * 8 - 1), ref->reg + SET); in clk_ref_disable()
50 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_recalc_rate() local
52 u8 frac = (readl_relaxed(ref->reg) >> (ref->idx * 8)) & 0x3f; in clk_ref_recalc_rate()
86 struct clk_ref *ref = to_clk_ref(hw); in clk_ref_set_rate() local
90 u8 frac, shift = ref->idx * 8; in clk_ref_set_rate()
103 val = readl_relaxed(ref->reg); in clk_ref_set_rate()
106 writel_relaxed(val, ref->reg); in clk_ref_set_rate()
[all …]
/linux-6.6.21/kernel/dma/
Ddebug.c294 struct dma_debug_entry *ref, in __hash_bucket_find() argument
301 if (!match(ref, entry)) in __hash_bucket_find()
316 entry->size == ref->size ? ++match_lvl : 0; in __hash_bucket_find()
317 entry->type == ref->type ? ++match_lvl : 0; in __hash_bucket_find()
318 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find()
319 entry->sg_call_ents == ref->sg_call_ents ? ++match_lvl : 0; in __hash_bucket_find()
344 struct dma_debug_entry *ref) in bucket_find_exact() argument
346 return __hash_bucket_find(bucket, ref, exact_match); in bucket_find_exact()
350 struct dma_debug_entry *ref, in bucket_find_contain() argument
354 struct dma_debug_entry *entry, index = *ref; in bucket_find_contain()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Daudio-graph-port.yaml16 $ref: /schemas/graph.yaml#/$defs/port-base
19 $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate
21 $ref: /schemas/sound/dai-params.yaml#/$defs/dai-channels
23 $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-format
25 $ref: simple-card.yaml#/definitions/mclk-fs
28 $ref: /schemas/graph.yaml#/$defs/endpoint-base
31 $ref: simple-card.yaml#/definitions/mclk-fs
34 $ref: /schemas/types.yaml#/definitions/flag
37 $ref: /schemas/types.yaml#/definitions/flag
41 - $ref: /schemas/types.yaml#/definitions/flag
[all …]
Dsimple-card.yaml16 $ref: /schemas/types.yaml#/definitions/phandle
20 $ref: /schemas/types.yaml#/definitions/phandle
24 $ref: /schemas/types.yaml#/definitions/flag
28 $ref: /schemas/types.yaml#/definitions/flag
32 $ref: /schemas/types.yaml#/definitions/uint32
36 $ref: /schemas/types.yaml#/definitions/uint32
43 $ref: /schemas/types.yaml#/definitions/uint32
49 $ref: /schemas/types.yaml#/definitions/flag
58 $ref: /schemas/types.yaml#/definitions/flag
64 $ref: /schemas/types.yaml#/definitions/uint32
[all …]
/linux-6.6.21/fs/btrfs/
Dref-verify.c54 struct ref_entry ref; member
165 struct ref_entry *ref) in insert_ref_entry() argument
175 cmp = comp_refs(entry, ref); in insert_ref_entry()
184 rb_link_node(&ref->node, parent_node, p); in insert_ref_entry()
185 rb_insert_color(&ref->node, root); in insert_ref_entry()
238 struct ref_entry *ref; in free_block_entry() local
249 ref = rb_entry(n, struct ref_entry, node); in free_block_entry()
250 rb_erase(&ref->node, &be->refs); in free_block_entry()
251 kfree(ref); in free_block_entry()
317 struct ref_entry *ref = NULL, *exist; in add_tree_block() local
[all …]
/linux-6.6.21/arch/arm/boot/dts/rockchip/
Drv1126-pinctrl.dtsi15 /omit-if-no-ref/
23 /omit-if-no-ref/
29 /omit-if-no-ref/
49 /omit-if-no-ref/
55 /omit-if-no-ref/
63 /omit-if-no-ref/
81 /omit-if-no-ref/
91 /omit-if-no-ref/
125 /omit-if-no-ref/
137 /omit-if-no-ref/
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Di915_active.c20 struct kref ref; member
26 kref_get(&active->ref); in __live_get()
35 static void __live_release(struct kref *ref) in __live_release() argument
37 struct live_active *active = container_of(ref, typeof(*active), ref); in __live_release()
44 kref_put(&active->ref, __live_release); in __live_put()
71 kref_init(&active->ref); in __live_alloc()
279 void i915_active_print(struct i915_active *ref, struct drm_printer *m) in i915_active_print() argument
281 drm_printf(m, "active %ps:%ps\n", ref->active, ref->retire); in i915_active_print()
282 drm_printf(m, "\tcount: %d\n", atomic_read(&ref->count)); in i915_active_print()
284 str_yes_no(!llist_empty(&ref->preallocated_barriers))); in i915_active_print()
[all …]
/linux-6.6.21/Documentation/userspace-api/media/v4l/
Ddev-output.rst29 :ref:`VIDIOC_QUERYCAP` ioctl. As secondary device
30 functions they may also support the :ref:`raw VBI output <raw-vbi>`
38 Video output devices shall support :ref:`audio output <audio>`,
39 :ref:`modulator <tuner>`, :ref:`controls <control>`,
40 :ref:`cropping and scaling <crop>` and
41 :ref:`streaming parameter <streaming-par>` ioctls as needed. The
42 :ref:`video output <video>` ioctls must be supported by all video
60 defaults. An example is given in :ref:`crop`.
65 and call the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl with a pointer
75 of :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`, and call the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
[all …]
/linux-6.6.21/include/trace/events/
Dfscache.h259 int ref,
262 TP_ARGS(cookie_debug_id, ref, where),
266 __field(int, ref )
272 __entry->ref = ref;
279 __entry->ref)
284 int ref,
289 TP_ARGS(cookie_debug_id, ref, n_active, n_accesses, why),
293 __field(int, ref )
301 __entry->ref = ref;
310 __entry->ref,
[all …]

12345678910>>...89