summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-09-12 23:05:48 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-09-12 23:05:48 +0000
commit694ef5461ede4fb222616457903ec18e34b4e902 (patch)
tree9a90b2ecf47dd1a6fdff0414f5e9af605304588f /include
parent545f435ebcfd94a1e7c20b46efe81b4d6ac4e698 (diff)
Remove files that were removed between 2.1.49 and 2.1.55. Somehow
my script to do that broke :-(
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/ppc_machine.h0
-rw-r--r--include/linux/dalloc.h102
-rw-r--r--include/linux/nametrans.h69
3 files changed, 0 insertions, 171 deletions
diff --git a/include/asm-ppc/ppc_machine.h b/include/asm-ppc/ppc_machine.h
deleted file mode 100644
index e69de29bb..000000000
--- a/include/asm-ppc/ppc_machine.h
+++ /dev/null
diff --git a/include/linux/dalloc.h b/include/linux/dalloc.h
deleted file mode 100644
index 659eef522..000000000
--- a/include/linux/dalloc.h
+++ /dev/null
@@ -1,102 +0,0 @@
-#ifndef DALLOC_H
-#define DALLOC_H
-/*
- * $Id: dalloc.h,v 1.3 1997/06/13 04:39:34 davem Exp $
- *
- * include/linux/dalloc.h - alloc routines for dcache
- * alloc / free space for pathname strings
- * Copyright (C) 1997, Thomas Schoebel-Theuer,
- * <schoebel@informatik.uni-stuttgart.de>.
- */
-
-#define D_MAXLEN 1024
-
-/* public flags for d_add() */
-#define D_NORMAL 0
-#define D_BASKET 1 /* put into basket (deleted/unref'd files) */
-#define D_DUPLICATE 2 /* allow duplicate entries */
-#define D_NOCHECKDUP 4 /* no not check for duplicates */
-
-/* public flags for d_flag */
-#define D_PRELOADED 8
-
-/* public flags for d_del() */
-#define D_REMOVE 0
-#define D_NO_CLEAR_INODE 1
-
-#define IS_ROOT(x) ((x) == (x)->d_parent)
-
-struct dentry {
- union {
- struct inode * d_inode; /* Where the name belongs to */
- unsigned long d_ino; /* for preliminary entries */
- } u;
- struct dentry * d_parent; /* parent directory */
- struct dentry * d_next; /* hardlink aliasname / empty list */
- struct dentry * d_prev; /* hardlink aliasname */
- struct dentry * d_hash_next;
- struct dentry * d_hash_prev;
- struct dentry * d_basket_next;
- struct dentry * d_basket_prev;
- short d_len; /* set by dalloc() */
- short d_flag;
- char d_name[D_MAXLEN];
-};
-
-/* "quick string" -- I introduced this to shorten the parameter list
- * of many routines. Think of it as a (str,stlen) pair.
- * Storing the len instead of doing strlen() very often is performance
- * critical.
- */
-struct qstr {
- const char * name;
- int len;
-};
-
-extern struct dentry * the_root;
-
-/* Note that all these routines must be called with vfs_lock() held */
-
-/* get inode, if necessary retrieve it with iget() */
-extern blocking struct inode * d_inode(struct dentry ** changing_entry);
-
-/* allocate proper space for the len */
-extern struct dentry * d_alloc(struct dentry * parent, int len, int isdir);
-
-/* only used once at mount_root() */
-extern blocking
-struct dentry * d_alloc_root(struct inode * root_inode);
-
-/* d_inode is connected with inode, and d_name is copied from ininame.
- * either of them may be NULL, but when ininame is NULL, dname must be
- * set by the caller prior to calling this. */
-extern blocking
-void d_add(struct dentry * entry, struct inode * inode,
- struct qstr * ininame, int flags);
-
-/* combination of d_alloc() and d_add(), less lookup overhead */
-extern blocking
-struct dentry * d_entry(struct dentry * parent, struct qstr * name, struct inode * inode);
-extern blocking
-void d_entry_preliminary(struct dentry * parent, struct qstr * name, unsigned long ino);
-
-/* recursive d_del() all successors */
-extern blocking
-void d_del(struct dentry * entry, int flags);
-
-/* used for rename() and baskets */
-extern blocking
-void d_move(struct dentry * entry, struct inode * newdir,
- struct qstr * newname, struct qstr * newapp);
-
-/* appendix may either be NULL or be used for transname suffixes */
-extern struct dentry * d_lookup(struct inode * dir, struct qstr * name,
- struct qstr * appendix);
-
-/* write full pathname into buffer and return length */
-extern int d_path(struct dentry * entry, struct inode * chroot, char * buf);
-
-extern struct dentry * d_basket(struct dentry * dir_entry);
-
-extern int d_isbasket(struct dentry * entry);
-#endif
diff --git a/include/linux/nametrans.h b/include/linux/nametrans.h
deleted file mode 100644
index 838e5a7f8..000000000
--- a/include/linux/nametrans.h
+++ /dev/null
@@ -1,69 +0,0 @@
-#ifndef NAMETRANS_H
-#define NAMETRANS_H
-/*
- * $Id: nametrans.h,v 1.1 1997/06/04 08:26:57 davem Exp $
- *
- * include/linux/nametrans.h - context-dependend filename suffixes.
- * Copyright (C) 1997, Thomas Schoebel-Theuer,
- * <schoebel@informatik.uni-stuttgart.de>.
- */
-
-#include <linux/dalloc.h>
-#include <linux/sysctl.h>
-
-#define MAX_DEFAULT_TRANSLEN 128
-
-/* only filenames matching the following length restrictions can be
- * translated. I introduced these restrictions because they *greatly*
- * simplify buffer management (no need to allocate kernel pages and free them).
- * The maximal total length of a context-dependend filename is the
- * sum of both constants. */
-#define MAX_TRANS_FILELEN 128 /* max len of a name that could be translated */
-#define MAX_TRANS_SUFFIX 64 /* max len of a #keyword=value# suffix */
-
-/* max number of translations */
-#define MAX_TRANSLATIONS 16
-
-struct translations {
- int count;
- struct qstr name[MAX_TRANSLATIONS];
- struct qstr c_name[MAX_TRANSLATIONS];
-};
-
-/* global/default translations */
-extern char nametrans_txt[MAX_DEFAULT_TRANSLEN];
-
-/* Any changer of a built-in translation must set this flag */
-extern int translations_dirty;
-
-
-/* called once at boot time */
-extern void init_nametrans(void);
-
-/* set global translations */
-extern void nametrans_setup(char * line);
-
-/* return reusable global buffer. needed by VFS. */
-struct translations * get_translations(char * env);
-
-/* if the _first_ environment variable is "NAMETRANS", return
- * a pointer to the list of appendices.
- * You can set the first environment variable using
- * 'env - NAMETRANS=... "`env`" command ...'
- */
-extern char * env_transl(void);
-
-/* if name has the correct suffix "#keyword=correct_context#",
- * return position of the suffix, else 0.
- */
-extern char* testname(int restricted, char* name);
-
-/* for use in kernel/sysctrl.h */
-extern int nametrans_dostring(ctl_table * table, int write, struct file * filp,
- void * buffer, size_t * lenp);
-extern int nametrans_string(ctl_table * table, int * name, int nlen,
- void * oldval, size_t * oldlenp,
- void * newval, size_t newlen, void ** context);
-
-
-#endif