search for: mnt_program

Displaying 2 results from an estimated 2 matches for "mnt_program".

Did you mean: get_program
2006 Jun 26
0
[klibc 14/43] Remove in-kernel nfsroot code
...> - -#ifdef RPC_DEBUG -# define NFSDBG_FACILITY NFSDBG_ROOT -#endif - -/* -#define MOUNT_PROGRAM 100005 -#define MOUNT_VERSION 1 -#define MOUNT_MNT 1 -#define MOUNT_UMNT 3 - */ - -static struct rpc_clnt * mnt_create(char *, struct sockaddr_in *, - int, int); -static struct rpc_program mnt_program; - -struct mnt_fhstatus { - unsigned int status; - struct nfs_fh * fh; -}; - -/* - * Obtain an NFS file handle for the given host and path - */ -int -nfsroot_mount(struct sockaddr_in *addr, char *path, struct nfs_fh *fh, - int version, int protocol) -{ - struct rpc_clnt *mnt_clnt; - struct mnt_...
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...s_fs.h> - -#ifdef RPC_DEBUG -# define NFSDBG_FACILITY NFSDBG_ROOT -#endif - -/* -#define MOUNT_PROGRAM 100005 -#define MOUNT_VERSION 1 -#define MOUNT_MNT 1 -#define MOUNT_UMNT 3 - */ - -static struct rpc_clnt * mnt_create(char *, struct sockaddr_in *, - int, int); -struct rpc_program mnt_program; - -struct mnt_fhstatus { - unsigned int status; - struct nfs_fh * fh; -}; - -/* - * Obtain an NFS file handle for the given host and path - */ -int -nfsroot_mount(struct sockaddr_in *addr, char *path, struct nfs_fh *fh, - int version, int protocol) -{ - struct rpc_clnt *mnt_clnt; - struct mnt_...