aboutsummaryrefslogtreecommitdiff
path: root/libbb/inode_hash.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-27 02:52:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-27 02:52:20 +0000
commitdefc1ea34074e7882724c460260d307cdf981a70 (patch)
treefca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /libbb/inode_hash.c
parent26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff)
downloadbusybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.gz
busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.bz2
busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.zip
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
Diffstat (limited to 'libbb/inode_hash.c')
-rw-r--r--libbb/inode_hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/inode_hash.c b/libbb/inode_hash.c
index 9cca74bcb..4469671dd 100644
--- a/libbb/inode_hash.c
+++ b/libbb/inode_hash.c
@@ -27,7 +27,7 @@ static ino_dev_hashtable_bucket_t **ino_dev_hashtable;
27 * Return name if statbuf->st_ino && statbuf->st_dev are recorded in 27 * Return name if statbuf->st_ino && statbuf->st_dev are recorded in
28 * ino_dev_hashtable, else return NULL 28 * ino_dev_hashtable, else return NULL
29 */ 29 */
30char *is_in_ino_dev_hashtable(const struct stat *statbuf) 30char* FAST_FUNC is_in_ino_dev_hashtable(const struct stat *statbuf)
31{ 31{
32 ino_dev_hashtable_bucket_t *bucket; 32 ino_dev_hashtable_bucket_t *bucket;
33 33
@@ -47,7 +47,7 @@ char *is_in_ino_dev_hashtable(const struct stat *statbuf)
47} 47}
48 48
49/* Add statbuf to statbuf hash table */ 49/* Add statbuf to statbuf hash table */
50void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) 50void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name)
51{ 51{
52 int i; 52 int i;
53 ino_dev_hashtable_bucket_t *bucket; 53 ino_dev_hashtable_bucket_t *bucket;
@@ -69,7 +69,7 @@ void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name)
69 69
70#if ENABLE_FEATURE_CLEAN_UP 70#if ENABLE_FEATURE_CLEAN_UP
71/* Clear statbuf hash table */ 71/* Clear statbuf hash table */
72void reset_ino_dev_hashtable(void) 72void FAST_FUNC reset_ino_dev_hashtable(void)
73{ 73{
74 int i; 74 int i;
75 ino_dev_hashtable_bucket_t *bucket; 75 ino_dev_hashtable_bucket_t *bucket;