本文整理汇总了C++中single_open函数的典型用法代码示例。如果您正苦于以下问题:C++ single_open函数的具体用法?C++ single_open怎么用?C++ single_open使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了single_open函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
}
示例2: nfsd_proc_open
static int nfsd_proc_open(struct inode *inode, struct file *file)
{
return single_open(file, nfsd_proc_show, NULL);
}
示例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));
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例9: rcuhier_open
static int rcuhier_open(struct inode *inode, struct file *file)
{
return single_open(file, show_rcuhier, NULL);
}
示例10: rcu_pending_open
static int rcu_pending_open(struct inode *inode, struct file *file)
{
return single_open(file, show_rcu_pending, NULL);
}
示例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);
}
示例12: rcudata_csv_open
static int rcudata_csv_open(struct inode *inode, struct file *file)
{
return single_open(file, show_rcudata_csv, NULL);
}
示例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);
}
示例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);
}
示例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));
}