Skip to content
Snippets Groups Projects
Select Git revision
  • 06ae43f34bcc07a0b6be8bf78a1c895bcd12c839
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

internal.h

Blame
  • internal.h 3.10 KiB
    /* fs/ internal definitions
     *
     * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
     * Written by David Howells (dhowells@redhat.com)
     *
     * This program is free software; you can redistribute it and/or
     * modify it under the terms of the GNU General Public License
     * as published by the Free Software Foundation; either version
     * 2 of the License, or (at your option) any later version.
     */
    
    #include <linux/lglock.h>
    
    struct super_block;
    struct file_system_type;
    struct linux_binprm;
    struct path;
    struct mount;
    
    /*
     * block_dev.c
     */
    #ifdef CONFIG_BLOCK
    extern void __init bdev_cache_init(void);
    
    extern int __sync_blockdev(struct block_device *bdev, int wait);
    
    #else
    static inline void bdev_cache_init(void)
    {
    }
    
    static inline int __sync_blockdev(struct block_device *bdev, int wait)
    {
    	return 0;
    }
    #endif
    
    /*
     * char_dev.c
     */
    extern void __init chrdev_init(void);
    
    /*
     * namei.c
     */
    extern int __inode_permission(struct inode *, int);
    
    /*
     * namespace.c
     */
    extern int copy_mount_options(const void __user *, unsigned long *);
    extern int copy_mount_string(const void __user *, char **);
    
    extern struct vfsmount *lookup_mnt(struct path *);
    extern int finish_automount(struct vfsmount *, struct path *);
    
    extern int sb_prepare_remount_readonly(struct super_block *);
    
    extern void __init mnt_init(void);
    
    extern struct lglock vfsmount_lock;
    
    extern int __mnt_want_write(struct vfsmount *);
    extern int __mnt_want_write_file(struct file *);
    extern void __mnt_drop_write(struct vfsmount *);
    extern void __mnt_drop_write_file(struct file *);
    
    /*
     * fs_struct.c