Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
2ab878cf
Commit
2ab878cf
authored
Mar 08, 2004
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: Move hashbin exports out of irsyms and into irqueue.
parent
604df752
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
net/irda/irqueue.c
net/irda/irqueue.c
+11
-0
net/irda/irsyms.c
net/irda/irsyms.c
+0
-12
No files found.
net/irda/irqueue.c
View file @
2ab878cf
...
@@ -191,6 +191,7 @@
...
@@ -191,6 +191,7 @@
*
*
* Jean II
* Jean II
*/
*/
#include <linux/module.h>
#include <net/irda/irda.h>
#include <net/irda/irda.h>
#include <net/irda/irqueue.h>
#include <net/irda/irqueue.h>
...
@@ -374,6 +375,7 @@ hashbin_t *hashbin_new(int type)
...
@@ -374,6 +375,7 @@ hashbin_t *hashbin_new(int type)
return
hashbin
;
return
hashbin
;
}
}
EXPORT_SYMBOL
(
hashbin_new
);
/*
/*
...
@@ -427,6 +429,7 @@ int hashbin_delete( hashbin_t* hashbin, FREE_FUNC free_func)
...
@@ -427,6 +429,7 @@ int hashbin_delete( hashbin_t* hashbin, FREE_FUNC free_func)
return
0
;
return
0
;
}
}
EXPORT_SYMBOL
(
hashbin_delete
);
/********************* HASHBIN LIST OPERATIONS *********************/
/********************* HASHBIN LIST OPERATIONS *********************/
...
@@ -478,6 +481,7 @@ void hashbin_insert(hashbin_t* hashbin, irda_queue_t* entry, long hashv,
...
@@ -478,6 +481,7 @@ void hashbin_insert(hashbin_t* hashbin, irda_queue_t* entry, long hashv,
spin_unlock_irqrestore
(
&
hashbin
->
hb_spinlock
,
flags
);
spin_unlock_irqrestore
(
&
hashbin
->
hb_spinlock
,
flags
);
}
/* Default is no-lock */
}
/* Default is no-lock */
}
}
EXPORT_SYMBOL
(
hashbin_insert
);
/*
/*
* Function hashbin_remove_first (hashbin)
* Function hashbin_remove_first (hashbin)
...
@@ -628,6 +632,7 @@ void* hashbin_remove( hashbin_t* hashbin, long hashv, const char* name)
...
@@ -628,6 +632,7 @@ void* hashbin_remove( hashbin_t* hashbin, long hashv, const char* name)
return
NULL
;
return
NULL
;
}
}
EXPORT_SYMBOL
(
hashbin_remove
);
/*
/*
* Function hashbin_remove_this (hashbin, entry)
* Function hashbin_remove_this (hashbin, entry)
...
@@ -690,6 +695,7 @@ void* hashbin_remove_this( hashbin_t* hashbin, irda_queue_t* entry)
...
@@ -690,6 +695,7 @@ void* hashbin_remove_this( hashbin_t* hashbin, irda_queue_t* entry)
return
entry
;
return
entry
;
}
}
EXPORT_SYMBOL
(
hashbin_remove_this
);
/*********************** HASHBIN ENUMERATION ***********************/
/*********************** HASHBIN ENUMERATION ***********************/
...
@@ -743,6 +749,7 @@ void* hashbin_find( hashbin_t* hashbin, long hashv, const char* name )
...
@@ -743,6 +749,7 @@ void* hashbin_find( hashbin_t* hashbin, long hashv, const char* name )
return
NULL
;
return
NULL
;
}
}
EXPORT_SYMBOL
(
hashbin_find
);
/*
/*
* Function hashbin_lock_find (hashbin, hashv, name)
* Function hashbin_lock_find (hashbin, hashv, name)
...
@@ -771,6 +778,7 @@ void* hashbin_lock_find( hashbin_t* hashbin, long hashv, const char* name )
...
@@ -771,6 +778,7 @@ void* hashbin_lock_find( hashbin_t* hashbin, long hashv, const char* name )
return
entry
;
return
entry
;
}
}
EXPORT_SYMBOL
(
hashbin_lock_find
);
/*
/*
* Function hashbin_find (hashbin, hashv, name, pnext)
* Function hashbin_find (hashbin, hashv, name, pnext)
...
@@ -812,6 +820,7 @@ void* hashbin_find_next( hashbin_t* hashbin, long hashv, const char* name,
...
@@ -812,6 +820,7 @@ void* hashbin_find_next( hashbin_t* hashbin, long hashv, const char* name,
return
entry
;
return
entry
;
}
}
EXPORT_SYMBOL
(
hashbin_find_next
);
/*
/*
* Function hashbin_get_first (hashbin)
* Function hashbin_get_first (hashbin)
...
@@ -843,6 +852,7 @@ irda_queue_t *hashbin_get_first( hashbin_t* hashbin)
...
@@ -843,6 +852,7 @@ irda_queue_t *hashbin_get_first( hashbin_t* hashbin)
*/
*/
return
NULL
;
return
NULL
;
}
}
EXPORT_SYMBOL
(
hashbin_get_first
);
/*
/*
* Function hashbin_get_next (hashbin)
* Function hashbin_get_next (hashbin)
...
@@ -900,3 +910,4 @@ irda_queue_t *hashbin_get_next( hashbin_t *hashbin)
...
@@ -900,3 +910,4 @@ irda_queue_t *hashbin_get_next( hashbin_t *hashbin)
}
}
return
NULL
;
return
NULL
;
}
}
EXPORT_SYMBOL
(
hashbin_get_next
);
net/irda/irsyms.c
View file @
2ab878cf
...
@@ -129,18 +129,6 @@ EXPORT_SYMBOL(irlmp_get_saddr);
...
@@ -129,18 +129,6 @@ EXPORT_SYMBOL(irlmp_get_saddr);
EXPORT_SYMBOL
(
irlmp_dup
);
EXPORT_SYMBOL
(
irlmp_dup
);
EXPORT_SYMBOL
(
lmp_reasons
);
EXPORT_SYMBOL
(
lmp_reasons
);
/* Queue */
EXPORT_SYMBOL
(
hashbin_new
);
EXPORT_SYMBOL
(
hashbin_insert
);
EXPORT_SYMBOL
(
hashbin_delete
);
EXPORT_SYMBOL
(
hashbin_remove
);
EXPORT_SYMBOL
(
hashbin_remove_this
);
EXPORT_SYMBOL
(
hashbin_find
);
EXPORT_SYMBOL
(
hashbin_lock_find
);
EXPORT_SYMBOL
(
hashbin_find_next
);
EXPORT_SYMBOL
(
hashbin_get_next
);
EXPORT_SYMBOL
(
hashbin_get_first
);
/* IrLAP */
/* IrLAP */
EXPORT_SYMBOL
(
irlap_open
);
EXPORT_SYMBOL
(
irlap_open
);
EXPORT_SYMBOL
(
irlap_close
);
EXPORT_SYMBOL
(
irlap_close
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment