Home
last modified time | relevance | path

Searched refs:cn (Results 1 – 25 of 52) sorted by relevance

123

/Linux-v5.4/drivers/w1/
Dw1_netlink.c26 struct cn_msg *cn; /* advances as cn_msg is appeneded */ member
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()
112 if (block->cn && block->cn->ack == ack) { in w1_netlink_setup_msg()
113 block->msg = (struct w1_netlink_msg *)(block->cn->data + block->cn->len); in w1_netlink_setup_msg()
116 if (block->cn) in w1_netlink_setup_msg()
117 block->cn = (struct cn_msg *)(block->cn->data + in w1_netlink_setup_msg()
118 block->cn->len); in w1_netlink_setup_msg()
[all …]
/Linux-v5.4/fs/
Dcoredump.c67 static int expand_corename(struct core_name *cn, int size) in expand_corename() argument
69 char *corename = krealloc(cn->corename, size, GFP_KERNEL); in expand_corename()
77 cn->size = ksize(corename); in expand_corename()
78 cn->corename = corename; in expand_corename()
82 static __printf(2, 0) int cn_vprintf(struct core_name *cn, const char *fmt, in cn_vprintf() argument
89 free = cn->size - cn->used; in cn_vprintf()
92 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf()
96 cn->used += need; in cn_vprintf()
100 if (!expand_corename(cn, cn->size + need - free + 1)) in cn_vprintf()
106 static __printf(2, 3) int cn_printf(struct core_name *cn, const char *fmt, ...) in cn_printf() argument
[all …]
/Linux-v5.4/fs/reiserfs/
Djournal.c92 static int can_dirty(struct reiserfs_journal_cnode *cn);
371 struct reiserfs_journal_cnode *cn; in get_cnode() local
381 cn = journal->j_cnode_free_list; in get_cnode()
382 if (!cn) { in get_cnode()
383 return cn; in get_cnode()
385 if (cn->next) { in get_cnode()
386 cn->next->prev = NULL; in get_cnode()
388 journal->j_cnode_free_list = cn->next; in get_cnode()
389 memset(cn, 0, sizeof(struct reiserfs_journal_cnode)); in get_cnode()
390 return cn; in get_cnode()
[all …]
/Linux-v5.4/net/ipv4/netfilter/
Dipt_CLUSTERIP.c115 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->lock); in clusterip_netdev_event()
[all …]
/Linux-v5.4/fs/nfsd/
Dnfs4recover.c806 struct cld_net *cn = nn->cld_net; in __cld_pipe_inprogress_downcall() local
847 cn->cn_has_legacy = true; in __cld_pipe_inprogress_downcall()
868 struct cld_net *cn = nn->cld_net; in cld_pipe_downcall() local
895 spin_lock(&cn->cn_lock); in cld_pipe_downcall()
896 list_for_each_entry(tmp, &cn->cn_list, cu_list) { in cld_pipe_downcall()
904 spin_unlock(&cn->cn_lock); in cld_pipe_downcall()
995 struct cld_net *cn; in __nfsd4_init_cld_pipe() local
1000 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in __nfsd4_init_cld_pipe()
1001 if (!cn) { in __nfsd4_init_cld_pipe()
1006 cn->cn_pipe = rpc_mkpipe_data(&cld_upcall_ops, RPC_PIPE_WAIT_FOR_OPEN); in __nfsd4_init_cld_pipe()
[all …]
/Linux-v5.4/arch/arm/kernel/
Dtopology.c88 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()
/Linux-v5.4/drivers/phy/freescale/
Dphy-fsl-imx8-mipi-dphy.c83 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_CN); in mixel_dphy_set_pll_params()
/Linux-v5.4/drivers/media/dvb-frontends/
Dtc90522.c259 s64 cn; in tc90522s_get_frontend() local
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
428 cn = 24772; in tc90522t_get_frontend()
[all …]
/Linux-v5.4/drivers/connector/
DMakefile2 obj-$(CONFIG_CONNECTOR) += cn.o
5 cn-y += cn_queue.o connector.o
DKconfig11 will be called cn.
/Linux-v5.4/drivers/base/
Darch_topology.c388 struct device_node *cn, *map; in parse_dt_topology() local
392 cn = of_find_node_by_path("/cpus"); in parse_dt_topology()
393 if (!cn) { in parse_dt_topology()
402 map = of_get_child_by_name(cn, "cpu-map"); in parse_dt_topology()
423 of_node_put(cn); in parse_dt_topology()
/Linux-v5.4/drivers/clk/
Dclk.c1471 struct clk_notifier *cn; in __clk_notify() local
1478 list_for_each_entry(cn, &clk_notifier_list, node) { in __clk_notify()
1479 if (cn->clk->core == core) { in __clk_notify()
1480 cnd.clk = cn->clk; in __clk_notify()
1481 ret = srcu_notifier_call_chain(&cn->notifier_head, msg, in __clk_notify()
4079 struct clk_notifier *cn; in clk_notifier_register() local
4088 list_for_each_entry(cn, &clk_notifier_list, node) in clk_notifier_register()
4089 if (cn->clk == clk) in clk_notifier_register()
4093 if (cn->clk != clk) { in clk_notifier_register()
4094 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in clk_notifier_register()
[all …]
/Linux-v5.4/drivers/video/fbdev/
Dpxa168fb.h213 #define CFG_CBSH_ENA(cn) ((cn) << 29) argument
223 #define CFG_HWC_ENA(cn) ((cn) << 24) argument
/Linux-v5.4/drivers/mmc/host/
Dcavium-octeon.c149 struct device_node *cn, *node = pdev->dev.of_node; in octeon_mmc_probe() local
280 for_each_child_of_node(node, cn) { in octeon_mmc_probe()
282 of_platform_device_create(cn, NULL, &pdev->dev); in octeon_mmc_probe()
/Linux-v5.4/drivers/staging/rts5208/
DTODO7 Micky Ching <micky_ching@realsil.com.cn>
/Linux-v5.4/drivers/usb/gadget/
Dconfigfs.c613 struct gadget_config_name *cn = to_gadget_config_name(item); in gadget_config_name_attr_release() local
615 kfree(cn->configuration); in gadget_config_name_attr_release()
617 list_del(&cn->list); in gadget_config_name_attr_release()
618 kfree(cn); in gadget_config_name_attr_release()
1329 struct gadget_config_name *cn; in configfs_composite_bind() local
1337 list_for_each_entry(cn, &cfg->string_list, list) { in configfs_composite_bind()
1338 cfg->gstrings[i] = &cn->stringtab_dev; in configfs_composite_bind()
1339 cn->stringtab_dev.strings = &cn->strings; in configfs_composite_bind()
1340 cn->strings.s = cn->configuration; in configfs_composite_bind()
/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_breadcrumbs.c135 struct intel_context *ce, *cn; in intel_engine_breadcrumbs_irq() local
144 list_for_each_entry_safe(ce, cn, &b->signalers, signal_link) { in intel_engine_breadcrumbs_irq()
/Linux-v5.4/security/smack/
Dsmackfs.c1772 size_t cn, loff_t *ppos) in smk_read_ambient() argument
1787 if (cn >= asize) in smk_read_ambient()
1788 rc = simple_read_from_buffer(buf, cn, ppos, in smk_read_ambient()
2038 size_t cn, loff_t *ppos) in smk_read_unconfined() argument
2052 if (cn >= asize) in smk_read_unconfined()
2053 rc = simple_read_from_buffer(buf, cn, ppos, smack, asize); in smk_read_unconfined()
2590 size_t cn, loff_t *ppos) in smk_read_syslog() argument
2606 if (cn >= asize) in smk_read_syslog()
2607 rc = simple_read_from_buffer(buf, cn, ppos, skp->smk_known, in smk_read_syslog()
/Linux-v5.4/net/lapb/
Dlapb_in.c401 int cn; in lapb_state3_machine() local
402 cn = lapb_data_indication(lapb, skb); in lapb_state3_machine()
411 if (cn == NET_RX_DROP) { in lapb_state3_machine()
/Linux-v5.4/Documentation/translations/zh_CN/process/
Dsubmitting-drivers.rst129 ?? == 你的国家代码,例如 "cn"、"us"、"uk"、"fr" 等等
/Linux-v5.4/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h422 #define CFG_CBSH_ENA(cn) ((cn)<<29) argument
432 #define CFG_HWC_ENA(cn) ((cn)<<24) argument
/Linux-v5.4/drivers/dma/
Dzx_dma.c220 struct zx_dma_chan *c, *cn; in zx_dma_task() local
225 list_for_each_entry_safe(c, cn, &d->slave.channels, in zx_dma_task()
883 struct zx_dma_chan *c, *cn; in zx_dma_remove() local
892 list_for_each_entry_safe(c, cn, &d->slave.channels, in zx_dma_remove()
Dk3dma.c298 struct k3_dma_chan *c, *cn; in k3_dma_tasklet() local
302 list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { in k3_dma_tasklet()
979 struct k3_dma_chan *c, *cn; in k3_dma_remove() local
987 list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { in k3_dma_remove()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_connector.c463 struct device_node *cn, *dn = pci_device_to_OF_node(dev->pdev); in nouveau_connector_of_detect() local
470 for_each_child_of_node(dn, cn) { in nouveau_connector_of_detect()
471 const char *name = of_get_property(cn, "name", NULL); in nouveau_connector_of_detect()
472 const void *edid = of_get_property(cn, "EDID", NULL); in nouveau_connector_of_detect()
478 of_node_put(cn); in nouveau_connector_of_detect()
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi5_core.c418 unsigned yq, cn, pr; in hdmi_core_write_avi_infoframe() local
444 cn = (ptr[4] >> 4) & 0x3; in hdmi_core_write_avi_infoframe()
459 (yq << 2) | (cn << 0)); in hdmi_core_write_avi_infoframe()

123