Lines Matching defs:comp
1149 static int readrids(struct net_device *dev, aironet_ioctl *comp);
1150 static int writerids(struct net_device *dev, aironet_ioctl *comp);
1151 static int flashcard(struct net_device *dev, aironet_ioctl *comp);
7831 static int readrids(struct net_device *dev, aironet_ioctl *comp)
7841 switch(comp->command)
7861 if (copy_to_user(comp->data, &ai->micstats,
7862 min((int)comp->len, (int)sizeof(ai->micstats))))
7865 case AIRORRID: ridcode = comp->ridnum; break;
7884 len = comp->len;
7886 if (copy_to_user(comp->data, iobuf, min(len, (int)RIDSIZE))) {
7898 static int writerids(struct net_device *dev, aironet_ioctl *comp)
7916 switch(comp->command)
7962 if (copy_to_user(comp->data, iobuf,
7963 min((int)comp->len, (int)RIDSIZE))) {
7973 if (comp->len > RIDSIZE)
7979 if (copy_from_user(iobuf, comp->data, comp->len)) {
7984 if (comp->command == AIROPCFG) {
7996 if ((*writer)(ai, ridcode, iobuf, comp->len, 1)) {
8013 static int flashcard(struct net_device *dev, aironet_ioctl *comp)
8021 switch(comp->command)
8033 if (comp->len != sizeof(int))
8035 if (copy_from_user(&z, comp->data, comp->len))
8040 if (comp->len != sizeof(int))
8042 if (copy_from_user(&z, comp->data, comp->len))
8049 if (comp->len > FLASHSIZE)
8051 if (copy_from_user(AIRO_FLASH(dev), comp->data, comp->len))