Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/w1/
Dw1_netlink.c35 struct cn_msg *cn; /* advances as cn_msg is appeneded */ member
66 if (!block->cn) in w1_reply_len()
68 return (u8 *)block->cn - (u8 *)block->first_cn + block->cn->len; in w1_reply_len()
97 block->cn = NULL; in w1_reply_make_space()
106 if (!(block->request_cn.flags & W1_CN_BUNDLE) && block->cn) in w1_netlink_check_send()
121 if (block->cn && block->cn->ack == ack) { in w1_netlink_setup_msg()
122 block->msg = (struct w1_netlink_msg *)(block->cn->data + block->cn->len); in w1_netlink_setup_msg()
125 if (block->cn) in w1_netlink_setup_msg()
126 block->cn = (struct cn_msg *)(block->cn->data + in w1_netlink_setup_msg()
127 block->cn->len); in w1_netlink_setup_msg()
[all …]
/Linux-v4.19/fs/
Dcoredump.c66 static int expand_corename(struct core_name *cn, int size) in expand_corename() argument
68 char *corename = krealloc(cn->corename, size, GFP_KERNEL); in expand_corename()
76 cn->size = ksize(corename); in expand_corename()
77 cn->corename = corename; in expand_corename()
81 static __printf(2, 0) int cn_vprintf(struct core_name *cn, const char *fmt, in cn_vprintf() argument
88 free = cn->size - cn->used; in cn_vprintf()
91 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf()
95 cn->used += need; in cn_vprintf()
99 if (!expand_corename(cn, cn->size + need - free + 1)) in cn_vprintf()
105 static __printf(2, 3) int cn_printf(struct core_name *cn, const char *fmt, ...) in cn_printf() argument
[all …]
/Linux-v4.19/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-v4.19/fs/nfsd/
Dnfs4recover.c722 struct cld_net *cn = nn->cld_net; in cld_pipe_downcall() local
738 spin_lock(&cn->cn_lock); in cld_pipe_downcall()
739 list_for_each_entry(tmp, &cn->cn_list, cu_list) { in cld_pipe_downcall()
746 spin_unlock(&cn->cn_lock); in cld_pipe_downcall()
834 struct cld_net *cn; in nfsd4_init_cld_pipe() local
839 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in nfsd4_init_cld_pipe()
840 if (!cn) { in nfsd4_init_cld_pipe()
845 cn->cn_pipe = rpc_mkpipe_data(&cld_upcall_ops, RPC_PIPE_WAIT_FOR_OPEN); in nfsd4_init_cld_pipe()
846 if (IS_ERR(cn->cn_pipe)) { in nfsd4_init_cld_pipe()
847 ret = PTR_ERR(cn->cn_pipe); in nfsd4_init_cld_pipe()
[all …]
/Linux-v4.19/arch/arm/kernel/
Dtopology.c88 struct device_node *cn = NULL; in parse_dt_topology() local
97 cn = of_find_node_by_path("/cpus"); in parse_dt_topology()
98 if (!cn) { in parse_dt_topology()
108 cn = of_get_cpu_node(cpu, NULL); in parse_dt_topology()
109 if (!cn) { in parse_dt_topology()
114 if (topology_parse_cpu_capacity(cn, cpu)) { in parse_dt_topology()
115 of_node_put(cn); in parse_dt_topology()
122 if (of_device_is_compatible(cn, cpu_eff->compatible)) in parse_dt_topology()
128 rate = of_get_property(cn, "clock-frequency", &len); in parse_dt_topology()
130 pr_err("%pOF missing clock-frequency property\n", cn); in parse_dt_topology()
/Linux-v4.19/net/ipv4/netfilter/
Dipt_CLUSTERIP.c106 struct clusterip_net *cn = net_generic(net, clusterip_net_id); in clusterip_config_entry_put() local
109 if (refcount_dec_and_lock(&c->entries, &cn->lock)) { in clusterip_config_entry_put()
114 if (cn->procdir) in clusterip_config_entry_put()
118 spin_unlock(&cn->lock); in clusterip_config_entry_put()
132 struct clusterip_net *cn = net_generic(net, clusterip_net_id); in __clusterip_config_find() local
134 list_for_each_entry_rcu(c, &cn->configs, list) { in __clusterip_config_find()
218 struct clusterip_net *cn = net_generic(net, clusterip_net_id); in clusterip_config_init() local
236 spin_lock_bh(&cn->lock); in clusterip_config_init()
238 spin_unlock_bh(&cn->lock); in clusterip_config_init()
244 list_add_rcu(&c->list, &cn->configs); in clusterip_config_init()
[all …]
/Linux-v4.19/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-v4.19/drivers/connector/
DMakefile1 obj-$(CONFIG_CONNECTOR) += cn.o
4 cn-y += cn_queue.o connector.o
DKconfig10 will be called cn.
/Linux-v4.19/Documentation/translations/zh_CN/
Dstable_api_nonsense.txt10 Chinese maintainer: TripleX Chung <zhongyu@18mail.cn>
19 中文版维护者: 钟宇 TripleX Chung <zhongyu@18mail.cn>
20 中文版翻译者: 钟宇 TripleX Chung <zhongyu@18mail.cn>
DSubmittingDrivers137 ?? == 你的国家代码,例如 "cn"、"us"、"uk"、"fr" 等等
/Linux-v4.19/arch/arm64/kernel/
Dtopology.c171 struct device_node *cn, *map; in parse_dt_topology() local
175 cn = of_find_node_by_path("/cpus"); in parse_dt_topology()
176 if (!cn) { in parse_dt_topology()
185 map = of_get_child_by_name(cn, "cpu-map"); in parse_dt_topology()
206 of_node_put(cn); in parse_dt_topology()
/Linux-v4.19/drivers/clk/
Dclk.c1253 struct clk_notifier *cn; in __clk_notify() local
1260 list_for_each_entry(cn, &clk_notifier_list, node) { in __clk_notify()
1261 if (cn->clk->core == core) { in __clk_notify()
1262 cnd.clk = cn->clk; in __clk_notify()
1263 ret = srcu_notifier_call_chain(&cn->notifier_head, msg, in __clk_notify()
3577 struct clk_notifier *cn; in clk_notifier_register() local
3586 list_for_each_entry(cn, &clk_notifier_list, node) in clk_notifier_register()
3587 if (cn->clk == clk) in clk_notifier_register()
3591 if (cn->clk != clk) { in clk_notifier_register()
3592 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in clk_notifier_register()
[all …]
/Linux-v4.19/drivers/video/fbdev/
Dpxa168fb.h213 #define CFG_CBSH_ENA(cn) ((cn) << 29) argument
223 #define CFG_HWC_ENA(cn) ((cn) << 24) argument
/Linux-v4.19/drivers/staging/rts5208/
DTODO7 Micky Ching <micky_ching@realsil.com.cn>
/Linux-v4.19/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-v4.19/drivers/usb/gadget/
Dconfigfs.c611 struct gadget_config_name *cn = to_gadget_config_name(item); in gadget_config_name_attr_release() local
613 kfree(cn->configuration); in gadget_config_name_attr_release()
615 list_del(&cn->list); in gadget_config_name_attr_release()
616 kfree(cn); in gadget_config_name_attr_release()
1326 struct gadget_config_name *cn; in configfs_composite_bind() local
1334 list_for_each_entry(cn, &cfg->string_list, list) { in configfs_composite_bind()
1335 cfg->gstrings[i] = &cn->stringtab_dev; in configfs_composite_bind()
1336 cn->stringtab_dev.strings = &cn->strings; in configfs_composite_bind()
1337 cn->strings.s = cn->configuration; in configfs_composite_bind()
/Linux-v4.19/Documentation/arm/SA1100/
DFreeBird2 http://web.archive.org/web/*/http://www.legend.com.cn
/Linux-v4.19/net/lapb/
Dlapb_in.c406 int cn; in lapb_state3_machine() local
407 cn = lapb_data_indication(lapb, skb); in lapb_state3_machine()
416 if (cn == NET_RX_DROP) { in lapb_state3_machine()
/Linux-v4.19/security/smack/
Dsmackfs.c1800 size_t cn, loff_t *ppos) in smk_read_ambient() argument
1815 if (cn >= asize) in smk_read_ambient()
1816 rc = simple_read_from_buffer(buf, cn, ppos, in smk_read_ambient()
2066 size_t cn, loff_t *ppos) in smk_read_unconfined() argument
2080 if (cn >= asize) in smk_read_unconfined()
2081 rc = simple_read_from_buffer(buf, cn, ppos, smack, asize); in smk_read_unconfined()
2616 size_t cn, loff_t *ppos) in smk_read_syslog() argument
2632 if (cn >= asize) in smk_read_syslog()
2633 rc = simple_read_from_buffer(buf, cn, ppos, skp->smk_known, in smk_read_syslog()
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_connector.c460 struct device_node *cn, *dn = pci_device_to_OF_node(dev->pdev); in nouveau_connector_of_detect() local
467 for_each_child_of_node(dn, cn) { in nouveau_connector_of_detect()
468 const char *name = of_get_property(cn, "name", NULL); in nouveau_connector_of_detect()
469 const void *edid = of_get_property(cn, "EDID", NULL); in nouveau_connector_of_detect()
475 of_node_put(cn); in nouveau_connector_of_detect()
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Di915_vma.c146 struct i915_gem_context *ctx, *cn; in igt_vma_create() local
188 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
198 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
/Linux-v4.19/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h436 #define CFG_CBSH_ENA(cn) ((cn)<<29) argument
446 #define CFG_HWC_ENA(cn) ((cn)<<24) argument
/Linux-v4.19/drivers/dma/
Dzx_dma.c223 struct zx_dma_chan *c, *cn; in zx_dma_task() local
228 list_for_each_entry_safe(c, cn, &d->slave.channels, in zx_dma_task()
886 struct zx_dma_chan *c, *cn; in zx_dma_remove() local
895 list_for_each_entry_safe(c, cn, &d->slave.channels, in zx_dma_remove()
Dk3dma.c291 struct k3_dma_chan *c, *cn; in k3_dma_tasklet() local
295 list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { in k3_dma_tasklet()
931 struct k3_dma_chan *c, *cn; in k3_dma_remove() local
939 list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { in k3_dma_remove()

123