Searched refs:ifc32 (Results 1 - 6 of 6) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390x/kernel/
H A Dioctl32.c141 struct ifconf32 ifc32; local
149 if (copy_from_user(&ifc32, uifc32, sizeof(struct ifconf32)))
152 if(ifc32.ifcbuf == 0) {
153 ifc32.ifc_len = 0;
157 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32))) *
164 ifr32 = (struct ifreq32 *) A(ifc32.ifcbuf);
165 len = ifc32.ifc_len / sizeof (struct ifreq32);
181 ifr32 = (struct ifreq32 *) A(ifc32.ifcbuf);
183 ifc32.ifc_len = len * sizeof (struct ifreq32);
192 if (copy_to_user(uifc32, &ifc32, sizeo
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips64/kernel/
H A Dioctl32.c341 struct ifconf32 ifc32; local
349 if (copy_from_user(&ifc32, uifc32, sizeof(struct ifconf32)))
352 if(ifc32.ifcbuf == 0) {
353 ifc32.ifc_len = 0;
357 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32))) *
364 ifr32 = (struct ifreq32 *)A(ifc32.ifcbuf);
365 len = ifc32.ifc_len / sizeof (struct ifreq32);
381 ifr32 = (struct ifreq32 *)A(ifc32.ifcbuf);
383 ifc32.ifc_len = len * sizeof (struct ifreq32);
392 if (copy_to_user(uifc32, &ifc32, sizeo
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/kernel/
H A Dioctl32.c225 struct ifconf32 ifc32; local
233 if (copy_from_user(&ifc32, (struct ifconf32 *)arg, sizeof(struct ifconf32)))
236 if(ifc32.ifcbuf == 0) {
237 ifc32.ifc_len = 0;
241 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32)) + 1) *
248 ifr32 = (struct ifreq32 *)A(ifc32.ifcbuf);
249 for (i = 0; i < ifc32.ifc_len; i += sizeof (struct ifreq32)) {
260 ifr32 = (struct ifreq32 *)A(ifc32.ifcbuf);
261 for (i = 0, j = 0; i < ifc32.ifc_len && j < ifc.ifc_len;
269 if (i <= ifc32
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/
H A Dioctl32.c483 struct ifconf32 ifc32; local
491 if (copy_from_user(&ifc32, (struct ifconf32 *)arg, sizeof(struct ifconf32)))
494 if (ifc32.ifcbuf == 0) {
495 ifc32.ifc_len = 0;
499 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32)) + 1) *
506 ifr32 = (struct ifreq32 *)A(ifc32.ifcbuf);
507 for (i = 0; i < ifc32.ifc_len; i += sizeof (struct ifreq32)) {
518 ifr32 = (struct ifreq32 *)A(ifc32.ifcbuf);
519 for (i = 0, j = 0; i < ifc32.ifc_len && j < ifc.ifc_len;
527 if (ifc32
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/ia32/
H A Dia32_ioctl.c467 struct ifconf32 ifc32; local
475 if (copy_from_user(&ifc32, (struct ifconf32 *)arg, sizeof(struct ifconf32)))
478 if(ifc32.ifcbuf == 0) {
479 ifc32.ifc_len = 0;
483 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32)) + 1) *
490 ifr32 = (struct ifreq32 *)A(ifc32.ifcbuf);
491 for (i = 0; i < ifc32.ifc_len; i += sizeof (struct ifreq32)) {
504 ifr32 = (struct ifreq32 *)A(ifc32.ifcbuf);
505 for (i = 0, j = 0; i < ifc32.ifc_len && j < ifc.ifc_len;
517 if (ifc32
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/
H A Dioctl32.c490 struct ifconf32 ifc32; local
498 if (copy_from_user(&ifc32, (struct ifconf32 *)arg, sizeof(struct ifconf32)))
501 if(ifc32.ifcbuf == 0) {
502 ifc32.ifc_len = 0;
506 ifc.ifc_len = ((ifc32.ifc_len / sizeof (struct ifreq32)) + 1) *
513 ifr32 = (struct ifreq32 *)A(ifc32.ifcbuf);
514 for (i = 0; i < ifc32.ifc_len; i += sizeof (struct ifreq32)) {
525 ifr32 = (struct ifreq32 *)A(ifc32.ifcbuf);
526 for (i = 0, j = 0; i < ifc32.ifc_len && j < ifc.ifc_len;
534 if (ifc32
[all...]

Completed in 81 milliseconds