| /kernel/linux/linux-6.6/drivers/w1/ |
| 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->len does not include space for block->msg 114 if (block->cn && block->cn->ack == ack) { in w1_netlink_setup_msg() [all …]
|
| /kernel/linux/linux-5.10/drivers/w1/ |
| 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->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/ |
| 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->used += need; in cn_vprintf() 104 if (!expand_corename(cn, cn->size + need - free + 1)) in cn_vprintf() 110 static __printf(2, 3) int cn_printf(struct core_name *cn, const char *fmt, ...) in cn_printf() argument [all …]
|
| /kernel/linux/linux-6.6/fs/ |
| D | coredump.c | 77 static int expand_corename(struct core_name *cn, int size) in expand_corename() argument 82 corename = krealloc(cn->corename, size, GFP_KERNEL); in expand_corename() 90 cn->size = size; in expand_corename() 91 cn->corename = corename; in expand_corename() 95 static __printf(2, 0) int cn_vprintf(struct core_name *cn, const char *fmt, in cn_vprintf() argument 102 free = cn->size - cn->used; in cn_vprintf() 105 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf() 109 cn->used += need; in cn_vprintf() 113 if (!expand_corename(cn, cn->size + need - free + 1)) in cn_vprintf() 119 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/ |
| 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() [all …]
|
| /kernel/linux/linux-6.6/fs/reiserfs/ |
| 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() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| 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->name, fpath)) in check_and_add_cgroup_name() 242 struct cgroup_name *cn; in release_cgroup_list() local [all …]
|
| /kernel/linux/linux-6.6/fs/nfsd/ |
| D | nfs4recover.c | 797 struct cld_net *cn = nn->cld_net; in __cld_pipe_inprogress_downcall() local 848 cn->cn_has_legacy = true; in __cld_pipe_inprogress_downcall() 869 struct cld_net *cn = nn->cld_net; in cld_pipe_downcall() local 896 spin_lock(&cn->cn_lock); in cld_pipe_downcall() 897 list_for_each_entry(tmp, &cn->cn_list, cu_list) { in cld_pipe_downcall() 905 spin_unlock(&cn->cn_lock); in cld_pipe_downcall() 996 struct cld_net *cn; in __nfsd4_init_cld_pipe() local 1001 cn = kzalloc(sizeof(*cn), GFP_KERNEL); in __nfsd4_init_cld_pipe() 1002 if (!cn) { in __nfsd4_init_cld_pipe() 1007 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/fs/nfsd/ |
| 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() 998 cn->cn_pipe = rpc_mkpipe_data(&cld_upcall_ops, RPC_PIPE_WAIT_FOR_OPEN); in __nfsd4_init_cld_pipe() [all …]
|
| /kernel/liteos_a/ |
| D | README_zh.md | 72 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/Readme-CN.… 82 在Ubuntu服务器源码获取方式参考: [源码获取](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/get-code… 86 …loworld for Hi3516DV300](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-sta… 88 编译可以参考:[编译指导](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/quickstar… 94 [如何贡献](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/contribute/%E5%8F%82%E4%B8%8E%E8%B4%A1%E7… 98 [OpenHarmony C&C++ 安全编程指南](https://gitee.com/openharmony/docs/blob/master/zh-cn/contribute/OpenHarm… 104 [内核子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E5%86%85%E6%A0%B8%E5%AD%90%E7%…
|
| D | README_zh-HK.md | 70 OpenHarmony LiteOS-A內核支持[Hi3516DV300](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-d… 76 - [編譯環境凖備](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/Readme-CN.md… 80 在Ubuntu服務器上下載並解壓一套源代碼,源碼獲取方式參考[源碼獲取](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-de… 84 開發者開發第一個應用程序可參考:[helloworld for Hi3516DV300](https://gitee.com/openharmony/docs/blob/master/zh-cn/d… 86 編譯可以參考:[編譯指導](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/quickstar… 90 [如何貢獻](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/contribute/%E5%8F%82%E4%B8%8E%E8%B4%A1%E7… 94 [OpenHarmony C&C++ 安全編程指南](https://gitee.com/openharmony/docs/blob/master/zh-cn/contribute/OpenHarm… 100 [內核子系統](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/net/ipv4/netfilter/ |
| 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->lock); in clusterip_netdev_event() [all …]
|
| /kernel/linux/common_modules/newip/ |
| D | README_zh.md | 63 详见“New IP内核协议栈开发手册-[配置指导](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/kernel/ke… 69 详见“New IP内核协议栈开发手册-[可变报头格式](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/kernel/… 73 详见“New IP内核协议栈开发手册-[可变长地址格式](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/kernel… 77 详见“New IP内核协议栈开发手册-[New IP相关接口](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/ker… 81 详见“New IP内核协议栈开发手册-[New IP收发包代码示例](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/… 85 详见“New IP内核协议栈开发手册-[selinux规则说明](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/ke… 89 [内核子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E5%86%85%E6%A0%B8%E5%AD%90%E7%…
|
| /kernel/liteos_m/ |
| D | README_zh.md | 80 …[开发环境准备](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/Readme-CN.md)… 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/master/zh-cn/device-dev/porting/Readme-CN.md) 122 [内核子系统](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/readme/%E5%86%85%E6%A0%B8%E5%AD%90%E7%B3…
|
| /kernel/linux/linux-5.10/drivers/phy/freescale/ |
| D | phy-fsl-imx8-mipi-dphy.c | 51 #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/linux/linux-6.6/Documentation/maintainer/ |
| D | messy-diffstat.rst | 40 +-- c1 --- c2 --- ... --- cN 43 the mainline branch (let's call it "linus") and cN, there are still two 50 | +-- c1 --- c2 --- ... --- cN 56 for cN may end up being messy indeed, and developers often end up wondering 60 the ``git diff`` operation to use. The development culminating in cN 67 to cN. 82 | +-- c1 --- c2 --- ... --- cN |
|
| /kernel/linux/linux-6.6/arch/arm/kernel/ |
| 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/arch/arm/kernel/ |
| 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/drivers/phy/freescale/ |
| D | phy-fsl-imx8-mipi-dphy.c | 67 #define CN(x) (((x) == 1) ? 0x1f : (((CN_BUF) >> ((x) - 1)) & 0x1f)) macro 111 u32 cn; member 217 * CN ranges between 1 and 32 in mixel_dphy_config_from_opts() 223 cfg->cn = denominator >> i; in mixel_dphy_config_from_opts() 228 cfg->cn < 1 || cfg->cn > 32 || in mixel_dphy_config_from_opts() 230 dev_err(&phy->dev, "Invalid CM/CN/CO values: %u/%u/%u\n", 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() 340 dev_err(&phy->dev, "Invalid CM/CN/CO values! (%u/%u/%u)\n", in mixel_dphy_set_pll_params() 341 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params() [all …]
|
| /kernel/uniproton/ |
| D | README.md | 26 …[开发环境准备](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/Readme-CN.md)… 30 详细的源码获取方式,请见[源码获取](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/device-dev/get-code/sourcecod… 60 [如何贡献](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/contribute/%E5%8F%82%E4%B8%8E%E8%B4%A1%E7…
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| 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/ |
| 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/Documentation/translations/zh_CN/core-api/ |
| D | idr.rst | 9 周彬彬 Binbin Zhou <zhoubinbin@loongson.cn> 13 司延腾 Yanteng Si <siyanteng@loongson.cn> 14 吴想成 Wu Xiangcheng <bobwxc@email.cn>
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/loongson/ |
| D | loongson_irq.c | 4 * Chen Zhu <zhuchen@loongson.cn> 5 * Yaling Fang <fangyaling@loongson.cn> 6 * Dandan Zhang <zhangdandan@loongson.cn>
|
| /kernel/linux/linux-5.10/drivers/connector/ |
| D | Makefile | 2 obj-$(CONFIG_CONNECTOR) += cn.o 5 cn-y += cn_queue.o connector.o
|