int raw_seq_open(struct inode *ino, struct file *file, struct raw_hashinfo *h, const struct seq_operations *ops) { int err; struct raw_iter_state *i; err = seq_open_net(ino, file, ops, sizeof(struct raw_iter_state)); if (err < 0) return err; i = raw_seq_private((struct seq_file *)file->private_data); i->h = h; return 0; }
static int wireless_seq_open(struct inode *inode, struct file *file) { return seq_open_net(inode, file, &wireless_seq_ops, sizeof(struct seq_net_private)); }
static int ip6fl_seq_open(struct inode *inode, struct file *file) { return seq_open_net(inode, file, &ip6fl_seq_ops, sizeof(struct ip6fl_iter_state)); }
static int pn_sock_open(struct inode *inode, struct file *file) { return seq_open_net(inode, file, &pn_sock_seq_ops, sizeof(struct seq_net_private)); }
static int nflog_open(struct inode *inode, struct file *file) { return seq_open_net(inode, file, &nflog_seq_ops, sizeof(struct seq_net_private)); }
static int synproxy_cpu_seq_open(struct inode *inode, struct file *file) { return seq_open_net(inode, file, &synproxy_cpu_seq_ops, sizeof(struct seq_net_private)); }
static int ipmr_mfc_open(struct inode *inode, struct file *file) { return seq_open_net(inode, file, &ipmr_mfc_seq_ops, sizeof(struct ipmr_mfc_iter)); }