Searched refs:sonet_stats (Results 1 - 7 of 7) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | sonet.h | 20 struct sonet_stats { struct 27 #define SONET_GETSTAT _IOR('a',ATMIOC_PHYTYP,struct sonet_stats) 29 #define SONET_GETSTATZ _IOR('a',ATMIOC_PHYTYP+1,struct sonet_stats) 69 extern void sonet_copy_stats(struct k_sonet_stats *from,struct sonet_stats *to); 71 struct sonet_stats *to);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/atm/ |
H A D | uPD98402.c | 23 struct k_sonet_stats sonet_stats;/* link diagnostics */ member in struct:uPD98402_priv 36 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) 38 struct sonet_stats tmp; 41 atomic_add(GET(HECCT),&PRIV(dev)->sonet_stats.uncorr_hcs); 42 sonet_copy_stats(&PRIV(dev)->sonet_stats,&tmp); 48 sonet_subtract_stats(&PRIV(dev)->sonet_stats,&tmp); 160 { atomic_add(GET(v),&PRIV(dev)->sonet_stats.s); \ 161 if (atomic_read(&PRIV(dev)->sonet_stats.s) < 0) \ 162 atomic_set(&PRIV(dev)->sonet_stats.s,INT_MAX); } 194 &PRIV(dev)->sonet_stats [all...] |
H A D | suni.c | 61 stats = &walk->sonet_stats; 92 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) 94 struct sonet_stats tmp; 97 sonet_copy_stats(&PRIV(dev)->sonet_stats,&tmp); 99 if (zero && !error) sonet_subtract_stats(&PRIV(dev)->sonet_stats,&tmp); 314 memset(&PRIV(dev)->sonet_stats,0,sizeof(struct k_sonet_stats));
|
H A D | suni.h | 231 struct k_sonet_stats sonet_stats; /* link diagnostics */ member in struct:suni_priv
|
H A D | fore200e.c | 1849 fore200e_fetch_stats(struct fore200e* fore200e, struct sonet_stats __user *arg) 1851 struct sonet_stats tmp; 1871 return copy_to_user(arg, &tmp, sizeof(struct sonet_stats)) ? -EFAULT : 0; 1887 return fore200e_fetch_stats(fore200e, (struct sonet_stats __user *)arg);
|
H A D | iphase.c | 2665 stats = &PRIV(_ia_dev[board])->sonet_stats;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/atm/ |
H A D | atm_misc.c | 87 void sonet_copy_stats(struct k_sonet_stats *from, struct sonet_stats *to) 95 void sonet_subtract_stats(struct k_sonet_stats *from, struct sonet_stats *to)
|
Completed in 188 milliseconds