/kernel/linux/linux-5.10/drivers/w1/ |
H A D | w1_netlink.c | 26 struct cn_msg *cn; /* advances as cn_msg is appeneded */ member 40 /* pointers within w1_cb_block and cn data */ 57 if (!block->cn) in w1_reply_len() 59 return (u8 *)block->cn - (u8 *)block->first_cn + block->cn->len; in w1_reply_len() 88 block->cn = NULL; in w1_reply_make_space() 97 if (!(block->request_cn.flags & W1_CN_BUNDLE) && block->cn) in w1_netlink_check_send() 104 * @ack: determines if cn can be reused 106 * block->cn will be setup with the correct ack, advancing if needed 107 * block->cn 192 w1_netlink_send_error(struct cn_msg *cn, struct w1_netlink_msg *msg, int portid, int error) w1_netlink_send_error() argument 196 struct cn_msg cn; w1_netlink_send_error() member 217 struct cn_msg cn; w1_netlink_send() member 400 struct cn_msg *cn; w1_process_command_root() local 535 w1_cn_callback(struct cn_msg *cn, struct netlink_skb_parms *nsp) w1_cn_callback() argument 727 w1_netlink_send(struct w1_master *dev, struct w1_netlink_msg *cn) w1_netlink_send() argument [all...] |
/kernel/linux/linux-6.6/drivers/w1/ |
H A D | w1_netlink.c | 26 struct cn_msg *cn; /* advances as cn_msg is appeneded */ member 40 /* pointers within w1_cb_block and cn data */ 57 if (!block->cn) in w1_reply_len() 59 return (u8 *)block->cn - (u8 *)block->first_cn + block->cn->len; in w1_reply_len() 90 block->cn = NULL; in w1_reply_make_space() 99 if (!(block->request_cn.flags & W1_CN_BUNDLE) && block->cn) in w1_netlink_check_send() 106 * @ack: determines if cn can be reused 108 * block->cn will be setup with the correct ack, advancing if needed 109 * block->cn 194 w1_netlink_send_error(struct cn_msg *cn, struct w1_netlink_msg *msg, int portid, int error) w1_netlink_send_error() argument 198 struct cn_msg cn; w1_netlink_send_error() member 219 struct cn_msg cn; w1_netlink_send() member 402 struct cn_msg *cn; w1_process_command_root() local 537 w1_cn_callback(struct cn_msg *cn, struct netlink_skb_parms *nsp) w1_cn_callback() argument 730 w1_netlink_send(struct w1_master *dev, struct w1_netlink_msg *cn) w1_netlink_send() argument [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | coredump.c | 69 static int expand_corename(struct core_name *cn, int size) in expand_corename() argument 74 corename = krealloc(cn->corename, size, GFP_KERNEL); in expand_corename() 82 cn->size = size; in expand_corename() 83 cn->corename = corename; in expand_corename() 87 static __printf(2, 0) int cn_vprintf(struct core_name *cn, const char *fmt, in cn_vprintf() argument 94 free = cn->size - cn->used; in cn_vprintf() 97 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf() 101 cn in cn_vprintf() 111 cn_printf(struct core_name *cn, const char *fmt, ...) cn_printf() argument 124 cn_esc_printf(struct core_name *cn, const char *fmt, ...) cn_esc_printf() argument 161 cn_print_exe_file(struct core_name *cn, bool name_only) cn_print_exe_file() argument 201 format_corename(struct core_name *cn, struct coredump_params *cprm, size_t **argv, int *argc) format_corename() argument 522 struct core_name cn; do_coredump() local [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | coredump.c | 71 static int expand_corename(struct core_name *cn, int size) in expand_corename() argument 73 char *corename = krealloc(cn->corename, size, GFP_KERNEL); in expand_corename() 81 cn->size = ksize(corename); in expand_corename() 82 cn->corename = corename; in expand_corename() 86 static __printf(2, 0) int cn_vprintf(struct core_name *cn, const char *fmt, in cn_vprintf() argument 93 free = cn->size - cn->used; in cn_vprintf() 96 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf() 100 cn in cn_vprintf() 110 cn_printf(struct core_name *cn, const char *fmt, ...) cn_printf() argument 123 cn_esc_printf(struct core_name *cn, const char *fmt, ...) cn_esc_printf() argument 160 cn_print_exe_file(struct core_name *cn, bool name_only) cn_print_exe_file() argument 200 format_corename(struct core_name *cn, struct coredump_params *cprm, size_t **argv, int *argc) format_corename() argument 584 struct core_name cn; do_coredump() local [all...] |
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | journal.c | 90 static int can_dirty(struct reiserfs_journal_cnode *cn); 369 struct reiserfs_journal_cnode *cn; in get_cnode() local 379 cn = journal->j_cnode_free_list; in get_cnode() 380 if (!cn) { in get_cnode() 381 return cn; in get_cnode() 383 if (cn->next) { in get_cnode() 384 cn->next->prev = NULL; in get_cnode() 386 journal->j_cnode_free_list = cn->next; in get_cnode() 387 memset(cn, 0, sizeof(struct reiserfs_journal_cnode)); in get_cnode() 388 return cn; in get_cnode() 394 free_cnode(struct super_block *sb, struct reiserfs_journal_cnode *cn) free_cnode() argument 430 struct reiserfs_journal_cnode *cn; get_journal_hash_dev() local 464 struct reiserfs_journal_cnode *cn; reiserfs_in_journal() local 517 insert_journal_hash(struct reiserfs_journal_cnode **table, struct reiserfs_journal_cnode *cn) insert_journal_hash() argument 1167 find_newer_jl_for_cn(struct reiserfs_journal_cnode *cn) find_newer_jl_for_cn() argument 1200 struct reiserfs_journal_cnode *cn, *last; remove_all_from_journal_list() local 1349 struct reiserfs_journal_cnode *cn; flush_journal_list() local 1631 struct reiserfs_journal_cnode *cn; write_one_transaction() local 1682 struct reiserfs_journal_cnode *cn; dirty_one_transaction() local 3285 struct reiserfs_journal_cnode *cn = NULL; journal_mark_dirty() local 3432 struct reiserfs_journal_cnode *cn; remove_from_transaction() local 3485 can_dirty(struct reiserfs_journal_cnode *cn) can_dirty() argument 3745 struct reiserfs_journal_cnode *cn = NULL; journal_mark_freed() local 3935 struct reiserfs_journal_cnode *cn; reiserfs_restore_prepared_buffer() local 3989 struct reiserfs_journal_cnode *cn, *next, *jl_cn; do_journal_end() local [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | journal.c | 90 static int can_dirty(struct reiserfs_journal_cnode *cn); 369 struct reiserfs_journal_cnode *cn; in get_cnode() local 379 cn = journal->j_cnode_free_list; in get_cnode() 380 if (!cn) { in get_cnode() 381 return cn; in get_cnode() 383 if (cn->next) { in get_cnode() 384 cn->next->prev = NULL; in get_cnode() 386 journal->j_cnode_free_list = cn->next; in get_cnode() 387 memset(cn, 0, sizeof(struct reiserfs_journal_cnode)); in get_cnode() 388 return cn; in get_cnode() 394 free_cnode(struct super_block *sb, struct reiserfs_journal_cnode *cn) free_cnode() argument 430 struct reiserfs_journal_cnode *cn; get_journal_hash_dev() local 515 insert_journal_hash(struct reiserfs_journal_cnode **table, struct reiserfs_journal_cnode *cn) insert_journal_hash() argument 1168 find_newer_jl_for_cn(struct reiserfs_journal_cnode *cn) find_newer_jl_for_cn() argument 1201 struct reiserfs_journal_cnode *cn, *last; remove_all_from_journal_list() local 1350 struct reiserfs_journal_cnode *cn; flush_journal_list() local 1632 struct reiserfs_journal_cnode *cn; write_one_transaction() local 1683 struct reiserfs_journal_cnode *cn; dirty_one_transaction() local 3290 struct reiserfs_journal_cnode *cn = NULL; journal_mark_dirty() local 3437 struct reiserfs_journal_cnode *cn; remove_from_transaction() local 3490 can_dirty(struct reiserfs_journal_cnode *cn) can_dirty() argument 3750 struct reiserfs_journal_cnode *cn = NULL; journal_mark_freed() local 3940 struct reiserfs_journal_cnode *cn; reiserfs_restore_prepared_buffer() local 3994 struct reiserfs_journal_cnode *cn, *next, *jl_cn; do_journal_end() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | cgroup.c | 211 struct cgroup_name *cn; in add_cgroup_name() local 216 cn = malloc(sizeof(*cn) + strlen(fpath) + 1); in add_cgroup_name() 217 if (cn == NULL) in add_cgroup_name() 220 cn->used = false; in add_cgroup_name() 221 strcpy(cn->name, fpath); in add_cgroup_name() 223 list_add_tail(&cn->list, &cgroup_list); in add_cgroup_name() 229 struct cgroup_name *cn; in check_and_add_cgroup_name() local 231 list_for_each_entry(cn, &cgroup_list, list) { in check_and_add_cgroup_name() 232 if (!strcmp(cn in check_and_add_cgroup_name() 242 struct cgroup_name *cn; release_cgroup_list() local 255 struct cgroup_name *cn; list_cgroups() local 296 struct cgroup_name *cn; match_cgroups() local 415 struct cgroup_name *cn; evlist__expand_cgroup() local [all...] |
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfs4recover.c | 796 struct cld_net *cn = nn->cld_net; in __cld_pipe_inprogress_downcall() local 839 cn->cn_has_legacy = true; in __cld_pipe_inprogress_downcall() 860 struct cld_net *cn = nn->cld_net; in cld_pipe_downcall() local 887 spin_lock(&cn->cn_lock); in cld_pipe_downcall() 888 list_for_each_entry(tmp, &cn->cn_list, cu_list) { in cld_pipe_downcall() 896 spin_unlock(&cn->cn_lock); in cld_pipe_downcall() 987 struct cld_net *cn; in __nfsd4_init_cld_pipe() local 992 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in __nfsd4_init_cld_pipe() 993 if (!cn) { in __nfsd4_init_cld_pipe() 1041 struct cld_net *cn = nn->cld_net; nfsd4_remove_cld_pipe() local 1055 struct cld_net *cn = nn->cld_net; alloc_cld_upcall() local 1086 struct cld_net *cn = victim->cu_net; free_cld_upcall() local 1101 struct cld_net *cn = nn->cld_net; nfsd4_cld_create() local 1138 struct cld_net *cn = nn->cld_net; nfsd4_cld_create_v2() local 1204 struct cld_net *cn = nn->cld_net; nfsd4_cld_remove() local 1246 struct cld_net *cn = nn->cld_net; nfsd4_cld_check_v0() local 1285 struct cld_net *cn = nn->cld_net; nfsd4_cld_check() local 1328 struct cld_net *cn = nn->cld_net; nfsd4_cld_check_v2() local 1398 struct cld_net *cn = nn->cld_net; nfsd4_cld_grace_start() local 1425 struct cld_net *cn = nn->cld_net; nfsd4_cld_grace_done_v0() local 1454 struct cld_net *cn = nn->cld_net; nfsd4_cld_grace_done() local 1507 struct cld_net *cn = nn->cld_net; cld_running() local 1518 struct cld_net *cn = nn->cld_net; nfsd4_cld_get_version() local 2121 struct cld_net *cn = nn->cld_net; rpc_pipefs_event() local [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4recover.c | 796 struct cld_net *cn = nn->cld_net; in __cld_pipe_inprogress_downcall() local 839 cn->cn_has_legacy = true; in __cld_pipe_inprogress_downcall() 860 struct cld_net *cn = nn->cld_net; in cld_pipe_downcall() local 887 spin_lock(&cn->cn_lock); in cld_pipe_downcall() 888 list_for_each_entry(tmp, &cn->cn_list, cu_list) { in cld_pipe_downcall() 896 spin_unlock(&cn->cn_lock); in cld_pipe_downcall() 987 struct cld_net *cn; in __nfsd4_init_cld_pipe() local 992 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in __nfsd4_init_cld_pipe() 993 if (!cn) { in __nfsd4_init_cld_pipe() 1041 struct cld_net *cn = nn->cld_net; nfsd4_remove_cld_pipe() local 1055 struct cld_net *cn = nn->cld_net; alloc_cld_upcall() local 1086 struct cld_net *cn = victim->cu_net; free_cld_upcall() local 1101 struct cld_net *cn = nn->cld_net; nfsd4_cld_create() local 1138 struct cld_net *cn = nn->cld_net; nfsd4_cld_create_v2() local 1204 struct cld_net *cn = nn->cld_net; nfsd4_cld_remove() local 1246 struct cld_net *cn = nn->cld_net; nfsd4_cld_check_v0() local 1285 struct cld_net *cn = nn->cld_net; nfsd4_cld_check() local 1328 struct cld_net *cn = nn->cld_net; nfsd4_cld_check_v2() local 1398 struct cld_net *cn = nn->cld_net; nfsd4_cld_grace_start() local 1425 struct cld_net *cn = nn->cld_net; nfsd4_cld_grace_done_v0() local 1454 struct cld_net *cn = nn->cld_net; nfsd4_cld_grace_done() local 1507 struct cld_net *cn = nn->cld_net; cld_running() local 1518 struct cld_net *cn = nn->cld_net; nfsd4_cld_get_version() local 2121 struct cld_net *cn = nn->cld_net; rpc_pipefs_event() local [all...] |
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | topology.c | 88 struct device_node *cn = NULL; in parse_dt_topology() local 102 cn = of_get_cpu_node(cpu, NULL); in parse_dt_topology() 103 if (!cn) { in parse_dt_topology() 108 if (topology_parse_cpu_capacity(cn, cpu)) { in parse_dt_topology() 109 of_node_put(cn); in parse_dt_topology() 116 if (of_device_is_compatible(cn, cpu_eff->compatible)) in parse_dt_topology() 122 rate = of_get_property(cn, "clock-frequency", &len); in parse_dt_topology() 124 pr_err("%pOF missing clock-frequency property\n", cn); in parse_dt_topology()
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | topology.c | 88 struct device_node *cn = NULL; in parse_dt_topology() local 102 cn = of_get_cpu_node(cpu, NULL); in parse_dt_topology() 103 if (!cn) { in parse_dt_topology() 108 if (topology_parse_cpu_capacity(cn, cpu)) { in parse_dt_topology() 109 of_node_put(cn); in parse_dt_topology() 116 if (of_device_is_compatible(cn, cpu_eff->compatible)) in parse_dt_topology() 122 rate = of_get_property(cn, "clock-frequency", &len); in parse_dt_topology() 124 pr_err("%pOF missing clock-frequency property\n", cn); in parse_dt_topology()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | ipt_CLUSTERIP.c | 115 struct clusterip_net *cn = clusterip_pernet(c->net); in clusterip_config_entry_put() local 118 if (refcount_dec_and_lock(&c->entries, &cn->lock)) { in clusterip_config_entry_put() 120 spin_unlock(&cn->lock); in clusterip_config_entry_put() 126 mutex_lock(&cn->mutex); in clusterip_config_entry_put() 127 if (cn->procdir) in clusterip_config_entry_put() 129 mutex_unlock(&cn->mutex); in clusterip_config_entry_put() 140 struct clusterip_net *cn = clusterip_pernet(net); in __clusterip_config_find() local 142 list_for_each_entry_rcu(c, &cn->configs, list) { in __clusterip_config_find() 193 struct clusterip_net *cn = clusterip_pernet(net); in clusterip_netdev_event() local 196 spin_lock_bh(&cn in clusterip_netdev_event() 231 struct clusterip_net *cn = clusterip_pernet(net); clusterip_config_init() local 822 struct clusterip_net *cn = clusterip_pernet(net); clusterip_net_init() local 849 struct clusterip_net *cn = clusterip_pernet(net); clusterip_net_exit() local [all...] |
/kernel/linux/linux-5.10/drivers/phy/freescale/ |
H A D | phy-fsl-imx8-mipi-dphy.c | 83 u32 cn; member 191 cfg->cn = denominator >> i; in mixel_dphy_config_from_opts() 196 cfg->cn < 1 || cfg->cn > 32 || in mixel_dphy_config_from_opts() 199 cfg->cm, cfg->cn, cfg->co); in mixel_dphy_config_from_opts() 306 priv->cfg.cn < 1 || priv->cfg.cn > 32 || in mixel_dphy_set_pll_params() 309 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params() 313 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params() 315 phy_write(phy, CN(priv->cfg.cn), DPHY_C in mixel_dphy_set_pll_params() [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | tc90522.c | 259 s64 cn; in tc90522s_get_frontend() local 268 /* cn = cnr << 3 */ in tc90522s_get_frontend() 271 cn = div64_s64(-16346LL * p4 * p, 10) >> 35; in tc90522s_get_frontend() 272 cn += (14341LL * p4) >> 21; in tc90522s_get_frontend() 273 cn -= (50259LL * cndat * p) >> 23; in tc90522s_get_frontend() 274 cn += (88977LL * cndat) >> 9; in tc90522s_get_frontend() 275 cn -= (89565LL * p) >> 11; in tc90522s_get_frontend() 276 cn += 58857 << 3; in tc90522s_get_frontend() 277 stats->stat[0].svalue = cn >> 3; in tc90522s_get_frontend() 417 s64 cn; in tc90522t_get_frontend() local [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | tc90522.c | 259 s64 cn; in tc90522s_get_frontend() local 268 /* cn = cnr << 3 */ in tc90522s_get_frontend() 271 cn = div64_s64(-16346LL * p4 * p, 10) >> 35; in tc90522s_get_frontend() 272 cn += (14341LL * p4) >> 21; in tc90522s_get_frontend() 273 cn -= (50259LL * cndat * p) >> 23; in tc90522s_get_frontend() 274 cn += (88977LL * cndat) >> 9; in tc90522s_get_frontend() 275 cn -= (89565LL * p) >> 11; in tc90522s_get_frontend() 276 cn += 58857 << 3; in tc90522s_get_frontend() 277 stats->stat[0].svalue = cn >> 3; in tc90522s_get_frontend() 417 s64 cn; in tc90522t_get_frontend() local [all...] |
/kernel/linux/linux-6.6/drivers/phy/freescale/ |
H A D | phy-fsl-imx8-mipi-dphy.c | 111 u32 cn; member 223 cfg->cn = denominator >> i; in mixel_dphy_config_from_opts() 228 cfg->cn < 1 || cfg->cn > 32 || in mixel_dphy_config_from_opts() 231 cfg->cm, cfg->cn, cfg->co); in mixel_dphy_config_from_opts() 338 priv->cfg.cn < 1 || priv->cfg.cn > 32 || in mixel_dphy_set_pll_params() 341 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params() 345 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params() 347 phy_write(phy, CN(priv->cfg.cn), DPHY_C in mixel_dphy_set_pll_params() [all...] |
/kernel/linux/linux-5.10/net/ceph/ |
H A D | osdmap.c | 149 struct crush_name_node *cn; in alloc_crush_name() local 151 cn = kmalloc(sizeof(*cn) + name_len + 1, GFP_NOIO); in alloc_crush_name() 152 if (!cn) in alloc_crush_name() 155 RB_CLEAR_NODE(&cn->cn_node); in alloc_crush_name() 156 return cn; in alloc_crush_name() 159 static void free_crush_name(struct crush_name_node *cn) in free_crush_name() argument 161 WARN_ON(!RB_EMPTY_NODE(&cn->cn_node)); in free_crush_name() 163 kfree(cn); in free_crush_name() 174 struct crush_name_node *cn; in decode_crush_names() local 206 struct crush_name_node *cn = clear_crush_names() local 3002 struct crush_name_node *type_cn, *cn; get_immediate_parent() local [all...] |
/kernel/linux/linux-6.6/net/ceph/ |
H A D | osdmap.c | 165 struct crush_name_node *cn; in alloc_crush_name() local 167 cn = kmalloc(sizeof(*cn) + name_len + 1, GFP_NOIO); in alloc_crush_name() 168 if (!cn) in alloc_crush_name() 171 RB_CLEAR_NODE(&cn->cn_node); in alloc_crush_name() 172 return cn; in alloc_crush_name() 175 static void free_crush_name(struct crush_name_node *cn) in free_crush_name() argument 177 WARN_ON(!RB_EMPTY_NODE(&cn->cn_node)); in free_crush_name() 179 kfree(cn); in free_crush_name() 190 struct crush_name_node *cn; in decode_crush_names() local 222 struct crush_name_node *cn = clear_crush_names() local 3037 struct crush_name_node *type_cn, *cn; get_immediate_parent() local [all...] |
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | cavium-octeon.c | 149 struct device_node *cn, *node = pdev->dev.of_node; in octeon_mmc_probe() local 269 for_each_child_of_node(node, cn) { in octeon_mmc_probe() 271 of_platform_device_create(cn, NULL, &pdev->dev); in octeon_mmc_probe() 280 of_node_put(cn); in octeon_mmc_probe()
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | cavium-octeon.c | 151 struct device_node *cn, *node = pdev->dev.of_node; in octeon_mmc_probe() local 271 for_each_child_of_node(node, cn) { in octeon_mmc_probe() 273 of_platform_device_create(cn, NULL, &pdev->dev); in octeon_mmc_probe() 282 of_node_put(cn); in octeon_mmc_probe()
|
/kernel/linux/linux-5.10/drivers/base/ |
H A D | arch_topology.c | 446 struct device_node *cn, *map; in parse_dt_topology() local 450 cn = of_find_node_by_path("/cpus"); in parse_dt_topology() 451 if (!cn) { in parse_dt_topology() 460 map = of_get_child_by_name(cn, "cpu-map"); in parse_dt_topology() 481 of_node_put(cn); in parse_dt_topology()
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | rt1019.c | 393 unsigned int cn = 0, cl = 0, rx_slotnum; in rt1019_set_tdm_slot() local 398 cn = RT1019_I2S_TX_4CH; in rt1019_set_tdm_slot() 401 cn = RT1019_I2S_TX_6CH; in rt1019_set_tdm_slot() 404 cn = RT1019_I2S_TX_8CH; in rt1019_set_tdm_slot() 475 RT1019_I2S_CH_TX_MASK, cn); in rt1019_set_tdm_slot()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/pxp/ |
H A D | intel_pxp.c | 455 struct i915_gem_context *ctx, *cn; in intel_pxp_invalidate() local 459 list_for_each_entry_safe(ctx, cn, &i915->gem.contexts.list, link) { in intel_pxp_invalidate() 498 list_safe_reset_next(ctx, cn, link); in intel_pxp_invalidate()
|
/kernel/linux/linux-6.6/drivers/base/ |
H A D | arch_topology.c | 644 struct device_node *cn, *map; in parse_dt_topology() local 648 cn = of_find_node_by_path("/cpus"); in parse_dt_topology() 649 if (!cn) { in parse_dt_topology() 658 map = of_get_child_by_name(cn, "cpu-map"); in parse_dt_topology() 681 of_node_put(cn); in parse_dt_topology()
|
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk.c | 1605 struct clk_notifier *cn; in __clk_notify() local 1612 list_for_each_entry(cn, &clk_notifier_list, node) { in __clk_notify() 1613 if (cn->clk->core == core) { in __clk_notify() 1614 cnd.clk = cn->clk; in __clk_notify() 1615 ret = srcu_notifier_call_chain(&cn->notifier_head, msg, in __clk_notify() 4424 struct clk_notifier *cn; in clk_notifier_register() local 4433 list_for_each_entry(cn, &clk_notifier_list, node) in clk_notifier_register() 4434 if (cn->clk == clk) in clk_notifier_register() 4438 cn = kzalloc(sizeof(*cn), GFP_KERNE in clk_notifier_register() 4472 struct clk_notifier *cn; clk_notifier_unregister() local [all...] |