| /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 …]
|
| /linux/drivers/dpll/zl3073x/ |
| H A D | ref.c | 63 struct zl3073x_ref *ref = &zldev->ref[index]; in zl3073x_ref_state_update() local 66 &ref->mon_status); in zl3073x_ref_state_update() 81 struct zl3073x_ref *ref = &zldev->ref[index]; in zl3073x_ref_state_fetch() local 87 if (zl3073x_is_n_pin(index) && zl3073x_ref_is_diff(ref - 1)) { in zl3073x_ref_state_fetch() 88 struct zl3073x_ref *p_ref = ref - 1; /* P-pin counterpart*/ in zl3073x_ref_state_fetch() 91 ref->cfg = p_ref->cfg; in zl3073x_ref_state_fetch() 92 ref->inv = p_ref->inv; in zl3073x_ref_state_fetch() 111 rc = zl3073x_read_u8(zldev, ZL_REG_REF_CONFIG, &ref->config); in zl3073x_ref_state_fetch() 116 rc = zl3073x_read_u16(zldev, ZL_REG_REF_FREQ_BASE, &ref->freq_base); in zl3073x_ref_state_fetch() 119 rc = zl3073x_read_u16(zldev, ZL_REG_REF_FREQ_MULT, &ref->freq_mult); in zl3073x_ref_state_fetch() [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588-base-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 | rk3528-pinctrl.dtsi | 15 /omit-if-no-ref/ 24 /omit-if-no-ref/ 31 /omit-if-no-ref/ 40 /omit-if-no-ref/ 47 /omit-if-no-ref/ 68 /omit-if-no-ref/ 75 /omit-if-no-ref/ 82 /omit-if-no-ref/ 91 /omit-if-no-ref/ 100 /omit-if-no-ref/ [all …]
|
| H A D | rk3562-pinctrl.dtsi | 15 /omit-if-no-ref/ 22 /omit-if-no-ref/ 29 /omit-if-no-ref/ 36 /omit-if-no-ref/ 43 /omit-if-no-ref/ 50 /omit-if-no-ref/ 59 /omit-if-no-ref/ 68 /omit-if-no-ref/ 77 /omit-if-no-ref/ 88 /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-extra-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 …]
|
| /linux/fs/smb/client/ |
| H A D | dfs.h | 30 struct dfs_ref *ref; member 36 #define ref_walk_cur(w) ((w)->ref) 63 static inline void __ref_walk_free(struct dfs_ref *ref) in __ref_walk_free() argument 65 kfree(ref->path); in __ref_walk_free() 66 kfree(ref->full_path); in __ref_walk_free() 67 dfs_cache_free_tgts(&ref->tl); in __ref_walk_free() 68 if (ref->ses) in __ref_walk_free() 69 cifs_put_smb_ses(ref->ses); in __ref_walk_free() 70 memset(ref, 0, sizeof(*ref)); in __ref_walk_free() 75 struct dfs_ref *ref; in ref_walk_free() local [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-shared.c | 59 struct kref ref; member 87 struct gpio_shared_ref *ref __free(kfree) = kzalloc_obj(*ref); in gpio_shared_make_ref() 88 if (!ref) in gpio_shared_make_ref() 97 ref->dev_id = ida_alloc(&gpio_shared_ida, GFP_KERNEL); in gpio_shared_make_ref() 98 if (ref->dev_id < 0) in gpio_shared_make_ref() 101 ref->flags = flags; in gpio_shared_make_ref() 102 ref->con_id = no_free_ptr(con_id_cpy); in gpio_shared_make_ref() 103 ref->fwnode = fwnode; in gpio_shared_make_ref() 104 lockdep_register_key(&ref in gpio_shared_make_ref() 113 struct gpio_shared_ref *ref; gpio_shared_setup_reset_proxy() local 165 struct gpio_shared_ref *ref; gpio_shared_of_traverse() local 316 gpio_shared_make_adev(struct gpio_device * gdev,struct gpio_shared_entry * entry,struct gpio_shared_ref * ref) gpio_shared_make_adev() argument 361 gpio_shared_dev_is_reset_gpio(struct device * consumer,struct gpio_shared_entry * entry,struct gpio_shared_ref * ref) gpio_shared_dev_is_reset_gpio() argument 443 gpio_shared_dev_is_reset_gpio(struct device * consumer,struct gpio_shared_entry * entry,struct gpio_shared_ref * ref) gpio_shared_dev_is_reset_gpio() argument 453 struct gpio_shared_ref *ref; gpio_shared_add_proxy_lookup() local 524 struct gpio_shared_ref *ref; gpiochip_setup_shared() local 609 struct gpio_shared_ref *ref; gpio_device_teardown_shared() local 715 gpio_shared_drop_ref(struct gpio_shared_ref * ref) gpio_shared_drop_ref() argument 741 struct gpio_shared_ref *ref, *rpos; gpio_shared_teardown() local 754 struct gpio_shared_ref *ref; gpio_shared_entry_is_really_shared() local 780 struct gpio_shared_ref *ref, *rpos; gpio_shared_free_exclusive() local [all...] |
| /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 …]
|
| /linux/include/linux/ |
| H A D | alloc_tag.h | 52 static inline bool is_codetag_empty(union codetag_ref *ref) in is_codetag_empty() argument 54 return ref->ct == CODETAG_EMPTY; in is_codetag_empty() 57 static inline void set_codetag_empty(union codetag_ref *ref) in set_codetag_empty() argument 59 if (ref) in set_codetag_empty() 60 ref->ct = CODETAG_EMPTY; in set_codetag_empty() 65 static inline bool is_codetag_empty(union codetag_ref *ref) { return false; } in is_codetag_empty() argument 67 static inline void set_codetag_empty(union codetag_ref *ref) in set_codetag_empty() argument 69 if (ref) in set_codetag_empty() 70 ref->ct = NULL; in set_codetag_empty() 155 static inline void alloc_tag_add_check(union codetag_ref *ref, struct alloc_tag *tag) in alloc_tag_add_check() argument [all …]
|
| H A D | file_ref.h | 59 static inline void file_ref_init(file_ref_t *ref, unsigned long cnt) in file_ref_init() argument 61 atomic_long_set(&ref->refcnt, cnt - 1); in file_ref_init() 64 bool __file_ref_put(file_ref_t *ref, unsigned long cnt); 78 static __always_inline __must_check bool file_ref_get(file_ref_t *ref) in file_ref_get() argument 108 return !atomic_long_add_negative(1, &ref->refcnt); in file_ref_get() 118 static __always_inline void file_ref_inc(file_ref_t *ref) in file_ref_inc() argument 120 long prior = atomic_long_fetch_inc_relaxed(&ref->refcnt); in file_ref_inc() 139 static __always_inline __must_check bool file_ref_put(file_ref_t *ref) in file_ref_put() argument 157 cnt = atomic_long_dec_return(&ref->refcnt); in file_ref_put() 160 return __file_ref_put(ref, cnt); in file_ref_put() [all …]
|
| /linux/Documentation/translations/zh_CN/mm/damon/ |
| H A D | design.rst | 26 要了解用户空间如何进行配置并启动或停止 DAMON,请参考 :ref:`DAMON sysfs 32 要了解用户空间如何暂停或恢复每个上下文,请参考 :ref:`DAMON sysfs 上下文 40 - :ref:`操作集 <damon_operations_set_zh_CN>`:实现依赖于给定监测目标地址空间 42 - :ref:`核心 <damon_core_logic_zh_CN>`:在操作集层之上,实现包括监测开销/准确性 44 - :ref:`模块 <damon_modules_zh_CN>`:在核心层之上,实现用于各种目的、并向用户空间 79 要了解用户空间如何通过 :ref:`DAMON sysfs 接口 <sysfs_interface_zh_CN>` 进行配置, 80 请参考文档的 :ref:`operations <sysfs_context_zh_CN>` 文件部分。 156 要了解用户空间如何通过 :ref:`DAMON sysfs 接口 <sysfs_interface_zh_CN>` 设置这些属性, 157 请参考文档的 :ref:`monitoring_attrs <sysfs_monitoring_attrs_zh_CN>` 部分。 237 使用该功能时,用户可以把感兴趣的数据属性注册到 DAMON :ref:`上下文 [all …]
|
| /linux/Documentation/userspace-api/media/dvb/ |
| 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 …]
|
| /linux/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
| H A D | usage.rst | 19 :ref:`这 <damon_modules_special_purpose_zh_CN>` 是为那些正在构建、发布和/或管理 29 :ref:`这 <sysfs_interface_zh_CN>` 是为那些希望更高级的使用DAMON的特权用户空间程序员准备的。 63 :ref:`/sys/kernel/mm/damon <sysfs_root_zh_CN>`/admin 64 │ :ref:`kdamonds <sysfs_kdamonds_zh_CN>`/nr_kdamonds 65 │ │ :ref:`0 <sysfs_kdamond_zh_CN>`/state,pid,refresh_ms 66 │ │ │ :ref:`contexts <sysfs_contexts_zh_CN>`/nr_contexts 67 │ │ │ │ :ref:`0 <sysfs_context_zh_CN>`/avail_operations,operations,addr_unit, 69 │ │ │ │ │ :ref:`monitoring_attrs <sysfs_monitoring_attrs_zh_CN>`/ 73 │ │ │ │ │ │ :ref:`probes <damon_usage_sysfs_probes_zh_CN>`/nr_probes 78 │ │ │ │ │ :ref:`targets <sysfs_targets_zh_CN>`/nr_targets [all …]
|
| /linux/tools/docs/ |
| 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 …]
|
| /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() 83 struct clk_ref *ref in clk_ref_set_rate() local 116 struct clk_ref *ref; mxs_clk_ref() local [all...] |
| /linux/fs/btrfs/ |
| H A D | ref-verify.c | 54 struct ref_entry ref; member 174 struct ref_entry *ref) in insert_ref_entry() argument 178 node = rb_find_add(&ref->node, root, ref_entry_cmp); in insert_ref_entry() 220 struct ref_entry *ref; in free_block_entry() local 231 ref = rb_entry(n, struct ref_entry, node); in free_block_entry() 232 rb_erase(&ref->node, &be->refs); in free_block_entry() 233 kfree(ref); in free_block_entry() 299 struct ref_entry *ref = NULL, *exist; in add_tree_block() local 301 ref = kmalloc_obj(struct ref_entry, GFP_NOFS); in add_tree_block() 302 if (!ref) in add_tree_block() [all …]
|
| /linux/drivers/dpll/ |
| H A D | dpll_core.c | 175 dpll_pin_registration_find(struct dpll_pin_ref *ref, in dpll_pin_registration_find() argument 181 list_for_each_entry(reg, &ref->registration_list, list) { in dpll_pin_registration_find() 195 struct dpll_pin_ref *ref; in dpll_xa_ref_pin_add() local 200 xa_for_each(xa_pins, i, ref) { in dpll_xa_ref_pin_add() 201 if (ref->pin != pin) in dpll_xa_ref_pin_add() 203 reg = dpll_pin_registration_find(ref, ops, priv, cookie); in dpll_xa_ref_pin_add() 211 ref = kzalloc_obj(*ref); in dpll_xa_ref_pin_add() 212 if (!ref) in dpll_xa_ref_pin_add() 214 ref in dpll_xa_ref_pin_add() 248 struct dpll_pin_ref *ref; dpll_xa_ref_pin_del() local 276 struct dpll_pin_ref *ref; dpll_xa_ref_dpll_add() local 329 struct dpll_pin_ref *ref; dpll_xa_ref_dpll_del() local 352 struct dpll_pin_ref *ref; dpll_xa_ref_dpll_first() local 992 struct dpll_pin_ref *ref; dpll_pin_on_pin_register() local 1048 struct dpll_pin_ref *ref; dpll_pin_on_pin_unregister() local 1119 dpll_pin_registration_first(struct dpll_pin_ref * ref) dpll_pin_registration_first() argument 1133 struct dpll_pin_ref *ref; dpll_pin_on_dpll_priv() local 1146 struct dpll_pin_ref *ref; dpll_pin_on_pin_priv() local 1170 struct dpll_pin_ref *ref; dpll_pin_own_dpll_ref_first() local 1182 dpll_pin_ops(struct dpll_pin_ref * ref) dpll_pin_ops() argument [all...] |
| /linux/fs/btrfs/tests/ |
| H A D | delayed-refs-tests.c | 175 struct btrfs_ref ref = { in simple_test() local 185 if (ref.type == BTRFS_REF_METADATA) in simple_test() 186 btrfs_init_tree_ref(&ref, node_check->owner, node_check->root, in simple_test() 189 btrfs_init_data_ref(&ref, node_check->owner, node_check->offset, in simple_test() 192 if (ref.type == BTRFS_REF_METADATA) in simple_test() 193 ret = btrfs_add_delayed_tree_ref(trans, &ref, NULL); in simple_test() 195 ret = btrfs_add_delayed_data_ref(trans, &ref, 0); in simple_test() 343 struct btrfs_ref ref = { in merge_tests() local 374 btrfs_init_tree_ref(&ref, FAKE_LEVEL, FAKE_ROOT_OBJECTID, false); in merge_tests() 379 btrfs_init_data_ref(&ref, FAKE_INO, FAKE_FILE_OFFSET, in merge_tests() [all …]
|
| /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() 461 struct imc_pmu_ref *ref; in nest_imc_counters_release() local 474 ref = get_nest_pmu_ref(event->cpu); in nest_imc_counters_release() 475 if (!ref) in nest_imc_counters_release() 479 spin_lock(&ref->lock); in nest_imc_counters_release() 480 if (ref->refc == 0) { in nest_imc_counters_release() 491 spin_unlock(&ref->lock); in nest_imc_counters_release() [all …]
|
| /linux/include/trace/events/ |
| H A D | fscache.h | 263 int ref, 266 TP_ARGS(cookie_debug_id, ref, where), 270 __field(int, ref ) 276 __entry->ref = ref; 283 __entry->ref) 288 int ref, 293 TP_ARGS(cookie_debug_id, ref, n_active, n_accesses, why), 297 __field(int, ref ) 305 __entry->ref = ref; 314 __entry->ref, [all …]
|