本文整理汇总了C++中single_open函数的典型用法代码示例。如果您正苦于以下问题:C++ single_open函数的具体用法?C++ single_open怎么用?C++ single_open使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了single_open函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: bdi_debug_stats_open
static int bdi_debug_stats_open(struct inode *inode, struct file *file)
{
return single_open(file, bdi_debug_stats_show, inode->i_private);
}
开发者ID:akshayk007,项目名称:Owl-Kernel-for-Xperia-Sola,代码行数:4,代码来源:backing-dev.c
示例2: nfsd_proc_open
static int nfsd_proc_open(struct inode *inode, struct file *file)
{
return single_open(file, nfsd_proc_show, NULL);
}
开发者ID:Core2idiot,项目名称:Kernel-Samsung-3.0...-,代码行数:4,代码来源:stats.c
示例3: version_proc_open
static int version_proc_open(struct inode *inode, struct file *file)
{
return single_open(file, version_proc_show, PDE_DATA(inode));
}
开发者ID:AnadoluPanteri,项目名称:kernel-plus-harmattan,代码行数:4,代码来源:toshiba_acpi.c
示例4: acpi_battery_alarm_open_fs
static int acpi_battery_alarm_open_fs(struct inode *inode, struct file *file)
{
return single_open(file, acpi_battery_read_alarm, PDE(inode)->data);
}
开发者ID:mrtos,项目名称:Logitech-Revue,代码行数:4,代码来源:battery.c
示例5: sm5418_debugfs_open
static int sm5418_debugfs_open(struct inode *inode, struct file *file)
{
return single_open(file, sm5418_debugfs_show, inode->i_private);
}
开发者ID:Serranove,项目名称:android_kernel_samsung_serranovelte,代码行数:4,代码来源:sm5418_charger.c
示例6: memfree_hist_open
static int memfree_hist_open(struct inode *inode, struct file *file)
{
return single_open(file, memfree_hist_print, inode->i_private);
}
开发者ID:AbdulrahmanAmir,项目名称:Dorimanx-LG-G2-D802-Kernel,代码行数:4,代码来源:kgsl_debugfs.c
示例7: pm822_dbg_open
static int pm822_dbg_open(struct inode *inode, struct file *file)
{
return single_open(file, show_pm822_reg_info, inode->i_private);
}
开发者ID:dflow81,项目名称:android_kernel_samsung_goyawifi,代码行数:4,代码来源:88pm822-dbg.c
示例8: pll_reg_open
static int pll_reg_open(struct inode *inode, struct file *file)
{
return single_open(file, pll_reg_show, inode->i_private);
}
开发者ID:Lloir,项目名称:nvidia-linux-3.10,代码行数:4,代码来源:clk_gk20a.c
示例9: rcuhier_open
static int rcuhier_open(struct inode *inode, struct file *file)
{
return single_open(file, show_rcuhier, NULL);
}
开发者ID:openube,项目名称:android_kernel_sony_c2305,代码行数:4,代码来源:rcutree_trace.c
示例10: rcu_pending_open
static int rcu_pending_open(struct inode *inode, struct file *file)
{
return single_open(file, show_rcu_pending, NULL);
}
开发者ID:openube,项目名称:android_kernel_sony_c2305,代码行数:4,代码来源:rcutree_trace.c
示例11: rcu_node_boost_open
static int rcu_node_boost_open(struct inode *inode, struct file *file)
{
return single_open(file, show_rcu_node_boost, NULL);
}
开发者ID:openube,项目名称:android_kernel_sony_c2305,代码行数:4,代码来源:rcutree_trace.c
示例12: rcudata_csv_open
static int rcudata_csv_open(struct inode *inode, struct file *file)
{
return single_open(file, show_rcudata_csv, NULL);
}
开发者ID:openube,项目名称:android_kernel_sony_c2305,代码行数:4,代码来源:rcutree_trace.c
示例13: mtk_cl_fps_proc_open
static int mtk_cl_fps_proc_open(struct inode *inode, struct file *file)
{
return single_open(file, mtk_cl_fps_proc_read, NULL);
}
开发者ID:P-D-A,项目名称:android_kernel_lge_mt6753,代码行数:4,代码来源:mtk_cooler_fps.c
示例14: jfs_loglevel_proc_open
static int jfs_loglevel_proc_open(struct inode *inode, struct file *file)
{
return single_open(file, jfs_loglevel_proc_show, NULL);
}
开发者ID:rrowicki,项目名称:Chrono_Kernel-1,代码行数:4,代码来源:jfs_debug.c
示例15: fps_tm_count_open
static int fps_tm_count_open(struct inode *inode, struct file *file)
{
return single_open(file, fps_tm_count_read, PDE_DATA(inode));
}
开发者ID:P-D-A,项目名称:android_kernel_lge_mt6753,代码行数:4,代码来源:mtk_cooler_fps.c
示例16: qperf_seq_open
static int qperf_seq_open(struct inode *inode, struct file *filp)
{
return single_open(filp, qperf_show,
filp->f_path.dentry->d_inode->i_private);
}
开发者ID:Adjustxx,项目名称:Savaged-Zen,代码行数:5,代码来源:qdio_debug.c
示例17: ddrinfo_open
static int ddrinfo_open(struct inode *inode, struct file *file)
{
return single_open(file, ddr_info_show, NULL);
}
开发者ID:magnusjjj,项目名称:android_kernel_huawei_rle,代码行数:4,代码来源:ddr_info.c
示例18: segment_info_open_fs
static int segment_info_open_fs(struct inode *inode, struct file *file)
{
return single_open(file, segment_info_seq_show, PDE_DATA(inode));
}
开发者ID:anrqkdrnl,项目名称:detonator,代码行数:4,代码来源:super.c
示例19: process_mem_open
static int process_mem_open(struct inode *inode, struct file *file)
{
return single_open(file, process_mem_print, inode->i_private);
}
开发者ID:AbdulrahmanAmir,项目名称:Dorimanx-LG-G2-D802-Kernel,代码行数:4,代码来源:kgsl_debugfs.c
示例20: ion_debug_client_open
static int ion_debug_client_open(struct inode *inode, struct file *file)
{
return single_open(file, ion_debug_client_show, inode->i_private);
}
开发者ID:insanelycool,项目名称:VICK,代码行数:4,代码来源:ion.c
注:本文中的single_open函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论