/openbmc/linux/lib/ |
H A D | percpu-refcount.c | 42 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 …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_active.c | 29 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 …]
|
H A D | i915_active.h | 152 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 …]
|
/openbmc/linux/Documentation/userspace-api/media/dvb/ |
H A D | frontend-property-terrestrial-systems.rst | 17 - :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 …]
|
H A D | frontend-property-satellite-systems.rst | 17 - :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 …]
|
H A D | frontend-property-cable-systems.rst | 24 - :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 …]
|
/openbmc/linux/include/linux/ |
H A D | percpu-refcount.h | 102 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 …]
|
H A D | rcuref.h | 24 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 …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588s-pinctrl.dtsi | 15 /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 …]
|
H A D | rk3568-pinctrl.dtsi | 15 /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 …]
|
H A D | rockchip-pinconf.dtsi | 7 /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 …]
|
H A D | rk3588-pinctrl.dtsi | 15 /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 …]
|
/openbmc/linux/fs/jffs2/ |
H A D | xattr.c | 444 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 …]
|
H A D | malloc.c | 204 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 …]
|
/openbmc/linux/scripts/ |
H A D | documentation-file-ref-check | 108 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 …]
|
/openbmc/linux/drivers/clk/mxs/ |
H A D | clk-ref.c | 33 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 …]
|
/openbmc/linux/fs/smb/client/ |
H A D | dfs.h | 27 struct dfs_ref *ref; member 33 #define ref_walk_cur(w) ((w)->ref) 58 static inline void __ref_walk_free(struct dfs_ref *ref) in __ref_walk_free() argument 60 kfree(ref->path); in __ref_walk_free() 61 kfree(ref->full_path); in __ref_walk_free() 62 dfs_cache_free_tgts(&ref->tl); in __ref_walk_free() 63 memset(ref, 0, sizeof(*ref)); in __ref_walk_free() 68 struct dfs_ref *ref = ref_walk_start(rw); in ref_walk_free() local 70 for (; ref <= ref_walk_end(rw); ref++) in ref_walk_free() 71 __ref_walk_free(ref); in ref_walk_free() [all …]
|
/openbmc/linux/kernel/dma/ |
H A D | debug.c | 294 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 …]
|
/openbmc/openbmc/poky/documentation/ref-manual/ |
H A D | classes.rst | 40 The :ref:`ref-classes-allarch` class is inherited by recipes that do not produce 52 configured for all architectures using :ref:`ref-classes-allarch`. This is the case 56 :ref:`do_package_write_* <ref-tasks-package_write_deb>` tasks to 61 By default, all recipes inherit the :ref:`ref-classes-base` and 62 :ref:`ref-classes-package` classes, which enable 66 inherit the :ref:`ref-classes-allarch` class. 73 The :ref:`ref-classes-archiver` class supports releasing source code and other 76 For more details on the source :ref:`ref-classes-archiver`, see the 77 ":ref:`dev-manual/licenses:maintaining open source license compliance during your product's lifecyc… 87 The :ref:`autotools* <ref-classes-autotools>` classes support packages built with the [all …]
|
H A D | tasks.rst | 17 ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:tasks`" and 18 ":ref:`bitbake-user-manual/bitbake-user-manual-execution:dependencies`" sections in the 39 If no such file is found, the :ref:`ref-tasks-compile` task does nothing. 61 :ref:`ref-tasks-configure` task does nothing. 81 :ref:`ref-classes-deploy` class and should write the output 83 confused with ``${DEPLOY_DIR}``. The :ref:`ref-classes-deploy` class sets up 84 :ref:`ref-tasks-deploy` as a shared state (sstate) task that can be accelerated 93 The :ref:`ref-tasks-deploy` task is not added as a task by default and 95 after :ref:`ref-tasks-compile`, you can add it by doing 100 Adding :ref:`ref-tasks-deploy` after other tasks works the same way. [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | ref-verify.c | 54 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 …]
|
H A D | delayed-ref.c | 427 struct btrfs_delayed_ref_node *ref) in drop_delayed_ref() argument 430 rb_erase_cached(&ref->ref_node, &head->ref_tree); in drop_delayed_ref() 431 RB_CLEAR_NODE(&ref->ref_node); in drop_delayed_ref() 432 if (!list_empty(&ref->add_list)) in drop_delayed_ref() 433 list_del(&ref->add_list); in drop_delayed_ref() 434 btrfs_put_delayed_ref(ref); in drop_delayed_ref() 440 struct btrfs_delayed_ref_node *ref, in merge_ref() argument 444 struct rb_node *node = rb_next(&ref->ref_node); in merge_ref() 454 if (comp_refs(ref, next, false)) in merge_ref() 457 if (ref->action == next->action) { in merge_ref() [all …]
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rv1126-pinctrl.dtsi | 15 /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 …]
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_active.c | 20 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 …]
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | imc-pmu.c | 361 struct imc_pmu_ref *ref; in ppc_nest_imc_cpu_offline() local 412 ref = get_nest_pmu_ref(cpu); in ppc_nest_imc_cpu_offline() 413 if (!ref) in ppc_nest_imc_cpu_offline() 416 ref->refc = 0; in ppc_nest_imc_cpu_offline() 462 struct imc_pmu_ref *ref; in nest_imc_counters_release() local 475 ref = get_nest_pmu_ref(event->cpu); in nest_imc_counters_release() 476 if (!ref) in nest_imc_counters_release() 480 spin_lock(&ref->lock); in nest_imc_counters_release() 481 if (ref->refc == 0) { in nest_imc_counters_release() 492 spin_unlock(&ref->lock); in nest_imc_counters_release() [all …]
|