Exemple #1
0
static int ip6fl_seq_open(struct inode *inode, struct file *file)
{
	return seq_open_private(file, &ip6fl_seq_ops,
			sizeof(struct ip6fl_iter_state));
}
Exemple #2
0
static int ipmr_mfc_open(struct inode *inode, struct file *file)
{
	return seq_open_private(file, &ipmr_mfc_seq_ops,
				sizeof(struct ipmr_mfc_iter));
}
static int timer_list_open(struct inode *inode, struct file *filp)
{
	return seq_open_private(filp, &timer_list_sops,
			sizeof(struct timer_list_iter));
}