Beispiel #1
0
static int _gmodule_proc_release(struct inode * inode, struct file * file) {
    if(_gmodule->close) {
        _gmodule->close();
    }

    return single_release(inode, file);
}
Beispiel #2
0
static int sockstat_seq_release(struct inode *inode, struct file *file)
{
    struct net *net = ((struct seq_file *)file->private_data)->private;

    put_net(net);
    return single_release(inode, file);
}
Beispiel #3
0
static int hadm_proc_release(struct inode *inode, struct file *file)
{
	module_put(THIS_MODULE);
	return single_release(inode, file);
}
static int rtc_proc_release(struct inode *inode, struct file *file)
{
	int res = single_release(inode, file);
	module_put(THIS_MODULE);
	return res;
}
Beispiel #5
0
int single_release_net(struct inode *ino, struct file *f)
{
	struct seq_file *seq = f->private_data;
	put_net(seq->private);
	return single_release(ino, f);
}
Beispiel #6
0
int lprocfs_single_release(struct inode *inode, struct file *file)
{
	return single_release(inode, file);
}
static int proc_release(struct inode *inode, struct file *filp)
{
	return single_release(inode, filp);
}