/Linux-v5.4/lib/ |
D | percpu-refcount.c | 40 static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref) in percpu_count_ptr() argument 43 (ref->percpu_count_ptr & ~__PERCPU_REF_ATOMIC_DEAD); in percpu_count_ptr() 60 int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release, in percpu_ref_init() argument 67 ref->percpu_count_ptr = (unsigned long) in percpu_ref_init() 69 if (!ref->percpu_count_ptr) in percpu_ref_init() 72 ref->force_atomic = flags & PERCPU_REF_INIT_ATOMIC; in percpu_ref_init() 73 ref->allow_reinit = flags & PERCPU_REF_ALLOW_REINIT; in percpu_ref_init() 76 ref->percpu_count_ptr |= __PERCPU_REF_ATOMIC; in percpu_ref_init() 77 ref->allow_reinit = true; in percpu_ref_init() 83 ref->percpu_count_ptr |= __PERCPU_REF_DEAD; in percpu_ref_init() [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | i915_active.c | 15 #define BKL(ref) (&(ref)->i915->drm.struct_mutex) argument 31 struct i915_active *ref; member 78 struct i915_active *ref = addr; in active_debug_hint() local 80 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref; in active_debug_hint() 88 static void debug_active_init(struct i915_active *ref) in debug_active_init() argument 90 debug_object_init(ref, &active_debug_desc); in debug_active_init() 93 static void debug_active_activate(struct i915_active *ref) in debug_active_activate() argument 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 debug_object_deactivate(ref, &active_debug_desc); in debug_active_deactivate() [all …]
|
D | i915_active.h | 362 struct i915_active *ref, 363 int (*active)(struct i915_active *ref), 364 void (*retire)(struct i915_active *ref), 366 #define i915_active_init(i915, ref, active, retire) do { \ argument 369 __i915_active_init(i915, ref, active, retire, &__key); \ 372 int i915_active_ref(struct i915_active *ref, 376 int i915_active_wait(struct i915_active *ref); 379 struct i915_active *ref); 383 int i915_active_acquire(struct i915_active *ref); 384 void i915_active_release(struct i915_active *ref); [all …]
|
/Linux-v5.4/Documentation/media/uapi/dvb/ |
D | frontend-property-terrestrial-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_BANDWIDTH_HZ <DTV-BANDWIDTH-HZ>` 38 - :ref:`DTV_INVERSION <DTV-INVERSION>` 40 - :ref:`DTV_CODE_RATE_HP <DTV-CODE-RATE-HP>` 42 - :ref:`DTV_CODE_RATE_LP <DTV-CODE-RATE-LP>` [all …]
|
D | frontend-property-satellite-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_INVERSION <DTV-INVERSION>` 36 - :ref:`DTV_SYMBOL_RATE <DTV-SYMBOL-RATE>` 38 - :ref:`DTV_INNER_FEC <DTV-INNER-FEC>` 40 - :ref:`DTV_VOLTAGE <DTV-VOLTAGE>` 42 - :ref:`DTV_TONE <DTV-TONE>` [all …]
|
D | frontend-property-cable-systems.rst | 31 - :ref:`DTV_API_VERSION <DTV-API-VERSION>` 33 - :ref:`DTV_DELIVERY_SYSTEM <DTV-DELIVERY-SYSTEM>` 35 - :ref:`DTV_TUNE <DTV-TUNE>` 37 - :ref:`DTV_CLEAR <DTV-CLEAR>` 39 - :ref:`DTV_FREQUENCY <DTV-FREQUENCY>` 41 - :ref:`DTV_MODULATION <DTV-MODULATION>` 43 - :ref:`DTV_INVERSION <DTV-INVERSION>` 45 - :ref:`DTV_SYMBOL_RATE <DTV-SYMBOL-RATE>` 47 - :ref:`DTV_INNER_FEC <DTV-INNER-FEC>` 49 - :ref:`DTV_LNA <DTV-LNA>` [all …]
|
/Linux-v5.4/include/linux/ |
D | percpu-refcount.h | 109 int __must_check percpu_ref_init(struct percpu_ref *ref, 112 void percpu_ref_exit(struct percpu_ref *ref); 113 void percpu_ref_switch_to_atomic(struct percpu_ref *ref, 115 void percpu_ref_switch_to_atomic_sync(struct percpu_ref *ref); 116 void percpu_ref_switch_to_percpu(struct percpu_ref *ref); 117 void percpu_ref_kill_and_confirm(struct percpu_ref *ref, 119 void percpu_ref_resurrect(struct percpu_ref *ref); 120 void percpu_ref_reinit(struct percpu_ref *ref); 134 static inline void percpu_ref_kill(struct percpu_ref *ref) in percpu_ref_kill() argument 136 percpu_ref_kill_and_confirm(ref, NULL); in percpu_ref_kill() [all …]
|
/Linux-v5.4/fs/jffs2/ |
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 …]
|
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 …]
|
D | nodelist.c | 590 struct jffs2_raw_node_ref *ref; in jffs2_link_node_ref() local 595 ref = jeb->last_node; in jffs2_link_node_ref() 597 dbg_noderef("Last node at %p is (%08x,%p)\n", ref, ref->flash_offset, in jffs2_link_node_ref() 598 ref->next_in_ino); in jffs2_link_node_ref() 600 while (ref->flash_offset != REF_EMPTY_NODE) { in jffs2_link_node_ref() 601 if (ref->flash_offset == REF_LINK_NODE) in jffs2_link_node_ref() 602 ref = ref->next_in_ino; in jffs2_link_node_ref() 604 ref++; in jffs2_link_node_ref() 607 dbg_noderef("New ref is %p (%08x becomes %08x,%p) len 0x%x\n", ref, in jffs2_link_node_ref() 608 ref->flash_offset, ofs, ref->next_in_ino, len); in jffs2_link_node_ref() [all …]
|
D | readinode.c | 33 struct jffs2_raw_node_ref *ref = tn->fn->raw; in check_node_data() local 43 ofs = ref_offset(ref) + sizeof(struct jffs2_raw_inode); in check_node_data() 53 ref_offset(ref), tn->csize, ofs); in check_node_data() 62 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len); in check_node_data() 109 ref_offset(ref), tn->data_crc, crc); in check_node_data() 114 jeb = &c->blocks[ref->flash_offset / c->sector_size]; in check_node_data() 115 len = ref_totlen(c, jeb, ref); in check_node_data() 120 ref->flash_offset |= REF_PRISTINE; in check_node_data() 568 static struct jffs2_raw_node_ref *jffs2_first_valid_node(struct jffs2_raw_node_ref *ref) in jffs2_first_valid_node() argument 570 while (ref && ref->next_in_ino) { in jffs2_first_valid_node() [all …]
|
/Linux-v5.4/scripts/ |
D | documentation-file-ref-check | 98 my $ref = $2; 109 $ref =~ s/(txt|rst)\[\d+]$/$1/; 112 $ref =~ s/\].*// if (!($ref =~ m/\[/)); 115 $ref =~ s/[\,\.]+$//; 117 my $fulref = "$prefix$ref"; 134 next if (grep -e, glob("$ref $fulref")); 140 next if (grep -e, glob("$path/$ref $path/../$ref $path/$fulref")); 149 if (!($ref =~ m/(scripts|Kconfig|Kbuild)/)) { 150 $broken_ref{$ref}++; 166 foreach my $ref (keys %broken_ref) { [all …]
|
/Linux-v5.4/drivers/clk/mxs/ |
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 …]
|
/Linux-v5.4/kernel/dma/ |
D | debug.c | 289 struct dma_debug_entry *ref, in __hash_bucket_find() argument 296 if (!match(ref, entry)) in __hash_bucket_find() 311 entry->size == ref->size ? ++match_lvl : 0; in __hash_bucket_find() 312 entry->type == ref->type ? ++match_lvl : 0; in __hash_bucket_find() 313 entry->direction == ref->direction ? ++match_lvl : 0; in __hash_bucket_find() 314 entry->sg_call_ents == ref->sg_call_ents ? ++match_lvl : 0; in __hash_bucket_find() 339 struct dma_debug_entry *ref) in bucket_find_exact() argument 341 return __hash_bucket_find(bucket, ref, exact_match); in bucket_find_exact() 345 struct dma_debug_entry *ref, in bucket_find_contain() argument 349 unsigned int max_range = dma_get_max_seg_size(ref->dev); in bucket_find_contain() [all …]
|
/Linux-v5.4/arch/powerpc/perf/ |
D | imc-pmu.c | 337 struct imc_pmu_ref *ref; in ppc_nest_imc_cpu_offline() local 388 ref = get_nest_pmu_ref(cpu); in ppc_nest_imc_cpu_offline() 389 if (!ref) in ppc_nest_imc_cpu_offline() 392 ref->refc = 0; in ppc_nest_imc_cpu_offline() 438 struct imc_pmu_ref *ref; in nest_imc_counters_release() local 451 ref = get_nest_pmu_ref(event->cpu); in nest_imc_counters_release() 452 if (!ref) in nest_imc_counters_release() 456 mutex_lock(&ref->lock); in nest_imc_counters_release() 457 if (ref->refc == 0) { in nest_imc_counters_release() 468 mutex_unlock(&ref->lock); in nest_imc_counters_release() [all …]
|
/Linux-v5.4/drivers/xen/ |
D | grant-table.c | 118 void (*update_entry)(grant_ref_t ref, domid_t domid, 128 int (*end_foreign_access_ref)(grant_ref_t ref, int readonly); 136 unsigned long (*end_foreign_transfer_ref)(grant_ref_t ref); 143 int (*query_foreign_access)(grant_ref_t ref); 173 int ref, rc = 0; in get_free_entries() local 184 ref = head = gnttab_free_head; in get_free_entries() 193 return ref; in get_free_entries() 222 static void put_free_entry(grant_ref_t ref) in put_free_entry() argument 226 gnttab_entry(ref) = gnttab_free_head; in put_free_entry() 227 gnttab_free_head = ref; in put_free_entry() [all …]
|
/Linux-v5.4/fs/btrfs/ |
D | ref-verify.c | 51 struct ref_entry ref; member 162 struct ref_entry *ref) in insert_ref_entry() argument 172 cmp = comp_refs(entry, ref); in insert_ref_entry() 181 rb_link_node(&ref->node, parent_node, p); in insert_ref_entry() 182 rb_insert_color(&ref->node, root); in insert_ref_entry() 235 struct ref_entry *ref; in free_block_entry() local 246 ref = rb_entry(n, struct ref_entry, node); in free_block_entry() 247 rb_erase(&ref->node, &be->refs); in free_block_entry() 248 kfree(ref); in free_block_entry() 312 struct ref_entry *ref = NULL, *exist; in add_tree_block() local [all …]
|
D | delayed-ref.c | 418 struct btrfs_delayed_ref_node *ref) in drop_delayed_ref() argument 421 rb_erase_cached(&ref->ref_node, &head->ref_tree); in drop_delayed_ref() 422 RB_CLEAR_NODE(&ref->ref_node); in drop_delayed_ref() 423 if (!list_empty(&ref->add_list)) in drop_delayed_ref() 424 list_del(&ref->add_list); in drop_delayed_ref() 425 ref->in_tree = 0; in drop_delayed_ref() 426 btrfs_put_delayed_ref(ref); in drop_delayed_ref() 433 struct btrfs_delayed_ref_node *ref, in merge_ref() argument 437 struct rb_node *node = rb_next(&ref->ref_node); in merge_ref() 447 if (comp_refs(ref, next, false)) in merge_ref() [all …]
|
D | backref.c | 165 static void free_pref(struct prelim_ref *ref) in free_pref() argument 167 kmem_cache_free(btrfs_prelim_ref_cache, ref); in free_pref() 231 struct prelim_ref *ref; in prelim_ref_insert() local 240 ref = rb_entry(parent, struct prelim_ref, rbnode); in prelim_ref_insert() 241 result = prelim_ref_compare(ref, newref); in prelim_ref_insert() 249 struct extent_inode_elem *eie = ref->inode_list; in prelim_ref_insert() 255 ref->inode_list = newref->inode_list; in prelim_ref_insert() 258 trace_btrfs_prelim_ref_merge(fs_info, ref, newref, in prelim_ref_insert() 265 update_share_count(sc, ref->count, in prelim_ref_insert() 266 ref->count + newref->count); in prelim_ref_insert() [all …]
|
/Linux-v5.4/Documentation/media/uapi/v4l/ |
D | dev-output.rst | 36 :ref:`VIDIOC_QUERYCAP` ioctl. As secondary device 37 functions they may also support the :ref:`raw VBI output <raw-vbi>` 46 Video output devices shall support :ref:`audio output <audio>`, 47 :ref:`modulator <tuner>`, :ref:`controls <control>`, 48 :ref:`cropping and scaling <crop>` and 49 :ref:`streaming parameter <streaming-par>` ioctls as needed. The 50 :ref:`video output <video>` ioctls must be supported by all video 63 As usual these parameters are *not* reset at :ref:`open() <func-open>` 69 defaults. An example is given in :ref:`crop`. 74 and call the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl with a pointer [all …]
|
D | dev-capture.rst | 37 :ref:`VIDIOC_QUERYCAP` ioctl. As secondary device 38 functions they may also support the :ref:`video overlay <overlay>` 39 (``V4L2_CAP_VIDEO_OVERLAY``) and the :ref:`raw VBI capture <raw-vbi>` 48 Video capture devices shall support :ref:`audio input <audio>`, 49 :ref:`tuner`, :ref:`controls <control>`, 50 :ref:`cropping and scaling <crop>` and 51 :ref:`streaming parameter <streaming-par>` ioctls as needed. The 52 :ref:`video input <video>` ioctls must be supported by all video 65 As usual these parameters are *not* reset at :ref:`open() <func-open>` 71 defaults. An example is given in :ref:`crop`. [all …]
|
D | libv4l-introduction.rst | 23 :ref:`v4l2grab <v4l2grab-example>`. 35 :ref:`V4L2_PIX_FMT_BGR24 <V4L2-PIX-FMT-BGR24>`, 36 :ref:`V4L2_PIX_FMT_HM12 <V4L2-PIX-FMT-HM12>`, 37 :ref:`V4L2_PIX_FMT_JPEG <V4L2-PIX-FMT-JPEG>`, 38 :ref:`V4L2_PIX_FMT_MJPEG <V4L2-PIX-FMT-MJPEG>`, 39 :ref:`V4L2_PIX_FMT_MR97310A <V4L2-PIX-FMT-MR97310A>`, 40 :ref:`V4L2_PIX_FMT_OV511 <V4L2-PIX-FMT-OV511>`, 41 :ref:`V4L2_PIX_FMT_OV518 <V4L2-PIX-FMT-OV518>`, 42 :ref:`V4L2_PIX_FMT_PAC207 <V4L2-PIX-FMT-PAC207>`, 43 :ref:`V4L2_PIX_FMT_PJPG <V4L2-PIX-FMT-PJPG>`, [all …]
|
/Linux-v5.4/net/mac80211/ |
D | rate.h | 37 static inline void *rate_control_alloc_sta(struct rate_control_ref *ref, in rate_control_alloc_sta() argument 41 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); in rate_control_alloc_sta() 46 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta() local 50 ref->ops->free_sta(ref->priv, ista, priv_sta); in rate_control_free_sta() 56 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_add_sta_debugfs() local 57 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs) in rate_control_add_sta_debugfs() 58 ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv, in rate_control_add_sta_debugfs()
|
/Linux-v5.4/arch/powerpc/kvm/ |
D | e500_mmu_host.c | 189 struct tlbe_ref *ref = &vcpu_e500->gtlb_priv[tlbsel][esel].ref; in inval_gtlbe_on_host() local 192 if (!(ref->flags & E500_TLB_VALID)) { in inval_gtlbe_on_host() 193 WARN(ref->flags & (E500_TLB_BITMAP | E500_TLB_TLB0), in inval_gtlbe_on_host() 194 "%s: flags %x\n", __func__, ref->flags); in inval_gtlbe_on_host() 198 if (tlbsel == 1 && ref->flags & E500_TLB_BITMAP) { in inval_gtlbe_on_host() 216 ref->flags &= ~(E500_TLB_BITMAP | E500_TLB_VALID); in inval_gtlbe_on_host() 220 if (tlbsel == 1 && ref->flags & E500_TLB_TLB0) { in inval_gtlbe_on_host() 226 ref->flags &= ~(E500_TLB_TLB0 | E500_TLB_VALID); in inval_gtlbe_on_host() 233 if (ref->flags & E500_TLB_VALID) in inval_gtlbe_on_host() 237 ref->flags = 0; in inval_gtlbe_on_host() [all …]
|
/Linux-v5.4/drivers/misc/lkdtm/ |
D | refcount.c | 17 static void overflow_check(refcount_t *ref) in overflow_check() argument 19 switch (refcount_read(ref)) { in overflow_check() 27 pr_err("Fail: refcount wrapped to %d\n", refcount_read(ref)); in overflow_check() 92 static void check_zero(refcount_t *ref) in check_zero() argument 94 switch (refcount_read(ref)) { in check_zero() 105 pr_err("Fail: refcount went crazy: %d\n", refcount_read(ref)); in check_zero() 127 static void check_negative(refcount_t *ref, int start) in check_negative() argument 134 if (refcount_read(ref) == start) { in check_negative() 140 switch (refcount_read(ref)) { in check_negative() 148 pr_err("Fail: refcount went crazy: %d\n", refcount_read(ref)); in check_negative() [all …]
|