summaryrefslogtreecommitdiff
path: root/net/atm/proc.c
AgeCommit message (Collapse)Author
2005-01-20[ATM] stop using sk_protinfoArnaldo Carvalho de Melo
Required to introduce struct connection_sock. Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-06-03[PATCH] sparse: atm annotation (core)Alexander Viro
ATM core annotated; ATM drivers will go in the next patch, here we only annotated their method prototypes
2003-10-16[ATM]: Minor cleanup for vcc_hash conversionChas Williams
2003-10-07[ATM]: Convert VCC list to hash.Chas Williams
2003-09-25[ATM]: Move lan seq_file ops to lec.c [1/3]Chas Williams
2003-09-25[ATM]: [ioctl][6/8] Move clip seq_file ops to clip.c (from ↵Chas Williams
levon@movementarian.org)
2003-09-25[ATM]: [ioctl][5/8] Change ncc clip info handling (from levon@movementarian.org)Chas Williams
2003-09-22[ATM]: If CLIP is not enabled, try_atm_clp_ops() should always fail.Chas Williams
2003-09-11[ATM]: seq_file conversion of /proc/net/atm [8/8] (from romieu@fr.zoreil.com)Chas Williams
- introduction of the struct array 'atm_proc_ents': - removal of code duplication in atm_proc_cleanup(); - removal of code duplication in atm_proc_init(); - removal of the macros CREATE_SEQ_ENTRY() and CREATE_ENTRY(); - /proc/net/atm/vcc returns to /proc/net/atm/vc; - credits at the top of the file; - replaced proc_dev_atm_operations by proc_atm_dev_ops; - atm_proc_dev_register: removal of tasteless "fail0/fail1" labels.
2003-09-11[ATM]: seq_file conversion of /proc/net/atm [7/8]Chas Williams
seq_file support for /proc/net/atm/lec: - lec_info(): seq_printf/seq_putc replaces sprintf; - traversal of the lec structure needs to walk: -> the lec interfaces -> the tables of arp tables(lec_arp_tables); -> the arp tables themselves -> the misc tables (lec_arp_empty_ones/lec_no_forward/mcast_fwds) Sum up of the call tree: atm_lec_seq_start()/atm_lec_seq_next() -> atm_lec_get_idx() -> atm_lec_itf_walk() (responsible for dev_lec/dev_put handling) -> atm_lec_priv_walk() (responsible for lec_priv locking) -> atm_lec_arp_walk() -> atm_lec_tbl_walk() -> atm_lec_misc_walk() -> atm_lec_tbl_walk() Each of the dedicated functions follows the same convention: return NULL as long as the seq_file cursor hasn't been digested (i.e. until < 0). Locking is only done when an entry (i.e. a lec_arp_table) is referenced. atm_lec_seq_stop()/atm_lec_itf_walk()/atm_lec_priv_walk() are responsible for getting this point right. - module refcounting is done in atm_lec_seq_open()/atm_lec_seq_release(); - atm_lec_info() is removed. Chas's suggestions applied since last version: - atm_seq_lec_fops renamed to lec_seq_fops; - change in state handling: it wasn't correctly set to its reset value after a complete interface walk; - lec_arp_get_status_string() bugfix.
2003-09-11[ATM]: seq_file for /proc/net/atm (arp) [6/8] (from romieu@fr.zoreil.com)Chas Williams
seq_file support for /proc/net/atm/arp: - svc_addr/atmarp_info(): seq_printf/seq_putc replace sprintf and friends; - arp_getidx/arp_vcc_walk() take care of the usual seq_file cursor positionning: they both return NULL until the cursor has reached its position. struct atm_arp_state is updated accordingly; - arp_seq_{stop/start} are responsible for clip_tbl_hook (un)locking; - module refcounting is done in arp_seq_open()/arp_seq_release(); - atm_lec_info() is removed. Chas's suggestions applied since last version: - atm_arp_xxx renamed to arp_xxx; - atm_seq_arp_fops renamed to arp_seq_fops. Chas didn't ask for it but I renamed arp_vc_walk to arp_vcc_walk.
2003-09-11[ATM]: seq_file for /proc/net/atm (vc) [5/8] (from romieu@fr.zoreil.com)Chas Williams
seq_file support for /proc/net/atm/vc: Same comments as for pvc and svc. Extra Chas's suggestion applied since last version: - atm_vc_xxx renamed to vcc_xxx.
2003-09-11[ATM]: seq_file for /proc/net/atm (svc) [4/8] (from romieu@fr.zoreil.com)Chas Williams
seq_file support for /proc/net/atm/svc: Exactly same comments as pvc. Just s/p/s/
2003-09-11[ATM]: seq_file for /proc/net/atm (pvc) [3/8] (from romieu@fr.zoreil.com)Chas Williams
seq_file support for /proc/net/atm/pvc: - pvc_info(): seq_printf/seq_putc replaces sprintf; - atm_pvc_info() removal; - the vc helpers (vcc__seq_xxx) do the remaining work. Chas's suggestions applied since last version: - atm_pvc_xxx renamed to pvc_xxx - atm_seq_pvc_fops renamed to pvc_seq_fops
2003-09-11[ATM]: seq_file for /proc/net/atm (vc utils) [2/8] (from romieu@fr.zoreil.com)Chas Williams
Helpers for seq_file conversion of proc/atm/{pvc/svc/vc}: - struct vcc_state keeps 1) the struct sock from which the current struct atm_vcc is deduced 2) the family to which must belong the vcc (PF_ATM{SVC/PVC/any}) 3) the availability of clip module - vcc_seq{start/stop} are responsible for vcc_sklist locking - __vcc_seq_open and vcc_seq_release take care of get/put for the clip module. Chas's suggestions applied since last version: - atm_vc_xxx renamed to vcc_xxx - atm_vc_common_seq_open renamed __vcc_seq_open (future name clashes avoidance)
2003-09-11[ATM]: seq_file for /proc/net/atm (devices) [1/8] (from romieu@fr.zoreil.com)Chas Williams
seq_file conversion for proc/atm/devices: - code inspired from seq_file use in net/core/dev.c; - atm_dev_lock taken/released in atm_dev_seq_{start/stop}; - add a helper CREATE_SEQ_ENTRY() similar to CREATE_ENTRY() (both are removed once conversion is done). - atm_dev_seq_{start/stop/next} done in net/atm/resource.[ch] to ease future handling of atm_devs and locking structure (per Chas suggestion)
2003-09-04[ATM]: reduce CONFIG_PROC_FS #ifdef clutter in .c code (from ↵Chas Williams
levon@movementarian.org)
2003-07-15[ATM]: Replace vcc->reply with sk->sk_err; implement sk_write_space.Chas Williams
2003-06-22[ATM]: Move vccs to global sk-based linked list.Chas Williams
2003-06-16[ATM]: Revert vcc global list changes, broke the build.David S. Miller
2003-06-16[ATM]: Keep vcc's on global list instead of per device.Chas Williams
2003-06-04o net: create struct sock_common and use in struct sock & tcp_tw_bucketArnaldo Carvalho de Melo
With this the data dependency is reduced to just making sure that the first member of both struct sock and struct tcp_tw_bucket are a struct sock_common. Also makes it easier to grep for struct sock and struct tcp_tw_bucket usage in the tree as all the members in those structs are prefixed, respectively, with sk_ and tw_, like struct inode (i_), struct block_device (bd_), etc. Checked namespace with make tags/ctags, just one colision with the macros for the struct sock members, with a wanrouter struct, fixed that s/sk_state/state_sk/g in the wanrouter struct. Checked as well if the names of the members in both structs collided with some macro, none found.
2003-05-28[ATM]: lane and mpoa module refcounting and locking cleanup.Chas Williams
2003-05-20[ATM]: Fix build after netdev sysfs changes.David S. Miller
2003-05-16[ATM]: Fix modular CLIP.Chas Williams
2003-05-15[ATM]: Allow ATM to be loaded as a module.Chas Williams
2003-05-15[ATM]: Add refcounting to atmdev.Chas Williams
2003-05-13[ATM]: Make clip modular.Chas Williams
2003-05-09[NET]: Set file_operations->owner as appropriate.Hideaki Yoshifuji
2003-03-07[ATM]: Obsolete some atm_vcc members.Chas Williams
2002-11-25[PATCH] Coding style police.Dave Jones
Various patches to make things conform to Documentation/CodingStyle
2002-10-07[PATCH] remove get_free_page()Andrew Morton
This used to be a macro wrapper around get_zeroed_page(). It was a dreadful choice of name, because it hid the fact that this function memsets the page. Probably, lots of the callers didn't actually want to do that but this patch does not make such optimisations. At least now, people may spot a `get_zeroed_page' in there and realise that the page doesn't actually need to be initialised. The patch also changes get_zeroed_page() to go BUG if called with __GFP_HIGHMEM. It returns the address of the page's memory and hence can only be used for direct-mapped pages (wli).
2002-07-18NET: Use ISO C struct initializers.Rusty Russell
2002-06-08[PATCH] atm warning fix (vs 2.5.21)Mitchell Blank Jr.
This fixes a large batch of warnings that popped up with the new stricter bitops.h that recently was introduced. We actually didn't have 64-bit bug, but we had built our own *_flags_t typedef's that were just struct wrappers around an unsigned long. We used to pass their addresses directly to set_bit() and friends but now that causes an error. The typedef's really didn't serve much purpose so the cleanest fix is to just eliminate them and use "unsigned long" directly.
2002-02-05[PATCH] (2/2) inode trimmingAlexander Viro
procfs switched to alloc_inode/destroy_inode.
2002-02-04v2.4.6 -> v2.4.6.1Linus Torvalds
- merge with Alan (irda, s390, mips64, chris, sk98lin, mips/mm) - rth: fix alpha RTC calibration - Paul Mackerras: fix PPC typo
2002-02-04v2.4.2.7 -> v2.4.2.8Linus Torvalds
- Paul Mackerras: PPC update for thread-safe page table handling - Ingo Molnar: x86 PAE update for thread-safe page table handling - Jeff Garzik: network driver updates, i810 rng driver, and "alloc_etherdev()" network driver insert race condition fix. - David Miller: UltraSparcIII update, network locking fixes - Al Viro: fix fs counts on mount failure
2002-02-04Import changesetLinus Torvalds