Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.6.21/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()
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()
114 if (block->cn && block->cn->ack == ack) { in w1_netlink_setup_msg()
115 block->msg = (struct w1_netlink_msg *)(block->cn->data + block->cn->len); in w1_netlink_setup_msg()
118 if (block->cn) in w1_netlink_setup_msg()
119 block->cn = (struct cn_msg *)(block->cn->data + in w1_netlink_setup_msg()
120 block->cn->len); in w1_netlink_setup_msg()
[all …]
/linux-6.6.21/fs/
Dcoredump.c69 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->used += need; in cn_vprintf()
105 if (!expand_corename(cn, cn->size + need - free + 1)) in cn_vprintf()
111 static __printf(2, 3) int cn_printf(struct core_name *cn, const char *fmt, ...) in cn_printf() argument
[all …]
/linux-6.6.21/fs/reiserfs/
Djournal.c90 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()
[all …]
/linux-6.6.21/tools/perf/util/
Dcgroup.c211 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->name, fpath)) in check_and_add_cgroup_name()
242 struct cgroup_name *cn; in release_cgroup_list() local
[all …]
/linux-6.6.21/fs/nfsd/
Dnfs4recover.c796 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()
998 cn->cn_pipe = rpc_mkpipe_data(&cld_upcall_ops, RPC_PIPE_WAIT_FOR_OPEN); in __nfsd4_init_cld_pipe()
[all …]
/linux-6.6.21/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-6.6.21/Documentation/translations/zh_CN/core-api/
Dpacking.rst9 周彬彬 Binbin Zhou <zhoubinbin@loongson.cn>
13 司延腾 Yanteng Si <siyanteng@loongson.cn>
14 吴想成 Wu Xiangcheng <bobwxc@email.cn>
Didr.rst9 周彬彬 Binbin Zhou <zhoubinbin@loongson.cn>
13 司延腾 Yanteng Si <siyanteng@loongson.cn>
14 吴想成 Wu Xiangcheng <bobwxc@email.cn>
Dcircular-buffers.rst9 周彬彬 Binbin Zhou <zhoubinbin@loongson.cn>
13 司延腾 Yanteng Si <siyanteng@loongson.cn>
14 吴想成 Wu Xiangcheng <bobwxc@email.cn>
Dmemory-hotplug.rst7 司延腾 Yanteng Si <siyanteng@loongson.cn>
11 吴想成 Wu XiangCheng <bobwxc@email.cn>
Derrseq.rst9 周彬彬 Binbin Zhou <zhoubinbin@loongson.cn>
13 吴想成 Wu Xiangcheng <bobwxc@email.cn>
Dwatch_queue.rst9 周彬彬 Binbin Zhou <zhoubinbin@loongson.cn>
13 司延腾 Yanteng Si <siyanteng@loongson.cn>
14 吴想成 Wu Xiangcheng <bobwxc@email.cn>
Dprintk-basics.rst8 司延腾 Yanteng Si <siyanteng@loongson.cn>
9 周彬彬 Binbin Zhou <zhoubinbin@loongson.cn>
Dmm-api.rst7 司延腾 Yanteng Si <siyanteng@loongson.cn>
8 周彬彬 Binbin Zhou <zhoubinbin@loongson.cn>
Dprotection-keys.rst8 司延腾 Yanteng Si <siyanteng@loongson.cn>
12 吴想成 Wu XiangCheng <bobwxc@email.cn>
/linux-6.6.21/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-6.6.21/drivers/connector/
DMakefile2 obj-$(CONFIG_CONNECTOR) += cn.o
5 cn-y += cn_queue.o connector.o
/linux-6.6.21/Documentation/translations/zh_CN/virt/
Dparavirt_ops.rst8 司延腾 Yanteng Si <siyanteng@loongson.cn>
12 陈飞杨 Feiyang Chen <chenfeiyang@loongson.cn>
/linux-6.6.21/drivers/phy/freescale/
Dphy-fsl-imx8-mipi-dphy.c111 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_CN); in mixel_dphy_set_pll_params()
/linux-6.6.21/Documentation/translations/zh_CN/arch/loongarch/
Dbooting.rst9 司延腾 Yanteng Si <siyanteng@loongson.cn>
15 :作者: 司延腾 <siyanteng@loongson.cn>
/linux-6.6.21/Documentation/devicetree/bindings/thermal/
Dloongson,ls2k-thermal.yaml10 - zhanghongchen <zhanghongchen@loongson.cn>
11 - Yinbo Zhu <zhuyinbo@loongson.cn>
/linux-6.6.21/drivers/mmc/host/
Dcavium-octeon.c151 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()
/linux-6.6.21/sound/soc/codecs/
Drt1019.c393 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()
/linux-6.6.21/Documentation/translations/zh_CN/riscv/
Dvm-layout.rst8 司延腾 Yanteng Si <siyanteng@loongson.cn>
9 Binbin Zhou <zhoubinbin@loongson.cn>
/linux-6.6.21/net/ceph/
Dosdmap.c165 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 DEFINE_RB_FUNCS() local
198 cn = alloc_crush_name(name_len); in DEFINE_RB_FUNCS()
[all …]

12345678910>>...12