/linux-master/arch/arm64/boot/dts/lg/ |
H A D | Makefile | 2 dtb-$(CONFIG_ARCH_LG1K) += lg1312-ref.dtb 3 dtb-$(CONFIG_ARCH_LG1K) += lg1313-ref.dtb
|
/linux-master/scripts/dtc/include-prefixes/arm64/lg/ |
H A D | Makefile | 2 dtb-$(CONFIG_ARCH_LG1K) += lg1312-ref.dtb 3 dtb-$(CONFIG_ARCH_LG1K) += lg1313-ref.dtb
|
/linux-master/lib/ |
H A D | percpu-refcount.c | 13 * don't try to detect the ref hitting 0 - which means that get/put can just 24 * the ref hitting 0 on every put - this would require global synchronization 28 * the ref can't hit 0 before the user drops the initial ref, so as long as we 29 * convert to non percpu mode before the initial ref is dropped everything 42 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) argument 45 (ref->percpu_count_ptr & ~__PERCPU_REF_ATOMIC_DEAD); 50 * @ref: percpu_ref to initialize 55 * Initializes @ref. @ref start 63 percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, unsigned int flags, gfp_t gfp) argument 108 __percpu_ref_exit(struct percpu_ref *ref) argument 130 percpu_ref_exit(struct percpu_ref *ref) argument 154 struct percpu_ref *ref = data->ref; local 171 struct percpu_ref *ref = data->ref; local 209 percpu_ref_noop_confirm_switch(struct percpu_ref *ref) argument 213 __percpu_ref_switch_to_atomic(struct percpu_ref *ref, percpu_ref_func_t *confirm_switch) argument 237 __percpu_ref_switch_to_percpu(struct percpu_ref *ref) argument 265 __percpu_ref_switch_mode(struct percpu_ref *ref, percpu_ref_func_t *confirm_switch) argument 306 percpu_ref_switch_to_atomic(struct percpu_ref *ref, percpu_ref_func_t *confirm_switch) argument 328 percpu_ref_switch_to_atomic_sync(struct percpu_ref *ref) argument 353 percpu_ref_switch_to_percpu(struct percpu_ref *ref) argument 383 percpu_ref_kill_and_confirm(struct percpu_ref *ref, percpu_ref_func_t *confirm_kill) argument 410 percpu_ref_is_zero(struct percpu_ref *ref) argument 441 percpu_ref_reinit(struct percpu_ref *ref) argument 463 percpu_ref_resurrect(struct percpu_ref *ref) argument [all...] |
H A D | rcuref.c | 77 * if (atomic_add_negative(-1, &ref->refcnt)) 78 * succeeds-> atomic_cmpxchg(&ref->refcnt, NOREF, DEAD); 80 * atomic_add_negative(1, &ref->refcnt); <- Elevates refcount to DEAD + 1 110 * // ref->refcnt = ONEREF 111 * if (!atomic_add_negative(-1, &ref->refcnt)) 114 * // ref->refcnt == NOREF 116 * // Elevates ref->refcnt to ONEREF 117 * if (!atomic_add_negative(1, &ref->refcnt)) 120 * if (put(&p->ref)) { <-- Succeeds 127 * atomic_cmpxchg(&ref 192 rcuref_get_slowpath(rcuref_t *ref) argument 236 rcuref_put_slowpath(rcuref_t *ref) argument [all...] |
/linux-master/drivers/gpu/drm/xe/compat-i915-headers/ |
H A D | i915_active.h | 11 static inline void i915_active_init(struct i915_active *ref, argument 12 int (*active)(struct i915_active *ref), 13 void (*retire)(struct i915_active *ref),
|
/linux-master/arch/loongarch/boot/dts/ |
H A D | Makefile | 3 dtb-y = loongson-2k0500-ref.dtb loongson-2k1000-ref.dtb loongson-2k2000-ref.dtb
|
/linux-master/include/linux/ |
H A D | rcuref.h | 21 * @ref: Pointer to the reference count 24 static inline void rcuref_init(rcuref_t *ref, unsigned int cnt) argument 26 atomic_set(&ref->refcnt, cnt - 1); 31 * @ref: Pointer to the reference count 35 static inline unsigned int rcuref_read(rcuref_t *ref) argument 37 unsigned int c = atomic_read(&ref->refcnt); 43 extern __must_check bool rcuref_get_slowpath(rcuref_t *ref); 47 * @ref: Pointer to the reference count 61 static inline __must_check bool rcuref_get(rcuref_t *ref) argument 67 if (likely(!atomic_add_negative_relaxed(1, &ref 79 __rcuref_put(rcuref_t *ref) argument 119 rcuref_put_rcusafe(rcuref_t *ref) argument 145 rcuref_put(rcuref_t *ref) argument [all...] |
H A D | percpu-refcount.h | 21 * puts the ref back in single atomic_t mode, collecting the per cpu refs and 22 * issuing the appropriate barriers, and then marks the ref as shutting down so 23 * that percpu_ref_put() will check for the ref hitting 0. After it returns, 24 * it's safe to drop the initial ref. 35 * and it's then safe to drop the initial ref with percpu_ref_put(). 74 * Start w/ ref == 1 in atomic mode. Can be switched to percpu 76 * with this flag, the ref will stay in atomic mode until 83 * Start dead w/ ref == 0 in atomic mode. Must be revived with 102 struct percpu_ref *ref; member in struct:percpu_ref_data 107 * The low bit of the pointer indicates whether the ref i 147 percpu_ref_kill(struct percpu_ref *ref) argument 158 __ref_is_percpu(struct percpu_ref *ref, unsigned long __percpu **percpu_countp) argument 198 percpu_ref_get_many(struct percpu_ref *ref, unsigned long nr) argument 220 percpu_ref_get(struct percpu_ref *ref) argument 235 percpu_ref_tryget_many(struct percpu_ref *ref, unsigned long nr) argument 264 percpu_ref_tryget(struct percpu_ref *ref) argument 275 percpu_ref_tryget_live_rcu(struct percpu_ref *ref) argument 306 percpu_ref_tryget_live(struct percpu_ref *ref) argument 326 percpu_ref_put_many(struct percpu_ref *ref, unsigned long nr) argument 349 percpu_ref_put(struct percpu_ref *ref) argument 363 percpu_ref_is_dying(struct percpu_ref *ref) argument [all...] |
/linux-master/drivers/gpu/drm/i915/ |
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 { \ 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) argument 175 return __i915_active_wait(ref, TASK_INTERRUPTIBL 194 __i915_active_acquire(struct i915_active *ref) argument 201 i915_active_is_idle(const struct i915_active *ref) argument [all...] |
H A D | i915_active.c | 29 struct i915_active *ref; member in struct:active_node 77 struct i915_active *ref = addr; local 79 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref; 87 static void debug_active_init(struct i915_active *ref) argument 89 debug_object_init(ref, &active_debug_desc); 92 static void debug_active_activate(struct i915_active *ref) argument 94 lockdep_assert_held(&ref->tree_lock); 95 debug_object_activate(ref, 98 debug_active_deactivate(struct i915_active *ref) argument 105 debug_active_fini(struct i915_active *ref) argument 110 debug_active_assert(struct i915_active *ref) argument 117 debug_active_init(struct i915_active *ref) argument 118 debug_active_activate(struct i915_active *ref) argument 119 debug_active_deactivate(struct i915_active *ref) argument 120 debug_active_fini(struct i915_active *ref) argument 121 debug_active_assert(struct i915_active *ref) argument 126 __active_retire(struct i915_active *ref) argument 179 struct i915_active *ref = container_of(wrk, typeof(*ref), work); local 189 active_retire(struct i915_active *ref) argument 232 __active_lookup(struct i915_active *ref, u64 idx) argument 289 active_instance(struct i915_active *ref, u64 idx) argument 338 __i915_active_init(struct i915_active *ref, int (*active)(struct i915_active *ref), void (*retire)(struct i915_active *ref), unsigned long flags, struct lock_class_key *mkey, struct lock_class_key *wkey) argument 365 ____active_del_barrier(struct i915_active *ref, struct active_node *node, struct intel_engine_cs *engine) argument 408 __active_del_barrier(struct i915_active *ref, struct active_node *node) argument 414 replace_barrier(struct i915_active *ref, struct i915_active_fence *active) argument 427 i915_active_add_request(struct i915_active *ref, struct i915_request *rq) argument 464 __i915_active_set_fence(struct i915_active *ref, struct i915_active_fence *active, struct dma_fence *fence) argument 483 i915_active_set_exclusive(struct i915_active *ref, struct dma_fence *f) argument 489 i915_active_acquire_if_busy(struct i915_active *ref) argument 495 __i915_active_activate(struct i915_active *ref) argument 503 i915_active_acquire(struct i915_active *ref) argument 530 i915_active_acquire_for_context(struct i915_active *ref, u64 idx) argument 548 i915_active_release(struct i915_active *ref) argument 584 flush_lazy_signals(struct i915_active *ref) argument 601 __i915_active_wait(struct i915_active *ref, int state) argument 651 struct i915_active *ref; member in struct:wait_barrier 668 __await_barrier(struct i915_active *ref, struct i915_sw_fence *fence) argument 691 await_active(struct i915_active *ref, unsigned int flags, int (*fn)(void *arg, struct dma_fence *fence), void *arg, struct i915_sw_fence *barrier) argument 738 i915_request_await_active(struct i915_request *rq, struct i915_active *ref, unsigned int flags) argument 751 i915_sw_fence_await_active(struct i915_sw_fence *fence, struct i915_active *ref, unsigned int flags) argument 758 i915_active_fini(struct i915_active *ref) argument 774 reuse_idle_barrier(struct i915_active *ref, u64 idx) argument 857 i915_active_acquire_preallocate_barrier(struct i915_active *ref, struct intel_engine_cs *engine) argument 939 i915_active_acquire_barrier(struct i915_active *ref) argument 1141 struct kref ref; member in struct:auto_active 1144 i915_active_get(struct i915_active *ref) argument 1152 auto_release(struct kref *ref) argument 1160 i915_active_put(struct i915_active *ref) argument 1167 auto_active(struct i915_active *ref) argument 1173 auto_retire(struct i915_active *ref) argument [all...] |
/linux-master/arch/arm64/boot/dts/socionext/ |
H A D | Makefile | 4 uniphier-ld11-ref.dtb \ 7 uniphier-ld20-ref.dtb \ 8 uniphier-pxs3-ref.dtb \ 9 uniphier-pxs3-ref-gadget0.dtb \ 10 uniphier-pxs3-ref-gadget1.dtb
|
/linux-master/scripts/dtc/include-prefixes/arm64/socionext/ |
H A D | Makefile | 4 uniphier-ld11-ref.dtb \ 7 uniphier-ld20-ref.dtb \ 8 uniphier-pxs3-ref.dtb \ 9 uniphier-pxs3-ref-gadget0.dtb \ 10 uniphier-pxs3-ref-gadget1.dtb
|
/linux-master/fs/smb/client/ |
H A D | dfs.h | 27 struct dfs_ref *ref; member in struct:dfs_ref_walk 33 #define ref_walk_cur(w) ((w)->ref) 58 static inline void __ref_walk_free(struct dfs_ref *ref) argument 60 kfree(ref->path); 61 kfree(ref->full_path); 62 dfs_cache_free_tgts(&ref->tl); 63 memset(ref, 0, sizeof(*ref)); 68 struct dfs_ref *ref = ref_walk_start(rw); local 70 for (; ref < 77 struct dfs_ref *ref = ref_walk_cur(rw) + 1; local 90 struct dfs_ref *ref = ref_walk_cur(rw); local 128 dfs_get_referral(struct cifs_mount_ctx *mnt_ctx, const char *path, struct dfs_info3_param *ref, struct dfs_cache_tgt_list *tl) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | if0004.h | 15 __u32 ref; member in struct:nv04_nvsw_get_ref_v0
|
/linux-master/drivers/clk/mxs/ |
H A D | clk-ref.c | 33 struct clk_ref *ref = to_clk_ref(hw); local 35 writel_relaxed(1 << ((ref->idx + 1) * 8 - 1), ref->reg + CLR); 42 struct clk_ref *ref = to_clk_ref(hw); local 44 writel_relaxed(1 << ((ref->idx + 1) * 8 - 1), ref->reg + SET); 50 struct clk_ref *ref = to_clk_ref(hw); local 52 u8 frac = (readl_relaxed(ref->reg) >> (ref->idx * 8)) & 0x3f; 86 struct clk_ref *ref local 124 struct clk_ref *ref; local [all...] |
/linux-master/net/mac80211/ |
H A D | rate.h | 39 static inline void *rate_control_alloc_sta(struct rate_control_ref *ref, argument 43 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); 48 struct rate_control_ref *ref = sta->rate_ctrl; local 52 ref->ops->free_sta(ref->priv, ista, priv_sta); 58 struct rate_control_ref *ref = sta->rate_ctrl; local 59 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs) 60 ref [all...] |
/linux-master/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"; 129 $fulref =~ s/^(\<file|ref)://; 144 next if (grep -e, glob("$ref $fulref")); 151 next if (grep -e, glob("$path/$ref $path/../$ref [all...] |
/linux-master/arch/arm/boot/dts/socionext/ |
H A D | Makefile | 4 uniphier-ld4-ref.dtb \ 5 uniphier-ld6b-ref.dtb \ 7 uniphier-pro4-ref.dtb \ 13 uniphier-sld8-ref.dtb
|
/linux-master/scripts/dtc/include-prefixes/arm/socionext/ |
H A D | Makefile | 4 uniphier-ld4-ref.dtb \ 5 uniphier-ld6b-ref.dtb \ 7 uniphier-pro4-ref.dtb \ 13 uniphier-sld8-ref.dtb
|
/linux-master/fs/jffs2/ |
H A D | xattr.c | 424 * verify_xattr_ref(c, ref) 427 * save_xattr_ref(c, ref) 432 * delete_xattr_ref(c, ref) 444 static int verify_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) argument 454 if (ref_flags(ref->node) != REF_UNCHECKED) 456 offset = ref_offset(ref->node); 482 ref->ino = je32_to_cpu(rr.ino); 483 ref->xid = je32_to_cpu(rr.xid); 484 ref->xseqno = je32_to_cpu(rr.xseqno); 485 if (ref 506 save_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) argument 554 struct jffs2_xattr_ref *ref; local 576 delete_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) argument 600 struct jffs2_xattr_ref *ref, *_ref; local 618 struct jffs2_xattr_ref *ref, *_ref; local 640 struct jffs2_xattr_ref *ref, *cmp, **pref, **pcmp; local 743 struct jffs2_xattr_ref *ref, *_ref; local 777 struct jffs2_xattr_ref *ref, *_ref; local 972 struct jffs2_xattr_ref *ref, **pref; local 1042 struct jffs2_xattr_ref *ref, **pref; local 1104 struct jffs2_xattr_ref *ref, *newref, **pref; local 1259 jffs2_garbage_collect_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref, struct jffs2_raw_node_ref *raw) argument 1336 jffs2_release_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) argument [all...] |
H A D | malloc.c | 204 struct jffs2_raw_node_ref **p, *ref; local 210 ref = *p; 215 if (ref && ref->flash_offset != REF_EMPTY_NODE) 216 ref++; 219 if (!ref) { 221 ref = *p = jffs2_alloc_refblock(); 222 if (!ref) 225 if (ref->flash_offset == REF_LINK_NODE) { 226 p = &ref 299 struct jffs2_xattr_ref *ref; local 310 jffs2_free_xattr_ref(struct jffs2_xattr_ref *ref) argument [all...] |
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_active.c | 20 struct kref ref; member in struct:live_active 26 kref_get(&active->ref); 35 static void __live_release(struct kref *ref) argument 37 struct live_active *active = container_of(ref, typeof(*active), ref); 44 kref_put(&active->ref, __live_release); 71 kref_init(&active->ref); 116 pr_err("Failed to track active ref!\n"); 279 void i915_active_print(struct i915_active *ref, struct drm_printer *m) argument 281 drm_printf(m, "active %ps:%ps\n", ref 315 active_flush(struct i915_active *ref, struct i915_active_fence *active) argument 332 i915_active_unlock_wait(struct i915_active *ref) argument [all...] |
/linux-master/arch/arm/boot/dts/vt8500/ |
H A D | Makefile | 4 wm8505-ref.dtb \
|
/linux-master/scripts/dtc/include-prefixes/arm/vt8500/ |
H A D | Makefile | 4 wm8505-ref.dtb \
|
/linux-master/kernel/dma/ |
H A D | debug.c | 295 struct dma_debug_entry *ref, 302 if (!match(ref, entry)) 317 entry->size == ref->size ? ++match_lvl : 0; 318 entry->type == ref->type ? ++match_lvl : 0; 319 entry->direction == ref->direction ? ++match_lvl : 0; 320 entry->sg_call_ents == ref->sg_call_ents ? ++match_lvl : 0; 345 struct dma_debug_entry *ref) 347 return __hash_bucket_find(bucket, ref, exact_match); 351 struct dma_debug_entry *ref, 355 struct dma_debug_entry *entry, index = *ref; 294 __hash_bucket_find(struct hash_bucket *bucket, struct dma_debug_entry *ref, match_fn match) argument 344 bucket_find_exact(struct hash_bucket *bucket, struct dma_debug_entry *ref) argument 350 bucket_find_contain(struct hash_bucket **bucket, struct dma_debug_entry *ref, unsigned long *flags) argument 961 check_unmap(struct dma_debug_entry *ref) argument 1092 check_sync(struct device *dev, struct dma_debug_entry *ref, bool to_cpu) argument 1247 struct dma_debug_entry ref; local 1286 struct dma_debug_entry ref = { local 1337 get_nr_mapped_entries(struct device *dev, struct dma_debug_entry *ref) argument 1367 struct dma_debug_entry ref = { local 1426 struct dma_debug_entry ref = { local 1478 struct dma_debug_entry ref = { local 1495 struct dma_debug_entry ref; local 1514 struct dma_debug_entry ref; local 1540 struct dma_debug_entry ref = { local 1572 struct dma_debug_entry ref = { local [all...] |