Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

irproc.c File Reference

#include <linux/module.h>
#include <linux/miscdevice.h>
#include <linux/proc_fs.h>
#include <net/irda/irda.h>
#include <net/irda/irmod.h>
#include <net/irda/irlap.h>
#include <net/irda/irlmp.h>

Include dependency graph for irproc.c:

Go to the source code of this file.

Defines

#define __NO_VERSION__
#define IRDA_ENTRIES_NUM   (sizeof(dir)/sizeof(dir[0]))

Functions

int irlap_proc_read (char *buf, char **start, off_t offset, int len, int unused)
int irlmp_proc_read (char *buf, char **start, off_t offset, int len, int unused)
int irttp_proc_read (char *buf, char **start, off_t offset, int len, int unused)
int irias_proc_read (char *buf, char **start, off_t offset, int len, int unused)
int discovery_proc_read (char *buf, char **start, off_t offset, int len, int unused)
void irda_proc_register (void)
void irda_proc_unregister (void)

Variables

proc_dir_entryproc_irda
static struct irda_entry dir []


Define Documentation

#define __NO_VERSION__
 

Definition at line 26 of file irproc.c.

#define IRDA_ENTRIES_NUM   (sizeof(dir)/sizeof(dir[0]))
 

Definition at line 63 of file irproc.c.

Referenced by irda_proc_register(), and irda_proc_unregister().


Function Documentation

int discovery_proc_read char *  buf,
char **  start,
off_t  offset,
int  len,
int  unused
 

Definition at line 212 of file discovery.c.

References __u16_host_order::byte, cachelog, cli, discovery_t::daddr, hashbin_get_first(), hashbin_get_next(), HINT_COMM, HINT_COMPUTER, HINT_FAX, HINT_FILE_SERVER, HINT_LAN, HINT_MODEM, HINT_OBEX, HINT_PDA, HINT_PNP, HINT_PRINTER, HINT_TELEPHONY, discovery_t::hints, irlmp, irlmp_get_cachelog(), discovery_t::nickname, NULL, restore_flags, discovery_t::saddr, save_flags, and sprintf().

Here is the call graph for this function:

void irda_proc_register void   ) 
 

Definition at line 71 of file irproc.c.

References create_proc_entry(), proc_dir_entry::fill_inode, irda_entry::fn, i, IRDA_ENTRIES_NUM, irda_proc_modcount(), name, NULL, and S_IFDIR.

Referenced by irda_init().

Here is the call graph for this function:

void irda_proc_unregister void   ) 
 

Definition at line 90 of file irproc.c.

References i, IRDA_ENTRIES_NUM, name, NULL, and remove_proc_entry().

Here is the call graph for this function:

int irias_proc_read char *  buf,
char **  start,
off_t  offset,
int  len,
int  unused
 

int irlap_proc_read char *  buf,
char **  start,
off_t  offset,
int  len,
int  unused
 

int irlmp_proc_read char *  buf,
char **  start,
off_t  offset,
int  len,
int  unused
 

int irttp_proc_read char *  buf,
char **  start,
off_t  offset,
int  len,
int  unused
 


Variable Documentation

struct irda_entry dir[] [static]
 

Initial value:

 {
        {"discovery",   discovery_proc_read},
        {"irttp",       irttp_proc_read},
        {"irlmp",       irlmp_proc_read},
        {"irlap",       irlap_proc_read},
        {"irias",       irias_proc_read},
}

Definition at line 55 of file irproc.c.

Referenced by __read_entry(), __write_entry(), _zft_ioctl(), ac97_mixer_ioctl(), affs_readdir(), affs_remove_header(), AM53C974_dma_blast(), autofs_revalidate(), cache_page(), cap_readdir(), change_protection(), dbl_readdir(), do_link(), do_mkdir(), do_mknod(), do_rmdir(), do_symlink(), do_unlink(), dsp56k_ioctl(), fib6_add_1(), fib6_lookup_1(), filemap_sync(), find_pte(), fr_close(), fr_exit(), fr_keepalive_timerfun(), fr_rx(), fr_rx_lmi(), fr_statistics(), fr_status(), fr_tx(), fr_xmit(), get_ino_name(), htab_reclaim(), io_remap_page_range(), kernel_unaligned_trap(), kseg2_alloc_io(), lock_parent(), m3_codec_reset(), my_find_pte(), nat_readdir(), nfs_async_unlink(), nfs_async_unlink_done(), nfs_async_unlink_init(), nfs_lookup_revalidate(), nfs_neg_need_reval(), nfs_readdir_filler(), nfs_safe_remove(), nocache_page(), ntfs_readdir(), open_namei(), read_joystick(), real_lookup(), remap_area_pages(), remap_page_range(), remove_mapping(), smb_readdir(), svc_process(), UMSDOS_notify_change(), UMSDOS_readdir(), UMSDOS_rreaddir(), umsdos_solve_hlink(), umsdos_writeentry(), uncached_readdir(), unlink_td(), user_unaligned_trap(), vmalloc_area_pages(), vmap_page_range(), vmfree_area_pages(), zap_page_range(), and zeromap_page_range().

struct proc_dir_entry* proc_irda
 

Definition at line 53 of file irproc.c.