sonet_stats 1852 drivers/atm/fore200e.c fore200e_fetch_stats(struct fore200e* fore200e, struct sonet_stats __user *arg) sonet_stats 1854 drivers/atm/fore200e.c struct sonet_stats tmp; sonet_stats 1874 drivers/atm/fore200e.c return copy_to_user(arg, &tmp, sizeof(struct sonet_stats)) ? -EFAULT : 0; sonet_stats 1890 drivers/atm/fore200e.c return fore200e_fetch_stats(fore200e, (struct sonet_stats __user *)arg); sonet_stats 2834 drivers/atm/iphase.c stats = &PRIV(_ia_dev[board])->sonet_stats; sonet_stats 65 drivers/atm/suni.c stats = &walk->sonet_stats; sonet_stats 96 drivers/atm/suni.c static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) sonet_stats 98 drivers/atm/suni.c struct sonet_stats tmp; sonet_stats 101 drivers/atm/suni.c sonet_copy_stats(&PRIV(dev)->sonet_stats,&tmp); sonet_stats 103 drivers/atm/suni.c if (zero && !error) sonet_subtract_stats(&PRIV(dev)->sonet_stats,&tmp); sonet_stats 318 drivers/atm/suni.c memset(&PRIV(dev)->sonet_stats,0,sizeof(struct k_sonet_stats)); sonet_stats 232 drivers/atm/suni.h struct k_sonet_stats sonet_stats; /* link diagnostics */ sonet_stats 28 drivers/atm/uPD98402.c struct k_sonet_stats sonet_stats;/* link diagnostics */ sonet_stats 41 drivers/atm/uPD98402.c static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) sonet_stats 43 drivers/atm/uPD98402.c struct sonet_stats tmp; sonet_stats 46 drivers/atm/uPD98402.c atomic_add(GET(HECCT),&PRIV(dev)->sonet_stats.uncorr_hcs); sonet_stats 47 drivers/atm/uPD98402.c sonet_copy_stats(&PRIV(dev)->sonet_stats,&tmp); sonet_stats 53 drivers/atm/uPD98402.c sonet_subtract_stats(&PRIV(dev)->sonet_stats,&tmp); sonet_stats 165 drivers/atm/uPD98402.c { atomic_add(GET(v),&PRIV(dev)->sonet_stats.s); \ sonet_stats 166 drivers/atm/uPD98402.c if (atomic_read(&PRIV(dev)->sonet_stats.s) < 0) \ sonet_stats 167 drivers/atm/uPD98402.c atomic_set(&PRIV(dev)->sonet_stats.s,INT_MAX); } sonet_stats 199 drivers/atm/uPD98402.c &PRIV(dev)->sonet_stats.uncorr_hcs); sonet_stats 217 drivers/atm/uPD98402.c memset(&PRIV(dev)->sonet_stats,0,sizeof(struct k_sonet_stats)); sonet_stats 226 drivers/atm/uPD98402.c atomic_set(&PRIV(dev)->sonet_stats.corr_hcs,-1); sonet_stats 227 drivers/atm/uPD98402.c atomic_set(&PRIV(dev)->sonet_stats.tx_cells,-1); sonet_stats 228 drivers/atm/uPD98402.c atomic_set(&PRIV(dev)->sonet_stats.rx_cells,-1); sonet_stats 16 include/linux/sonet.h extern void sonet_copy_stats(struct k_sonet_stats *from,struct sonet_stats *to); sonet_stats 18 include/linux/sonet.h struct sonet_stats *to); sonet_stats 28 include/uapi/linux/sonet.h #define SONET_GETSTAT _IOR('a',ATMIOC_PHYTYP,struct sonet_stats) sonet_stats 30 include/uapi/linux/sonet.h #define SONET_GETSTATZ _IOR('a',ATMIOC_PHYTYP+1,struct sonet_stats) sonet_stats 88 net/atm/atm_misc.c void sonet_copy_stats(struct k_sonet_stats *from, struct sonet_stats *to) sonet_stats 96 net/atm/atm_misc.c void sonet_subtract_stats(struct k_sonet_stats *from, struct sonet_stats *to)