/* P4/Xeon Extended MCE MSR retrieval, return 0 if unsupported */
-static int inline intel_get_extended_msrs(struct intel_mce_extended_msrs *r)
+static inline int intel_get_extended_msrs(struct intel_mce_extended_msrs *r)
{
u32 h;
* We need to reload %cr3 since the page tables may be going
* away from under us..
*/
-static void inline leave_mm (unsigned long cpu)
+static inline void leave_mm (unsigned long cpu)
{
if (cpu_tlbstate[cpu].state == TLBSTATE_OK)
BUG();
return address;
}
-static void inline do_trap(int trapnr, int signr, char *str, int vm86,
+static inline void do_trap(int trapnr, int signr, char *str, int vm86,
struct pt_regs * regs, long error_code, siginfo_t *info)
{
if (vm86 && regs->eflags & VM_MASK)
* We need to reload %cr3 since the page tables may be going
* away from under us..
*/
-static void inline
+static inline void
leave_mm (unsigned long cpu)
{
if (cpu_tlbstate[cpu].state == TLBSTATE_OK)
* timer_interrupt() needs to keep up the real-time clock,
* as well as call the "do_timer()" routine every clocktick
*/
-static void inline
+static inline void
timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
{
volatile unsigned char dummy;
force_sig(SIGSEGV, current);
}
-static int inline
+static inline int
setup_sigcontext(struct pt_regs *regs, struct sigcontext *sc)
{
int owned_fp;
add_timer(&power_timer);
}
-void inline sgi_volume_set(unsigned char volume)
+inline void sgi_volume_set(unsigned char volume)
{
sgi_volume = volume;
hpc3c0->pbus_extregs[2][1] = sgi_volume;
}
-void inline sgi_volume_get(unsigned char *volume)
+inline void sgi_volume_get(unsigned char *volume)
{
*volume = sgi_volume;
}
force_sig(SIGSEGV, current);
}
-static int inline setup_sigcontext(struct pt_regs *regs,
+static inline int setup_sigcontext(struct pt_regs *regs,
struct sigcontext *sc)
{
int err = 0;
force_sig(SIGSEGV, current);
}
-static int inline
+static inline int
setup_sigcontext(struct pt_regs *regs, struct sigcontext *sc)
{
int err = 0;
* /proc fs routines....
*/
-static int inline line_info(char *buf, struct serial_state *state)
+static inline int line_info(char *buf, struct serial_state *state)
{
#ifdef notdef
struct async_struct *info = state->info, scr_info;
* /proc fs routines....
*/
-static int inline line_info(char *buf, struct serial_state *state)
+static inline int line_info(char *buf, struct serial_state *state)
{
#ifdef notdef
struct async_struct *info = state->info, scr_info;
extern void puts(const char *);
static void unlockS3(void);
-static void inline
+static inline void
outw(int port, unsigned short val)
{
outb(port, val >> 8);
* This function may be called from IRQ context.
*/
-void inline disable_irq_nosync(unsigned int irq)
+inline void disable_irq_nosync(unsigned int irq)
{
irq_desc_t *desc = irq_desc + irq;
unsigned long flags;
* We cannot call mmdrop() because we are in interrupt context,
* instead update mm->cpu_vm_mask.
*/
-static void inline leave_mm (unsigned long cpu)
+static inline void leave_mm (unsigned long cpu)
{
if (read_pda(mmu_state) == TLBSTATE_OK)
BUG();
u32 s[1024];
};
-const static u32 bf_pbox[16 + 2] = {
+static const u32 bf_pbox[16 + 2] = {
0x243f6a88, 0x85a308d3, 0x13198a2e, 0x03707344,
0xa4093822, 0x299f31d0, 0x082efa98, 0xec4e6c89,
0x452821e6, 0x38d01377, 0xbe5466cf, 0x34e90c6c,
0x9216d5d9, 0x8979fb1b,
};
-const static u32 bf_sbox[256 * 4] = {
+static const u32 bf_sbox[256 * 4] = {
0xd1310ba6, 0x98dfb5ac, 0x2ffd72db, 0xd01adfb7,
0xb8e1afed, 0x6a267e96, 0xba7c9045, 0xf12c7f99,
0x24a19947, 0xb3916cf7, 0x0801f2e2, 0x858efc16,
u32 expkey[DES3_EDE_EXPKEY_WORDS];
};
-const static u32 des_keymap[] = {
+static const u32 des_keymap[] = {
0x02080008, 0x02082000, 0x00002008, 0x00000000,
0x02002000, 0x00080008, 0x02080000, 0x02082008,
0x00000008, 0x02000000, 0x00082000, 0x00002008,
0x20000000, 0x20208000, 0x00000080, 0x20008080,
};
-const static u8 rotors[] = {
+static const u8 rotors[] = {
34, 13, 5, 46, 47, 18, 32, 41, 11, 53, 33, 20,
14, 36, 30, 24, 49, 2, 15, 37, 42, 50, 0, 21,
38, 48, 6, 26, 39, 4, 52, 25, 12, 27, 31, 40,
49, 10, 21, 22, 16, 44, 28, 0, 51, 15, 2, 36,
};
-const static u8 parity[] = {
+static const u8 parity[] = {
8,1,0,8,0,8,8,0,0,8,8,0,8,0,2,8,0,8,8,0,8,0,0,8,8,0,0,8,0,8,8,3,
0,8,8,0,8,0,0,8,8,0,0,8,0,8,8,0,8,0,0,8,0,8,8,0,0,8,8,0,8,0,0,8,
0,8,8,0,8,0,0,8,8,0,0,8,0,8,8,0,8,0,0,8,0,8,8,0,0,8,8,0,8,0,0,8,
static void sha1_init(void *ctx)
{
struct sha1_ctx *sctx = ctx;
- const static struct sha1_ctx initstate = {
+ static const struct sha1_ctx initstate = {
0,
{ 0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0 },
{ 0, }
u32 i, j, index, padlen;
u64 t;
u8 bits[8] = { 0, };
- const static u8 padding[64] = { 0x80, };
+ static const u8 padding[64] = { 0x80, };
t = sctx->count;
bits[7] = 0xff & t; t>>=8;
acpi_status
acpi_os_read_pci_configuration (
acpi_pci_id *pci_id,
- u32 register,
+ u32 reg,
void *value,
u32 width);
acpi_status
acpi_os_write_pci_configuration (
acpi_pci_id *pci_id,
- u32 register,
+ u32 reg,
acpi_integer value,
u32 width);
#endif /* MODULE */
-void __exit
-static sony535_exit(void)
+static void __exit
+sony535_exit(void)
{
int i;
* dealing with all types of ECH board.
*/
-static int inline stl_initech(stlbrd_t *brdp)
+static inline int stl_initech(stlbrd_t *brdp)
{
stlpanel_t *panelp;
unsigned int status, nxtid, ioaddr, conflict;
* Process an RX bad character.
*/
-static void inline stl_sc26198rxbadch(stlport_t *portp, unsigned char status, char ch)
+static inline void stl_sc26198rxbadch(stlport_t *portp, unsigned char status, char ch)
{
struct tty_struct *tty;
unsigned int ioaddr;
soc_enable(s);
}
-static void inline soc_solicited (struct soc *s)
+static inline void soc_solicited (struct soc *s)
{
fc_hdr fchdr;
soc_rsp *hwrsp;
}
}
-static void inline soc_request (struct soc *s, u32 cmd)
+static inline void soc_request (struct soc *s, u32 cmd)
{
SOC_SETIMASK(s, s->imask & ~(cmd & SOC_CMD_REQ_QALL));
SOD(("imask %08lx %08lx\n", s->imask, sbus_readl(s->regs + IMASK)));
s->curr_port ^= 1;
}
-static void inline soc_unsolicited (struct soc *s)
+static inline void soc_unsolicited (struct soc *s)
{
soc_rsp *hwrsp, *hwrspc;
soc_cq *sw_cq;
socal_enable(s);
}
-static void inline socal_solicited(struct socal *s, unsigned long qno)
+static inline void socal_solicited(struct socal *s, unsigned long qno)
{
socal_rsp *hwrsp;
socal_cq *sw_cq;
}
}
-static void inline socal_request (struct socal *s, u32 cmd)
+static inline void socal_request (struct socal *s, u32 cmd)
{
SOCAL_SETIMASK(s, s->imask & ~(cmd & SOCAL_CMD_REQ_QALL));
SOD(("imask %08x %08x\n", s->imask, sbus_readl(s->regs + IMASK)));
s->curr_port ^= 1;
}
-static void inline socal_unsolicited (struct socal *s, unsigned long qno)
+static inline void socal_unsolicited (struct socal *s, unsigned long qno)
{
socal_rsp *hwrsp, *hwrspc;
socal_cq *sw_cq;
debug_pci ("***********************END***********************\n");
}
-int static range_exists_already (struct range_node * range, struct bus_node * bus_cur, u8 type)
+static int range_exists_already (struct range_node * range, struct bus_node * bus_cur, u8 type)
{
struct range_node * range_cur = NULL;
switch (type) {
#define PDC202XX_DEBUG_DRIVE_INFO 0
#define PDC202XX_DECODE_REGISTER_INFO 0
-const static char *pdc_quirk_drives[] = {
+static const char *pdc_quirk_drives[] = {
"QUANTUM FIREBALLlct08 08",
"QUANTUM FIREBALLP KA6.4",
"QUANTUM FIREBALLP KA9.1",
/* ------------------------------------------------------------ */
-static void inline notify_doit(struct capi_notifier *np)
+static inline void notify_doit(struct capi_notifier *np)
{
switch (np->cmd) {
case KCI_CONTRUP:
/*
* Update disk head position estimator based on IRQ completion info.
*/
-static void inline update_head_pos(int disk, r1bio_t *r1_bio)
+static inline void update_head_pos(int disk, r1bio_t *r1_bio)
{
conf_t *conf = mddev_to_conf(r1_bio->mddev);
}
-static int inline
+static inline int
vidcom(av7110_t *av7110, u32 com, u32 arg)
{
return outcom(av7110, 0x80, 0x02, 4,
(arg>>16), (arg&0xffff));
}
-static int inline
+static inline int
audcom(av7110_t *av7110, u32 com)
{
return outcom(av7110, 0x80, 0x03, 4,
}
-static void inline free_frames(struct cpia_frame frame[FRAME_NUM])
+static inline void free_frames(struct cpia_frame frame[FRAME_NUM])
{
int i;
-static void inline cs_error(client_handle_t handle, int func, int ret)
+static inline void cs_error(client_handle_t handle, int func, int ret)
{
error_info_t err = { func, ret };
CardServices(ReportError, handle, &err);
*
* This routine frees resources of TX skbs.
*/
-static void inline
+static inline void
e100_tx_skb_free(struct e100_private *bdp, tcb_t *tcb)
{
if (tcb->tcb_skb) {
/* --------------------------------------------------------------------- */
-static void inline baycom_int_freq(struct baycom_state *bc)
+static inline void baycom_int_freq(struct baycom_state *bc)
{
#ifdef BAYCOM_DEBUG
unsigned long cur_jiffies = jiffies;
/* ---------------------------------------------------------------------- */
-static void inline do_kiss_params(struct baycom_state *bc,
+static inline void do_kiss_params(struct baycom_state *bc,
unsigned char *data, unsigned long len)
{
/* --------------------------------------------------------------------- */
-static void inline baycom_int_freq(struct baycom_state *bc)
+static inline void baycom_int_freq(struct baycom_state *bc)
{
#ifdef BAYCOM_DEBUG
unsigned long cur_jiffies = jiffies;
/* --------------------------------------------------------------------- */
-static void inline baycom_int_freq(struct baycom_state *bc)
+static inline void baycom_int_freq(struct baycom_state *bc)
{
#ifdef BAYCOM_DEBUG
unsigned long cur_jiffies = jiffies;
* ===================== SER12 specific routines =========================
*/
-static void inline ser12_set_divisor(struct net_device *dev,
+static inline void ser12_set_divisor(struct net_device *dev,
unsigned char divisor)
{
outb(0x81, LCR(dev->base_addr)); /* DLAB = 1 */
&& dev->device == PCI_DEVICE_ID_SGI_IOC3;
}
-static void inline ioc3_serial_probe(struct pci_dev *pdev,
+static inline void ioc3_serial_probe(struct pci_dev *pdev,
struct ioc3 *ioc3)
{
struct serial_struct req;
return ret;
}
-static void inline
+static inline void
i596_handle_CU_completion(struct net_device *dev,
volatile struct i596_private *lp,
unsigned short status,
#define tx_done(dev) 1
/* For reading/writing registers ISA-style */
-static int inline
+static inline int
readreg_io(struct net_device *dev, int portno)
{
nubus_writew(swab16(portno), dev->base_addr + ADD_PORT);
return swab16(nubus_readw(dev->base_addr + DATA_PORT));
}
-static void inline
+static inline void
writereg_io(struct net_device *dev, int portno, int value)
{
nubus_writew(swab16(portno), dev->base_addr + ADD_PORT);
}
/* These are for reading/writing registers in shared memory */
-static int inline
+static inline int
readreg(struct net_device *dev, int portno)
{
return swab16(nubus_readw(dev->mem_start + portno));
}
-static void inline
+static inline void
writereg(struct net_device *dev, int portno, int value)
{
nubus_writew(swab16(value), dev->mem_start + portno);
static struct net_device *dev_plip[PLIP_MAX] = { NULL, };
-static int inline
+static inline int
plip_searchfor(int list[], int a)
{
int i;
spin_unlock_irqrestore(&cosa->lock, flags);
}
-static void inline eot_interrupt(struct cosa_data *cosa, int status)
+static inline void eot_interrupt(struct cosa_data *cosa, int status)
{
unsigned long flags, flags1;
spin_lock_irqsave(&cosa->lock, flags);
outb ((ectr & ~m) ^ v, ECONTROL (pb));
}
-static void __inline__ frob_set_mode (struct parport *p, int mode)
+static __inline__ void frob_set_mode (struct parport *p, int mode)
{
frob_econtrol (p, ECR_MODE_MASK, mode << 5);
}
#define CHAR(id,a) (0x40 + (((id)>>a) & 31))
//
-static void inline pnpid32_to_pnpid(u32 id, char *str)
+static inline void pnpid32_to_pnpid(u32 id, char *str)
{
const char *hex = "0123456789abcdef";
.disable = pnpbios_disable_resources,
};
-static int inline insert_device(struct pnp_dev *dev)
+static inline int insert_device(struct pnp_dev *dev)
{
struct list_head * pos;
struct pnp_dev * pnp_dev;
return 1;
}
-static void inline set_mbox_xfer_addr (mega_host_config * megaCfg, mega_scb * pScb,
+static inline void set_mbox_xfer_addr (mega_host_config * megaCfg, mega_scb * pScb,
mega_ioctl_mbox * mbox, u32 direction)
{
* /proc fs routines....
*/
-static int inline line_info(char *buf, struct serial_state *state)
+static inline int line_info(char *buf, struct serial_state *state)
{
#ifdef notdef
struct async_struct *info = state->info, scr_info;
MODULE_DEVICE_TABLE(pnp, pnp_dev_table);
-static void inline avoid_irq_share(struct pnp_dev *dev)
+static inline void avoid_irq_share(struct pnp_dev *dev)
{
unsigned int map = 0x1FF8;
struct pnp_irq *irq;
#include "uhci-hcd.h"
/* Handle REALLY large printk's so we don't overflow buffers */
-static void inline lprintk(char *buf)
+static inline void lprintk(char *buf)
{
char *p;
}
}
-static int inline uhci_is_skeleton_qh(struct uhci_hcd *uhci, struct uhci_qh *qh)
+static inline int uhci_is_skeleton_qh(struct uhci_hcd *uhci, struct uhci_qh *qh)
{
int i;
return td;
}
-static void inline uhci_fill_td(struct uhci_td *td, __u32 status,
+static inline void uhci_fill_td(struct uhci_td *td, __u32 status,
__u32 token, __u32 buffer)
{
td->status = cpu_to_le32(status);
#define STI_PTR(p) (p)
#define PTR_STI(p) (p)
-static int inline STI_CALL( unsigned long func,
+static inline int STI_CALL( unsigned long func,
void *flags, void *inptr, void *outptr, void *glob_cfg )
{
int (*f)(void *,void *,void *,void *);
} befs_btree_node;
/* local constants */
-const static befs_off_t befs_bt_inval = 0xffffffffffffffff;
+static const befs_off_t befs_bt_inval = 0xffffffffffffffff;
/* local functions */
static int befs_btree_seekleaf(struct super_block *sb, befs_data_stream * ds,
convert a NT status code to a dos class/code
*****************************************************************************/
/* NT status -> dos error map */
-const static struct {
+static const struct {
__u8 dos_class;
__u16 dos_code;
__u32 ntstatus;
/*
* Returns 0 if not found, -1 on failure, and 1 on success
*/
-static int inline search_dirblock(struct buffer_head * bh,
+static inline int search_dirblock(struct buffer_head * bh,
struct inode *dir,
struct dentry *dentry,
unsigned long offset,
return 0;
}
-void count_bits(const register char *bmPart, register int size,
+void count_bits(register const char *bmPart, register int size,
int *const tf)
{
char b;
return 0;
}
-static void inline new_hashed_relocation (reiserfs_blocknr_hint_t * hint)
+static inline void new_hashed_relocation (reiserfs_blocknr_hint_t * hint)
{
char * hash_in;
if (hint->formatted_node) {
hint->search_start = hint->beg + keyed_hash(hash_in, 4) % (hint->end - hint->beg);
}
-static void inline get_left_neighbor(reiserfs_blocknr_hint_t *hint)
+static inline void get_left_neighbor(reiserfs_blocknr_hint_t *hint)
{
struct path * path;
struct buffer_head * bh;
specified as number of percent with mount option device, else try to put
on last of device. This is not to say it is good code to do so,
but the effect should be measured. */
-static void inline set_border_in_hint(struct super_block *s, reiserfs_blocknr_hint_t *hint)
+static inline void set_border_in_hint(struct super_block *s, reiserfs_blocknr_hint_t *hint)
{
b_blocknr_t border = SB_BLOCK_COUNT(s) / REISERFS_SB(s)->s_alloc_options.border;
hint->beg = border;
}
-static void inline displace_large_file(reiserfs_blocknr_hint_t *hint)
+static inline void displace_large_file(reiserfs_blocknr_hint_t *hint)
{
if ( TEST_OPTION(displace_based_on_dirid, hint->th->t_super))
hint->search_start = hint->beg + keyed_hash((char *)(&INODE_PKEY(hint->inode)->k_dir_id), 4) % (hint->end - hint->beg);
hint->search_start = hint->beg + keyed_hash((char *)(&INODE_PKEY(hint->inode)->k_objectid), 4) % (hint->end - hint->beg);
}
-static void inline hash_formatted_node(reiserfs_blocknr_hint_t *hint)
+static inline void hash_formatted_node(reiserfs_blocknr_hint_t *hint)
{
char * hash_in;
hint->search_start = hint->beg + keyed_hash(hash_in, 4) % (hint->end - hint->beg);
}
-static int inline this_blocknr_allocation_would_make_it_a_large_file(reiserfs_blocknr_hint_t *hint)
+static inline int this_blocknr_allocation_would_make_it_a_large_file(reiserfs_blocknr_hint_t *hint)
{
return hint->block == REISERFS_SB(hint->th->t_super)->s_alloc_options.large_file_size;
}
#ifdef DISPLACE_NEW_PACKING_LOCALITIES
-static void inline displace_new_packing_locality (reiserfs_blocknr_hint_t *hint)
+static inline void displace_new_packing_locality (reiserfs_blocknr_hint_t *hint)
{
struct key * key = &hint->key;
}
#endif
-static int inline old_hashed_relocation (reiserfs_blocknr_hint_t * hint)
+static inline int old_hashed_relocation (reiserfs_blocknr_hint_t * hint)
{
unsigned long border;
unsigned long hash_in;
return 1;
}
-static int inline old_way (reiserfs_blocknr_hint_t * hint)
+static inline int old_way (reiserfs_blocknr_hint_t * hint)
{
unsigned long border;
return 1;
}
-static void inline hundredth_slices (reiserfs_blocknr_hint_t * hint)
+static inline void hundredth_slices (reiserfs_blocknr_hint_t * hint)
{
struct key * key = &hint->key;
unsigned long slice_start;
}
}
-static void inline determine_search_start(reiserfs_blocknr_hint_t *hint,
+static inline void determine_search_start(reiserfs_blocknr_hint_t *hint,
int amount_needed)
{
struct super_block *s = hint->th->t_super;
*
* XXX(hch): nfsd is broken, better fix it instead.
*/
-STATIC int inline
+STATIC inline int
has_fs_struct(struct task_struct *task)
{
return (task->fs != init_task.fs);
/*
* xfs_highbit32: get high bit set out of 32-bit argument, -1 if none set.
*/
-int inline
+inline int
xfs_highbit32(
__uint32_t v)
{
/* linux/fs/ncpfs/sock.c */
int ncp_request2(struct ncp_server *server, int function,
void* reply, int max_reply_size);
-static int inline ncp_request(struct ncp_server *server, int function) {
+static inline int ncp_request(struct ncp_server *server, int function) {
return ncp_request2(server, function, server->packet, server->packet_size);
}
int ncp_connect(struct ncp_server *server);
{
return pci_bus_read_config_byte (dev->bus, dev->devfn, where, val);
}
-static int inline pci_read_config_word(struct pci_dev *dev, int where, u16 *val)
+static inline int pci_read_config_word(struct pci_dev *dev, int where, u16 *val)
{
return pci_bus_read_config_word (dev->bus, dev->devfn, where, val);
}
-static int inline pci_read_config_dword(struct pci_dev *dev, int where, u32 *val)
+static inline int pci_read_config_dword(struct pci_dev *dev, int where, u32 *val)
{
return pci_bus_read_config_dword (dev->bus, dev->devfn, where, val);
}
-static int inline pci_write_config_byte(struct pci_dev *dev, int where, u8 val)
+static inline int pci_write_config_byte(struct pci_dev *dev, int where, u8 val)
{
return pci_bus_write_config_byte (dev->bus, dev->devfn, where, val);
}
-static int inline pci_write_config_word(struct pci_dev *dev, int where, u16 val)
+static inline int pci_write_config_word(struct pci_dev *dev, int where, u16 val)
{
return pci_bus_write_config_word (dev->bus, dev->devfn, where, val);
}
-static int inline pci_write_config_dword(struct pci_dev *dev, int where, u32 val)
+static inline int pci_write_config_dword(struct pci_dev *dev, int where, u32 val)
{
return pci_bus_write_config_dword (dev->bus, dev->devfn, where, val);
}
}
-static int inline cache_put(struct cache_head *h, struct cache_detail *cd)
+static inline int cache_put(struct cache_head *h, struct cache_detail *cd)
{
atomic_dec(&h->refcnt);
if (!atomic_read(&h->refcnt) &&
return vec->iov_len <= PAGE_SIZE;
}
-static int inline svc_take_page(struct svc_rqst *rqstp)
+static inline int svc_take_page(struct svc_rqst *rqstp)
{
if (rqstp->rq_arghi <= rqstp->rq_argused)
return -ENOMEM;
return 0;
}
-static void inline svc_pushback_allpages(struct svc_rqst *rqstp)
+static inline void svc_pushback_allpages(struct svc_rqst *rqstp)
{
while (rqstp->rq_resused) {
if (rqstp->rq_respages[--rqstp->rq_resused] == NULL)
}
}
-static void inline svc_pushback_unused_pages(struct svc_rqst *rqstp)
+static inline void svc_pushback_unused_pages(struct svc_rqst *rqstp)
{
while (rqstp->rq_resused) {
if (rqstp->rq_respages[--rqstp->rq_resused] != NULL) {
}
}
-static void inline svc_free_allpages(struct svc_rqst *rqstp)
+static inline void svc_free_allpages(struct svc_rqst *rqstp)
{
while (rqstp->rq_resused) {
if (rqstp->rq_respages[--rqstp->rq_resused] == NULL)
return 0;
}
-static int inline pipelined_send(struct msg_queue* msq, struct msg_msg* msg)
+static inline int pipelined_send(struct msg_queue* msq, struct msg_msg* msg)
{
struct list_head* tmp;
return err;
}
-static int inline convert_mode(long* msgtyp, int msgflg)
+static inline int convert_mode(long* msgtyp, int msgflg)
{
/*
* find message of correct type.
#define SERR_NSI 1
#define SERR_EOM 2
-static void inline mangle_address(unsigned char *begin,
+static inline void mangle_address(unsigned char *begin,
unsigned char *addr,
const struct oct1_map *map,
u_int16_t *check);
* - begin points to the start of the snmp messgae
* - addr points to the start of the address
*/
-static void inline mangle_address(unsigned char *begin,
+static inline void mangle_address(unsigned char *begin,
unsigned char *addr,
const struct oct1_map *map,
u_int16_t *check)
* return 0 in case there was no ECT codepoint
* return 1 in case ECT codepoint has been overwritten
* return < 0 in case there was error */
-static int inline
+static inline int
set_ect_ip(struct sk_buff **pskb, struct iphdr *iph,
const struct ipt_ECN_info *einfo)
{
return 0;
}
-static int inline
+static inline int
set_ect_tcp(struct sk_buff **pskb, struct iphdr *iph,
const struct ipt_ECN_info *einfo)
{
return 0;
}
-static int inline reset_ctrl(struct solo1_state *s)
+static inline int reset_ctrl(struct solo1_state *s)
{
int i;
/* --------------------------------------------------------------------- */
-static int inline
+static inline int
copy_two_channel_adc_to_user(struct vrc5477_ac97_state *s,
char *buffer,
int copyCount)
}
/* return the total bytes that is copied */
-static int inline
+static inline int
copy_adc_to_user(struct vrc5477_ac97_state *s,
char * buffer,
size_t count,
return ret;
}
-static int inline
+static inline int
copy_two_channel_dac_from_user(struct vrc5477_ac97_state *s,
const char *buffer,
int copyCount)
}
/* return the total bytes that is copied */
-static int inline
+static inline int
copy_dac_from_user(struct vrc5477_ac97_state *s,
const char *buffer,
size_t count,