Home
last modified time | relevance | path

Searched full:cn (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/kernel/linux/linux-5.10/drivers/w1/
Dw1_netlink.c26 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->len does not include space for block->msg
112 if (block->cn && block->cn->ack == ack) { in w1_netlink_setup_msg()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4recover.c796 struct cld_net *cn = nn->cld_net; in __cld_pipe_inprogress_downcall() local
837 cn->cn_has_legacy = true; in __cld_pipe_inprogress_downcall()
858 struct cld_net *cn = nn->cld_net; in cld_pipe_downcall() local
885 spin_lock(&cn->cn_lock); in cld_pipe_downcall()
886 list_for_each_entry(tmp, &cn->cn_list, cu_list) { in cld_pipe_downcall()
894 spin_unlock(&cn->cn_lock); in cld_pipe_downcall()
985 struct cld_net *cn; in __nfsd4_init_cld_pipe() local
990 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in __nfsd4_init_cld_pipe()
991 if (!cn) { in __nfsd4_init_cld_pipe()
996 cn->cn_pipe = rpc_mkpipe_data(&cld_upcall_ops, RPC_PIPE_WAIT_FOR_OPEN); in __nfsd4_init_cld_pipe()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/phy/freescale/
Dphy-fsl-imx8-mipi-dphy.c51 #define CN(x) (((x) == 1) ? 0x1f : (((CN_BUF) >> ((x) - 1)) & 0x1f)) macro
83 u32 cn; member
185 * CN ranges between 1 and 32 in mixel_dphy_config_from_opts()
191 cfg->cn = denominator >> i; in mixel_dphy_config_from_opts()
196 cfg->cn < 1 || cfg->cn > 32 || in mixel_dphy_config_from_opts()
198 dev_err(&phy->dev, "Invalid CM/CN/CO values: %u/%u/%u\n", 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()
308 dev_err(&phy->dev, "Invalid CM/CN/CO values! (%u/%u/%u)\n", in mixel_dphy_set_pll_params()
309 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params()
[all …]
/kernel/liteos_m/
DREADME_zh.md80 …境和开发环境,详细介绍请参考官方站点[开发环境准备](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/device-dev/quick-sta…
84 详细的源码获取方式,请见[源码获取](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/device-dev/get-code/sourcecod…
110 [如何贡献](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/contribute/%E5%8F%82%E4%B8%8E%E8%B4%A1%E7…
118 [板级目录规范](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/device-dev/porting/porting-chip-board-o…
120 [轻量系统芯片移植指导](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/porting/porting-minich…
122 [轻量系统芯片移植案例](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/porting/porting-minich…
126 [内核子系统](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/readme/%E5%86%85%E6%A0%B8%E5%AD%90%E7%B3…
/kernel/liteos_a/
DREADME_zh.md72 OpenHarmony LiteOS-A内核支持[Hi3516DV300](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-d…
78 - [编译环境准备](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/quickstart…
79 - Hi3516DV300单板:参考[环境搭建](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-st…
83 在Linux服务器上下载并解压一套源代码,源码获取方式参考[源码获取](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev…
89 - [helloworld for Hi3516DV300](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/qu…
93 [内核子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E5%86%85%E6%A0%B8%E5%AD%90%E7%…
DREADME_zh-HK.md70 OpenHarmony LiteOS-A內核支持Hi3516DV300([介紹](https://gitee.com/openharmony/docs/blob/master/zh-cn/devic…
76 - [編譯環境凖備](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/quickstart-l…
77 - Hi3516DV300單板:參考[環境搭建](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-star…
81 在Linux服務器上下載並解壓一套源代碼,源碼獲取方式參考[源碼獲取](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev…
87 - [helloworld for Hi3516DV300](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quic…
91 [內核子系統](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E5%86%85%E6%A0%B8%E5%AD%90%E7%…
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dtc90522.c259 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-5.10/drivers/connector/
DMakefile2 obj-$(CONFIG_CONNECTOR) += cn.o
5 cn-y += cn_queue.o connector.o
/kernel/linux/linux-5.10/drivers/staging/rts5208/
Dgeneral.h8 * Wei WANG (wei_wang@realsil.com.cn)
9 * Micky Ching (micky_ching@realsil.com.cn)
Dgeneral.c8 * Wei WANG (wei_wang@realsil.com.cn)
9 * Micky Ching (micky_ching@realsil.com.cn)
Drtsx_sys.h8 * Wei WANG (wei_wang@realsil.com.cn)
9 * Micky Ching (micky_ching@realsil.com.cn)
Dspi.h8 * Wei WANG (wei_wang@realsil.com.cn)
9 * Micky Ching (micky_ching@realsil.com.cn)
Drtsx_transport.h8 * Wei WANG (wei_wang@realsil.com.cn)
9 * Micky Ching (micky_ching@realsil.com.cn)
Drtsx_scsi.h8 * Wei WANG (wei_wang@realsil.com.cn)
9 * Micky Ching (micky_ching@realsil.com.cn)
/kernel/uniproton/
DLICENSE4 2020年1月 http://license.coscl.org.cn/MulanPSL2
60 http://license.coscl.org.cn/MulanPSL2
68 January 2020 http://license.coscl.org.cn/MulanPSL2
125 http://license.coscl.org.cn/MulanPSL2
/kernel/linux/linux-5.10/drivers/base/
Darch_topology.c446 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-5.10/net/ceph/
Dosdmap.c149 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 DEFINE_RB_FUNCS() local
182 cn = alloc_crush_name(name_len); in DEFINE_RB_FUNCS()
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dusb.rst1018 Level 0 | CN.0 | CN.1 | [CN = connector/port #]
1025 |CN.0 |CN.1 |CN.2 |CN.3 |
1040 |_ CN.0: Dev# 2, hub, 4 ports, 12 Mbps
1041 |_ CN.0: Dev #3, mouse, 1.5 Mbps
1042 |_ CN.1:
1043 |_ CN.2: Dev #4, serial, 12 Mbps
1044 |_ CN.3:
1045 |_ CN.1:
/kernel/uniproton/doc/
DUniProton_build.md108 `docker pull swr.cn-north-4.myhuaweicloud.com/openeuler-embedded/uniproton:v001`
111 …`docker run -it -v $(pwd):/home/uniproton swr.cn-north-4.myhuaweicloud.com/openeuler-embedded/unip…
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dusb-device.txt37 the product id, CN is the configuration value and IN is the interface
38 number. The textual representation of VID, PID, CN and IN shall be in lower
/kernel/linux/linux-5.10/drivers/usb/gadget/
Dconfigfs.c660 struct gadget_config_name *cn = to_gadget_config_name(item); in gadget_config_name_attr_release() local
662 kfree(cn->configuration); in gadget_config_name_attr_release()
664 list_del(&cn->list); in gadget_config_name_attr_release()
665 kfree(cn); in gadget_config_name_attr_release()
1376 struct gadget_config_name *cn; in configfs_composite_bind() local
1384 list_for_each_entry(cn, &cfg->string_list, list) { in configfs_composite_bind()
1385 cfg->gstrings[i] = &cn->stringtab_dev; in configfs_composite_bind()
1386 cn->stringtab_dev.strings = &cn->strings; in configfs_composite_bind()
1387 cn->strings.s = cn->configuration; in configfs_composite_bind()

12345678910>>...15